Self-Error-Instruct: Generalizing from Errors for LLMs Mathematical Reasoning
On the map: LLM reasoning → Mathematical reasoning
Abstract (arXiv)
Although large language models demonstrate strong performance across various domains, they still struggle with numerous bad cases in mathematical reasoning. Previous approaches to learning from errors synthesize training data by solely extrapolating from isolated bad cases, thereby failing to generalize the extensive patterns inherent within these cases. This paper presents Self-Error-Instruct (SEI), a framework that addresses these model weaknesses and synthesizes more generalized targeted training data. Specifically, we explore a target model on two mathematical datasets, GSM8K and MATH, to pinpoint bad cases. Then, we generate error keyphrases for these cases based on the instructor model's (GPT-4o) analysis and identify error types by clustering these keyphrases. Next, we sample a few bad cases during each generation for each identified error type and input them into the instructor model, which synthesizes additional training data using a self-instruct approach. This new data is refined through a one-shot learning process to ensure that only the most effective examples are kept. Finally, we use these curated data to fine-tune the target model, iteratively repeating the process to enhance performance. We apply our framework to various models and observe improvements in their reasoning abilities across both in-domain and out-of-domain mathematics datasets. These results demonstrate the effectiveness of self-error instruction in improving LLMs' mathematical reasoning through error generalization.
Key facts. Cited by 2 papers in the map (data through 14 Oct 2026). Placed in Mathematical reasoning, one of 17 directions in LLM reasoning. Builds on 20 of its 39 references that are in the map. First posted on arXiv 28 May 2025.
Builds on
20 of 39 references.
Closest ancestors · 3
Same direction, newest first
- 2024MathScale: Scaling Instruction Tuning for Mathematical Reasoning5 Mar
- 2024DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Models5 Feb
- 2023Learning From Mistakes Makes LLM Better Reasoner31 Oct
Other references · 17
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2023GPT-4 Technical Reportcited by 18,396
- 2024The Llama 3 Herd of Modelscited by 14,715
- 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,380
- 2021Training Verifiers to Solve Math Word Problemscited by 10,109
- 2021Measuring Mathematical Problem Solving With the MATH Datasetcited by 5,371
- 2023Mistral 7Bcited by 3,164
- 2023LIMA: Less Is More for Alignmentcited by 1,100
- 2024Qwen2.5-Math Technical Report: Toward Mathematical Expert Model via Self-Improvementcited by 1,090
- 2023Gemini: A Family of Highly Capable Multimodal Modelscited by 872
- 2024On LLMs-Driven Synthetic Data Generation, Curation, and Evaluation: A Surveycited by 244
- 2023Evaluating the Performance of Large Language Models on GAOKAO Benchmarkcited by 186
5 more
- 2023Does Synthetic Data Generation of LLMs Help Clinical Text Mining?cited by 154
- 2023Improving Factual Consistency for Knowledge-Grounded Dialogue Systems via Knowledge Enhancement and Alignmentcited by 19
- 2024UAlign: Leveraging Uncertainty Estimations for Factuality Alignment on Large Language Modelscited by 13
- 2024WAPITI: A Watermark for Finetuned Open-Source LLMscited by 12
- 2024MlingConf: A Comprehensive Study of Multilingual Confidence Estimation on Large Language Modelscited by 4
Built on by
Citing papers per year: 2025: 1; 2026: 1.
2 papers.
Similar, not cited
Close in wording, no citation either way
- 2025LEMMA: Learning from Errors for MatheMatical Advancement in LLMs
- 2024Exposing the Achilles' Heel: Evaluating LLMs Ability to Handle Mistakes in Mathematical Reasoning
- 2026Improving Mathematical Reasoning Capabilities in Large Language Models via Reasoning Process Error Classification
- 2025Error Classification of Large Language Models on Math Word Problems: A Dynamically Adaptive Framework
- 2024Evaluating Mathematical Reasoning of Large Language Models: A Focus on Error Identification and Correction
- 2024Physics of Language Models: Part 2.2, How to Learn From Mistakes on Grade-School Math Problems
- 2024LLMs-as-Instructors: Learning from Errors Toward Automating Model Improvement
- 2025Right Is Not Enough: The Pitfalls of Outcome Supervision in Training LLMs for Math Reasoning