arXiv:2503.17407cs.CLcs.LG2025-03综述被引 133

系统梳理长文本大模型的构建、训练与评估方法,助你快速掌握领域全貌。

A Comprehensive Survey on Long Context Language Modeling

  • 从数据、架构到流程,全面解析长文本建模的核心技术路径
  • 涵盖训练部署基础设施与评估标准,覆盖完整技术闭环
  • 适合想快速入门或深入研究长上下文大模型的研究者与工程师

高效处理长上下文是自然语言处理领域的长期追求。随着长文档、对话等文本数据日益增多,发展能有效且高效处理大规模输入的长上下文语言模型(LCLMs)至关重要。本文系统综述了大语言模型在长上下文建模方面的最新进展,围绕三大核心方面展开:如何构建高效有效的LCLMs,如何高效训练与部署LCLMs,以及如何全面评估与分析LCLMs。第一方面讨论面向长文本处理的数据策略、架构设计与工作流方法;第二方面详细分析LCLM训练与推理所需的基础设施;第三方面介绍长上下文理解与长文本生成的评估范式,以及LCLMs的行为分析与机制可解释性。此外,还探讨了现有LCLMs的多样化应用场景,并展望未来发展方向。本综述为长上下文大模型研究提供了最新文献参考,旨在成为研究人员与工程师的宝贵资源。相关论文与代码仓库已开源:https://github.com/LCLM-Horizon/A-Comprehensive-Survey-For-Long-Context-Language-Modeling

原文摘要 · Abstract (English)

Efficient processing of long contexts has been a persistent pursuit in Natural Language Processing. With the growing number of long documents, dialogues, and other textual data, it is important to develop Long Context Language Models (LCLMs) that can process and analyze extensive inputs in an effective and efficient way. In this paper, we present a comprehensive survey on recent advances in long-context modeling for large language models. Our survey is structured around three key aspects: how to obtain effective and efficient LCLMs, how to train and deploy LCLMs efficiently, and how to evaluate and analyze LCLMs comprehensively. For the first aspect, we discuss data strategies, architectural designs, and workflow approaches oriented with long context processing. For the second aspect, we provide a detailed examination of the infrastructure required for LCLM training and inference. For the third aspect, we present evaluation paradigms for long-context comprehension and long-form generation, as well as behavioral analysis and mechanism interpretability of LCLMs. Beyond these three key aspects, we thoroughly explore the diverse application scenarios where existing LCLMs have been deployed and outline promising future development directions. This survey provides an up-to-date review of the literature on long-context LLMs, which we wish to serve as a valuable resource for both researchers and engineers. An associated GitHub repository collecting the latest papers and repos is available at: \href{https://github.com/LCLM-Horizon/A-Comprehensive-Survey-For-Long-Context-Language-Modeling}{\color[RGB]{175,36,67}{LCLM-Horizon}}.

长上下文大模型综述语言模型

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