Large language models (LLMs) based on Transformer have been widely applied in the filed of natural language processing (NLP), demonstrating strong performance, particularly in handling short text tasks. However, when it comes to long context scenarios, the performance of LLMs degrades due to some challenges. To alleviate this phenomenon, there is a number of work proposed recently. In this survey, we first list the challenges of applying pre-trained LLMs to process long contexts. Then systematically review the approaches related to long context and propose our taxonomy categorizing them into four main types: positional encoding, context compression, retrieval augmented, and attention pattern. In addition to the approaches, we focus on the evaluation of long context, organizing relevant data, tasks, and metrics based on existing long context benchmarks. Finally, we summarize unresolved issues in the long context domain and put forward our views on future developments.
MBZ University of Artificial Intelligence(穆罕默德·本·扎耶德人工智能大学);Monash University(莫纳什大学);Inception Institute of Artificial Intelligence(起源人工智能研究院);Australian National University(澳大利亚国立大学);Linköping University(林雪平大学);University of Central Florida(中佛罗里达大学)
From Rule-Based Models to Deep Learning Transformers Architectures for Natural Language Processing and Sign Language Translation Systems: Survey, Taxonomy and Performance Evaluation
United Arab Emirates University(阿联酋大学);Emirates Center for Mobility Research(阿联酋移动性研究中心)
Advancing Transformer Architecture in Long-Context Large Language Models: A Comprehensive Survey
State Key Lab of Novel Software Technology, Nanjing University(南京大学计算机软件新技术国家重点实验室);School of Computing and Mathematical Sciences, Birkbeck, University of London(伦敦大学伯克贝克学院计算与数学科学学院)
Speed Always Wins: A Survey on Efficient Architectures for Large Language Models
Shanghai AI Laboratory(上海人工智能实验室);HKUST (GZ)(香港科技大学);University of Macau(澳门大学);Institute of Automation Chinese Academy of Sciences(中国科学院自动化研究所);Soochow University(苏州大学);KTH Royal Institute of Technology(皇家理工学院);Peking University(北京大学);The Chinese University of Hong Kong(香港中文大学)
A Short Survey of Human Mobility Prediction in Epidemic Modeling from Transformers to LLMs
Groupe de Recherche de Prospection et Valorisation des Données (Greprovad)(数据勘探与增值研究组(Greprovad));GRIC;Université de Sherbrooke(谢布鲁克大学);University of Kinshasa(金沙萨大学);Montreal Behavioural Medicine Centre(蒙特利尔行为医学中心);Centre Intégré Universitaire de Santé et Services Sociaux du Nord-de-l’Île-de-Montréal (CIUSSS-NIM)(蒙特利尔岛北部综合大学卫生与社会服务中心(CIUSSS-NIM));LISV-UVSQ;Université Paris-Saclay(巴黎-萨克雷大学);University of Klagenfurt(克拉根福大学);Biomedical Research Unit, Hospital Monkole(蒙科尔医院生物医学研究单元);University of Florida(佛罗里达大学);School of Electrical Engineering and Computer Science, University of Ottawa(渥太华大学电气工程与计算机科学学院);Centre National d’Intelligence Épidémiologique (CNIEP)(国家流行病学情报中心(CNIEP))
The What, Why, and How of Context Length Extension Techniques in Large Language Models -- A Detailed Survey
Technology Innovation Institute(技术创新研究所);Islamic University of Technology(伊斯兰理工大学);Stanford University(斯坦福大学);Amazon GenAI(亚马逊生成式人工智能部门);AI Institute, University of South Carolina(南卡罗来纳大学人工智能研究所)
A Comprehensive Survey on Applications of Transformers for Deep Learning Tasks
Concordia University(康考迪亚大学);Khalifa University(哈利法大学);Princess Sumaya University for Technology(苏玛雅公主科技大学);University of Alberta(阿尔伯塔大学);Polish Academy of Sciences(波兰科学院);Istinye University(伊斯廷耶大学);King Abdulaziz University(阿卜杜勒阿齐兹国王大学)
Gaoling School of Artificial Intelligence, Renmin University of China(中国人民大学 polled 智能学院);DIRO, Université de Montréal(蒙特利尔大学 DIRO);Beijing Key Laboratory of Big Data Management and Analysis Methods(北京大数据管理与分析方法重点实验室)
Queensland University of Technology(昆士兰理工大学);Information Technology University(信息科技大学);University of Lincoln(林肯大学);Mohamed bin Zayed University of Artificial Intelligence(穆罕默德·本·扎耶德人工智能大学);National University of Computer and Emerging Sciences(国家计算机与新兴科学大学);Qatar University(卡塔尔大学)
Pretrained Transformers for Text Ranking: BERT and Beyond
David R. Cheriton School of Computer Science, University of Waterloo(滑铁卢大学大卫·切里顿计算机科学学院);University of Amsterdam(阿姆斯特丹大学);Max Planck Institute for Informatics(马克斯·普朗克信息学研究所)
Partially Randomizing Transformer Weights for Dialogue Response Diversity
School of Electrical and Electronic Engineering, Nanyang Technological University(南洋理工大学电气与电子工程学院);Institute for Infocomm Research, A*STAR(新加坡科技研究局信息通信研究所)
State Space Model for New-Generation Network Alternative to Transformers: A Survey
School of Computer Science and Technology, Anhui University(安徽大学计算机科学与技术学院);School of Artificial Intelligence, Anhui University(安徽大学人工智能学院);Peng Cheng Laboratory(鹏城实验室);Harbin Institute of Technology (HITSZ)(哈尔滨工业大学(深圳));School of Computer Science, Peking University(北京大学计算机学院);School of Electronic and Computer Engineering, Shenzhen Graduate School, Peking University(北京大学深圳研究生院电子与计算机工程学院)