Better Simulations for Validating Causal Discovery with the DAG-Adaptation of the Onion Method

Bryan Andrews, Erich KummerfeldarXiv 2024 · DOI

Introduction

In the field of causal discovery, the primary objective is to infer the underlying structure of cause-and-effect—typically represented as a Directed Acyclic Graph (DAG)—from observational data. Because ground-truth causal structures are rarely known in real-world datasets, researchers rely heavily on synthetic simulations to validate and benchmark new algorithms. However, the reliability of these benchmarks depends entirely on how well the simulations reflect the complexities of real data without providing unintended shortcuts.

This paper introduces the DAG-adaptation of the Onion (DaO) method, a novel simulation framework designed to provide a more rigorous and "fair" benchmark. By addressing statistical artifacts found in current simulation methods, DaO reveals that many modern causal discovery algorithms may be over-optimistic in their performance reports.

The Problem: Sortability Artifacts in Simulations

Existing simulation frameworks, such as the widely used ZARX simulation, often inadvertently include "sortability" artifacts. These are statistical properties—such as the marginal variance of a variable or its coefficient of determination ($R^2$)—that correlate strongly with a variable's position in the causal chain.

For example, in many linear simulations, variables later in the causal order naturally accumulate more variance. If an algorithm is designed (even unintentionally) to exploit these variances, it can "cheat" by simply sorting variables based on their statistical scale rather than truly discovering causal links. When such algorithms are applied to real-world data where these artifacts are absent, their performance often collapses. The field currently lacks a "gold standard" that is domain-free and resistant to such exploitation.

The DaO Method

The authors propose the DAG-adaptation of the Onion (DaO) method to eliminate these hidden clues.

Uniform Sampling of Correlation Matrices

Unlike standard approaches that generate data by picking edge weights (linear effects) and noise terms to produce a correlation matrix, DaO works backward. It adapts the "Onion method"—originally designed to sample correlation matrices uniformly—to the constraints of a specific DAG. This ensures that the simulation samples uniformly from the space of all correlation matrices that satisfy the Markov property for that graph. By prioritizing the distribution of the correlation matrices themselves, the method avoids favoring any specific correlation structure, making it a truly domain-neutral benchmark.

Scale-Free Rewiring

To better mirror real-world networks, which often follow power-law distributions (where a few nodes act as highly connected hubs), the authors introduced two new algorithms: SFi-DAG and SFo-DAG. These allow for the creation of scale-free in-degree and out-degree structures without requiring complex tuning parameters that researchers could potentially manipulate to favor specific algorithms.

Key Insights: The $R^2$-Sortability Trap

A critical finding of this research is the prevalence of the $R^2$-sortability trap. In traditional ZARX simulations, the rank correlation between a variable's $R^2$ and its causal position can be as high as -0.87. This means an algorithm could practically determine the causal order just by looking at $R^2$ values. In contrast, the DaO method significantly reduces this correlation to between -0.1 and -0.3, forcing algorithms to rely on actual structural discovery.

Furthermore, the authors challenge the common practice of "bounding betas" (ensuring edge weights are not too close to zero). While intended to ensure a strong signal, this practice often creates "near-deterministic" relationships where the error term is nearly zero. This violates the "faithfulness" assumption in causal discovery and creates local optima that can mislead traditional algorithms like PC or GES.

Results and Performance Impact

The study compared DaO against ZARX and the Tetrad simulation (common in social science) across various sample sizes and node counts. The results were revealing:

  • Performance Drop for Modern Solvers: Continuous optimization-based algorithms, such as DAGMA, performed significantly worse on DaO simulations than on the ZARX simulations they were originally validated against. This suggests that their previously reported high performance may have been partially due to exploiting simulation artifacts.
  • The Role of Standardization: In ZARX simulations, there was a massive performance gap between running algorithms on raw versus standardized data. This highlights how much "leaky" information was present in unstandardized variances.
  • Algorithm Stability: Traditional score-based and constraint-based algorithms (like fGES and PC) demonstrated more consistent performance across different simulation designs. While their peak performance might be lower than modern solvers on artifact-heavy data, they appear less reliant on specific simulation quirks.

Limitations and Future Work

While DaO provides a more robust benchmark, it currently has several limitations:

  1. Acyclic Constraints: The method is limited to DAGs and cannot simulate systems with feedback loops (cycles).
  2. No Latent Variables: It does not yet account for unmeasured confounding variables.
  3. Cross-Sectional Focus: The framework produces static snapshots of data rather than time-series sequences.

Future research aims to extend the DaO method to include latent variables and time-series data, while also exploring ways to "tailor" uniform sampling to specific domains (like genetics or neuroimaging) without sacrificing the fairness of the benchmark.

Summary updated

BibTeX
@misc{andrews2024better,
  author = {Bryan Andrews and Erich Kummerfeld},
  title = {{Better Simulations for Validating Causal Discovery with the DAG-Adaptation of the Onion Method}},
  year = {2024},
  eprint = {2405.13100},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2405.13100},
}
Figure