Test-Time Calibration for Parallel Sampling in LLM Reasoning
cs.LG, cs.AI
Submitted: 2025-10-17
Updated: 2026-12-02
Comments: Accepted to AAAI 2027
License: http://creativecommons.org/licenses/by/4.0/
The gist: Allocating more computation during inference time (test-time scaling) improves language model accuracy, especially for reasoning tasks.
Terminology
Abstract
Allocating more computation during inference time (test-time scaling) improves language model accuracy, especially for reasoning tasks. However, test-time scaling methods often show diminishing returns as the inference budget increases. In parallel sampling with a verifier, the resulting feedback is typically used only to select among completed candidates. To improve rollout efficiency, we introduce a general Test-Time Calibration framework (TTC) that uses scored exploratory samples to fit an input-specific logit transformation for subsequent generation while keeping the LLM weights frozen. Within this framework, CarBoN (Calibrated Best-of- N) uses the same verifier, N generator rollouts, and N verifier evaluations as Best-of- N, while additionally optimizing an input-specific temperature and shift vector on cached logits. We provide an analysis connecting verifier enrichment and sufficient calibration to higher per-rollout correctness and reduced rollout sample complexity. Experiments on MATH-500 and AIME-2024 show that CarBoN improves rollout efficiency, with up to 4 times fewer rollouts to reach the same accuracy, while often achieving higher accuracy under fixed budgets. We also analyze the complementary roles of the temperature parameter and the shift vector in balancing output diversity and correctness, and demonstrate TTC on a representative step-wise decoding method, beam search.
Sources
- Large Language Monkeys: Scaling Inference Compute with Repeated Sampling
- DeepSeek-R1: Incentivizing Reasoning Capability in LLMs via Reinforcement Learning
- Measuring Mathematical Problem Solving With the MATH Dataset
- Can 1B LLM Surpass 405B LLM? Rethinking Compute-Optimal Test-Time Scaling
- Rollout Roulette: A Probabilistic Inference Approach to Inference-Time Scaling of LLMs using Particle-Based Monte Carlo Methods
- Scaling Test-Time Compute Without Verification or RL is Suboptimal
- Scaling LLM Test-Time Compute Optimally can be More Effective than Scaling Model Parameters
- Math-Shepherd: Verify and Reinforce LLMs Step-by-step without Human Annotations
- Self-Consistency Improves Chain of Thought Reasoning in Language Models
- Qwen2.5-Math Technical Report: Toward Mathematical Expert Model via Self-Improvement
- MetaMath: Bootstrap Your Own Mathematical Questions for Large Language Models
- MAmmoTH: Building Math Generalist Models through Hybrid Instruction Tuning
- The Lessons of Developing Process Reward Models in Mathematical Reasoning
- Least-to-Most Prompting Enables Complex Reasoning in Large Language Models
Related papers
- Biologically Inspired Coordination of Parameter Selection and Update Strength for Language Model Adaptation
- Sketching for First Order Method: Efficient Algorithm for Low-Bandwidth Channel and Vulnerability
- The WMDP Benchmark: Measuring and Reducing Malicious Use With Unlearning
- On the notion of missingness for path attribution explainability methods in medical settings: Guiding the selection of medically meaningful baselines
- Variable-Length Generative Protein Design via Generalized Poisson Flow
- UniCon: Unified Framework for Efficient Contrastive Alignment via Kernels