Taming Speculative Search for Test-Time Scaling in LLM Serving
Abstract
Test-time scaling has recently emerged as a powerful approach for improving LLM reasoning by allocating additional computation during inference, substantially enhancing accuracy on challenging tasks such as mathematics and coding. To accelerate the exploration of reasoning paths, recent studies proposed speculative execution. However, we show that supporting speculative execution poses two unique challenges for LLM serving systems: (1) an explosion in the search space of candidate paths and (2) frequent, fine-grained verification tasks for candidates. To address these challenges, this paper proposes SpecScale, a serving system for efficient speculative execution. We introduce three techniques to reconcile the trade-off between latency and computational overhead: (1) early pruning of low-quality candidate paths, (2) deduplicating computation across redundant candidate paths, and (3) deferring fine-grained verification tasks. We evaluate SpecScale on challenging reasoning benchmarks, including MATH and Olympiad. Our results show that SpecScale significantly outperforms both non-speculative and recent speculative approaches, delivering substantial improvements in throughput and latency while preserving answer quality.
Create a lesson
Metadata
- Categories
- cs.DC, cs.CL, cs.OS
- Comments
- 14 pages
Related papers
SMART-Sharding: Scaling Per-tensor Sharding Search in LLM Training with Symbolic Dynamic Programming
Shared title terminologycs.DCKimia Noorbakhsh, Samuel Kushnir, Kavya Sreedhar et al.
Beyond Marginal Monitoring: Distributed Joint-Distribution Testing for Data Concept Drift in Large Scale E-Commerce Operations
Shared title terminologycs.DCCagdas Pullu, Mahmut Emir Arslan, Bugra Balkac et al.
One Global Beam Across Many GPUs: High-Throughput Beam Search at Billion-Record Frontier Scale
Shared title terminologycs.DCIvan Litvak
DScale: Scaling Block-Diffusion Speculative Decoding with Adaptive Verification
Shared title terminologycs.DCRongjian Chen, Minxian Xu, Zhengxin Fang et al.
Semantics, Workflows, and Infrastructure: Understanding Agent Serving at Production Scale
Shared title terminologycs.DCYihao Zheng, Jingzhe Jiang, Dejiang Zhu et al.
HyDra: Demystifying and Taming Dynamic Context Parallelism at Production Scale
Shared title terminologycs.DCZihao Fan, Yunzhuo Liu, Bo Jiang et al.