Sample Count Is Not Enough: Candidate-Generation Strategy Shapes the Energy and Performance of LLM Test-Time Scaling
Study shows LLM test-time scaling cost depends on generation schedule: eight serial A100 calls use ~4.7x more GPU energy than one batched call.
The paper shows that candidate count N alone poorly describes the systems cost of sampling-based test-time scaling. Fixing N=8 with Phi-3-mini and Qwen2.5-1.5B on 500 GSM8K prompts, going from 1 to 8 candidates improved accuracy by 8.4 and 18.4 percentage points respectively, but eight serial generation calls on A100 GPUs consumed 4.64-4.86x more gross GPU-device energy and had 5.77-6.12x higher P95 latency than one batched 8-candidate call. The authors argue evaluations should report generation schedules and GPU-level metrics, and recommend fewer, larger batches when candidates are independent and memory allows.
- N=8 serial calls cost 4.64-4.86x more GPU energy than one batched call
- P95 latency 5.77-6.12x higher for serial schedules on A100
- Accuracy gains from 1 to 8 candidates: +8.4 pts (Phi-3-mini), +18.4 pts (Qwen2.5-1.5B)
- Recommends reporting generation schedule and GPU metrics in evaluations
Full article263 words · extracted from huggingface.co · click to collapse
Test-time scaling can improve large language model reasoning by generating and combining multiple candidate responses. In sampling-based methods, the inference budget is often described by the number of generated candidates, N. However, N tells us how many candidates are generated, not how they are executed. The same candidate budget can be produced in one batched generation call or split across several sequential calls with smaller batch sizes. We first study the effect of increasing N on reasoning accuracy using Phi-3-mini and Qwen2.5-1.5B on 500 GSM8K prompts. As expected, increasing N from 1 to 8 improves accuracy by 8.4 percentage points for Phi-3-mini and 18.4 points for Qwen2.5-1.5B. However, accuracy alone does not show the systems cost of using a larger candidate budget. We therefore fix N = 8 and compare four generation schedules: 1x8, 2x4, 4x2, and 8x1, where axb denotes a generation calls with b candidates per call. We measure latency, throughput, GPU-hours, and gross GPU-device energy while keeping the total candidate count fixed. On A100 GPUs, eight serial calls use 4.64-4.86x as much gross GPU-device energy and have 5.77-6.12x the P95 latency of one batched call with eight candidates. The same pattern appears across three independently scheduled A100 nodes per model and in short-output SciQ/V100 experiments. These results show that candidate count alone is not enough to describe the systems cost of multi-candidate test-time scaling. When candidates are independent and memory allows it, fewer generation calls with larger batch sizes are more efficient. Evaluations should therefore report not only candidate count and accuracy, but also generation schedule and GPU-level systems metrics.
Text extracted automatically; images, tables and formatting may be missing. Original: https://huggingface.co/papers/2609.19499