Alert button
Picture for Mauricio Barahona

Mauricio Barahona

Alert button

A continuous Structural Intervention Distance to compare Causal Graphs

Jul 31, 2023
Mihir Dhanakshirur, Felix Laumann, Junhyung Park, Mauricio Barahona

Figure 1 for A continuous Structural Intervention Distance to compare Causal Graphs
Figure 2 for A continuous Structural Intervention Distance to compare Causal Graphs
Figure 3 for A continuous Structural Intervention Distance to compare Causal Graphs
Figure 4 for A continuous Structural Intervention Distance to compare Causal Graphs

Understanding and adequately assessing the difference between a true and a learnt causal graphs is crucial for causal inference under interventions. As an extension to the graph-based structural Hamming distance and structural intervention distance, we propose a novel continuous-measured metric that considers the underlying data in addition to the graph structure for its calculation of the difference between a true and a learnt causal graph. The distance is based on embedding intervention distributions over each pair of nodes as conditional mean embeddings into reproducing kernel Hilbert spaces and estimating their difference by the maximum (conditional) mean discrepancy. We show theoretical results which we validate with numerical experiments on synthetic data.

Viaarxiv icon

Interaction Measures, Partition Lattices and Kernel Tests for High-Order Interactions

Jun 01, 2023
Zhaolu Liu, Robert L. Peach, Pedro A. M. Mediano, Mauricio Barahona

Figure 1 for Interaction Measures, Partition Lattices and Kernel Tests for High-Order Interactions
Figure 2 for Interaction Measures, Partition Lattices and Kernel Tests for High-Order Interactions
Figure 3 for Interaction Measures, Partition Lattices and Kernel Tests for High-Order Interactions
Figure 4 for Interaction Measures, Partition Lattices and Kernel Tests for High-Order Interactions

Models that rely solely on pairwise relationships often fail to capture the complete statistical structure of the complex multivariate data found in diverse domains, such as socio-economic, ecological, or biomedical systems. Non-trivial dependencies between groups of more than two variables can play a significant role in the analysis and modelling of such systems, yet extracting such high-order interactions from data remains challenging. Here, we introduce a hierarchy of $d$-order ($d \geq 2$) interaction measures, increasingly inclusive of possible factorisations of the joint probability distribution, and define non-parametric, kernel-based tests to establish systematically the statistical significance of $d$-order interactions. We also establish mathematical links with lattice theory, which elucidate the derivation of the interaction measures and their composite permutation tests; clarify the connection of simplicial complexes with kernel matrix centring; and provide a means to enhance computational efficiency. We illustrate our results numerically with validations on synthetic data, and through an application to neuroimaging data.

* 19 pages, 7 figures 
Viaarxiv icon

Kernel-based Joint Independence Tests for Multivariate Stationary and Nonstationary Time-Series

May 15, 2023
Zhaolu Liu, Robert L. Peach, Felix Laumann, Sara Vallejo Mengod, Mauricio Barahona

Figure 1 for Kernel-based Joint Independence Tests for Multivariate Stationary and Nonstationary Time-Series
Figure 2 for Kernel-based Joint Independence Tests for Multivariate Stationary and Nonstationary Time-Series
Figure 3 for Kernel-based Joint Independence Tests for Multivariate Stationary and Nonstationary Time-Series
Figure 4 for Kernel-based Joint Independence Tests for Multivariate Stationary and Nonstationary Time-Series

Multivariate time-series data that capture the temporal evolution of interconnected systems are ubiquitous in diverse areas. Understanding the complex relationships and potential dependencies among co-observed variables is crucial for the accurate statistical modelling and analysis of such systems. Here, we introduce kernel-based statistical tests of joint independence in multivariate time-series by extending the d-variable Hilbert-Schmidt independence criterion (dHSIC) to encompass both stationary and nonstationary random processes, thus allowing broader real-world applications. By leveraging resampling techniques tailored for both single- and multiple-realization time series, we show how the method robustly uncovers significant higher-order dependencies in synthetic examples, including frequency mixing data, as well as real-world climate and socioeconomic data. Our method adds to the mathematical toolbox for the analysis of complex high-dimensional time-series datasets.

