TL;DR
Evaluating large language models (LLMs) on causal inference tasks by looking only at their final numerical output creates a major blind spot. This paper introduces CausalReasoningBenchmark, a new dataset of 173 real-world queries that evaluates causal identification (formulating the research design) separately from estimation (computing the numbers). The baseline results reveal a striking bottleneck: while an advanced LLM can correctly identify the broad causal strategy 79% of the time, its ability to fully specify the correct research design drops to just 34%.
What Problem Does This Paper Address?
Causal inference from observational data relies on two fundamentally distinct steps:
- Identification: A conceptual exercise where the analyst determines how to recover a causal effect from the data based on a set of assumptions (e.g., choosing an Instrumental Variable or a Difference-in-Differences design and selecting the right control variables).
- Estimation: A technical exercise where the chosen design is numerically implemented on a dataset to produce a point estimate and standard error.
Existing benchmarks typically collapse these two steps into a single score, such as the error in the Average Treatment Effect (ATE). If a model outputs the wrong number, it is impossible to diagnose why it failed. Did it choose an invalid identification strategy, or did it simply make a coding error in its regression script? Furthermore, many existing benchmarks rely on simplified or synthetic data that fails to capture the messy realities of empirical research—such as missing data, ambiguous variables, and complex study contexts.
Methods
To disentangle these two failure modes, the authors developed a structured evaluation framework. For any given causal query, an automated agent must provide two distinct outputs:
- A Structured Identification Specification: A JSON object detailing the chosen design family, the exact treatment and outcome variables, the specific causal quantity (e.g., ATE, ATT, LATE), and strategy-specific fields (like running variables for Regression Discontinuity or instruments for Instrumental Variables).
- An Estimation Output: A numerical point estimate and its standard error, accompanied by the executable Python or R code used to generate them.
The benchmark's evaluator scores the identification specification field-by-field against a gold standard. Crucially, for control variables, it checks two conditions: the model must include a minimal sufficient adjustment set (to eliminate confounding) and must strictly exclude bad controls (such as post-treatment mediators or colliders that would introduce bias).
Datasets
CausalReasoningBenchmark consists of 173 queries across 132 unique real-world datasets, curated from 79 peer-reviewed research papers (primarily from top political science journals) and three widely used causal inference textbooks (The Mixtape, The Effect, and What If).
It covers five canonical quasi-experimental research designs: Difference-in-Differences (DiD), Regression Discontinuity Design (RDD), Instrumental Variables (IV), Conditional Exogeneity (Selection on Observables), and Randomized Controlled Trials (RCT).
The authors compare their dataset against existing causal reasoning benchmarks in the literature, highlighting its unique focus on real data and design-specific evaluation:
Key Insights and Ideas
- The "Nuance Bottleneck": LLMs are surprisingly good at recognizing the high-level strategy required for a problem (e.g., spotting that a dataset fits a Regression Discontinuity framework). However, they stumble heavily on the execution details, such as defining the exact cutoff or selecting the correct variables.
- The "Bad Control" Trap: Specifying controls is the most error-prone component for LLMs. Models frequently suffer from "over-controlling"—including post-treatment variables that lie on the causal path (mediators). By conditioning on these, the model inadvertently blocks the very treatment effect it is trying to measure.
- Semantic Misdirection: LLMs are easily fooled by text context. For instance, in observational studies from textbooks that use the word "assignment" to describe how a treatment occurred, the baseline model frequently misclassified the study as a Randomized Controlled Trial (RCT) and left the control set completely empty.
- Estimand Confusion: In 66% of RDD queries, the model correctly identified the strategy but mislabeled the target causal quantity as a Local Average Treatment Effect (LATE)—which belongs to an Instrumental Variable design—instead of a Conditional Average Treatment Effect (CATE).
Key Results
The authors evaluated a baseline agent using gpt-5.3 with reasoning equipped with a Python code interpreter.
- High-Level Strategy Accuracy: 79.2%
- Full Identification Specification Accuracy: 34.1% (meaning the model got every structural field correct in only about a third of the cases).
- Estimation Error: The median percentage error for the numerical estimates was 18.1%. Interestingly, the model occasionally produced a reasonable numerical estimate despite an incorrect identification specification, simply because it stumbled into a plausible alternative estimation approach.
The per-strategy breakdown revealed that Regression Discontinuity Design (RDD) had the highest strategy-level recognition (95.5%) but the lowest full specification correctness (11.4%), driven largely by the estimand confusion mentioned above.
Limitations and Future Work
- Domain Bias: The research-paper subset is drawn entirely from political science literature due to the availability of large-scale replication studies in that field. Future versions aim to incorporate datasets from economics and epidemiology.
- Strategy Coverage: The benchmark currently covers five core designs but omits other important modern causal strategies like synthetic controls or event studies.
- Rigid Gold Standard: The evaluation framework assumes a single "correct" gold-standard research design per query, whereas real-world data can sometimes be defensibly analyzed using multiple valid strategies.
Summary updated