mlsanityData to 14 Oct 2026

SEER: Enhancing Chain-of-Thought Code Generation through Self-Exploring Deep Reasoning

arXiv 2510.17130 ↗First posted 20 Oct 2025cs.SEcited by 2

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

Abstract (arXiv)

Code generation, the task of creating executable programs from natural language requirements, has recently seen tremendous advances through Chain-of-Thought (CoT) reasoning, which enables Large Language Models (LLMs) to develop high-level reasoning plans before writing code. Recent research has proposed various methods to enhance models' CoT reasoning for code generation such as prompt engineering and supervised fine-tuning. However, existing approaches still face three critical limitations: (1) limited exploration of diverse reasoning paths, which constrains generalization across various programming scenarios, (2) lack of quality assessment for intermediate reasoning steps, which hampers the reliability of the generated plans and code, and (3) the potential negative impact of "overthinking", potentially leading to unnecessarily complex and incorrect solutions. To address these limitations, we frame CoT code generation as a decision making problem and present SEER, a SElf-Exploring deep Reasoning framework that enables accurate and adaptive reasoning for code generation. SEER introduces three key components: (1) Diverse reasoning path exploration, which aims at exploring diverse reasoning paths and annotating intermediate steps without relying on manual experts or closed-source proprietary models; (2) Reasoning quality-aware model training, which trains a policy model for generating candidate reasoning steps and a value model for assessing their quality; and (3) Adaptive CoT reasoning, which dynamically switches between direct generation and step-by-step reasoning for different problems.

Key facts. Cited by 2 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 13 of its 68 references that are in the map. First posted on arXiv 20 Oct 2025.

Builds on

13 of 68 references.

Closest ancestors · 3

Same direction, newest first

  1. 2025Vul-R2: A Reasoning LLM for Automated Vulnerability Repair7 Oct
  2. 2024Qwen2.5-Coder Technical Report18 Sep
  3. 2024LiveCodeBench: Holistic and Contamination Free Evaluation of Large Language Models for Code12 Mar

Other references · 10

  1. 2021Evaluating Large Language Models Trained on Codecited by 8,320
  2. 2025DeepSeek-R1: Incentivizing Reasoning Capability in LLMs via Reinforcement Learningcited by 6,330
  3. 2021Program Synthesis with Large Language Modelscited by 3,637
  4. 2024DeepSeek-Coder: When the Large Language Model Meets Programming -- The Rise of Code Intelligencecited by 1,181
  5. 2024Parameter-Efficient Fine-Tuning for Large Models: A Comprehensive Surveycited by 656
  6. 2024DeepSeek-Coder-V2: Breaking the Barrier of Closed-Source Models in Code Intelligencecited by 331
  7. 2024DigiRL: Training In-The-Wild Device-Control Agents with Autonomous Reinforcement Learningcited by 214
  8. 2022MultiPL-E: A Scalable and Extensible Approach to Benchmarking Neural Code Generationcited by 136
  9. 2024VulEval: Towards Repository-Level Evaluation of Software Vulnerability Detectioncited by 19
  10. 2024Exploring Multi-Lingual Bias of Large Code Models in Code Generationcited by 17

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 2.

2 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2025Reasoning Efficiently Through Adaptive Chain-of-Thought Compression: A Self-Optimizing Framework
  2. 2025Understanding Chain-of-Thought Effectiveness in Code Generation: An Empirical and Information-Theoretic Analysis
  3. 2025CoT-RAG: Integrating Chain of Thought and Retrieval-Augmented Generation to Enhance Reasoning in Large Language Models
  4. 2025Scaling Code-Assisted Chain-of-Thoughts and Instructions for Model Reasoning
  5. 2023Chain-of-Thought in Neural Code Generation: From and For Lightweight Language Models
  6. 2025An Empirical Study of Reasoning Steps in Thinking Code LLMs
  7. 2025MSCoT: Structured Chain-of-Thought Generation for Multiple Programming Languages
  8. 2025Uncertainty-Guided Chain-of-Thought for Code Generation with LLMs