mlsanityData to 14 Oct 2026

SRA-MCTS: Self-driven Reasoning Augmentation with Monte Carlo Tree Search for Code Generation

arXiv 2411.11053 ↗First posted 17 Nov 2024cs.CL cs.AIcited by 10

On the map: LLM reasoning → Reasoning for agents, planning and code

Abstract (arXiv)

Large language models demonstrate exceptional performance in simple code generation tasks but still face challenges in tackling complex problems. These challenges may stem from insufficient reasoning and problem decomposition capabilities. To address this issue, we propose a reasoning-augmented data generation process, SRA-MCTS, which guides the model to autonomously generate high-quality intermediate reasoning paths. This creates a positive feedback loop, enabling continuous improvement. Our method operates entirely through the model itself without requiring additional supervision. By synthesizing natural language reasoning paths and translating them into executable code, the approach ensures analytical accuracy and enhances the success rate in solving complex tasks. Experimental results show that, even without additional supervisory signals, our method achieves performance improvements across different model scales, demonstrating the significant potential of self-improvement in small models. Furthermore, the method remains robust when traditional Chain-of-Thought (CoT) approaches exhibit performance degradation, with notable improvements observed in diversity metrics such as pass@10. We encourage further exploration of reasoning processes within training data to enhance the ability of language models to address complex problems. Our code and data are public at https://github.com/DIRECT-BIT/SRA-MCTS.

Key facts. Cited by 10 papers in the map (data through 14 Oct 2026). Placed in Reasoning for agents, planning and code, one of 17 directions in LLM reasoning. Builds on 23 of its 32 references that are in the map. First posted on arXiv 17 Nov 2024.

Builds on

23 of 32 references.

Closest ancestors · 3

Same direction, newest first

  1. 2024AFlow: Automating Agentic Workflow Generation14 Oct
  2. 2024RethinkMCTS: Refining Erroneous Thoughts in Monte Carlo Tree Search for Code Generation15 Sep
  3. 2023Think Outside the Code: Brainstorming Boosts Large Language Models in Code Generation18 May

Other references · 20

  1. 2022Training language models to follow instructions with human feedbackcited by 15,971
  2. 2024The Llama 3 Herd of Modelscited by 14,715
  3. 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,380
  4. 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,459
  5. 2021Evaluating Large Language Models Trained on Codecited by 8,320
  6. 2024GPT-4o System Cardcited by 4,588
  7. 2021Program Synthesis with Large Language Modelscited by 3,637
  8. 2023Tree of Thoughts: Deliberate Problem Solving with Large Language Modelscited by 3,211
  9. 2024Gemma 2: Improving Open Language Models at a Practical Sizecited by 1,998
  10. 2024LlamaFactory: Unified Efficient Fine-Tuning of 100+ Language Modelscited by 1,464
  11. 2023Is Your Code Generated by ChatGPT Really Correct? Rigorous Evaluation of Large Language Models for Code Generationcited by 1,391
  12. 2023WizardCoder: Empowering Code Large Language Models with Evol-Instructcited by 733
8 more
  1. 2024SpatialVLM: Endowing Vision-Language Models with Spatial Reasoning Capabilitiescited by 706
  2. 2024ReST-MCTS*: LLM Self-Training via Process Reward Guided Tree Searchcited by 344
  3. 2024On LLMs-Driven Synthetic Data Generation, Curation, and Evaluation: A Surveycited by 244
  4. 2019SPoC: Search-based Pseudocode to Codecited by 176
  5. 2024Planning In Natural Language Improves LLM Search For Code Generationcited by 83
  6. 2023WaveCoder: Widespread And Versatile Enhancement For Code Large Language Models By Instruction Tuningcited by 42
  7. 2024Rewriting the Code: A Simple Method for Large Language Model Augmented Code Searchcited by 17
  8. 2024DolphCoder: Echo-Locating Code Large Language Models with Diverse and Multi-Objective Instruction Tuningcited by 11

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2024: 1; 2025: 6; 2026: 3.

10 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2025RPM-MCTS: Knowledge-Retrieval as Process Reward Model with Monte Carlo Tree Search for Code Generation
  2. 2025Increasing LLM Coding Capabilities through Diverse Synthetic Coding Tasks
  3. 2026Reasoning Core: A Scalable Procedural Data Generation Suite for Symbolic Pre-training and Post-Training
  4. 2025Self-Reflective Generation at Test Time
  5. 2025ReasoningV: Efficient Verilog Code Generation with Adaptive Hybrid Reasoning Model
  6. 2026ORACLE: Optimizing Reasoning Abilities of Large Language Models via Constraint-Led Synthetic Data Elicitation
  7. 2025Reasoning Distillation and Structural Alignment for Improved Code Generation
  8. 2025Think Like Human Developers: Harnessing Community Knowledge for Structured Code Reasoning