arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2502.19732cs.CL
收藏

投机解码及其超越:技术深度综述

Speculative Decoding and Beyond: An In-Depth Survey of Techniques

New York University(纽约大学);University of Pennsylvania(宾夕法尼亚大学);Shenzhen Institute of Information Technology(深圳信息技术研究所);Franklin and Marshall College(弗兰克林与马歇尔学院)

Yunhai Hu, Zining Liu, Zhenyuan Dong, Tianfan Peng, Bradley McDanel, Sai Qian Zhang

AI总结:

本文系统综述了生成-精炼框架(如投机解码)以缓解自回归模型顺序依赖瓶颈,提出分类法,分析生成策略与精炼机制,并探讨跨文本、图像、语音的部署与应用。

摘要:

顺序依赖在部署大规模自回归模型时构成了根本性瓶颈,尤其是在实时应用中。虽然剪枝和量化等传统优化方法常常会损害模型质量,但近期在生成-精炼框架方面的进展表明,这种权衡可以得到显著缓解。本综述提出了生成-精炼框架的全面分类法,分析了跨自回归序列任务的方法。我们根据其生成策略(从简单的n-gram预测到复杂的草稿模型)和精炼机制(包括单次验证和迭代方法)对方法进行分类。通过对算法创新和系统级实现的系统分析,我们考察了跨计算环境的部署策略,并探索了涵盖文本、图像和语音生成的应用。这种对理论框架和实际实现的系统审视,为未来高效自回归解码的研究奠定了基础。

英文摘要:

Sequential dependencies present a fundamental bottleneck in deploying large-scale autoregressive models, particularly for real-time applications. While traditional optimization approaches like pruning and quantization often compromise model quality, recent advances in generation-refinement frameworks demonstrate that this trade-off can be significantly mitigated. This survey presents a comprehensive taxonomy of generation-refinement frameworks, analyzing methods across autoregressive sequence tasks. We categorize methods based on their generation strategies (from simple n-gram prediction to sophisticated draft models) and refinement mechanisms (including single-pass verification and iterative approaches). Through systematic analysis of both algorithmic innovations and system-level implementations, we examine deployment strategies across computing environments and explore applications spanning text, images, and speech generation. This systematic examination of both theoretical frameworks and practical implementations provides a foundation for future research in efficient autoregressive decoding.

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

↑