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

对长上下文语言模型的全面综述

A Comprehensive Survey on Long Context Language Modeling

NJU(南京大学);PKU(北京大学);CASIA(中国科学院自动化研究所);Alibaba(阿里巴巴);ByteDance(字节跳动);Tencent(腾讯);Kuaishou(快手);M-A-P
Jiaheng Liu, Dawei Zhu, Zhiqi Bai, Yancheng He, Huanxuan Liao, Haoran Que, Zekun Wang, Chenchen Zhang, Ge Zhang, Jiebin Zhang, Yuanxing Zhang, Zhuo Chen, Hangyu… 展开作者

Jiaheng Liu, Dawei Zhu, Zhiqi Bai, Yancheng He, Huanxuan Liao, Haoran Que, Zekun Wang, Chenchen Zhang, Ge Zhang, Jiebin Zhang, Yuanxing Zhang, Zhuo Chen, Hangyu Guo, Shilong Li, Ziqiang Liu, Yong Shan, Yifan Song, Jiayi Tian, Wenhao Wu, Zhejian Zhou, Ruijie Zhu, Junlan Feng, Yang Gao, Shizhu He, Zhoujun Li, Tianyu Liu, Fanyu Meng, Wenbo Su, Yingshui Tan, Zili Wang, Jian Yang, Wei Ye, Bo Zheng, Wangchunshu Zhou, Wenhao Huang, Sujian Li, Zhaoxiang Zhang

AI总结:

本文综述了长上下文语言模型的最新进展,涵盖模型构建、训练部署及评估分析,为研究人员和工程师提供全面的资源。

摘要:

高效处理长上下文一直是自然语言处理中的持续追求。随着长文档、对话和其他文本数据数量的增加,开发能够有效处理和分析大量输入的长上下文语言模型(LCLMs)变得尤为重要。本文综述了大型语言模型中长上下文建模的最新进展。我们的综述围绕三个关键方面展开:如何获得高效且有效的LCLMs、如何高效地训练和部署LCLMs,以及如何全面评估和分析LCLMs。在第一方面,我们讨论了面向长上下文处理的数据策略、架构设计和工作流程方法。在第二方面,我们详细探讨了LCLM训练和推理所需的基础架构。在第三方面,我们提出了长上下文理解和长形式生成的评估范式,以及LCLMs的行为分析和机制可解释性。除了这三个关键方面,我们还深入探讨了现有LCLMs已部署的多样化应用场景,并概述了有前途的未来发展方向。本文提供了关于长上下文LLMs文献的最新综述,我们希望它能为研究人员和工程师提供有价值的资源。一个收集最新论文和仓库的GitHub仓库可用:https://github.com/LCLM-Horizon/A-Comprehensive-Survey-For-Long-Context-Language-Modeling

英文摘要:

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}}.

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

↑