mlsanityData to 7 Oct 2026

Seed-CTS: Unleashing the Power of Tree Search for Superior Performance in Competitive Coding Tasks

arXiv 2412.12544 ↗First posted 17 Dec 2024cs.AI cs.SEcited by 3

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

Abstract (arXiv)

Competition-level code generation tasks pose significant challenges for current state-of-the-art large language models (LLMs). For example, on the LiveCodeBench-Hard dataset, models such as O1-Mini and O1-Preview achieve pass@1 rates of only 0.366 and 0.143, respectively. While tree search techniques have proven effective in domains like mathematics and general coding, their potential in competition-level code generation remains under-explored. In this work, we propose a novel token-level tree search method specifically designed for code generation. Leveraging Qwen2.5-Coder-32B-Instruct, our approach achieves a pass rate of 0.305 on LiveCodeBench-Hard, surpassing the pass@100 performance of GPT4o-0513 (0.245). Furthermore, by integrating Chain-of-Thought (CoT) prompting, we improve our method's performance to 0.351, approaching O1-Mini's pass@1 rate. To ensure reproducibility, we report the average number of generations required per problem by our tree search method on the test set. Our findings underscore the potential of tree search to significantly enhance performance on competition-level code generation tasks. This opens up new possibilities for large-scale synthesis of challenging code problems supervised fine-tuning (SFT) data, advancing competition-level code generation tasks.

Key facts. Cited by 3 papers in the map (data through 7 Oct 2026). Placed in Reasoning for agents, planning and code, one of 17 directions in LLM reasoning. Builds on 26 of its 36 references that are in the map. First posted on arXiv 17 Dec 2024.

Builds on

26 of 36 references.

Closest ancestors · 7

Same direction, newest first

  1. 2024Qwen2.5-Coder Technical Report18 Sep
  2. 2024RethinkMCTS: Refining Erroneous Thoughts in Monte Carlo Tree Search for Code Generation15 Sep
  3. 2024LiveCodeBench: Holistic and Contamination Free Evaluation of Large Language Models for Code12 Mar
  4. 2023Language Agent Tree Search Unifies Reasoning Acting and Planning in Language Models6 Oct
  5. 2023CodeCoT: Tackling Code Syntax Errors in CoT Reasoning for Code Generation17 Aug
  6. 2023Reasoning with Language Model is Planning with World Model24 May
  7. 2023Teaching Large Language Models to Self-Debug11 Apr

Other references · 19

  1. 2020Language Models are Few-Shot Learnerscited by 32,199
  2. 2023GPT-4 Technical Reportcited by 18,132
  3. 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,355
  4. 2021Evaluating Large Language Models Trained on Codecited by 8,053
  5. 2022Self-Consistency Improves Chain of Thought Reasoning in Language Modelscited by 5,601
  6. 2023Code Llama: Open Foundation Models for Codecited by 2,105
  7. 2023MetaGPT: Meta Programming for A Multi-Agent Collaborative Frameworkcited by 1,761
  8. 2024DeepSeek-Coder: When the Large Language Model Meets Programming -- The Rise of Code Intelligencecited by 1,154
  9. 2023StarCoder: may the source be with you!cited by 790
  10. 2023WizardCoder: Empowering Code Large Language Models with Evol-Instructcited by 728
  11. 2017Mastering Chess and Shogi by Self-Play with a General Reinforcement Learning Algorithmcited by 723
  12. 2024Executable Code Actions Elicit Better LLM Agentscited by 537
7 more
  1. 2024ReST-MCTS*: LLM Self-Training via Process Reward Guided Tree Searchcited by 338
  2. 2023Planning with Large Language Models for Code Generationcited by 179
  3. 2024Mutual Reasoning Makes Smaller LLMs Stronger Problem-Solverscited by 137
  4. 2024Q*: Improving Multi-step Reasoning for LLMs with Deliberative Planningcited by 95
  5. 2024Planning In Natural Language Improves LLM Search For Code Generationcited by 79
  6. 2023AgentCoder: Multi-Agent-based Code Generation with Iterative Testing and Optimisationcited by 31
  7. 2024RoT: Enhancing Large Language Models with Reflection on Search Treescited by 11

Built on by

Cited by year

Citing papers per year: 2025: 3.

3 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2024CodeTree: Agent-guided Tree Search for Code Generation with Large Language Models
  2. 2025Let's Revise Step-by-Step: A Unified Local Search Framework for Code Generation with LLMs
  3. 2022Competition-Level Code Generation with AlphaCode
  4. 2025Evaluating and Improving Large Language Models for Competitive Program Generation
  5. 2026Are you Synthesizing or Recalling? Evaluating LLMs on Algorithmic Code Retrieval
  6. 2025QueST: Incentivizing LLMs to Generate Difficult Problems
  7. 2025Increasing LLM Coding Capabilities through Diverse Synthetic Coding Tasks
  8. 2024Scattered Forest Search: Smarter Code Space Exploration with LLMs