Beware of the Simulated DAG! Causal Discovery Benchmarks May Be Easy To\n Game

Alexander G. Reisach, Christof Seiler, Sebastian Weichwald · DOI

Abstract

Simulated Directed Acyclic Graph (DAG) models may exhibit properties that, perhaps inadvertently, render their structure identifiable and unexpectedly affect structure learning algorithms. We show that marginal variance tends to increase along the causal order for generically sampled additive noise models. We introduce varsortability as a measure of the agreement between the order of increasing marginal variance and the causal order. For commonly sampled graphs and model parameters, we demonstrate that the remarkable performance of some continuous structure learning algorithms can be explained by high varsortability and matched by a simple baseline method. However, this performance does not transfer to real-world data where varsortability is moderate or dependent on measurement scales. On standardized data, these algorithms fail to identify the ground-truth DAG. Our findings challenge the significance of generic benchmarks with independently drawn parameters.

Introduction: The Rise of Continuous Causal Discovery

Causal structure learning—identifying the Directed Acyclic Graph (DAG) that represents "who causes what" from observational data—is a fundamental challenge in science. Recently, a new wave of "continuous" algorithms, such as NOTEARS and GOLEM, has emerged, promising to solve this problem efficiently using gradient-based optimization. These methods have demonstrated startling accuracy on standard simulated benchmarks, leading to widespread excitement in the field.

However, a significant discrepancy exists: while these algorithms perform brilliantly on simulated data, they often struggle with real-world datasets. This paper investigates whether the standard Additive Noise Model (ANM) simulations used for benchmarking unintentionally create a "cheat sheet" that these algorithms exploit.

The Varsortability Phenomenon: A Hidden Cheat Sheet

The core finding is that in standard simulations, the variance of a variable tends to increase as one moves down the causal chain. In a simple linear model $B = wA + \epsilon$, the variance of the effect $B$ is typically larger than the variance of the cause $A$ because the noise and the signal from $A$ compound.

A causal graph with associated marginal variances. Varsortability quantifies the alignment between causal order and increasing variance.

The authors introduce varsortability, a metric ranging from 0 to 1 that measures how well the causal order aligns with the order of increasing marginal variance. A varsortability of 1 indicates that for every directed path, variance strictly increases from cause to effect. Alarmingly, common benchmarking setups often exhibit varsortability scores greater than 0.94, meaning the "answer" is largely encoded in the data's scale.

Methodology: Measuring and Exploiting Variance

To prove that these algorithms are "gaming" the variance pattern, the authors introduce a deceptively simple baseline called sortnregress. This algorithm simply sorts variables by their marginal variance and then performs regressions to prune edges. If state-of-the-art continuous methods are truly learning causality, they should significantly outperform this "dumb" baseline.

Furthermore, the researchers test the algorithms on standardized data. Standardization scales all variables to have a mean of 0 and a variance of 1, effectively deleting the variance-based "cheat sheet." A robust causal discovery algorithm should be scale-invariant and maintain its performance after standardization.

Results: The Performance Collapse

The results are striking. On raw simulated data, the trivial sortnregress baseline matches or even outperforms sophisticated continuous optimization methods on several metrics. However, when the data is standardized, the performance of methods like NOTEARS and GOLEM-EV collapses.

Structural Intervention Distance (SID) across algorithms. Continuous methods show near-perfect performance (low SID) on raw simulated data (orange) but collapse when data is standardized (green), matching the performance of the trivial sortnregress baseline.

As shown in the figure above, the Structural Intervention Distance (SID)—a key measure of causal error—for NOTEARS jumps from near-zero on raw data to over 1500 on standardized data. This suggests that these algorithms were not learning the underlying causal logic, but were instead relying on the arbitrary scale artifacts of the simulation.

On real-world data, such as the Sachs protein signaling dataset, varsortability was found to be only 0.57 (barely above chance). Consequently, the "high-performing" continuous algorithms showed no consistent advantage over simple baselines, confirming that their simulated success does not translate to practical utility where measurement scales are often arbitrary.

Conclusion: Towards Robust Benchmarking

This research serves as a critical wake-up call for the causal discovery community. The reliance on "raw" simulated data as a gold standard for benchmarking is problematic, as it allows algorithms to exploit inadvertent patterns in marginal variance. The authors recommend that future causal discovery research should report varsortability, include sortnregress as a mandatory baseline, and evaluate algorithms on standardized data to ensure they are learning genuine causal logic rather than exploiting arbitrary scale artifacts.

Summary updated

BibTeX
@inproceedings{reisach2021beware,
  author = {Alexander G. Reisach and Christof Seiler and Sebastian Weichwald},
  title = {{Beware of the Simulated DAG! Causal Discovery Benchmarks May Be Easy To\textbackslash\{\}n Game}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2021},
  url = {https://openreview.net/forum?id=wEOlVzVhMW_},
}
Figure