TL;DR
Large reasoning models often suffer from a "reliability gap," arriving at correct answers through flawed intermediate steps. This paper introduces CASPO, a framework that aligns an LLM's internal token-level confidence with logical correctness via iterative Direct Preference Optimization (DPO) without needing a separate reward model. At test-time, their CaT inference strategy utilizes this calibrated confidence to dynamically prune bad reasoning paths with near-zero computational overhead.
What Problem Does This Paper Address?
Modern Large Reasoning Models (LRMs), such as OpenAI's o1 and DeepSeek-R1, excel at complex problem-solving by generating long, step-by-step chains of thought. However, optimizing these models purely on final-answer correctness masks a critical vulnerability: they frequently hallucinate or make logical errors during intermediate steps but still stumble onto the correct final answer.
In high-stakes fields like medicine or finance, these invalid reasoning paths pose severe risks. Current solutions try to fix this using external Process Reward Models (PRMs) or massive sampling techniques (like majority voting). Unfortunately, these approaches are computationally expensive, don't scale well, and fail to fix the model's internal miscalibration—where token probabilities reflect surface fluency rather than actual deductive validity.
Methods
The authors propose a two-stage framework consisting of a calibrated training phase and an efficient inference strategy:
- CASPO (Confidence-Aware Step-wise Preference Optimization): Instead of training a separate verifier, CASPO leverages the model's own token-level Shannon entropy as an intrinsic uncertainty metric. During training, an offline external evaluator checks intermediate steps. CASPO then constructs preference pairs that contrast correct-but-uncertain steps with confidently incorrect predictions. These pairs are optimized via iterative DPO, forcing the model to reserve high predictive confidence (low entropy) strictly for valid logical steps.
- CaT (Confidence-aware Thought) Inference: Armed with a calibrated model, CaT allows the LLM to explore a reasoning tree during inference. Instead of running expensive model forward passes to score steps, CaT calculates cumulative step-wise confidence directly from the already-generated token logits. If a branch's confidence falls below a threshold, it is pruned early, saving compute for more promising paths.
Datasets
The framework was evaluated across a diverse suite of benchmarks:
- In-Domain Mathematical Reasoning: MATH500, Minerva-Math, OlympiadBench, AMC2023, AIME2024, and AIME2025.
- Out-of-Domain Generalization: BoardgameQA (logic), CRUXEval (code reasoning), StrategyQA (multi-hop reasoning), TableBench (tabular analysis), and MMLU-Pro STEM subsets.
- Coding & Language: HumanEval, LiveCodeBench, and RACE.
The authors also released a newly curated step-wise dataset featuring fine-grained confidence annotations to support future research into reasoning reliability.
Key Insights and Ideas
- Entropy as a Reliable Guide: The authors show that Shannon entropy is a far superior signal for step correctness than metrics like perplexity or maximum token probability. Perplexity only reflects the probability of the chosen token sequence, whereas entropy measures the competitiveness of the entire vocabulary distribution, capturing the model's internal confusion between diverging logical paths.
- Widening the Entropy Gap: Before alignment, models are often "confidently wrong" (an entropy gap of just 0.04 between correct and incorrect steps). After CASPO training, incorrect steps exhibit a massive spike in entropy, widening the gap to 0.66 and providing a clear signal for early pruning.
- Frugal Verification: Traditional PRMs require a full model forward pass to evaluate each intermediate step, scaling at $O(L^2d)$ complexity (where $L$ is sequence length). Because CASPO extracts its signal directly from the generated logits, its verification complexity is a negligible $O(V)$ (vocabulary size), completely independent of sequence length.
Key Results
- Substantial Accuracy Gains: On Qwen2.5-7B-Instruct, CASPO raised average benchmark accuracy from 44.4% to 50.6%, which further climbed to 56.1% when paired with CaT inference.
- Outperforming Tree-Search Baselines: When scaled to Qwen3-8B-Base, CASPO surpassed advanced tree-search baselines like rStar-Math and Satori on the ultra-challenging AIME'24 and AIME'25 benchmarks. Remarkably, it achieved this using zero reward-model data, compared to the millions of samples required by its competitors.
- Dramatic Latency Reduction: CASPO reduced step-verification latency from 2.9 seconds (using a standard PRM) down to just 0.03 seconds—a two-order-of-magnitude speedup.
Limitations and Future Work
While highly effective, the authors note a few limitations:
- Single Uncertainty Metric: The framework relies exclusively on Shannon entropy. Other signals, such as internal layer representations or explicit model self-reflection, might capture different dimensions of uncertainty and warrant future study.
- Evaluator Bias: The offline data collection phase still depends on an external step-wise evaluator. If the evaluator shares similar systematic blind spots or reasoning flaws with the target model, it could introduce bias. The authors suggest exploring self-contained or jointly trained verification mechanisms in future iterations.
Summary updated