Exploring the Compositional Deficiency of Large Language Models in Mathematical Reasoning
On the map: LLM reasoning → Mathematical reasoning
Abstract (arXiv)
Human cognition exhibits systematic compositionality, the algebraic ability to generate infinite novel combinations from finite learned components, which is the key to understanding and reasoning about complex logic. In this work, we investigate the compositionality of large language models (LLMs) in mathematical reasoning. Specifically, we construct a new dataset textscMathTrap by introducing carefully designed logical traps into the problem descriptions of MATH and GSM8K. Since problems with logical flaws are quite rare in the real world, these represent "unseen" cases to LLMs. Solving these requires the models to systematically compose (1) the mathematical knowledge involved in the original problems with (2) knowledge related to the introduced traps. Our experiments show that while LLMs possess both components of requisite knowledge, they do not spontaneously combine them to handle these novel cases. We explore several methods to mitigate this deficiency, such as natural language prompts, few-shot demonstrations, and fine-tuning. Additionally, we test the recently released OpenAI o1 model and find that human-like `slow thinking' helps improve the compositionality of LLMs. Overall, systematic compositionality remains an open challenge for large language models.
Key facts. Cited by 15 papers in the map (data through 14 Oct 2026). Placed in Mathematical reasoning, one of 17 directions in LLM reasoning. Builds on 18 of its 40 references that are in the map. First posted on arXiv 5 May 2024.
Builds on
18 of 40 references.
Closest ancestors · 3
Same direction, newest first
- 2024OpenMathInstruct-1: A 1.8 Million Math Instruction Tuning Dataset15 Feb
- 2023Llemma: An Open Language Model For Mathematics16 Oct
- 2023WizardMath: Empowering Mathematical Reasoning for Large Language Models via Reinforced Evol-Instruct18 Aug
Other references · 15
- 2021Training Verifiers to Solve Math Word Problemscited by 10,109
- 2021Measuring Mathematical Problem Solving With the MATH Datasetcited by 5,371
- 2023Sparks of Artificial General Intelligence: Early experiments with GPT-4cited by 2,592
- 2024DeepSeek-Coder: When the Large Language Model Meets Programming -- The Rise of Code Intelligencecited by 1,181
- 2021Are NLP Models really able to Solve Simple Math Word Problems?cited by 878
- 2023Faith and Fate: Limits of Transformers on Compositionalitycited by 503
- 2021A Diverse Corpus for Evaluating and Developing English Math Word Problem Solverscited by 318
- 2023Reasoning or Reciting? Exploring the Capabilities and Limitations of Language Models Through Counterfactual Taskscited by 246
- 2024The pitfalls of next-token predictioncited by 160
- 2022LAMBADA: Backward Chaining for Automated Reasoning in Natural Languagecited by 66
- 2024Training Large Language Models for Reasoning through Reverse Curriculum Reinforcement Learningcited by 65
- 2023Self-Polish: Enhance Reasoning in Large Language Models via Problem Refinementcited by 43
Built on by
Citing papers per year: 2024: 1; 2025: 7; 2026: 7.
15 papers.
Sort:
By area:
- 2026Large Language Model Reasoning Failurescited by 21
- 2024Limits of Deep Learning: Sequence Modeling through the Lens of Complexity Theorycited by 19
- 2025Recitation over Reasoning: How Cutting-Edge Language Models Can Fail on Elementary School-Level Reasoning Problems?cited by 15
- 2025Unveiling the Compositional Ability Gap in Vision-Language Reasoning Modelcited by 14
- 2026AI Can Learn Scientific Tastecited by 11
- 2025EvaLearn: Quantifying the Learning Capability and Efficiency of LLMs via Sequential Problem Solvingcited by 10
- 2025MathDebugger: Detecting and Diagnosing Errors in Synthetic Mathematical Datacited by 6
- 2025The Thin Line Between Comprehension and Persuasion in LLMscited by 5
- 2026Barriers to Discrete Reasoning with Transformers: A Survey Across Depth, Exactness, and Bandwidthcited by 3
- 2025CompoST: A Benchmark for Analyzing the Ability of LLMs To Compositionally Interpret Questions in a QALD Settingcited by 1
- 2025Theme-Explanation Structure for Table Summarization using Large Language Models: A Case Study on Korean Tabular Datacited by 0
- 2026Diagnosing Structural Failures in LLM-Based Evidence Extraction for Meta-Analysiscited by 0
- 2026When Tokenization is Secretly Output Supervision1 Sep 2026
- 2026R2A: Learning Persona Policies Through Persona Representation Learning and Runtime Alignment30 Aug 2026
- 2026FlowEdit: Information-Theoretic Control of LLM Reasoning Flows for Ill-posed Problems Involving Conflicts20 Jun 2026
- 2026AI Can Learn Scientific Taste15 Mar 2026
- 2026Diagnosing Structural Failures in LLM-Based Evidence Extraction for Meta-Analysis11 Feb 2026
- 2026Large Language Model Reasoning Failures5 Feb 2026
- 2026Barriers to Discrete Reasoning with Transformers: A Survey Across Depth, Exactness, and Bandwidth19 Jan 2026
- 2025CompoST: A Benchmark for Analyzing the Ability of LLMs To Compositionally Interpret Questions in a QALD Setting28 Jul 2025
- 2025The Thin Line Between Comprehension and Persuasion in LLMs2 Jul 2025
- 2025EvaLearn: Quantifying the Learning Capability and Efficiency of LLMs via Sequential Problem Solving3 Jun 2025
- 2025Unveiling the Compositional Ability Gap in Vision-Language Reasoning Model26 May 2025
- 2025Recitation over Reasoning: How Cutting-Edge Language Models Can Fail on Elementary School-Level Reasoning Problems?1 Apr 2025
3 more
- 2025MathDebugger: Detecting and Diagnosing Errors in Synthetic Mathematical Data26 Feb 2025
- 2025Theme-Explanation Structure for Table Summarization using Large Language Models: A Case Study on Korean Tabular Data17 Jan 2025
- 2024Limits of Deep Learning: Sequence Modeling through the Lens of Complexity Theory26 May 2024
- 2026Large Language Model Reasoning Failurescited by 21
- 2025Recitation over Reasoning: How Cutting-Edge Language Models Can Fail on Elementary School-Level Reasoning Problems?cited by 15
- 2025Unveiling the Compositional Ability Gap in Vision-Language Reasoning Modelcited by 14
- 2025MathDebugger: Detecting and Diagnosing Errors in Synthetic Mathematical Datacited by 6
- 2026FlowEdit: Information-Theoretic Control of LLM Reasoning Flows for Ill-posed Problems Involving Conflictscited by 0
- 2026FlowEdit: Information-Theoretic Control of LLM Reasoning Flows for Ill-posed Problems Involving Conflicts20 Jun 2026
- 2026Large Language Model Reasoning Failures5 Feb 2026
- 2025Unveiling the Compositional Ability Gap in Vision-Language Reasoning Model26 May 2025
- 2025Recitation over Reasoning: How Cutting-Edge Language Models Can Fail on Elementary School-Level Reasoning Problems?1 Apr 2025
- 2025MathDebugger: Detecting and Diagnosing Errors in Synthetic Mathematical Data26 Feb 2025
- 2024Limits of Deep Learning: Sequence Modeling through the Lens of Complexity Theorycited by 19
- 2026AI Can Learn Scientific Tastecited by 11
- 2025EvaLearn: Quantifying the Learning Capability and Efficiency of LLMs via Sequential Problem Solvingcited by 10
- 2025The Thin Line Between Comprehension and Persuasion in LLMscited by 5
- 2026Barriers to Discrete Reasoning with Transformers: A Survey Across Depth, Exactness, and Bandwidthcited by 3
- 2025CompoST: A Benchmark for Analyzing the Ability of LLMs To Compositionally Interpret Questions in a QALD Settingcited by 1
- 2025Theme-Explanation Structure for Table Summarization using Large Language Models: A Case Study on Korean Tabular Datacited by 0
- 2026Diagnosing Structural Failures in LLM-Based Evidence Extraction for Meta-Analysiscited by 0
- 2026R2A: Learning Persona Policies Through Persona Representation Learning and Runtime Alignmentcited by 0
- 2026When Tokenization is Secretly Output Supervisioncited by 0
- 2026When Tokenization is Secretly Output Supervision1 Sep 2026
- 2026R2A: Learning Persona Policies Through Persona Representation Learning and Runtime Alignment30 Aug 2026
- 2026AI Can Learn Scientific Taste15 Mar 2026
- 2026Diagnosing Structural Failures in LLM-Based Evidence Extraction for Meta-Analysis11 Feb 2026
- 2026Barriers to Discrete Reasoning with Transformers: A Survey Across Depth, Exactness, and Bandwidth19 Jan 2026
- 2025CompoST: A Benchmark for Analyzing the Ability of LLMs To Compositionally Interpret Questions in a QALD Setting28 Jul 2025
- 2025The Thin Line Between Comprehension and Persuasion in LLMs2 Jul 2025
- 2025EvaLearn: Quantifying the Learning Capability and Efficiency of LLMs via Sequential Problem Solving3 Jun 2025
- 2025Theme-Explanation Structure for Table Summarization using Large Language Models: A Case Study on Korean Tabular Data17 Jan 2025
- 2024Limits of Deep Learning: Sequence Modeling through the Lens of Complexity Theory26 May 2024
Similar, not cited
Close in wording, no citation either way
- 2025Large Language Models and Mathematical Reasoning Failures
- 2024Large Language Models for Mathematical Reasoning: Progresses and Challenges
- 2025Thinking Machines: Mathematical Reasoning in the Age of LLMs
- 2026The Missing Primitive: Diagnosing and Repairing Mathematical Reasoning in Large Language Models
- 2025A Survey on Large Language Models for Mathematical Reasoning
- 2025Atomic Thinking of LLMs: Decoupling and Exploring Mathematical Reasoning Abilities
- 2026Mathematical Reasoning in Large Language Models: Benchmarks, Architectures, Evaluation, and Open Challenges
- 2025Mathematical Reasoning in Large Language Models: Assessing Logical and Arithmetic Errors across Wide Numerical Ranges