LEMMA: Learning from Errors for MatheMatical Advancement in LLMs
On the map: LLM reasoning → Mathematical reasoning
Abstract (arXiv)
Large language models (LLMs) have demonstrated remarkable reasoning capability in solving mathematical problems. However, existing approaches primarily focus on improving the quality of correct training data, e.g., distilling high-quality correct solutions from advanced models, neglecting the value contained in error data, potentially hindering the model's reflective ability. Though some studies attempt to leverage error data, they often involve complex mechanisms, such as Monte Carlo Tree Search (MCTS) to explore error nodes. In this work, we propose to enhance LLMs' reasoning ability by Learning from Errors for Mathematical Advancement (LEMMA). LEMMA constructs data consisting of an incorrect solution with an erroneous step and a reflection connection to a correct solution for fine-tuning. Specifically, we systematically analyze the model-generated error types and introduce an error-type grounded mistake augmentation method to collect diverse and representative errors. Correct solutions are either from fixing the errors or generating a fresh start. Through a model-aware smooth reflection connection, the erroneous solution is transferred to the correct one. By fine-tuning on the constructed dataset, the model is able to self-correct errors autonomously within the generation process without relying on external critique models. Experimental results demonstrate that LEMMA achieves significant performance improvements over other strong baselines.
Key facts. Cited by 21 papers in the map (data through 14 Oct 2026). Placed in Mathematical reasoning, one of 17 directions in LLM reasoning. Builds on 51 of its 71 references that are in the map. First posted on arXiv 21 Mar 2025.
Builds on
51 of 71 references.
Closest ancestors · 15
Same direction, newest first
- 2025rStar-Math: Small LLMs Can Master Math Reasoning with Self-Evolved Deep Thinking8 Jan
- 2024DotaMath: Decomposition of Thought with Code Assistance and Self-correction for Mathematical Reasoning4 Jul
- 2024Step-Controlled DPO: Leveraging Stepwise Error for Enhanced Mathematical Reasoning30 Jun
- 2024Learn Beyond The Answer: Training Language Models with Reflection for Mathematical Reasoning17 Jun
- 2024Evaluating Mathematical Reasoning of Large Language Models: A Focus on Error Identification and Correction2 Jun
- 2024MathChat: Benchmarking Mathematical Reasoning and Instruction Following in Multi-Turn Interactions29 May
- 2024Common 7B Language Models Already Possess Strong Math Capabilities7 Mar
- 2024MathScale: Scaling Instruction Tuning for Mathematical Reasoning5 Mar
- 2024Key-Point-Driven Data Synthesis with its Enhancement on Mathematical Reasoning4 Mar
- 2024MathGenie: Generating Synthetic Data with Question Back-translation for Enhancing Mathematical Reasoning of LLMs26 Feb
- 2024Augmenting Math Word Problems via Iterative Question Composing17 Jan
- 2023Learning From Mistakes Makes LLM Better Reasoner31 Oct
3 more
Other references · 36
- 2023GPT-4 Technical Reportcited by 18,396
- 2021Training Verifiers to Solve Math Word Problemscited by 10,109
- 2021Measuring Mathematical Problem Solving With the MATH Datasetcited by 5,371
- 2023Let's Verify Step by Stepcited by 3,789
- 2023Improving Factuality and Reasoning in Language Models through Multiagent Debatecited by 1,784
- 2023Teaching Large Language Models to Self-Debugcited by 988
- 2021Are NLP Models really able to Solve Simple Math Word Problems?cited by 878
- 2022Large Language Models Can Self-Improvecited by 664
- 2023MAmmoTH: Building Math Generalist Models through Hybrid Instruction Tuningcited by 487
- 2024Training Language Models to Self-Correct via Reinforcement Learningcited by 426
- 2023Language Models can Solve Computer Taskscited by 372
- 2023Beyond Human Data: Scaling Self-Training for Problem-Solving with Language Modelscited by 349
24 more
- 2024LLMLingua-2: Data Distillation for Efficient and Faithful Task-Agnostic Prompt Compressioncited by 348
- 2021A Diverse Corpus for Evaluating and Developing English Math Word Problem Solverscited by 318
- 2022Large Language Models are Better Reasoners with Self-Verificationcited by 307
- 2022Teaching Small Language Models to Reasoncited by 284
- 2024The Effect of Sampling Temperature on Problem Solving in Large Language Modelscited by 170
- 2024Distilling System 2 into System 1cited by 159
- 2024MAmmoTH2: Scaling Instructions from the Webcited by 145
- 2024O1 Replication Journey: A Strategic Progress Report -- Part 1cited by 143
- 2024Mutual Reasoning Makes Smaller LLMs Stronger Problem-Solverscited by 138
- 2024HelpSteer2-Preference: Complementing Ratings with Preferencescited by 130
- 2025On Memory Construction and Retrieval for Personalized Conversational Agentscited by 105
- 2024Small Language Models Need Strong Verifiers to Self-Correct Reasoningcited by 86
- 2024LLM2LLM: Boosting LLMs with Novel Iterative Data Enhancementcited by 70
- 2024Can LLMs Learn from Previous Mistakes? Investigating LLMs' Errors to Boost for Reasoningcited by 69
- 2024Training Large Language Models for Reasoning through Reverse Curriculum Reinforcement Learningcited by 65
- 2024Enhancing LLM Reasoning via Critique Models with Test-Time and Training-Time Supervisioncited by 60
- 2024Selective Reflection-Tuning: Student-Selected Data Recycling for LLM Instruction-Tuningcited by 57
- 2024ChatGLM-Math: Improving Math Problem-Solving in Large Language Models with a Self-Critique Pipelinecited by 47
- 2024Large Language Models Can Self-Correct with Key Condition Verificationcited by 39
- 2024TokenSelect: Efficient Long-Context Inference and Length Extrapolation for LLMs via Dynamic Token-Level KV Cache Selectioncited by 39
- 2024Confidence v.s. Critique: A Decomposition of Self-Correction Capability for LLMscited by 29
- 2024Small Language Model Can Self-correctcited by 23
- 2024S^3cMath: Spontaneous Step-level Self-correction Makes Large Language Models Better Mathematical Reasonerscited by 17
- 2024Optimizing Language Model's Reasoning Abilities with Weak Supervisioncited by 15
Built on by
Citing papers per year: 2025: 12; 2026: 9.
21 papers.
Sort:
By area:
- 2025Reflect, Retry, Reward: Self-Improving LLMs via Reinforcement Learningcited by 33
- 2025Can One Domain Help Others? A Data-Centric Study on Multi-Domain Reasoning via Reinforcement Learningcited by 17
- 2025Student-Centered Distillation Narrows the Agentic Gap Between Small and Large LLMscited by 14
- 2025REST: Stress Testing Large Reasoning Models by Asking Multiple Problems at Oncecited by 12
- 2026Robust Tool Use via Fission-GRPO: Learning to Recover from Execution Errorscited by 10
- 2025IDEAL: Data Equilibrium Adaptation for Multi-Capability Language Model Alignmentcited by 8
- 2025Reliable Proof Generation with LLMs via Analogical Retrieval and Symbolic Verification: A Case Study in Euclidean Geometrycited by 7
- 2025Evaluation of LLMs for mathematical problem solvingcited by 7
- 2025ScaleDiff: Scaling Difficult Problems for Advanced Mathematical Reasoningcited by 6
- 2026ErrorMap and ErrorAtlas: Charting the Failure Landscape of Large Language Modelscited by 6
- 2026Learning from Mistakes: Negative Reasoning Samples Enhance Out-of-Domain Generalizationcited by 5
- 2026ASDA: Automated Skill Distillation and Adaptation for Financial Reasoningcited by 5
9 more
- 2025Mathematical Computation and Reasoning Errors by Large Language Modelscited by 4
- 2025Enhancing Long-Chain Reasoning Distillation through Error-Aware Self-Reflectioncited by 3
- 2026Beyond Rejection Sampling: Trajectory Fusion for Scaling Mathematical Reasoningcited by 3
- 2025WarriorMath: Enhancing the Mathematical Ability of Large Language Models with a Defect-aware Frameworkcited by 1
- 2026Self-ReSET: Learning to Self-Recover from Unsafe Reasoning Trajectoriescited by 1
- 2026STRIDE: Learnable Stepwise Language Feedback for LLM Reasoningcited by 1
- 2025Error Notebook-Guided, Training-Free Part Retrieval in 3D CAD Assemblies via Vision-Language Modelscited by 0
- 2026When LLM Meets Tree Search: A Systematic View of Inference as Search in Large Language Modelscited by 0
- 2026When Tokenization is Secretly Output Supervisioncited by 0
- 2026When Tokenization is Secretly Output Supervision1 Sep 2026
- 2026When LLM Meets Tree Search: A Systematic View of Inference as Search in Large Language Models31 Aug 2026
- 2026STRIDE: Learnable Stepwise Language Feedback for LLM Reasoning13 May 2026
- 2026Self-ReSET: Learning to Self-Recover from Unsafe Reasoning Trajectories9 May 2026
- 2026ASDA: Automated Skill Distillation and Adaptation for Financial Reasoning17 Mar 2026
- 2026Beyond Rejection Sampling: Trajectory Fusion for Scaling Mathematical Reasoning4 Feb 2026
- 2026ErrorMap and ErrorAtlas: Charting the Failure Landscape of Large Language Models22 Jan 2026
- 2026Robust Tool Use via Fission-GRPO: Learning to Recover from Execution Errors22 Jan 2026
- 2026Learning from Mistakes: Negative Reasoning Samples Enhance Out-of-Domain Generalization8 Jan 2026
- 2025ScaleDiff: Scaling Difficult Problems for Advanced Mathematical Reasoning25 Sep 2025
- 2025Student-Centered Distillation Narrows the Agentic Gap Between Small and Large LLMs12 Sep 2025
- 2025Error Notebook-Guided, Training-Free Part Retrieval in 3D CAD Assemblies via Vision-Language Models1 Sep 2025
9 more
- 2025Mathematical Computation and Reasoning Errors by Large Language Models13 Aug 2025
- 2025WarriorMath: Enhancing the Mathematical Ability of Large Language Models with a Defect-aware Framework2 Aug 2025
- 2025Can One Domain Help Others? A Data-Centric Study on Multi-Domain Reasoning via Reinforcement Learning23 Jul 2025
- 2025REST: Stress Testing Large Reasoning Models by Asking Multiple Problems at Once14 Jul 2025
- 2025Evaluation of LLMs for mathematical problem solving30 May 2025
- 2025Reflect, Retry, Reward: Self-Improving LLMs via Reinforcement Learning30 May 2025
- 2025Enhancing Long-Chain Reasoning Distillation through Error-Aware Self-Reflection28 May 2025
- 2025Reliable Proof Generation with LLMs via Analogical Retrieval and Symbolic Verification: A Case Study in Euclidean Geometry20 May 2025
- 2025IDEAL: Data Equilibrium Adaptation for Multi-Capability Language Model Alignment19 May 2025
- 2025Can One Domain Help Others? A Data-Centric Study on Multi-Domain Reasoning via Reinforcement Learningcited by 17
- 2025REST: Stress Testing Large Reasoning Models by Asking Multiple Problems at Oncecited by 12
- 2026Robust Tool Use via Fission-GRPO: Learning to Recover from Execution Errorscited by 10
- 2025Reliable Proof Generation with LLMs via Analogical Retrieval and Symbolic Verification: A Case Study in Euclidean Geometrycited by 7
- 2025ScaleDiff: Scaling Difficult Problems for Advanced Mathematical Reasoningcited by 6
- 2026Learning from Mistakes: Negative Reasoning Samples Enhance Out-of-Domain Generalizationcited by 5
- 2026ASDA: Automated Skill Distillation and Adaptation for Financial Reasoningcited by 5
- 2025Mathematical Computation and Reasoning Errors by Large Language Modelscited by 4
- 2025Enhancing Long-Chain Reasoning Distillation through Error-Aware Self-Reflectioncited by 3
- 2026Beyond Rejection Sampling: Trajectory Fusion for Scaling Mathematical Reasoningcited by 3
- 2026Self-ReSET: Learning to Self-Recover from Unsafe Reasoning Trajectoriescited by 1
- 2026STRIDE: Learnable Stepwise Language Feedback for LLM Reasoningcited by 1
12 most cited of 13 All 13 (JSON)
- 2026When LLM Meets Tree Search: A Systematic View of Inference as Search in Large Language Models31 Aug 2026
- 2026STRIDE: Learnable Stepwise Language Feedback for LLM Reasoning13 May 2026
- 2026Self-ReSET: Learning to Self-Recover from Unsafe Reasoning Trajectories9 May 2026
- 2026ASDA: Automated Skill Distillation and Adaptation for Financial Reasoning17 Mar 2026
- 2026Beyond Rejection Sampling: Trajectory Fusion for Scaling Mathematical Reasoning4 Feb 2026
- 2026Robust Tool Use via Fission-GRPO: Learning to Recover from Execution Errors22 Jan 2026
- 2026Learning from Mistakes: Negative Reasoning Samples Enhance Out-of-Domain Generalization8 Jan 2026
- 2025ScaleDiff: Scaling Difficult Problems for Advanced Mathematical Reasoning25 Sep 2025
- 2025Mathematical Computation and Reasoning Errors by Large Language Models13 Aug 2025
- 2025Can One Domain Help Others? A Data-Centric Study on Multi-Domain Reasoning via Reinforcement Learning23 Jul 2025
- 2025REST: Stress Testing Large Reasoning Models by Asking Multiple Problems at Once14 Jul 2025
- 2025Enhancing Long-Chain Reasoning Distillation through Error-Aware Self-Reflection28 May 2025
12 newest of 13 All 13 (JSON)
- 2025Evaluation of LLMs for mathematical problem solvingcited by 7
- 2026ErrorMap and ErrorAtlas: Charting the Failure Landscape of Large Language Modelscited by 6
- 2025WarriorMath: Enhancing the Mathematical Ability of Large Language Models with a Defect-aware Frameworkcited by 1
- 2026When Tokenization is Secretly Output Supervisioncited by 0
- 2026When Tokenization is Secretly Output Supervision1 Sep 2026
- 2026ErrorMap and ErrorAtlas: Charting the Failure Landscape of Large Language Models22 Jan 2026
- 2025WarriorMath: Enhancing the Mathematical Ability of Large Language Models with a Defect-aware Framework2 Aug 2025
- 2025Evaluation of LLMs for mathematical problem solving30 May 2025
Similar, not cited
Close in wording, no citation either way
- 2026Improving Mathematical Reasoning Capabilities in Large Language Models via Reasoning Process Error Classification
- 2024Exposing the Achilles' Heel: Evaluating LLMs Ability to Handle Mistakes in Mathematical Reasoning
- 2025SMRC: Aligning Large Language Models with Student Reasoning for Mathematical Error Correction
- 2025Self-Error-Instruct: Generalizing from Errors for LLMs Mathematical Reasoning
- 2025Mathematical Reasoning in Large Language Models: Assessing Logical and Arithmetic Errors across Wide Numerical Ranges
- 2025Error Classification of Large Language Models on Math Word Problems: A Dynamically Adaptive Framework
- 2024LLMs-as-Instructors: Learning from Errors Toward Automating Model Improvement
- 2024Physics of Language Models: Part 2.2, How to Learn From Mistakes on Grade-School Math Problems