* 13 pages, 6 figures 
Viaarxiv icon

Persistent Homology of the Multiscale Clustering Filtration

May 07, 2023
Dominik J. Schindler, Mauricio Barahona

Figure 1 for Persistent Homology of the Multiscale Clustering Filtration
Figure 2 for Persistent Homology of the Multiscale Clustering Filtration
Figure 3 for Persistent Homology of the Multiscale Clustering Filtration
Figure 4 for Persistent Homology of the Multiscale Clustering Filtration

In many applications in data clustering, it is desirable to find not just a single partition but a sequence of partitions that describes the data at different scales, or levels of coarseness, leading naturally to Sankey diagrams as descriptors of the data. The problem of multiscale clustering then becomes how to to select robust intrinsic scales, and how to analyse and compare the (not necessarily hierarchical) sequences of partitions. Here, we define a novel filtration, the Multiscale Clustering Filtration (MCF), which encodes arbitrary patterns of cluster assignments across scales. We prove that the MCF is a proper filtration, give an equivalent construction via nerves, and show that in the hierarchical case the MCF reduces to the Vietoris-Rips filtration of an ultrametric space. We also show that the zero-dimensional persistent homology of the MCF provides a measure of the level of hierarchy in the sequence of partitions, whereas the higher-dimensional persistent homology tracks the emergence and resolution of conflicts between cluster assignments across scales. We briefly illustrate numerically how the structure of the persistence diagram can serve to characterise multiscale data clusterings.

Viaarxiv icon

Feature Engineering Methods on Multivariate Time-Series Data for Financial Data Science Competitions

Apr 18, 2023
Thomas Wong, Mauricio Barahona

Figure 1 for Feature Engineering Methods on Multivariate Time-Series Data for Financial Data Science Competitions
Figure 2 for Feature Engineering Methods on Multivariate Time-Series Data for Financial Data Science Competitions
Figure 3 for Feature Engineering Methods on Multivariate Time-Series Data for Financial Data Science Competitions
Figure 4 for Feature Engineering Methods on Multivariate Time-Series Data for Financial Data Science Competitions

This paper is a work in progress. We are looking for collaborators to provide us financial datasets in Equity/Futures market to conduct more bench-marking studies. The authors have papers employing similar methods applied on the Numerai dataset, which is freely available but obfuscated. We apply different feature engineering methods for time-series to US market price data. The predictive power of models are tested against Numerai-Signals targets.

* arXiv admin note: substantial text overlap with arXiv:2303.07925 
Viaarxiv icon

Interpretable statistical representations of neural population dynamics and geometry

Apr 06, 2023
Adam Gosztolai, Robert L. Peach, Alexis Arnaudon, Mauricio Barahona, Pierre Vandergheynst

Figure 1 for Interpretable statistical representations of neural population dynamics and geometry
Figure 2 for Interpretable statistical representations of neural population dynamics and geometry
Figure 3 for Interpretable statistical representations of neural population dynamics and geometry
Figure 4 for Interpretable statistical representations of neural population dynamics and geometry

The dynamics of neuron populations during diverse tasks often evolve on low-dimensional manifolds. However, it remains challenging to discern the contributions of geometry and dynamics for encoding relevant behavioural variables. Here, we introduce an unsupervised geometric deep learning framework for representing non-linear dynamical systems based on statistical distributions of local phase portrait features. Our method provides robust geometry-aware or geometry-agnostic representations for the unbiased comparison of dynamics based on measured trajectories. We demonstrate that our statistical representation can generalise across neural network instances to discriminate computational mechanisms, obtain interpretable embeddings of neural dynamics in a primate reaching task with geometric correspondence to hand kinematics, and develop a decoding algorithm with state-of-the-art accuracy. Our results highlight the importance of using the intrinsic manifold structure over temporal information to develop better decoding algorithms and assimilate data across experiments.

