mlsanityData to 7 Oct 2026

SIaM: Self-Improving Code-Assisted Mathematical Reasoning of Large Language Models

arXiv 2408.15565 ↗First posted 28 Aug 2024cs.CLcited by 6

On the map: LLM reasoning → Mathematical reasoning

also in 1 more
Abstract (arXiv)

There is a growing trend of teaching large language models (LLMs) to solve mathematical problems through coding. Existing studies primarily focus on prompting powerful, closed-source models to generate seed training data followed by in-domain data augmentation, equipping LLMs with considerable capabilities for code-aided mathematical reasoning. However, continually training these models on augmented data derived from a few datasets such as GSM8K may impair their generalization abilities and restrict their effectiveness to a narrow range of question types. Conversely, the potential of improving such LLMs by leveraging large-scale, expert-written, diverse math question-answer pairs remains unexplored. To utilize these resources and tackle unique challenges such as code response assessment, we propose a novel paradigm that uses a code-based critic model to guide steps including question-code data construction, quality control, and complementary evaluation. We also explore different alignment algorithms with self-generated instruction/preference data to foster continuous improvement. Experiments across both in-domain (up to +5.7%) and out-of-domain (+4.4%) benchmarks in English and Chinese demonstrate the effectiveness of the proposed paradigm.

Key facts. Cited by 6 papers in the map (data through 7 Oct 2026). Placed in Mathematical reasoning, one of 17 directions in LLM reasoning. Builds on 44 of its 51 references that are in the map. First posted on arXiv 28 Aug 2024.

Builds on

44 of 51 references.

Closest ancestors · 11

Same direction, newest first

  1. 2024Common 7B Language Models Already Possess Strong Math Capabilities7 Mar
  2. 2024MathGenie: Generating Synthetic Data with Question Back-translation for Enhancing Mathematical Reasoning of LLMs26 Feb
  3. 2024DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Models5 Feb
  4. 2023TinyGSM: achieving >80% on GSM8k with small language models14 Dec
  5. 2023Learning From Mistakes Makes LLM Better Reasoner31 Oct
  6. 2023MathCoder: Seamless Code Integration in LLMs for Enhanced Mathematical Reasoning5 Oct
  7. 2023ToRA: A Tool-Integrated Reasoning Agent for Mathematical Problem Solving29 Sep
  8. 2023WizardMath: Empowering Mathematical Reasoning for Large Language Models via Reinforced Evol-Instruct18 Aug
  9. 2023Solving Challenging Math Word Problems Using GPT-4 Code Interpreter with Code-based Self-Verification15 Aug
  10. 2023Scaling Relationship on Learning Mathematical Reasoning with Large Language Models3 Aug
  11. 2023MinT: Boosting Generalization in Mathematical Reasoning via Multi-View Fine-Tuning16 Jul

Other references · 33

  1. 2022Training language models to follow instructions with human feedbackcited by 15,712
  2. 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,302
  3. 2021Training Verifiers to Solve Math Word Problemscited by 9,743
  4. 2023Direct Preference Optimization: Your Language Model is Secretly a Reward Modelcited by 7,916
  5. 2021Measuring Mathematical Problem Solving With the MATH Datasetcited by 5,203
  6. 2023Qwen Technical Reportcited by 3,273
  7. 2022Constitutional AI: Harmlessness from AI Feedbackcited by 2,950
  8. 2023Code Llama: Open Foundation Models for Codecited by 2,105
  9. 2024Qwen2 Technical Reportcited by 2,076
  10. 2024LlamaFactory: Unified Efficient Fine-Tuning of 100+ Language Modelscited by 1,442
  11. 2024DeepSeek-Coder: When the Large Language Model Meets Programming -- The Rise of Code Intelligencecited by 1,154
  12. 2022Program of Thoughts Prompting: Disentangling Computation from Reasoning for Numerical Reasoning Taskscited by 1,057
21 more
  1. 2022STaR: Bootstrapping Reasoning With Reasoningcited by 895
  2. 2021Are NLP Models really able to Solve Simple Math Word Problems?cited by 861
  3. 2023MetaMath: Bootstrap Your Own Mathematical Questions for Large Language Modelscited by 724
  4. 2024Self-Rewarding Language Modelscited by 654
  5. 2024ORPO: Monolithic Preference Optimization without Reference Modelcited by 556
  6. 2023MAmmoTH: Building Math Generalist Models through Hybrid Instruction Tuningcited by 483
  7. 2021A Diverse Corpus for Evaluating and Developing English Math Word Problem Solverscited by 314
  8. 2024V-STaR: Training Verifiers for Self-Taught Reasonerscited by 214
  9. 2024Disentangling Length from Quality in Direct Preference Optimizationcited by 194
  10. 2023Self-Alignment with Instruction Backtranslationcited by 149
  11. 2024MAmmoTH2: Scaling Instructions from the Webcited by 143
  12. 2024MathBench: Evaluating the Theory and Application Proficiency of LLMs with a Hierarchical Mathematics Benchmarkcited by 103
  13. 2023CMATH: Can Your Language Model Pass Chinese Elementary School Math Test?cited by 89
  14. 2023SlimPajama-DC: Understanding Data Combinations for LLM Trainingcited by 72
  15. 2020Ape210K: A Large-Scale and Template-Rich Dataset of Math Word Problemscited by 60
  16. 2024CodeUltraFeedback: An LLM-as-a-Judge Dataset for Aligning Large Language Models to Coding Preferencescited by 56
  17. 2024ChatGLM-Math: Improving Math Problem-Solving in Large Language Models with a Self-Critique Pipelinecited by 47
  18. 2021Neural-Symbolic Solver for Math Word Problems with Auxiliary Taskscited by 38
  19. 2023Skills-in-Context Prompting: Unlocking Compositionality in Large Language Modelscited by 33
  20. 2023Teaching Language Models to Self-Improve through Interactive Demonstrationscited by 26
  21. 2024Teaching Language Models to Self-Improve by Learning from Language Feedbackcited by 9

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2025: 4; 2026: 2.

6 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2025A Survey on Large Language Models for Mathematical Reasoning
  2. 2024LLM Reasoning Engine: Specialized Training for Enhanced Mathematical Reasoning
  3. 2024Unleashing LLM Reasoning Capability via Scalable Question Synthesis from Scratch
  4. 2024Benchmarking Large Language Models for Math Reasoning Tasks
  5. 2024PARAMANU-GANITA: Can Small Math Language Models Rival with Large Language Models on Mathematical Reasoning?
  6. 2024Evaluating LLMs' Mathematical and Coding Competency through Ontology-guided Interventions
  7. 2024MathChat: Benchmarking Mathematical Reasoning and Instruction Following in Multi-Turn Interactions
  8. 2024MindStar: Enhancing Math Reasoning in Pre-trained LLMs at Inference Time