TL;DR
This paper introduces a confidence-aware selective sampling framework that slashes the high inference costs of Chain-of-Thought (CoT) reasoning. By analyzing the sentence-level numeric and linguistic features of just a single initial reasoning path, a lightweight decision model determines whether to trust the answer or trigger expensive multi-path sampling. The framework maintains near-identical accuracy to full multi-path baselines while reducing token consumption by up to 71%.
What Problem Does This Paper Address?
Large Language Models (LLMs) excel at complex problem-solving when allowed to think step-by-step using Chain-of-Thought (CoT) prompting. However, this process is fragile: a single sub-optimal token choice early on can derail the entire reasoning chain.
To fix this, researchers often use Self-Consistency (SC), which samples multiple reasoning paths and takes a majority vote. While SC significantly boosts accuracy, it multiplies inference costs and token usage by the number of paths sampled. Existing "adaptive" methods try to save compute by stopping early, but they typically still require generating multiple paths or observing consensus before making a decision.
This paper tackles a fundamental question: Can an LLM evaluate its own confidence using only its first reasoning trajectory, avoiding multi-path sampling altogether for easy questions?
Methods
The authors propose a Confidence-Aware Selective Sampling framework. Instead of blindly generating 10+ reasoning paths for every question, the system generates just one path and passes it through a specialized pipeline:
- Sentence-Level Feature Extraction: The initial CoT path is split into sentences. For each sentence, the framework extracts 32 features divided into two categories:
- Numeric Trajectory Features: Evolving answer-choice probabilities derived from token-level logits, token generation entropy (uncertainty), prefix lengths, and rolling statistical metrics (like exponential moving averages).
- Linguistic Features: Lightweight text statistics including punctuation density, prompt overlap, and counts of specific lexicons (e.g., hedge words like "maybe" or certainty words like "therefore").
- The Decision Model: A lightweight, trainable architecture consisting of a feature gating block, a Gated Recurrent Unit (GRU) encoder to capture temporal dynamics, and a multi-head self-attention block to model long-range dependencies across the reasoning steps.
- Adaptive Routing: The decision model outputs a probability ($\hat{p}$) indicating whether the initial answer is likely correct. If $\hat{p}$ exceeds a calibrated threshold ($\tau$), the answer is accepted immediately. If not, it triggers a multi-path sampling baseline (Dynamic Voting) to self-correct.
Datasets
The decision model was trained exclusively on the MedQA training split (medical licensing exam questions) using CoT traces from various LLMs (GPT-OSS 20B, Llama 3.1 8B, Qwen 2.5/3 series).
To test the model's generalizability, it was evaluated under a strict calibration-only transfer setup (meaning the GRU parameters were frozen, and only the threshold $\tau$ was tuned on a small validation set) across four diverse benchmarks:
- MedQA (In-domain medical QA)
- MedMCQA (Indian medical entrance exam questions)
- MathQA (Arithmetic and multi-sentence symbolic math problems)
- MMLU (Massive Multitask Language Understanding spanning 57 subjects)
Key Insights and Ideas
- Trajectories Contain Rich Internal Signals: A single reasoning path leaves a "paper trail" of the model's internal state. Fluctuations in logit probabilities and token entropy across sentences serve as highly predictive indicators of whether the model is on the right track or hallucinating.
- Linguistic and Numeric Features are Complementary: Ablation studies revealed that combining raw probability trends with semantic style markers (like logical connectors and hedging language) yields a significantly better accuracy-efficiency trade-off than using either alone.
- Scale Enhances Separability: Larger models (like GPT-OSS 20B) produce cleaner, more distinct confidence trajectories between correct and incorrect answers. Smaller models yield noisier signals, making selective routing more conservative but still beneficial.
Key Results
Evaluated on GPT-OSS 20B, the framework achieved massive computational savings with negligible impacts on accuracy:
- Token Reduction: Slashed average token usage by $71.7 \pm 5.0\%$ compared to full Self-Consistency, and by $36.6 \pm 9.1\%$ compared to Dynamic Voting.
- Accuracy Preservation: The accuracy changes were statistically insignificant, hovering at a minor $-0.41 \pm 0.58$ percentage points against Self-Consistency.
Crucially, the decision model trained on medical data successfully transferred to general knowledge (MMLU) and mathematics (MathQA) without retraining its core weights, proving the cross-domain robustness of reasoning dynamics.
Limitations and Future Work
- Structured Tasks Only: The framework was primarily validated on multiple-choice scientific and mathematical benchmarks. Its efficacy in open-ended generation, creative writing, or long-form dialogue remains unproven.
- Post-Hoc Analysis: The decision model evaluates a completed reasoning trajectory. It cannot perform "online" early-exiting during the generation of the first path. Adapting the framework to act causally sentence-by-sentence is a clear next step.
- White-Box Dependency: The method relies heavily on internal model signals (logits and token-level entropy), meaning it cannot be easily applied to closed-source commercial APIs that hide these outputs.
Summary updated