NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Externalized CPDAG Summaries Improve LLM Causal Deduction

Wentao Sun, João Paulo Nogueira, Dominique Verchere, Mathieu Acher, Alonso SilvaNeurIPS 2026

TL;DR

When large language models try to untangle cause and effect from statistical correlations in free-flowing prose, they easily lose the plot—sometimes writing 47,000 characters of reasoning only to drop a crucial link along the way. By forcing the model to first sketch out the entire family of possible causal networks in a strict, code-like format before answering, its causal deduction jumps dramatically without any fine-tuning or external solvers. It turns out LLMs are remarkably good at reading causal maps; they just need a structured notepad so they don't get lost drawing them.

What Problem Does This Paper Address?

Anyone who has taken an intro stats class knows that correlation doesn’t imply causation. Specifically, a set of observed correlations and conditional independencies rarely points to a single causal network (modeled as a Directed Acyclic Graph, or DAG, where arrows point from causes to effects). Instead, the data usually fits a whole family of graphs equally well—known as a Markov equivalence class.

To claim that $A$ causes $B$ from observational data alone, that arrow must exist in every single graph in that family. Classical algorithms like the Peter–Clark (PC) algorithm summarize this entire family into one master map called a CPDAG (Completed Partially Directed Acyclic Graph): directed arrows mean the direction is locked in across all valid worlds, while undirected lines mean the data leaves the direction ambiguous.

When LLMs are tested on this kind of formal deduction, free-text Chain-of-Thought (CoT) struggles. Holding adjacencies, colliders (common effects, like $A \rightarrow C \leftarrow B$), and forced arrow directions in memory all at once is taxing. In prose, facts have no fixed address, and models routinely lose track of the broader equivalence class, settling on one plausible story while missing another that falsifies the claim.

Free-text reasoning vs. Structured Thinking on a 5-variable causal problem.

Methods

To stop the model from losing its train of thought, the authors introduce Structured Thinking, a two-turn inference pipeline that separates building the causal map from reading it—using no fine-tuning and no external symbolic solvers.

  • Turn 1 (Build the Map): Guided by standard PC-algorithm instructions, the model analyzes the statistical premises and emits a CausalAnalysis object. Using regex-constrained decoding (for local open-weight models) or JSON-schema tool calling (for API models), the output is locked into explicit fields: variables, skeleton (all connections), non_adjacent pairs, v_structures (colliders), directed edges, and undirected edges.
  • Turn 2 (Query the Map): That structured summary is fed back to the model alongside a compact text-based graph view (DOT format). Now, instead of re-deriving causality from raw text, the model simply inspects its own externalized CPDAG to check if the hypothesis holds across all valid completions.

To prove the structured graph is doing the heavy lifting, the authors compare this against strong controls, including a one-turn baseline given the exact same PC-algorithm walkthrough (BaselineEnhanced) and a two-turn prose control that writes free-text analysis in Turn 1 before answering in Turn 2.

Datasets

No models are trained or fine-tuned; evaluation is purely zero-shot inference across:

  • Corr2Cause: The primary benchmark, testing whether causal hypotheses hold given premises of correlations and conditional independencies. Evaluated on the main test split ($n=1,162$), plus Refactor-OOD (renamed variables) and Paraphrase-OOD (reworded hypotheses), along with pilot stress tests on larger 7- and 8-variable graphs derived from random, ALARM, and ASIA networks.
  • StepGame & CLUTRR: Two non-causal transfer benchmarks testing multi-hop spatial deduction (StepGame) and family kinship reasoning (CLUTRR) to explore where typed graph intermediates help or fail.

Key Insights and Ideas

  • More prose can make things worse: Giving a model two turns of free-text PC reasoning actually underperforms a single-turn baseline (dropping from 73.01 to 67.55 $F_1$), largely because unconstrained prose spirals into false positives. Structure, not verbosity or extra compute turns, drives the improvement.
  • The model genuinely reads its own map: How do we know Turn 2 isn't ignoring the graph and guessing from the text? When the authors hid the premise and swapped in a valid counterfactual CPDAG with the opposite truth value, the model flipped its answer to match the new graph 90.1% of the time (versus 1.0% when just shuffling edge order).
  • Construction is the bottleneck, not reading: Substituting solver-generated "perfect" CPDAGs in Turn 2 fixed almost all remaining errors—mainly by rescuing instances where Turn 1 failed to output a usable graph. Once a valid CPDAG is on the page, the LLM reads it with ~98.7% agreement.
  • Graphs only help when readout is easy: On StepGame spatial reasoning, typed graphs easily beat prose intermediates. On CLUTRR kinship reasoning, however, typed graphs flopped—even with ground-truth graphs—because composing kinship chains (e.g., "sister's father's brother") over a graph is still tough for the model to execute.

Key Results

  • Headline gains: Across three matched seeds on Corr2Cause, Structured Thinking boosts Qwen3.5-27B from 77.48 to 86.48 $F_1$ (+9.00 points) and accuracy from 93.55% to 95.81%, driven by a 14.8 percentage point jump in recall.
  • Robustness across splits and models: Gains hold when variables are renamed (+10.46 $F_1$) or hypotheses paraphrased (+8.79 $F_1$). Improvements also appear across Qwen3.6-27B (+9.79 $F_1$), Qwen3.5-9B (+20.38 $F_1$), GPT-5.4-mini (+3.19 $F_1$), and Gemma-4-31B (+2.01 $F_1$ without hard decoding constraints).
  • Scaling to harder graphs: As variable counts grow, free-text reasoning wilts while Structured Thinking shines. On pilot 7-variable random graphs, Qwen3.5-27B jumps from 28.42 to 91.87 $F_1$.
  • High structural fidelity: An automatic audit shows Qwen3.5-27B's emitted skeletons match ground-truth solver CPDAGs at 0.960 $F_1$, with 75.9% exact full-CPDAG matches.

Limitations and Future Work

The method doubles inference calls (roughly $2\times$ token footprint and $1.5\times$ wall-clock time in batched runs) and is scoped strictly to observational CPDAG deduction—not interventional or counterfactual causal math (like Pearl's $do$-calculus) or messy real-world domain claims. Furthermore, schema constraints only guarantee parseable syntax, not mathematical validity: roughly 19–23% of emitted summaries still contain graph-consistency or Meek-rule closure errors. Pairing constrained decoding with an automatic graph-validity checker—or letting the model repair invalid graphs before Turn 2—is a natural next step.

Summary updated

BibTeX
@inproceedings{sun2026externalized,
  author = {Wentao Sun and João Paulo Nogueira and Dominique Verchere and Mathieu Acher and Alonso Silva},
  title = {{Externalized CPDAG Summaries Improve LLM Causal Deduction}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=jNkJv4Cfma},
}
Figure