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

SPEED-Bench:一个统一且多样化的推测解码基准

SPEED-Bench: A Unified and Diverse Benchmark for Speculative Decoding

NVIDIA

Talor Abramovich, Maor Ashkenazi, Izzy Putterman, Benjamin Chislett, Tiyasa Mitra, Bita Darvish Rouhani, Ran Zilberstein, Yonatan Geifman

AI总结:

针对推测解码(SD)评估中任务多样性不足、吞吐量评估支持不够及实现不贴近生产环境的问题,提出SPEED-Bench基准,包含多样化语义领域和真实服务场景的数据集,集成vLLM和TensorRT-LLM引擎,以标准化SD评估并揭示系统行为。

摘要:

推测解码(SD)已成为加速大型语言模型(LLM)推理的关键技术。与确定性系统优化不同,SD性能本质上依赖于数据,因此多样且具有代表性的工作负载对于准确衡量其有效性至关重要。现有基准存在任务多样性有限、对面向吞吐量的评估支持不足,以及依赖无法反映生产环境的高级实现等问题。为解决这些问题,我们引入了SPEED-Bench,这是一个全面的套件,旨在跨不同语义领域和真实服务场景标准化SD评估。SPEED-Bench提供了精心策划的定性数据划分,通过优先考虑数据样本之间的语义多样性来选择。此外,它还包括一个吞吐量数据划分,允许在从延迟敏感的低批量设置到面向吞吐量的高负载场景的一系列并发性下进行加速评估。通过与vLLM和TensorRT-LLM等生产引擎集成,SPEED-Bench使从业者能够分析其他基准常常掩盖的系统行为。我们通过量化合成输入如何高估实际吞吐量、识别依赖于批量大小的最优草稿长度和低多样性数据中的偏差,以及分析最先进起草器中词汇剪枝的注意事项来突出这一点。我们发布SPEED-Bench,以建立用于SD算法实际比较的统一评估标准。

英文摘要:

Speculative Decoding (SD) has emerged as a critical technique for accelerating Large Language Model (LLM) inference. Unlike deterministic system optimizations, SD performance is inherently data-dependent, meaning that diverse and representative workloads are essential for accurately measuring its effectiveness. Existing benchmarks suffer from limited task diversity, inadequate support for throughput-oriented evaluation, and a reliance on high-level implementations that fail to reflect production environments. To address this, we introduce SPEED-Bench, a comprehensive suite designed to standardize SD evaluation across diverse semantic domains and realistic serving regimes. SPEED-Bench offers a carefully curated Qualitative data split, selected by prioritizing semantic diversity across the data samples. Additionally, it includes a Throughput data split, allowing speedup evaluation across a range of concurrencies, from latency-sensitive low-batch settings to throughput-oriented high-load scenarios. By integrating with production engines like vLLM and TensorRT-LLM, SPEED-Bench allows practitioners to analyze system behaviors often masked by other benchmarks. We highlight this by quantifying how synthetic inputs overestimate real-world throughput, identifying batch-size dependent optimal draft lengths and biases in low-diversity data, and analyzing the caveats of vocabulary pruning in state-of-the-art drafters. We release SPEED-Bench to establish a unified evaluation standard for practical comparisons of SD algorithms.

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

↑