Abstract
Causal datasets are essential for advancing causal discovery, yet existing benchmarks often overlook real-world complexities like selection bias, unfaithfulness, and confounding. We introduce the Structurally Complex with Additive paRent causalitY (SCARY) dataset, a synthetic benchmark featuring 40 scenarios across various graph sizes and causal mechanisms. With a varsortability of 0.5 and intentional "near-failure" cases, SCARY provides a rigorous environment for evaluating causal discovery algorithms under realistic conditions.
Introduction: Beyond "Easy" Benchmarks
Causal discovery—the process of inferring cause-and-effect relationships from observational data—is often hampered by the gap between ideal theoretical assumptions and messy real-world data. Most current benchmarks assume causal sufficiency (all relevant variables are observed) and faithfulness (statistical dependencies perfectly match the graph structure).
In practice, researchers face several significant hurdles:
- Confounding: Unobserved variables influencing both a cause and its effect.
- Selection Bias: Non-representative data samples that distort relationships.
- Unfaithfulness: Mathematical coincidences where causal paths cancel each other out, making a relationship appear non-existent.
The SCARY dataset addresses these gaps by intentionally incorporating these "real-world" issues to test the robustness of discovery algorithms.
Data Generation Methodology
The SCARY generator, inspired by the Causal Discovery Toolbox, constructs Directed Acyclic Graphs (DAGs) and populates them using a multi-stage process designed to prevent algorithmic shortcuts.
- Root Node Generation: The system uses Gaussian Mixture Models (GMM) with spherical covariance to ensure initial variables have constant variance. This prevents models from simply "guessing" the root node based on noise levels.
- Additive Mechanisms: Child nodes are generated by applying functions to their parents plus noise. Crucially, the dataset employs a mixed mechanism approach, combining linear, polynomial, and sigmoid functions. This ensures algorithms cannot succeed by assuming a global functional form for every relationship.
- Simulating Realistic Issues: Rather than perfect mathematical cancellation (which is rare in nature), the generator simulates "near-cancellation" for unfaithfulness and proportional selection bias, mirroring the practical limitations of field data.
Dataset Composition
The SCARY collection consists of 240 sub-datasets, derived from 40 unique generator configurations run with three different seeds.
- Scale: Graph sizes range from Small (10 nodes) to Extra-Large (50 nodes).
- Complexity Scaling: Issues like confounding and selection bias are scaled relative to the number of nodes (approximately a 10:1 ratio).
- Samples: Each sub-dataset provides 2,500 samples, and the data is publicly available on GitHub.
Key Insights
Neutralizing the Varsortability Shortcut
A critical technical feature of SCARY is its Varsortability score of approximately 0.5. Recent research has shown that many causal discovery algorithms "cheat" by simply sorting variables by their marginal variance. A score of 0.5 indicates there is no correlation between a variable's variance and its position in the causal chain, effectively neutralizing this common shortcut and forcing algorithms to rely on true causal signals.
Near-Faithfulness and Mixed Mechanisms
By focusing on near-failures of faithfulness and utilizing diverse functional forms within the same graph, SCARY ensures that success requires a deep understanding of the underlying structure rather than global assumptions about the data type. The inclusion of "No Issue" DAGs alongside "All Issue" DAGs allows researchers to isolate exactly which data problems cause their specific algorithm to fail.
Limitations and Future Directions
While SCARY is a powerful tool for causal discovery (structure learning), the authors note it is not ideal for causal inference (estimating the strength of an effect). As a synthetic dataset, future iterations may look at incorporating even more complex noise distributions or time-series dependencies. Additionally, the current generation process is best suited for evaluating Bayesian Network structure learning rather than Acyclic Directed Mixed Graphs (ADMG).
Summary updated