A Causal Framework to Quantify the Robustness of Mathematical Reasoning with Language Models
Alessandro Stolfo, Zhijing Jin, Kumar Shridhar, Bernhard Schölkopf, Mrinmaya Sachan
Abstract
We have recently witnessed a number of impressive results on hard mathematical reasoning problems with language models. At the same time, the robustness of these models has also been called into question; recent works have shown that models can rely on shallow patterns in the problem description when generating a solution. Building on the idea of behavioral testing, we propose a novel framework, which pins down the causal effect of various factors in the input, e.g., the surface form of the problem text, the operands, and math operators on the output solution. By grounding the behavioral analysis in a causal graph describing an intuitive reasoning process, we study the behavior of language models in terms of robustness and sensitivity to direct interventions in the input space. We apply our framework on a test bed of math word problems. Our analysis shows that robustness does not appear to continuously improve as a function of size, but the GPT-3 Davinci models (175B) achieve a dramatic improvement in both robustness and sensitivity compared to all other GPT variants. 1 1 Our code and data are available at https://github. com/alestolfo/causal-math . Kyle could fit n 1 =26 drawings on each page. If he has n 2 =11 pages, the number of drawings he can make is ___. Kyle could fit n 1 =2 drawings on each page. If he has n 2 =143 pages, the number of drawings he can make is ___.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
18 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Locating and Editing Factual Associations in GPT cites Investigating Gender Bias in Language Models Using Causal Mediation Analysis
- Unveiling Causal Reasoning in Large Language Models: Reality or Mirage? cites Chain-of-Thought Prompting Elicits Reasoning in Large Language Models
- Causal Prompting: Debiasing Large Language Model Prompting Based on Front-Door Adjustment cites Chain-of-Thought Prompting Elicits Reasoning in Large Language Models
- NextQuill: Causal Preference Modeling for Enhancing LLM Personalization cites Unveiling Causal Reasoning in Large Language Models: Reality or Mirage?
- Large Language Models are Zero-Shot Reasoners cites Chain-of-Thought Prompting Elicits Reasoning in Large Language Models
- Large Language Models are Zero-Shot Reasoners cites Training language models to follow instructions with human feedback
- Do Language Models Exhibit the Same Cognitive Biases in Problem Solving as Human Learners? cites Large Language Models are Zero-Shot Reasoners
- Do Language Models Exhibit the Same Cognitive Biases in Problem Solving as Human Learners? cites Chain-of-Thought Prompting Elicits Reasoning in Large Language Models
- Do Language Models Exhibit the Same Cognitive Biases in Problem Solving as Human Learners? cites Training language models to follow instructions with human feedback
- Do Language Models Exhibit the Same Cognitive Biases in Problem Solving as Human Learners? cites CLadder: A Benchmark to Assess Causal Reasoning Capabilities of Language Models
- Chain-of-Thought Prompting Elicits Reasoning in Large Language Models cites Training language models to follow instructions with human feedback
- Training language models to follow instructions with human feedback cites Investigating Gender Bias in Language Models Using Causal Mediation Analysis
- CLadder: A Benchmark to Assess Causal Reasoning Capabilities of Language Models cites Chain-of-Thought Prompting Elicits Reasoning in Large Language Models
- CLadder: A Benchmark to Assess Causal Reasoning Capabilities of Language Models cites Training language models to follow instructions with human feedback
Cited by top-tier papers18
- Unveiling Causal Reasoning in Large Language Models: Reality or Mirage?Haoang Chi, He Li, Wenjing Yang, Feng Liu et al.NeurIPS 2024 · 124 citations
- CLadder: A Benchmark to Assess Causal Reasoning Capabilities of Language ModelsZhijing Jin, Yuen Chen, Felix Leeb, Luigi Gresele et al.NeurIPS 2023 · 74 citations
- Causal Prompting: Debiasing Large Language Model Prompting Based on Front-Door AdjustmentCongzhi Zhang, Linhai Zhang, Jialong Wu, Yulan He et al.AAAI 2025 · 42 citations
- NextQuill: Causal Preference Modeling for Enhancing LLM PersonalizationXiaoyan Zhao, Juntao You, Yang Zhang, Wenjie Wang et al.ICLR 2026 · 38 citations
- Do Language Models Exhibit the Same Cognitive Biases in Problem Solving as Human Learners?Andreas Opedal, Alessandro Stolfo, Haruki Shirakami, Ying Jiao et al.ICML 2024 · 27 citations
Builds on17
- Training language models to follow instructions with human feedbackLong Ouyang, Jeffrey Wu, Xu Jiang, Diogo Almeida et al.NeurIPS 2022 · 24,707 citations
- Chain-of-Thought Prompting Elicits Reasoning in Large Language ModelsJason Wei, Xuezhi Wang, Dale Schuurmans, Maarten Bosma et al.NeurIPS 2022 · 22,562 citations
- Large Language Models are Zero-Shot ReasonersTakeshi Kojima, Shixiang Shane Gu, Machel Reid, Yutaka Matsuo et al.NeurIPS 2022 · 8,168 citations
- Locating and Editing Factual Associations in GPTKevin Meng, David Bau, Alex Andonian, Yonatan BelinkovNeurIPS 2022 · 3,415 citations
- Investigating Gender Bias in Language Models Using Causal Mediation AnalysisJesse Vig, Sebastian Gehrmann, Yonatan Belinkov, Sharon Qian et al.NeurIPS 2020 · 851 citations
Related papers
- CausalLink: An Interactive Evaluation Framework for Causal ReasoningJinyue Feng, Frank RudziczACL Findings 2025
- Reasoning in Large Language Models Through Symbolic Math Word ProblemsVedant Gaur, Nikunj SaunshiACL Findings 2023 · 10 citations
- DynaMath: A Dynamic Visual Benchmark for Evaluating Mathematical Reasoning Robustness of Vision Language ModelsChengke Zou, Xingang Guo, Rui Yang, Junyu Zhang et al.ICLR 2025
- MATH-Perturb: Benchmarking LLMs' Math Reasoning Abilities against Hard PerturbationsKaixuan Huang, Jiacheng Guo, Zihao Li, Xiang Ji et al.ICML 2025
- GSM-Plus: A Comprehensive Benchmark for Evaluating the Robustness of LLMs as Mathematical Problem SolversQintong Li, Leyang Cui, Xueliang Zhao, Lingpeng Kong et al.ACL 2024 · 9 citations
