2025-02-25 · 专家 · 机器学习 · 自然语言处理

Thus Spake Long-Context Large Language Model

这篇论文全面概述了长上下文大型语言模型(LLMs)的研究现状,包括其架构、基础设施、训练和评估方法,并提出了当前面临的问题和未来的研究方向。

更新于 2025-02-25。作者:Xiaoran Liu、Ruixiao Li、Mianqiu Huang、Zhigeng Liu、Yuerong Song、Qipeng Guo、Siyang He、Qiqi Wang、Linlin Li、Qun Liu、Yaqian Zhou、Xuanjing Huang、Xipeng Qiu。

中文摘要

长上下文是自然语言处理(NLP)中的一个重要话题,贯穿于NLP架构的发展之中,并为大型语言模型(LLMs)提供了巨大的机遇,使LLMs拥有了类似于人类的终身学习潜力。不幸的是,追求长上下文的过程伴随着诸多障碍。尽管如此,长上下文仍然是LLMs的核心竞争优势。在过去两年中,LLMs的上下文长度实现了突破性扩展,达到了数百万个标记。此外,对长上下文LLMs的研究已从长度外推扩展到全面关注架构、基础设施、训练和评估技术。受交响诗《查拉图斯特拉如是说》的启发,我们将LLMs扩展上下文的过程与人类试图超越死亡的努力进行类比。在本综述中,我们将阐述LLMs如何在巨大的长上下文需求与最终认识到其有限性的需求之间挣扎。为此,我们从架构、基础设施、训练和评估四个角度,对长上下文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, the research on long-context LLMs has expanded from 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 its 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 the research on long-context LLMs.

解读

一句话总结

这篇论文全面概述了长上下文大型语言模型(LLMs)的研究现状,包括其架构、基础设施、训练和评估方法,并提出了当前面临的问题和未来的研究方向。

问题1:这篇论文想要解决什么具体问题?

问题2:论文的核心创新点是什么?

问题3:实验结果如何验证了方法的有效性?

问题4:这个研究的实际应用价值是什么?

来源