Abstract
Simulated DAG models may exhibit properties that, perhaps inadvertently, render their structure identifiable and unexpectedly affect structure learning algorithms. Here, 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 show that the remarkable performance of some continuous structure learning algorithms can be explained by high varsortability and matched by a simple baseline method. Yet, this performance may not transfer to real-world data where varsortability may be moderate or dependent on the choice of measurement scales. On standardized data, the same algorithms fail to identify the ground-truth DAG or its Markov equivalence class. While standardization removes the pattern in marginal variance, we show that data generating processes that incur high varsortability also leave a distinct covariance pattern that may be exploited even after standardization. Our findings challenge the significance of generic benchmarks with independently drawn parameters.
Introduction: The Illusion of Causal Discovery
Causal discovery—the task of inferring directed acyclic graphs (DAGs) from observational data—has seen a surge in interest with the advent of continuous structure learning algorithms such as NOTEARS and GOLEM. These methods frame the combinatorial problem of DAG search as a continuous optimization task, often achieving near-perfect results on synthetic benchmarks. However, recent investigations suggest these results may be "too good to be true," potentially relying on unintended artifacts in the data generation process rather than true causal signals.
The Varsortability Phenomenon
The core issue lies in how synthetic data is typically generated using Additive Noise Models (ANMs). In these models, a child node's value is a function of its parents plus independent noise. Consequently, marginal variance tends to accumulate and increase along causal chains. A downstream effect will almost always have a higher variance than its root cause.
The authors formalize this with a metric called varsortability, which measures how well the order of increasing marginal variance aligns with the true causal order. In many high-profile synthetic benchmarks, varsortability is exceedingly high (often >0.94). This creates a "cheat code": an algorithm can achieve high accuracy simply by orienting edges from low-variance nodes to high-variance nodes.
Methodology: Exposing the Scale Bias
To test whether state-of-the-art (SOTA) algorithms are exploiting this scale information, the authors introduced sortnregress. This naive baseline simply sorts variables by their marginal variance and uses sparse regression to draw edges from lower-variance nodes to higher-variance ones.
The performance of SOTA continuous algorithms and combinatorial methods (like PC and FGES) was evaluated on two versions of synthetic datasets:
- Raw Data: Data as generated by standard ANM simulations, preserving marginal variance patterns.
- Standardized Data: Data where each variable is scaled to have unit variance, thereby destroying the scale-based causal signal.
Experimental Results
The results confirm that the success of many continuous algorithms is largely tied to varsortability. On raw synthetic data, the simple sortnregress baseline matches the performance of complex optimization-based methods. However, when the data is standardized, the performance of these methods collapses.
As shown in Figure 3, continuous algorithms like NOTEARS and GOLEM-EV show a drastic increase in distance metrics (indicating poorer performance) when moving from raw (orange) to standardized (green) data. They fail to recover even the Markov equivalence class of the ground-truth DAG. This collapse is also evident when attempting to recover the exact ground-truth DAG.
Figure 5 further illustrates that the reliance on data scale is a pervasive issue across different metrics of structural accuracy. While combinatorial methods like PC and FGES are more robust to standardization (as they rely on conditional independence tests rather than variance-based loss functions), they generally perform worse than the "cheating" continuous methods on raw data.
Conclusion and Future Directions
The high performance of recent continuous causal discovery algorithms on synthetic benchmarks is often an artifact of high varsortability in the simulated data. On real-world datasets, such as the Sachs protein signaling network, varsortability is much lower (~0.57), and these algorithms fail to provide reliable results.
This work serves as a critical warning for the field: benchmarks must be designed to account for varsortability, and researchers should be cautious about the causal interpretations of data scale. Future work should focus on developing algorithms that are robust to variance scaling or that explicitly justify the use of scale information in specific domains.
Summary updated