Saved in:
Bibliographic Details
Main Authors: Chen, Yixiang, Zheng, Tianshi, Huang, Shijue, He, Zhitao, Fung, Yi R.
Format: Preprint
Published: 2025
Subjects:
Online Access:https://arxiv.org/abs/2511.02854
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866917060873814016
author Chen, Yixiang
Zheng, Tianshi
Huang, Shijue
He, Zhitao
Fung, Yi R.
author_facet Chen, Yixiang
Zheng, Tianshi
Huang, Shijue
He, Zhitao
Fung, Yi R.
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2511_02854
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle SELF-REDRAFT: Eliciting Intrinsic Exploration-Exploitation Balance in Test-Time Scaling for Code Generation
Chen, Yixiang
Zheng, Tianshi
Huang, Shijue
He, Zhitao
Fung, Yi R.
Software Engineering
Artificial Intelligence
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.
title SELF-REDRAFT: Eliciting Intrinsic Exploration-Exploitation Balance in Test-Time Scaling for Code Generation
topic Software Engineering
Artificial Intelligence
url https://arxiv.org/abs/2511.02854