arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2502.17129cs.CL
收藏

长上下文大语言模型如是说

Thus Spake Long-Context Large Language Model

Shanghai AI Lab(上海人工智能实验室);School of Computer Science, Fudan University(复旦大学计算机科学技术学院);Shanghai Innovation Institute(上海创新研究院)

Xiaoran Liu, Ruixiao Li, Mianqiu Huang, Zhigeng Liu, Yuerong Song, Qipeng Guo, Siyang He, Qiqi Wang, Linlin Li, Qun Liu, Ziwei He, Yaqian Zhou, Xuanjing Huang, Xipeng Qiu

AI总结:

本研究综述长上下文大语言模型(LLMs)领域,梳理其从长度外推到架构、基础设施等多维度的发展,类比人类超越死亡的过程展示技术全貌,并提出10个未解决问题,为该领域提供系统性导论。

摘要:

长上下文是自然语言处理(NLP)领域的重要课题,贯穿NLP架构的发展历程,为大语言模型(LLMs)提供了巨大机遇,使其具备类似人类的终身学习潜力。遗憾的是,对长上下文的追求伴随着诸多障碍。尽管如此,长上下文仍是LLMs的核心竞争优势。过去两年,LLMs的上下文长度实现了突破性扩展,达到数百万个token。此外,关于长上下文LLMs的研究已从长度外推扩展到全面关注架构、基础设施、训练和评估技术。受交响诗《查拉图斯特拉如是说》的启发,我们将扩展LLM上下文的过程类比为人类超越死亡的尝试。在本综述中,我们将从架构、基础设施、训练和评估四个视角展示长上下文LLMs的生命周期全貌,呈现长上下文技术的全谱系。在综述末尾,我们将提出当前长上下文LLMs面临的10个未解决问题。我们希望本综述能作为长上下文LLMs研究的系统性导论。

英文摘要:

Long context is an important topic in Natural Language Processing (NLP), running through the development of NLP architectures, and offers immense opportunities for Large Language Models (LLMs), giving LLMs the lifelong learning potential akin to humans. Unfortunately, the pursuit of a long context is accompanied by numerous obstacles. Nevertheless, long context remains a core competitive advantage for LLMs. In the past two years, the context length of LLMs has achieved a breakthrough extension to millions of tokens. Moreover, research on long-context LLMs has expanded beyond length extrapolation to a comprehensive focus on architecture, infrastructure, training, and evaluation technologies. Inspired by the symphonic poem, Thus Spake Zarathustra, we draw an analogy between the journey of extending the context of LLM and the attempts of humans to transcend their mortality. In this survey, we will illustrate how LLM struggles between the tremendous need for a longer context and its equal need to accept the fact that it is ultimately finite. To achieve this, we give a global picture of the lifecycle of long-context LLMs from four perspectives: architecture, infrastructure, training, and evaluation, showcasing the full spectrum of long-context technologies. At the end of this survey, we will present 10 unanswered questions currently faced by long-context LLMs. We hope this survey can serve as a systematic introduction to research on long-context LLMs. Video: https://www.bilibili.com/video/BV11h9AYoEYj. Github: https://github.com/OpenMOSS/Thus-Spake-Long-Context-LLM.

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

↑