mlsanityData to 14 Oct 2026

LEMMA: Learning from Errors for MatheMatical Advancement in LLMs

arXiv 2503.17439 ↗First posted 21 Mar 2025cs.LG cs.AIcited by 21

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

  1. 2025rStar-Math: Small LLMs Can Master Math Reasoning with Self-Evolved Deep Thinking8 Jan
  2. 2024DotaMath: Decomposition of Thought with Code Assistance and Self-correction for Mathematical Reasoning4 Jul
  3. 2024Step-Controlled DPO: Leveraging Stepwise Error for Enhanced Mathematical Reasoning30 Jun
  4. 2024Learn Beyond The Answer: Training Language Models with Reflection for Mathematical Reasoning17 Jun
  5. 2024Evaluating Mathematical Reasoning of Large Language Models: A Focus on Error Identification and Correction2 Jun
  6. 2024MathChat: Benchmarking Mathematical Reasoning and Instruction Following in Multi-Turn Interactions29 May
  7. 2024Common 7B Language Models Already Possess Strong Math Capabilities7 Mar
  8. 2024MathScale: Scaling Instruction Tuning for Mathematical Reasoning5 Mar
  9. 2024Key-Point-Driven Data Synthesis with its Enhancement on Mathematical Reasoning4 Mar
  10. 2024MathGenie: Generating Synthetic Data with Question Back-translation for Enhancing Mathematical Reasoning of LLMs26 Feb
  11. 2024Augmenting Math Word Problems via Iterative Question Composing17 Jan
  12. 2023Learning From Mistakes Makes LLM Better Reasoner31 Oct
3 more
  1. 2023MuggleMath: Assessing the Impact of Query and Response Augmentation on Math Reasoning9 Oct
  2. 2023WizardMath: Empowering Mathematical Reasoning for Large Language Models via Reinforced Evol-Instruct18 Aug
  3. 2023Forward-Backward Reasoning in Large Language Models for Mathematical Verification15 Aug

Other references · 36

  1. 2023GPT-4 Technical Reportcited by 18,396
  2. 2021Training Verifiers to Solve Math Word Problemscited by 10,109
  3. 2021Measuring Mathematical Problem Solving With the MATH Datasetcited by 5,371
  4. 2023Let's Verify Step by Stepcited by 3,789
  5. 2023Improving Factuality and Reasoning in Language Models through Multiagent Debatecited by 1,784
  6. 2023Teaching Large Language Models to Self-Debugcited by 988
  7. 2021Are NLP Models really able to Solve Simple Math Word Problems?cited by 878
  8. 2022Large Language Models Can Self-Improvecited by 664
  9. 2023MAmmoTH: Building Math Generalist Models through Hybrid Instruction Tuningcited by 487
  10. 2024Training Language Models to Self-Correct via Reinforcement Learningcited by 426
  11. 2023Language Models can Solve Computer Taskscited by 372
  12. 2023Beyond Human Data: Scaling Self-Training for Problem-Solving with Language Modelscited by 349
24 more
  1. 2024LLMLingua-2: Data Distillation for Efficient and Faithful Task-Agnostic Prompt Compressioncited by 348
  2. 2021A Diverse Corpus for Evaluating and Developing English Math Word Problem Solverscited by 318
  3. 2022Large Language Models are Better Reasoners with Self-Verificationcited by 307
  4. 2022Teaching Small Language Models to Reasoncited by 284
  5. 2024The Effect of Sampling Temperature on Problem Solving in Large Language Modelscited by 170
  6. 2024Distilling System 2 into System 1cited by 159
  7. 2024MAmmoTH2: Scaling Instructions from the Webcited by 145
  8. 2024O1 Replication Journey: A Strategic Progress Report -- Part 1cited by 143
  9. 2024Mutual Reasoning Makes Smaller LLMs Stronger Problem-Solverscited by 138
  10. 2024HelpSteer2-Preference: Complementing Ratings with Preferencescited by 130
  11. 2025On Memory Construction and Retrieval for Personalized Conversational Agentscited by 105
  12. 2024Small Language Models Need Strong Verifiers to Self-Correct Reasoningcited by 86
  13. 2024LLM2LLM: Boosting LLMs with Novel Iterative Data Enhancementcited by 70
  14. 2024Can LLMs Learn from Previous Mistakes? Investigating LLMs' Errors to Boost for Reasoningcited by 69
  15. 2024Training Large Language Models for Reasoning through Reverse Curriculum Reinforcement Learningcited by 65
  16. 2024Enhancing LLM Reasoning via Critique Models with Test-Time and Training-Time Supervisioncited by 60
  17. 2024Selective Reflection-Tuning: Student-Selected Data Recycling for LLM Instruction-Tuningcited by 57
  18. 2024ChatGLM-Math: Improving Math Problem-Solving in Large Language Models with a Self-Critique Pipelinecited by 47
  19. 2024Large Language Models Can Self-Correct with Key Condition Verificationcited by 39
  20. 2024TokenSelect: Efficient Long-Context Inference and Length Extrapolation for LLMs via Dynamic Token-Level KV Cache Selectioncited by 39
  21. 2024Confidence v.s. Critique: A Decomposition of Self-Correction Capability for LLMscited by 29
  22. 2024Small Language Model Can Self-correctcited by 23
  23. 2024S^3cMath: Spontaneous Step-level Self-correction Makes Large Language Models Better Mathematical Reasonerscited by 17
  24. 2024Optimizing Language Model's Reasoning Abilities with Weak Supervisioncited by 15

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 12; 2026: 9.

