arXiv:2502.17129cs.CL2025-02被引 12

系统梳理长文本大模型的技术全貌与核心挑战。

Thus Spake Long-Context Large Language Model

  • 从架构、基础设施到训练评估,全景剖析长上下文模型技术
  • 指出当前长上下文模型仍面临有限性与无限需求的矛盾
  • 适合关注大模型长期记忆与推理能力的研究者阅读

长上下文是自然语言处理的核心议题,贯穿模型架构演进,赋予大语言模型类人般的终身学习潜力。尽管面临诸多障碍,长上下文仍是大模型的关键竞争力。近两年,大模型上下文长度突破至百万级令牌。研究已从单纯扩展长度,拓展至架构、基础设施、训练与评估的综合体系。本文借鉴《查拉图斯特拉如是说》的意象,将长上下文探索比作人类超越有限性的尝试。我们从架构、基础设施、训练和评估四方面,呈现长上下文大模型的生命周期全图景,并提出10个未解问题。旨在为长上下文大模型研究提供系统性导引。视频:https://www.bilibili.com/video/BV11h9AYoEYj。GitHub:https://github.com/OpenMOSS/Thus-Spake-Long-Context-LLM。

原文摘要 · Abstract (English)

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.

长上下文大模型综述

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。