arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2509.04474cs.CLcs.AI
收藏

Scaling Up, Speeding Up: 面向高效LLM测试时扩展的推测解码基准

Scaling Up, Speeding Up: A Benchmark of Speculative Decoding for Efficient LLM Test-Time Scaling

City University of Hong Kong(香港城市大学)

Shengyin Sun, Yiming Li, Xing Li, Yingzhao Lian, Weizhe Lin, Hui-Ling Zhen, Zhiyuan Yang, Chen Chen, Xianzhi Yu, Mingxuan Yuan, Chen Ma

AI总结:

该研究推出首个评估推测解码加速LLM测试时扩展效果的综合基准,对比三类推测解码方法,发现基于n-gram的方法在重复推理场景加速潜力独特,提出结合不同方法平衡两类推理加速,推动相关研究发展。

摘要:

测试时扩展已成为一种通过在推理阶段分配额外计算资源来增强大语言模型(LLM)推理能力的强大范式。然而,由于会生成冗余且重复的推理轨迹,该范式本质上效率低下,导致了显著的计算开销。推测解码为缓解这种低效率提供了一条有前景的途径,但它在结构化、重复度高的测试时扩展场景下的效果仍未得到充分探索。为填补这一空白,我们推出了首个旨在评估用于加速LLM测试时扩展的推测解码方法的综合基准。我们的基准在代表性测试时扩展范式(例如Best-of-N采样和多轮思考)之上提供了统一的实验协议,可对三大类推测解码方法进行公平比较:基于模型的方法、基于训练的方法以及基于n-gram的方法。大量实验表明,简单的基于n-gram的方法能有效捕捉重复模式,在加速测试时扩展方面展现出独特潜力。这一现象表明,将基于n-gram的方法与基于模型或基于训练的方法相结合,对于平衡测试时扩展中重复推理和多样化推理的加速效果具有重要价值。我们希望该基准能推动针对测试时扩展的推测解码的进一步研究,通过更好地处理重复和多样化推理路径,实现LLM更快速、更实用的推理。

英文摘要:

Test-time scaling has emerged as a powerful paradigm for enhancing the reasoning capabilities of large language models (LLMs) by allocating additional computational resources during inference. However, this paradigm is inherently inefficient due to the generation of redundant and repetitive reasoning traces, leading to significant computational overhead. Speculative decoding offers a promising avenue for mitigating this inefficiency, yet its efficacy in the structured, repetition-rich context of test-time scaling remains largely unexplored. To bridge this gap, we introduce the first comprehensive benchmark designed to evaluate speculative decoding methods for accelerating LLM test-time scaling. Our benchmark provides consistent experimental protocols across representative test-time scaling paradigms (e.g., Best-of-N sampling and multi-round thinking), enabling a fair comparison of three major categories of speculative decoding: model-based, training-based, and n-gram-based methods. Extensive experiments reveal that simple n-gram-based methods effectively capture repetitive patterns, demonstrating unique potential in accelerating test-time scaling. This phenomenon demonstrates the value of integrating n-gram-based methods with model-based or training-based approaches to balance acceleration for both repetitive and diverse reasoning in test-time scaling. We hope this benchmark spurs further research on speculative decoding for test-time scaling, enabling faster and more practical reasoning in LLMs through better handling of repetitive and diverse reasoning paths.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