Research map / Large language models / Agents, code and math
LEMMA: Learning from Errors for MatheMatical Advancement in LLMs
Zhuoshi Pan, Yu Li, Honglin Lin, Qizhi Pei, Zinan Tang, Wei Wu, Chenlin Ming, H. Vicky Zhao, Conghui He, Lijun Wu
Tsinghua University · Shanghai AI Laboratory · Renmin University of China · University of Science and Technology of China · Shanghai Jiao Tong University
Read the paperPlace an idea next to itCheck your own paper ↗
AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.
On benchmark leaderboards
- GSM8K leaderboard accuracy 83.1 · rank 452 of 945 papers
- MATH leaderboard accuracy 44.8 · rank 211 of 329 papers
This paper tried a common change: Higher sampling temperature
Use higher sampling temperature to collect errors · MATH error types · nonsensical errors Hurt
What 259 accepted papers report for this change
- 79 improved
- 33 no clear effect
- 35 mixed
- 112 hurt
- Emergence of Biased Consensus in Multi-Agent LLM Debates ICML 2026 · increase sampling temperature · Investment and MT-Bench judge · biasImproved
- ARC-Decode: Accelerated Decoding with Risk-Bounded Acceptance ICML 2026 · raise sampling temperature from 0.1 to 0.9 · MT-Bench · speedup: 3.13× -> 2.66×Hurt
- Is Your LLM Overcharging You? Tokenization, Transparency, and Incentives ICML 2026 · increase sampling temperature · LMSYS · fraction of outputs with longer plausible tokenizationImproved
See this change in detailMatched by the wording of each paper's own result, read by AI from the full text. Papers report gains more often than failures, so this shows what gets published, not the chance a change works.
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| Add error-type grounded mistake augmentation (ablation) | LEMMA (LLaMA3-8B) · MATH | accuracy: 28.8 -> 38.3 | Improved |
| Add error-type grounded mistake augmentation (ablation) | LEMMA (LLaMA3-8B) · GSM8K | accuracy: 72.8 -> 79.2 | Improved |
| Add Fresh & Restart correction strategy (ablation) | LEMMA (LLaMA3-8B) · MATH | accuracy: 34.4 -> 38.3 | Improved |
| Add Fresh & Restart correction strategy (ablation) | LEMMA (LLaMA3-8B) · GSM8K | accuracy: 75.2 -> 79.2 | Improved |
| Truncate bad trajectory at first erroneous step (ablation) | LEMMA (LLaMA3-8B) · MATH | accuracy: 22.8 -> 38.3 | Improved |
| Fine-tune with LEMMA instead of RFT | LLaMA3-8B · MATH | accuracy: 21.1 -> 38.3 | Improved |
| Fine-tune with LEMMA instead of RefAug-90k | LLaMA3-8B · MATH | accuracy: 34.2 -> 38.3 | Improved |
| Scale RefAug data to 90k | RefAug (LLaMA3-8B) · out-of-distribution datasets | accuracy | Mixed |
| Fine-tune with LEMMA instead of ISC | LLaMA3-8B · MathChat-EC | accuracy: 78.5 -> 84.7 | Improved |
| Fine-tune with LEMMA instead of MetaMath | LLaMA3-8B · MathChat-EC | accuracy: 66.6 -> 84.7 | Improved |
| Combine LEMMA with MetaMath questions | LLaMA3-8B · MATH | accuracy: 38.3 -> 42.3 | Improved |
| Use LEMMA-Hard instead of DART-Math-Hard 90k | LLaMA3-8B · GSM8K and MATH | average accuracy: 62.1 -> 63.9 | Improved |
Later papers that compared with this method
3 later accepted papers report LEMMA as a baseline in their results tables; 3 of them report a better number on most of the results they share with it.
- ReActR: Reasoning through Error-Activated Reflection for LLM Post-Training (ACL 2026 · better on 9 of 9 shared results)
- Failure Profiling and Reachable Trajectory Selection for Reasoning Distillation (NeurIPS 2026 · better on 5 of 6 shared results)
- Reinforcing Step-level Reasoning for Effective Self-Correction in LLMs (EMNLP 2026 · better on 1 of 1 shared result)
Matched by method name in results tables read by AI. Authors' own tables tend to favour the newer method, and a comparison can be missed when a method is renamed.
Open problems in mathematical and structural reasoning benchmarks
Which reasoning benchmarks hold up beyond one language, text-only prompts and one judge model?
- Benchmarks cover one language or a few high-resource ones. · 25 papers state it
- Evaluation and inference cost more than the plain baseline. · 12 papers state it
- Tasks are text-only, with no images, audio or other modalities. · 11 papers state it
Closest papers by meaning
- Physics of Language Models: Part 2.2, How to Learn From Mistakes on Grade-School Math Problems (ICLR 2025 · similarity 0.91)
- Advancing Mathematical Reasoning in Language Models: The Impact of Problem-Solving Data, Data Synthesis Methods, and Training Stages (ICLR 2025 · similarity 0.90)
- A Careful Examination of Large Language Model Performance on Grade School Arithmetic (NeurIPS 2024 · similarity 0.90)
- Turning Dust into Gold: Distilling Complex Reasoning Capabilities from LLMs by Leveraging Negative Data (AAAI 2024 · similarity 0.90)
- Evaluating Mathematical Reasoning Beyond Accuracy (AAAI 2025 · similarity 0.90)
- S^3cMath: Spontaneous Step-Level Self-Correction Makes Large Language Models Better Mathematical Reasoners (AAAI 2025 · similarity 0.90)
Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.