CausalProfiler: Generating Synthetic Benchmarks for Rigorous and Transparent Evaluation of Causal Machine Learning

Panayiotis Panayiotou, Audrey Poinsot, Alessandro Leite, Nicolas Chesneau, Marc Schoenauer, Özgür Şimşek

Introduction

Causal machine learning (Causal ML) holds immense promise for high-stakes decision-making by answering critical "what-if" questions. However, evaluating these models is notoriously difficult due to the Fundamental Problem of Causal Inference: we can never observe the counterfactual. We see what happened, but never what would have happened under different circumstances. To address the limitations of current evaluation practices, researchers have introduced CausalProfiler, an open-source benchmark generator designed to move the field away from static, hand-picked datasets toward rigorous, systematic evaluation.

The Problem with Current Benchmarks

Historically, the Causal ML field has relied on a small number of semi-synthetic datasets (such as ACIC2016) or hand-crafted models. This reliance creates a brittle evaluation ecosystem. An algorithm might perform exceptionally well on a specific benchmark simply because its underlying assumptions align with those of the data creator, only to fail in real-world applications. There is a distinct lack of structured diversity—the ability to test models across a wide, controlled range of graph densities, functional complexities, and noise distributions.

The CausalProfiler Framework

CausalProfiler generates synthetic causal benchmarks based on a user-defined Space of Interest (SoI). By allowing researchers to define this space, the tool randomly samples diverse causal models and ground truths across all three levels of Pearl’s Causal Hierarchy: observation, intervention, and counterfactuals.

The generation process follows a principled, four-step pipeline:

  1. Graph Sampling: Generates a Directed Acyclic Graph (DAG) based on parameters like node count and edge density.
  2. Mechanism Assignment: Assigns structural equations (mechanisms) to each node. It supports linear functions, neural networks (for non-linearity), and regional discrete mechanisms (tabular mappings).
  3. Latent Projection: Simulates real-world complexity by hiding a percentage of variables, utilizing Verma’s latent projection to create the observed causal structure.
  4. Query & Ground Truth: Samples specific causal queries (e.g., Average Treatment Effect) and uses the underlying Structural Causal Model (SCM) to calculate the exact ground truth.

A key theoretical contribution of this work is Proposition 5.1 (Coverage), which mathematically guarantees that for discrete models, CausalProfiler has a non-zero probability of generating any possible causal dataset within the specified SoI.

Experimental Validation

Because CausalProfiler is a generator rather than a static dataset, the authors demonstrated its utility by comparing its output against established benchmarks like CausalNF (11 synthetic SCMs) and bnlearn models (e.g., CANCER, EARTHQUAKE). They also defined custom SoIs, such as Linear-Medium (15-20 nodes, linear equations) and NN-Large (20-25 nodes, neural network equations). Visualizations using t-SNE confirmed that CausalProfiler covers a vastly larger region of the causal metric space than existing fixed benchmarks.

Key Insights and Results

By evaluating state-of-the-art methods—including DCM, NCM, VACA, and CausalNF—under diverse conditions, CausalProfiler revealed several critical insights:

  • Context-Dependent Rankings: There is no single "best" algorithm. A model that dominates in a linear SoI might be the worst performer when mechanisms are modeled as neural networks. This highlights an "inductive bias match," where neural-network-based causal models naturally perform better on SCMs generated with neural mechanisms.
  • Hidden Failure Modes: The tool exposed severe vulnerabilities in existing methods. For instance, VACA showed strong performance on neural-network-based SCMs but suffered a 53.4% failure rate in the Linear-Medium setting due to invalid floating-point values—a flaw easily obscured by narrow benchmarks.
  • Performance Trade-offs:
    • DCM (Diffusion-based Causal Models) achieved the lowest error in linear settings but exhibited catastrophic outliers in rare cases. Furthermore, in discrete counterfactual settings, DCM was 15x to 21x slower than CausalNF despite higher accuracy.
  • Data Efficiency: When reducing sample sizes from 1,000 to 50, DCM’s error nearly tripled. In contrast, VACA and NCM remained remarkably stable, demonstrating robustness in low-data regimes.

Limitations and Future Directions

While CausalProfiler represents a significant step forward, the authors note a few limitations. First, there is a distributional bias: while the tool can sample any model, it does not sample them uniformly. Perfectly linear SCMs, for example, are unlikely to be generated unless explicitly requested. Second, a simulation-to-real gap remains; future work will focus on automatically mapping real-world data features to SoI parameters to create more realistic synthetic tests. Finally, running exhaustive Markov property checks becomes computationally expensive as the number of variables scales.

Future iterations of CausalProfiler aim to expand its scope to support time-series data, text, and complex data-generating scenarios like selection bias, further solidifying its role as a foundational tool for Causal ML evaluation.

Summary updated

BibTeX
@inproceedings{panayiotou2026causalprofiler,
  author = {Panayiotis Panayiotou and Audrey Poinsot and Alessandro Leite and Nicolas CHESNEAU and Marc Schoenauer and Özgür Şimşek},
  title = {{CausalProfiler: Generating Synthetic Benchmarks for Rigorous and Transparent Evaluation of Causal Machine Learning}},
  booktitle = {International Conference on Machine Learning},
  year = {2026},
  url = {https://openreview.net/forum?id=0wCl7EifsY},
}
Figure