TL;DR
CoRefine introduces a lightweight, 211k-parameter Conv1D controller that monitors an LLM's token-level confidence dynamics to adaptively guide self-refinement. It matches the accuracy of massive parallel sampling baselines while reducing token consumption by ~190x and cutting wall-clock latency by up to 63%.
What Problem Does This Paper Address?
Scaling compute at test-time (inference) is the current frontier for boosting large language model (LLM) reasoning performance. Standard approaches like self-consistency generate hundreds of parallel reasoning paths and use majority voting to find the correct answer. However, this brute-force sampling is incredibly expensive, consuming millions of extra tokens per problem.
Sequential refinement—where a model iteratively critiques and corrects its own mistakes—is a more compute-efficient alternative. Unfortunately, it suffers from two core flaws: models lack a principled criterion for when to stop iterating (leading to over-iteration or premature halting), and generic "rethink" prompts fail to provide targeted guidance on how to fix specific errors. CoRefine addresses these challenges by treating token-level generation confidence as a dynamic control signal.
Methods
Instead of fine-tuning the heavy underlying LLM, CoRefine leaves the backbone model frozen and stacks a tiny, one-dimensional convolutional neural network (Conv1D) controller on top. The pipeline operates through an iterative loop:
- Confidence Extraction: The system extracts the log-probabilities of the top-20 tokens across a generated reasoning trace.
- Temporal Downsampling: Because raw token confidence is highly noisy, CoRefine downsamples the trace into 16 fixed bins using average pooling. This acts as a low-pass filter to smooth out local fluctuations and highlight macro-level trends.
- Action Selection: The Conv1D controller maps this 16-dimensional vector to one of three discrete actions:
HALT(accept the current answer),RETHINK(re-examine the current reasoning path for calculation errors), orALTERNATIVE(abandon the path and explore a completely new approach). - Synthesis Prompting: If refinement is triggered, a compaction heuristic strips out 90-95% of the verbose reasoning text to preserve context limits, passing only the core steps and action-specific instructions back to the LLM.
The authors also introduce CoRefine-Tree, a hybrid variant that samples a small number of initial paths in parallel and branches out recursively based on the controller's decisions, halting early when a majority consensus is reached.
Datasets
The framework was trained and evaluated using three open-source models (DeepSeek-8B, Qwen3-32B, and PaCoRe-8B) across several challenging benchmarks:
- Mathematical Reasoning: AIME 2024, AIME 2025, BRUMO 2025, and HMMT 2025.
- Bioinformatics (Regulated Domain): BixBench, utilized to evaluate an extended 4-class controller configuration that includes a
REFUSEaction to navigate selective model abstention.
Key Insights and Ideas
- The Early Overconfidence Paradox: Counterintuitively, incorrect reasoning paths often start with higher confidence than correct ones during the early phases of generation (0-30% of the trace). However, correct paths maintain significantly higher confidence in the late stages (70-100%). This means static thresholding fails, but the temporal evolution of confidence is highly discriminative.
- Control vs. Estimation: The authors argue that confidence should not be treated as a direct guarantee of correctness. Instead, it functions effectively as a control signal (analogous to wheel encoders on a robot) to balance the exploration-exploitation tradeoff during multi-step reasoning.
- Task-Agnostic Dynamics: Controllers trained on one specific math competition benchmark generalized almost perfectly to entirely different datasets, showing a cross-task generalization gap of only 0.8%. This indicates that confidence dynamics are a fundamental signature of the underlying LLM rather than task-specific artifacts.
Key Results
- Token and Latency Efficiency: CoRefine achieves accuracy on par with or superior to a massive 512-sample majority vote while requiring an average of only ~2.7 iterations per problem—amounting to a ~190× token reduction. This efficiency translates to a 63% wall-clock speedup over parallel baselines at matched compute budgets.
- High-Precision Halting: When the controller confidently decides to
HALTvia majority consensus, it achieves 92.6% precision. The controller exhibits a "safety-first" property, preferring occasional over-refinement of correct answers over the catastrophic premature acceptance of a wrong answer. - Overcoming Over-Refusal: On BixBench, safety-tuned models often default to over-conservative abstention ("Unsure"), causing baseline accuracy to collapse to 3.4%. CoRefine's 4-class controller successfully distinguished post-trained conservatism from genuine knowledge gaps, recovering accuracy to 16.3% (Qwen3-32B) and 23.4% (DeepSeek-8B) without expensive full fine-tuning.
Limitations and Future Work
- Oracle Label Dependency: Training the controller relies on retrospectively constructed oracle labels from historical trajectories to determine which action would have led to a successful final answer.
- Domain Scope: The current evaluation focuses predominantly on competitive mathematics and multiple-choice biology questions. Extending the framework to open-ended generation tasks like code synthesis or long-form scientific writing remains an open direction.
- Residual False Halts: The controller still exhibits a ~5% false HALT rate, occasionally terminating prematurely on overconfident but incorrect answers. Integrating external verifiers or outcome-reward models could help mitigate this failure mode.
Summary updated