Towards a Universal Causal Reasoner

Qirun Dai, Xiao Liu, Jiawei Zhang, Dylan Zhang, Hao Peng, Chenhao Tan

TL;DR

This paper introduces UNICO, a novel data generation framework designed to train Large Language Models (LLMs) into generalizable causal reasoners. By covering 18 causal query types across all levels of Pearl’s Causal Ladder and translating them into symbolic, code, and natural language forms, UNICO prevents models from relying on reasoning shortcuts. The resulting fine-tuned models not only excel at out-of-distribution causal tasks but also demonstrate significantly more faithful reasoning traces in general real-world domains like medicine and law.

What Problem Does This Paper Address?

While LLMs have advanced rapidly in general text generation, their ability to reason causally remains a major weak point. They frequently fall into statistical traps—such as confusing correlation with causation—and their intermediate reasoning steps are often "unfaithful" (i.e., the generated explanation doesn't actually match the logic required to reach the final answer).

Existing efforts to fix this suffer from a data bottleneck. Current causal datasets are either purely evaluative benchmarks or synthetic datasets with limited diversity. Furthermore, many suffer from severe quality issues like ambiguous phrasing or missing necessary conditions, causing models to overfit to specific surface patterns rather than internalizing true causal principles. The authors set out to build a framework that provides both the diversity and rigorous quality control needed to train a truly universal causal reasoner.

Methods

UNICO generates high-quality training data by combining structural causal models (SCMs) with rigorous mathematical and linguistic translation pipelines:

  1. Structural Causal Model (SCM) Sampling: The framework iteratively samples unique directed acyclic graphs (DAGs) and populates them with conditional probability tables using binary variables.
  2. Comprehensive Query Coverage: UNICO samples 18 distinct query types spanning all three levels of Judea Pearl’s Causal Ladder: Association (observational), Intervention (active doing), and Counterfactual (retrospective imagining).
  3. Multi-Form Translation: To ensure the model doesn't just overfit to mathematical symbols, each query is translated into three distinct representations: native symbolic notations, executable Python code (stochastic functions), and natural language narratives grounded in real-world contexts (e.g., news or Wikipedia articles).
  4. Causal-Naivety Control: A key innovation is filtering out "causally naive" questions. Often, a high-level causal question can accidentally be solved using lower-level statistical shortcuts (e.g., calculating an intervention effect purely through conditional probabilities). UNICO uses the rules of do-calculus to identify and reduce these shortcut questions, forcing the model to learn genuine causal mechanisms.
Figure 2: Examples illustrating the three representation forms. UNICO starts from the top half of (b) by sampling a causal graph and its parent-child probabilistic conditions (§3.1) to form a structural causal model. On top of it, UNICO samples from 18 query types spanning all three levels of the Causal Ladder, and formulates symbolic questions, as shown in the bottom half of (b) (§3.2). Eventually, each symbolic question can be translated into either executable code (a) or natural language (c) forms (§3.3), with the underlying causal semantics intact. See Appendix C.5 for full examples.

Datasets

The authors introduced the UNICO dataset, which consists of:

  • Training split: 66,603 generated instances.
  • Evaluation split: 13,321 instances.

To test generalization, they evaluated their models on 7 out-of-distribution (OOD) causal benchmarks: BBEH, Com2, CaLM, CLadder, ExecCF, Corr2Cause, and CounterBench.

To evaluate whether this causal training transfers to non-causal tasks, they used RFEval, a benchmark designed to measure reasoning faithfulness across three real-world domains: medical understanding, legal decision-making, and tabular reasoning.

Key Insights and Ideas

  • Surface Form Sensitivity: LLMs are incredibly sensitive to how a causal problem is framed. A model that successfully solves a problem in a symbolic format often fails completely when the exact same problem is rewritten as Python code or a natural language story. Multi-form training is essential for generalization.
  • The Danger of Shortcuts: Without strict naivety control, models quickly learn to exploit mathematical loopholes in synthetic datasets rather than mastering causal logic. Tightening data difficulty via do-calculus directly correlates with better downstream performance.
  • The "Causal Mindset" Transfer: Perhaps the most striking finding is that training an LLM on pure, abstract causal data fundamentally alters how it approaches general reasoning. It instills a "causal mindset" that forces the model to maintain logical consistency and stance throughout complex multi-step prompts in unrelated fields like medicine and law.

Key Results

The authors fine-tuned several open-source base models (Qwen3-4B, Qwen3-8B, and Olmo-3-7B-Instruct) using the UNICO framework.

  • In-Distribution Boost: Fine-tuned models achieved an average 22.9% performance gain across all 18 query types. Small models (like Qwen3-4B/8B) fine-tuned on UNICO even managed to outperform much larger or proprietary models on the causal ladder.
  • Out-of-Distribution Generalization: UNICO-trained models outperformed state-of-the-art causal data frameworks (CauGym and CDCR) by an average of 8.1% across 7 external benchmarks.
  • Reasoning Faithfulness: On the RFEval benchmark, UNICO-trained models showed an average 20.2% improvement in faithfulness metrics over their base models, driven primarily by a massive reduction in post-intervention stance incoherence.
Figure 1: Left: Overview of UNICO’s technical components and generalization goals. Right: Perfor- mance gains from SFT on UNICO-generated data, spanning in-distribution query types, established OOD causal tasks, and faithfulness in real-world general reasoning.

Limitations and Future Work

While UNICO successfully instills a causal mindset that improves reasoning faithfulness, the authors note that this does not automatically translate to broad performance or accuracy gains across all general-purpose benchmarks. Additionally, this study focused entirely on Supervised Fine-Tuning (SFT). The authors highlight that exploring advanced post-training algorithms, such as Reinforcement Learning with Verifiable Rewards (RLVR) or On-Policy Distillation, represents a promising next step for scaling up universal causal reasoners.

Summary updated

BibTeX
@inproceedings{dai2026towards,
  author = {Qirun Dai and Xiao Liu and Jiawei Zhang and Dylan Zhang and Hao Peng and Chenhao Tan},
  title = {{Towards a Universal Causal Reasoner}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=MeL6BM40Ro},
}
Figure