mlsanityData to 7 Oct 2026

SELF-REDRAFT: Eliciting Intrinsic Exploration-Exploitation Balance in Test-Time Scaling for Code Generation

arXiv 2511.02854 ↗First posted 31 Oct 2025cs.SE cs.AIcited by 1

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

Abstract (arXiv)

Test-time scaling without interpreter feedback is essential for real-world code generation scenarios where test cases are not readily available. While existing paradigms often rely on either greedy exploitation (i.e., iterative refinement) or stochastic exploration (i.e., relying on sample-based voting or reranking mechanisms), the balance between these two dimensions remains underexplored. To investigate the LLM's intrinsic ability to balance exploitation and exploration, we introduce SELF-REDRAFT, a framework built upon Self-Refine that encourages the model to propose new drafts for solutions that are fundamentally flawed. Our results show that SELF-REDRAFT consistently achieves better performance than Self-Refine when converged under the same maximum number of iterations. Still, we observe that significant room for improvement remains, largely due to two core aspects of current self-redraft capabilities: constrained capacity for generating instructive feedback and fragile discriminative judgment. We also find that balancing strategies vary notably across different LLMs, reflecting distinct, model-specific behaviors. Overall, our study establishes a baseline for intrinsic exploration-exploitation balancing in test-time scaling and identifies feedback and discrimination as key areas with potential for future advances.

Key facts. Cited by 1 paper 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 18 of its 30 references that are in the map. First posted on arXiv 31 Oct 2025.

Builds on

18 of 30 references.

Closest ancestors · 6

Same direction, newest first

  1. 2025ML-Master: Towards AI-for-AI via Integration of Exploration and Reasoning19 Jun
  2. 2025S*: Test Time Scaling for Code Generation20 Feb
  3. 2025Teaching Language Models to Critique via Reinforcement Learning5 Feb
  4. 2024What Makes Large Language Models Reason in (Multi-Turn) Code Generation?10 Oct
  5. 2024LiveCodeBench: Holistic and Contamination Free Evaluation of Large Language Models for Code12 Mar
  6. 2023Teaching Large Language Models to Self-Debug11 Apr

Other references · 12

  1. 2025Qwen3 Technical Reportcited by 8,195
  2. 2021Evaluating Large Language Models Trained on Codecited by 8,053
  3. 2025DeepSeek-R1: Incentivizing Reasoning Capability in LLMs via Reinforcement Learningcited by 6,146
  4. 2024Scaling LLM Test-Time Compute Optimally can be More Effective than Scaling Model Parameterscited by 1,928
  5. 2024Large Language Monkeys: Scaling Inference Compute with Repeated Samplingcited by 946
  6. 2025Kimi K2: Open Agentic Intelligencecited by 523
  7. 2025AIDE: AI-Driven Exploration in the Space of Codecited by 206
  8. 2024Large Language Models for Data Annotation and Synthesis: A Surveycited by 201
  9. 2025SETS: Leveraging Self-Verification and Self-Correction for Improved Test-Time Scalingcited by 54
  10. 2025LongCat-Flash Technical Reportcited by 54
  11. 2025ReVeal: Self-Evolving Code Agents via Reliable Self-Verificationcited by 16
  12. 2025Benchmarking LLMs for Unit Test Generation from Real-World Functionscited by 8

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 1.

1 paper.

Similar, not cited

Close in wording, no citation either way

  1. 2026Primal Generation, Dual Judgment: Self-Training from Test-Time Scaling
  2. 2026Test-Time Scaling in the Wild: Why Exploitation, Not Exploration, Is the Bottleneck
  3. 2025Revisit Self-Debugging with Self-Generated Tests for Code Generation
  4. 2024Thinking Before Running! Efficient Code Generation with Thorough Exploration and Optimal Refinement
  5. 2025CodeChemist: Test-Time Scaling for Low-Resource Code Generation via Functional Knowledge Transfer
  6. 2026TIPCODER: Reinforcement Learning Boosted Test-time Instruction Proposer for Code Generation
  7. 2025Satori-SWE: Evolutionary Test-Time Scaling for Sample-Efficient Software Engineering
  8. 2026SWE-Replay: Efficient Test-Time Scaling for Software Engineering Agents