mlsanityData to 14 Oct 2026

Teaching Transformers Causal Reasoning through Axiomatic Training

arXiv 2407.07612 ↗First posted 10 Jul 2024cs.LG cs.AI cs.CLcited by 12

On the map: LLM reasoning → Causal reasoning in LLMs

Abstract (arXiv)

For text-based AI systems to interact in the real world, causal reasoning is an essential skill. Since active interventions are costly, we study to what extent a system can learn causal reasoning from symbolic demonstrations of causal axioms. Specifically, we present an axiomatic training method where the system learns from multiple demonstrations of a causal axiom (or rule), rather than incorporating the axiom as an inductive bias or inferring it from data values. A key question is whether the system would learn to generalize from the axiom demonstrations to more complex scenarios. Our results, based on applying axiomatic training to learn the transitivity axiom and d-separation rule, indicate that such generalization is possible. To avoid data contamination issues, we start with a 67 million parameter transformer model and train it from scratch. On both tasks, we find that a model trained on linear causal chains (along with some noisy variations) can generalize well to complex graphs, including longer causal chains, causal chains with reversed order, and graphs with branching.To handle diverse text inputs, the same method is extended to finetune language models. Finetuning Llama-3-8B-Instruct model on our axiomatic data leads to significant gains on causal benchmarks such as Corr2Cause and CLEAR, in some cases providing state-of-the-art performance surpassing GPT-4.

Key facts. Cited by 12 papers in the map (data through 14 Oct 2026). Placed in Causal reasoning in LLMs, one of 17 directions in LLM reasoning. Builds on 3 of its 39 references that are in the map. First posted on arXiv 10 Jul 2024.

Builds on

3 of 39 references.

Closest ancestors · 1

Same direction, newest first

  1. 2023Causal Reasoning and Large Language Models: Opening a New Frontier for Causality28 Apr

Other references · 2

  1. 2024Phi-3 Technical Report: A Highly Capable Language Model Locally on Your Phonecited by 1,917
  2. 2023Integrating Large Language Model for Improved Causal Discoverycited by 54

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2024: 1; 2025: 4; 2026: 7.

12 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2025CausalARC: Abstract Reasoning with Causal World Models
  2. 2025Are Transformers Able to Reason by Connecting Separated Knowledge in Training Data?
  3. 2025Causal-Symbolic Meta-Learning (CSML): Inducing Causal World Models for Few-Shot Generalization
  4. 2022Generalizing Goal-Conditioned Reinforcement Learning with Variational Causal Reasoning
  5. 2025Inducing Causal World Models in LLMs for Zero-Shot Physical Reasoning
  6. 2024C2P: Featuring Large Language Models with Causal Reasoning
  7. 2024Grokked Transformers are Implicit Reasoners: A Mechanistic Journey to the Edge of Generalization
  8. 2025Unveiling Causal Reasoning in Large Language Models: Reality or Mirage?