Constraint-based causal discovery with mixed data

Michail Tsagris, Giorgos Borboudakis, Vincenzo Lagani, Ioannis TsamardinosInt. J. Data Sci. Anal 2018 · DOI

Introduction

Causal discovery aims to uncover the underlying structure of a system from observational data. Traditional constraint-based algorithms, such as PC and FCI, rely heavily on conditional independence (CI) tests. However, these tests are typically designed for homogeneous data—either purely continuous or purely categorical. In practice, researchers often encounter "mixed" datasets containing a combination of continuous, binary, nominal, and ordinal variables. This paper presents a flexible framework to handle such heterogeneity by leveraging likelihood-ratio tests (LRT) and a novel "Min-Max" (MM) approach to ensure statistical symmetry.

The Challenge of Mixed Data and Asymmetry

The primary hurdle in mixed-data causal discovery is the lack of a unified CI test. While regression models can handle diverse outcome types (e.g., logistic for binary, linear for continuous), they are inherently asymmetric. For example, regressing a continuous variable $X$ on an ordinal variable $Y$ yields a different $p$-value than regressing $Y$ on $X$. Causal discovery algorithms require a single, consistent $p$-value to decide whether an edge should be removed or oriented.

Joint distribution of variables X and Z in a fork structure (X ← Y → Z), illustrating the complex dependencies in mixed data environments.

Methodology: Likelihood-Ratio Tests and the MM Approach

The authors propose using LRTs based on the most appropriate regression model for the dependent variable:

  • Linear Regression for continuous data.
  • Logistic/Multinomial Regression for binary or nominal data.
  • Generalized Ordered Logit for ordinal data.

To resolve the asymmetry issue, the paper introduces the MM (Min-Max) method. This heuristic combines $p$-values from both directions ($X \to Y$ and $Y \to X$) using the formula: $p_{mm} = \min \{2 \min(p_1, p_2), \max(p_1, p_2)\}$. This ensures that the resulting $p$-value is symmetric and robust. A "Fast" heuristic was also tested, which selects a single regression direction based on a hierarchy of variable types (Continuous > Nominal > Ordinal), though it proved less accurate than the MM approach.

Key Insights on Decision Agreement

A critical finding of the research is that as sample size increases, the decisions made by different regression models converge. This convergence is essential for the stability of the learned Bayesian Network, as it reduces the likelihood of conflicting independence results during the graph search.

Proportion of decision agreements between different regression models (e.g., Linear-Binary, Linear-Ordinal) as a function of sample size for unconditional and conditional dependence.

Experimental Evaluation

The framework was evaluated using simulated Bayesian Networks with 50 and 100 variables. The MM approach consistently outperformed the state-of-the-art Copula-based PC algorithm across several metrics:

  • Structural Hamming Distance (SHD): The MM method resulted in significantly lower SHD, indicating a learned structure closer to the ground truth.
  • Recall: The method achieved higher recall in skeleton estimation, successfully identifying more true causal links than competing methods.
  • Robustness: The regression-based tests remained effective even when distributional assumptions, such as the normality of residuals, were slightly violated.

Conclusion

By treating conditional independence as a model comparison problem, this framework provides a "plug-and-play" solution for causal discovery in complex, mixed-data environments. The MM heuristic effectively bridges the gap between asymmetric regression models and the symmetry requirements of constraint-based learning, offering a robust alternative to latent variable methods like the Gaussian Copula. Future work will explore extending this to count data and censored survival data.

Summary updated

BibTeX
@article{tsagris2018constraint,
  author = {Michail Tsagris and Giorgos Borboudakis and Vincenzo Lagani and Ioannis Tsamardinos},
  title = {{Constraint-based causal discovery with mixed data}},
  journal = {Int. J. Data Sci. Anal.},
  year = {2018},
  doi = {10.1007/s41060-018-0097-y},
}
Figure