Viaarxiv icon

Robust machine learning pipelines for trading market-neutral stock portfolios

Dec 30, 2022
Thomas Wong, Mauricio Barahona

Figure 1 for Robust machine learning pipelines for trading market-neutral stock portfolios
Figure 2 for Robust machine learning pipelines for trading market-neutral stock portfolios
Figure 3 for Robust machine learning pipelines for trading market-neutral stock portfolios
Figure 4 for Robust machine learning pipelines for trading market-neutral stock portfolios

The application of deep learning algorithms to financial data is difficult due to heavy non-stationarities which can lead to over-fitted models that underperform under regime changes. Using the Numerai tournament data set as a motivating example, we propose a machine learning pipeline for trading market-neutral stock portfolios based on tabular data which is robust under changes in market conditions. We evaluate various machine-learning models, including Gradient Boosting Decision Trees (GBDTs) and Neural Networks with and without simple feature engineering, as the building blocks for the pipeline. We find that GBDT models with dropout display high performance, robustness and generalisability with relatively low complexity and reduced computational cost. We then show that online learning techniques can be used in post-prediction processing to enhance the results. In particular, dynamic feature neutralisation, an efficient procedure that requires no retraining of models and can be applied post-prediction to any machine learning model, improves robustness by reducing drawdown in volatile market conditions. Furthermore, we demonstrate that the creation of model ensembles through dynamic model selection based on recent model performance leads to improved performance over baseline by improving the Sharpe and Calmar ratios. We also evaluate the robustness of our pipeline across different data splits and random seeds with good reproducibility of results.

Viaarxiv icon

ICE-NODE: Integration of Clinical Embeddings with Neural Ordinary Differential Equations

Jul 06, 2022
Asem Alaa, Erik Mayer, Mauricio Barahona

Figure 1 for ICE-NODE: Integration of Clinical Embeddings with Neural Ordinary Differential Equations
Figure 2 for ICE-NODE: Integration of Clinical Embeddings with Neural Ordinary Differential Equations
Figure 3 for ICE-NODE: Integration of Clinical Embeddings with Neural Ordinary Differential Equations
Figure 4 for ICE-NODE: Integration of Clinical Embeddings with Neural Ordinary Differential Equations

Early diagnosis of disease can result in improved health outcomes, such as higher survival rates and lower treatment costs. With the massive amount of information in electronic health records (EHRs), there is great potential to use machine learning (ML) methods to model disease progression aimed at early prediction of disease onset and other outcomes. In this work, we employ recent innovations in neural ODEs to harness the full temporal information of EHRs. We propose ICE-NODE (Integration of Clinical Embeddings with Neural Ordinary Differential Equations), an architecture that temporally integrates embeddings of clinical codes and neural ODEs to learn and predict patient trajectories in EHRs. We apply our method to the publicly available MIMIC-III and MIMIC-IV datasets, reporting improved prediction results compared to state-of-the-art methods, specifically for clinical codes that are not frequently observed in EHRs. We also show that ICE-NODE is more competent at predicting certain medical conditions, like acute renal failure and pulmonary heart disease, and is also able to produce patient risk trajectories over time that can be exploited for further predictions.

* Accepted at Machine Learning for Healthcare 2022 
Viaarxiv icon

Similarity measure for sparse time course data based on Gaussian processes

Feb 24, 2021
Zijing Liu, Mauricio Barahona

We propose a similarity measure for sparsely sampled time course data in the form of a log-likelihood ratio of Gaussian processes (GP). The proposed GP similarity is similar to a Bayes factor and provides enhanced robustness to noise in sparse time series, such as those found in various biological settings, e.g., gene transcriptomics. We show that the GP measure is equivalent to the Euclidean distance when the noise variance in the GP is negligible compared to the noise variance of the signal. Our numerical experiments on both synthetic and real data show improved performance of the GP similarity when used in conjunction with two distance-based clustering methods.

* 10pages, 6 figures 
Viaarxiv icon