21 papers.

Sort:

By area:

  1. 2025Reflect, Retry, Reward: Self-Improving LLMs via Reinforcement Learningcited by 33
  2. 2025Can One Domain Help Others? A Data-Centric Study on Multi-Domain Reasoning via Reinforcement Learningcited by 17
  3. 2025Student-Centered Distillation Narrows the Agentic Gap Between Small and Large LLMscited by 14
  4. 2025REST: Stress Testing Large Reasoning Models by Asking Multiple Problems at Oncecited by 12
  5. 2026Robust Tool Use via Fission-GRPO: Learning to Recover from Execution Errorscited by 10
  6. 2025IDEAL: Data Equilibrium Adaptation for Multi-Capability Language Model Alignmentcited by 8
  7. 2025Reliable Proof Generation with LLMs via Analogical Retrieval and Symbolic Verification: A Case Study in Euclidean Geometrycited by 7
  8. 2025Evaluation of LLMs for mathematical problem solvingcited by 7
  9. 2025ScaleDiff: Scaling Difficult Problems for Advanced Mathematical Reasoningcited by 6
  10. 2026ErrorMap and ErrorAtlas: Charting the Failure Landscape of Large Language Modelscited by 6
  11. 2026Learning from Mistakes: Negative Reasoning Samples Enhance Out-of-Domain Generalizationcited by 5
  12. 2026ASDA: Automated Skill Distillation and Adaptation for Financial Reasoningcited by 5
9 more
  1. 2025Mathematical Computation and Reasoning Errors by Large Language Modelscited by 4
  2. 2025Enhancing Long-Chain Reasoning Distillation through Error-Aware Self-Reflectioncited by 3
  3. 2026Beyond Rejection Sampling: Trajectory Fusion for Scaling Mathematical Reasoningcited by 3
  4. 2025WarriorMath: Enhancing the Mathematical Ability of Large Language Models with a Defect-aware Frameworkcited by 1
  5. 2026Self-ReSET: Learning to Self-Recover from Unsafe Reasoning Trajectoriescited by 1
  6. 2026STRIDE: Learnable Stepwise Language Feedback for LLM Reasoningcited by 1
  7. 2025Error Notebook-Guided, Training-Free Part Retrieval in 3D CAD Assemblies via Vision-Language Modelscited by 0
  8. 2026When LLM Meets Tree Search: A Systematic View of Inference as Search in Large Language Modelscited by 0
  9. 2026When Tokenization is Secretly Output Supervisioncited by 0

Similar, not cited

Close in wording, no citation either way

  1. 2026Improving Mathematical Reasoning Capabilities in Large Language Models via Reasoning Process Error Classification
  2. 2024Exposing the Achilles' Heel: Evaluating LLMs Ability to Handle Mistakes in Mathematical Reasoning
  3. 2025SMRC: Aligning Large Language Models with Student Reasoning for Mathematical Error Correction
  4. 2025Self-Error-Instruct: Generalizing from Errors for LLMs Mathematical Reasoning
  5. 2025Mathematical Reasoning in Large Language Models: Assessing Logical and Arithmetic Errors across Wide Numerical Ranges
  6. 2025Error Classification of Large Language Models on Math Word Problems: A Dynamically Adaptive Framework
  7. 2024LLMs-as-Instructors: Learning from Errors Toward Automating Model Improvement
  8. 2024Physics of Language Models: Part 2.2, How to Learn From Mistakes on Grade-School Math Problems