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

大型语言模型中加速生成技术的综合综述

A Comprehensive Survey of Accelerated Generation Techniques in Large Language Models

Amirkabir University of Technology(阿米尔卡比尔理工大学);Stanford University(斯坦福大学);Massachusetts Institute of Technology(麻省理工学院);Columbia University(哥伦比亚大学);Amazon GenAI(亚马逊生成式AI部门)

Mahsa Khoshnoodi, Vinija Jain, Mingye Gao, Malavika Srikanth, Aman Chadha

AI总结:

本文综述了大型语言模型中加速文本生成的技术,分类探讨推测解码、早期退出和非自回归方法,旨在降低推理延迟并指导未来研究。

摘要:

尽管加速大型语言模型(LLMs)中的文本生成对于高效产出内容至关重要,但该过程的顺序性往往导致高推理延迟,给实时应用带来挑战。为应对这些挑战并提升效率,已有多种技术被提出和发展。本文对自回归语言模型中的加速生成技术进行了全面综述,旨在理解最先进的方法及其应用。我们将这些技术划分为几个关键领域:推测解码、早期退出机制和非自回归方法。我们讨论了每个类别的底层原理、优势、局限性及近期进展。通过本综述,我们旨在提供对LLMs当前技术格局的见解,并为这一自然语言处理关键领域的未来研究方向提供指导。

英文摘要:

Despite the crucial importance of accelerating text generation in large language models (LLMs) for efficiently producing content, the sequential nature of this process often leads to high inference latency, posing challenges for real-time applications. Various techniques have been proposed and developed to address these challenges and improve efficiency. This paper presents a comprehensive survey of accelerated generation techniques in autoregressive language models, aiming to understand the state-of-the-art methods and their applications. We categorize these techniques into several key areas: speculative decoding, early exiting mechanisms, and non-autoregressive methods. We discuss each category's underlying principles, advantages, limitations, and recent advancements. Through this survey, we aim to offer insights into the current landscape of techniques in LLMs and provide guidance for future research directions in this critical area of natural language processing.

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

↑