Abstract
As causal ground truth is incredibly rare, causal discovery algorithms are commonly only evaluated on simulated data. This is concerning, given that simulations reflect preconceptions about generating processes regarding noise distributions, model classes, and more. In this work, we propose a novel method for falsifying the output of a causal discovery algorithm in the absence of ground truth. Our key insight is that while statistical learning seeks stability across subsets of data points, causal learning should seek stability across subsets of variables. Motivated by this insight, our method relies on a notion of compatibility between causal graphs learned on different subsets of variables. We prove that detecting incompatibilities can falsify wrongly inferred causal relations due to violation of assumptions or errors from finite sample effects. Although passing such compatibility tests is only a necessary criterion for good performance, we argue that it provides strong evidence for the causal models whenever compatibility entails strong implications for the joint distribution. We also demonstrate experimentally that detection of incompatibilities can aid in causal model selection.
Introduction
In causal discovery—the field of inferring cause-effect relationships from observational data—evaluation is notoriously difficult because real-world ground truth is almost non-existent. Standard machine learning uses cross-validation across data points, but this is insufficient for causal models; a model can predict correlations perfectly while reversing the actual causal direction. Consequently, researchers often rely on simulated data, which may not capture the complexities of real-world noise and structures. We address this gap by introducing self-compatibility, a framework to falsify causal models without requiring ground truth.
The Self-Compatibility Framework
The core idea of self-compatibility is that a causal model should remain consistent across different subsets of variables. While statistical learning seeks stability across subsets of data points, causal learning should seek stability across subsets of variables.
We define two primary forms of compatibility:
- Interventional Compatibility: Graphs learned on subsets should imply the same interventional distributions as the joint graph.
- Graphical Compatibility: Marginal graphs learned on subsets should be mathematically interpretable as "projections" of the larger joint graph.
To operationalize this, we developed Incompatibility Scores ($\kappa^I$ and $\kappa^G$). These metrics quantify the disagreement between sub-models. A high score suggests a failure of the algorithm, likely due to violated assumptions (e.g., hidden confounders) or finite sample errors.
Experimental Evaluation
We evaluated the framework using both simulated datasets and the real-world Sachs et al. (2005) protein signaling dataset.
Proxy for Accuracy
A critical finding is that these internal consistency scores correlate strongly with the Structural Hamming Distance (SHD), the standard metric for accuracy relative to ground truth. In experiments with the Repetitive Causal Discovery (RCD) algorithm, the incompatibility score showed a significant correlation (0.52) with the true SHD. This allows the score to serve as a proxy for accuracy when ground truth is unavailable.
Model Selection and Real-World Application
The incompatibility scores proved highly effective for hyperparameter tuning. When selecting sensitivity thresholds ($\alpha$), the score identified the superior model in 72% to 76% of cases. On the Sachs dataset, the scores correctly identified the poor performance of standard algorithms on complex biological data, providing a vital "reality check" for researchers applying these tools to the life sciences.
Conclusion
Self-compatibility provides a necessary, though not sufficient, condition for causal model validity. While a trivial model might be self-compatible, the score is a powerful tool when used alongside complexity measures. Future work will address the computational cost of subset sampling and explore "stability-regularized" discovery algorithms that optimize for self-compatibility during the learning process.
Summary updated