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

推测解码的差异化影响

The Disparate Impacts of Speculative Decoding

University of Virginia(弗吉尼亚大学);Cohere;Hofstra University(霍夫斯特大学)

Jameson Sandler, Ahmet Üstün, Marco Romanelli, Sara Hooker, Ferdinando Fioretto

AI总结:

该研究发现大语言模型的推测解码技术在不同任务间加速率存在差异,欠拟合、代表性不足的任务加速效果更弱,通过量化该不公平性并提出缓解策略,使公平性指标平均提升12%。

摘要:

推测解码是一种由更小、成本更低的“起草器”模型以概率方式支持推理的方法,目前已成为系统性降低大语言模型解码时间的标准技术。本文从不同任务间可能存在的加速率差异这一视角,对推测解码展开分析。关键研究发现表明,推测解码带来的加速效果在各任务间并非均匀分布,对于欠拟合且通常代表性不足的任务,加速效果会持续减弱。为更深入理解这一现象,我们推导了一种分析方法来量化所观察到的这种“不公平性”,并明确了导致差异化加速现象产生的各类因素。此外,在这些研究洞见的指导下,本文提出了一项旨在降低加速差异的缓解策略,并在多组模型对上验证了该方法,结果显示我们的公平性指标平均提升了12%。

英文摘要:

The practice of speculative decoding, whereby inference is probabilistically supported by a smaller, cheaper, ``drafter'' model, has become a standard technique for systematically reducing the decoding time of large language models. This paper conducts an analysis of speculative decoding through the lens of its potential disparate speed-up rates across tasks. Crucially, the paper shows that speed-up gained from speculative decoding is not uniformly distributed across tasks, consistently diminishing for under-fit, and often underrepresented tasks. To better understand this phenomenon, we derive an analysis to quantify this observed ``unfairness'' and draw attention to the factors that motivate such disparate speed-ups to emerge. Further, guided by these insights, the paper proposes a mitigation strategy designed to reduce speed-up disparities and validates the approach across several model pairs, revealing on average a 12% improvement in our fairness metric.

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

↑