Introduction
Causal discovery—the task of inferring "what causes what" from observational data—has traditionally been divided into two distinct approaches. Constraint-based methods (e.g., the PC algorithm) use statistical tests to identify conditional independencies (CI) and construct a graph that satisfies them. While theoretically rigorous, these methods are often brittle; a single incorrect statistical test in a small dataset can lead to a cascade of errors.
Conversely, score-based methods (e.g., NOTEARS) treat discovery as a continuous optimization task. While more flexible and robust to small sample sizes, they often neglect the explicit d-separation constraints that define causal relationships. This paper introduces a novel framework that bridges this gap by making constraint-based causal discovery fully differentiable.
Methodology: DAGPA
The authors propose DAGPA (DAG Percolation Apartness), a framework built on three technical pillars:
- FOL Formulation of d-Separation: The rules of d-separation (how paths are blocked or open in a graph) are recast into First-Order Logic (FOL) formulae based on graph reachability.
- Soft Logic Relaxation: Using the LogLTN framework, these discrete logic statements are relaxed into differentiable functions. This transforms binary "true/false" connectivity into a continuous "soft" score between 0 and 1.
- Percolation Theory: To model path dependencies accurately, the authors utilize percolation theory rather than simple diffusion (matrix powers). Percolation correctly accounts for the "all-or-nothing" nature of graph paths, providing a principled lower bound on d-separation probability.
The resulting algorithm optimizes a multi-task loss function that aligns the graph with p-values from CI tests while enforcing a continuous acyclicity constraint. To navigate the complex optimization landscape, the authors employ PCGrad for gradient projection and a Discrete Langevin Proposal for effective graph space exploration.
A New Metric for Causal Alignment
The authors argue that standard structural metrics, such as Structural Hamming Distance (SHD), can be misleading. They propose the CI-MCC (Conditional Independence Matthews Correlation Coefficient), which directly measures how well the predicted graph's independence patterns align with the ground truth.
Empirical Performance
DAGPA was evaluated against a wide array of baselines, including synthetic binary data and real-world benchmarks like the Sachs dataset (protein signaling) and LUCAS (lung cancer diagnosis).
- Low-Sample Robustness: On synthetic data with only 100 samples, DAGPA significantly outperformed traditional methods like PC and k-PC, which struggle with the high uncertainty of CI tests in small datasets.
- Real-World Superiority: On the Sachs dataset, DAGPA achieved a substantial performance leap. While most baselines clustered with CI-MCC scores between 0.3 and 0.65, DAGPA reached scores between 0.75 and 0.98, demonstrating its ability to capture complex relationships in biological data.
Limitations and Future Work
While DAGPA represents a significant step forward, several areas for improvement remain. The current mapping of p-values to dependence strength relies on a simple heuristic ($1 - p$), and the implementation is currently limited to low-order conditioning sets. Furthermore, the model assumes "causal sufficiency," meaning it does not yet account for unobserved common causes (latent confounders). Future work will focus on scaling the $O(d^5)$ reachability subroutine and extending the framework to handle latent variables.
Summary updated