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.
翻译:暂无翻译