A Survey on Transformer Context Extension: Approaches and Evaluation
Not on the map. Why?
Abstract (arXiv)
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.
Key facts. Cited by 11 papers in the map (data through 7 Oct 2026). Builds on 92 of its 122 references that are in the map. First posted on arXiv 17 Mar 2025.
Builds on
92 of 122 references.
References · 92
- 2017Attention Is All You Needcited by 59,932
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2023GPT-4 Technical Reportcited by 18,132
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
- 2021Training Verifiers to Solve Math Word Problemscited by 9,743
- 2023Judging LLM-as-a-Judge with MT-Bench and Chatbot Arenacited by 8,393
- 2021Evaluating Large Language Models Trained on Codecited by 8,053
- 2023Direct Preference Optimization: Your Language Model is Secretly a Reward Modelcited by 7,916
- 2019BART: Denoising Sequence-to-Sequence Pre-training for Natural Language Generation, Translation, and Comprehensioncited by 5,874
- 2019BERTScore: Evaluating Text Generation with BERTcited by 5,462
38 more
- 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,581
- 2016SQuAD: 100,000+ Questions for Machine Comprehension of Textcited by 4,115
- 2018HotpotQA: A Dataset for Diverse, Explainable Multi-hop Question Answeringcited by 3,686
- 2023Lost in the Middle: How Language Models Use Long Contextscited by 3,383
- 2020Longformer: The Long-Document Transformercited by 3,362
- 2017TriviaQA: A Large Scale Distantly Supervised Challenge Dataset for Reading Comprehensioncited by 2,895
- 2023Sparks of Artificial General Intelligence: Early experiments with GPT-4cited by 2,579
- 2023G-Eval: NLG Evaluation using GPT-4 with Better Human Alignmentcited by 2,205
- 2020Fourier Features Let Networks Learn High Frequency Functions in Low Dimensional Domainscited by 2,170
- 2023Efficient Streaming Language Models with Attention Sinkscited by 2,115
- 2023Code Llama: Open Foundation Models for Codecited by 2,105
- 2019Transformer-XL: Attentive Language Models Beyond a Fixed-Length Contextcited by 1,830
- 2023LongBench: A Bilingual, Multitask Benchmark for Long Context Understandingcited by 1,378
- 2020Constructing A Multi-hop QA Dataset for Comprehensive Evaluation of Reasoning Stepscited by 1,259
- 2021Train Short, Test Long: Attention with Linear Biases Enables Input Length Extrapolationcited by 1,085
- 2023Large Language Models are not Fair Evaluatorscited by 1,050
- 2023Can Large Language Models Be an Alternative to Human Evaluations?cited by 729
- 2023Extending Context Window of Large Language Models via Positional Interpolationcited by 721
- 2021BARTScore: Evaluating Generated Text as Text Generationcited by 719
- 2017The NarrativeQA Reading Comprehension Challengecited by 590
- 2020Efficient Content-Based Sparse Attention with Routing Transformerscited by 469
- 2023LongLLMLingua: Accelerating and Enhancing LLMs in Long Context Scenarios via Prompt Compressioncited by 443
- 2019Multi-News: a Large-Scale Multi-Document Summarization Dataset and Abstractive Hierarchical Modelcited by 431
- 2023Is ChatGPT a Good NLG Evaluator? A Preliminary Studycited by 420
- 2023Learning to Compress Prompts with Gist Tokenscited by 379
- 2021QMSum: A New Benchmark for Query-based Multi-domain Meeting Summarizationcited by 363
- 2024∞Bench: Extending Long Context Evaluation Beyond 100K Tokenscited by 360
- 2023RepoCoder: Repository-Level Code Completion Through Iterative Retrieval and Generationcited by 357
- 2024Retrieval-Augmented Generation for AI-Generated Content: A Surveycited by 352
- 2023Adapting Language Models to Compress Contextscited by 350
- 2023RepoBench: Benchmarking Repository-Level Code Auto-Completion Systemscited by 346
- 2021Efficient Attentions for Long Document Summarizationcited by 342
- 2023The Impact of Positional Encoding on Length Generalization in Transformerscited by 319
- 2023CodeGeeX: A Pre-Trained Model for Code Generation with Multilingual Benchmarking on HumanEval-Xcited by 294
- 2024Long-context LLMs Struggle with Long In-context Learningcited by 285
- 2023L-Eval: Instituting Standardized Evaluation for Long Context Language Modelscited by 232
- 2023Landmark Attention: Random-Access Infinite Context Length for Transformerscited by 206
- 2023LooGLE: Can Long-Context Language Models Understand Long Contexts?cited by 200
50 most cited of 92 All 92 (JSON)
Built on by
Citing papers per year: 2025: 9; 2026: 2.
11 papers.
- 2025Lookahead Q-Cache: Achieving More Consistent KV Cache Eviction via Pseudo Querycited by 15
- 2025ProxyAttn: Guided Sparse Attention via Representative Headscited by 9
- 2025CommonKV: Compressing KV Cache with Cross-layer Parameter Sharingcited by 8
- 2025CoRank: LLM-Based Compact Reranking with Document Features for Scientific Retrievalcited by 5
- 2025Judge Q: Trainable Queries for Optimized Information Retention in KV Cache Evictioncited by 4
- 2025Closed-Loop Transformers: Autoregressive Modeling as Iterative Latent Equilibriumcited by 3
- 2026Distill-then-Replace: Efficient Task-Specific Hybrid Attention Model Constructioncited by 3
- 2025Stream: Scaling up Mechanistic Interpretability to Long Context in LLMs via Sparse Attentioncited by 2
- 2025Optical Context Compression Is Just (Bad) Autoencodingcited by 1
- 2025OPOR-Bench: Evaluating Large Language Models on Online Public Opinion Report Generationcited by 0
- 2026KVSlimmer: Theoretical Insights and Practical Optimizations for Asymmetric KV Mergingcited by 0
- 2026KVSlimmer: Theoretical Insights and Practical Optimizations for Asymmetric KV Merging1 Mar 2026
- 2026Distill-then-Replace: Efficient Task-Specific Hybrid Attention Model Construction16 Jan 2026
- 2025Optical Context Compression Is Just (Bad) Autoencoding3 Dec 2025
- 2025OPOR-Bench: Evaluating Large Language Models on Online Public Opinion Report Generation1 Dec 2025
- 2025Closed-Loop Transformers: Autoregressive Modeling as Iterative Latent Equilibrium26 Nov 2025
- 2025Stream: Scaling up Mechanistic Interpretability to Long Context in LLMs via Sparse Attention22 Oct 2025
- 2025ProxyAttn: Guided Sparse Attention via Representative Heads29 Sep 2025
- 2025Judge Q: Trainable Queries for Optimized Information Retention in KV Cache Eviction13 Sep 2025
- 2025CommonKV: Compressing KV Cache with Cross-layer Parameter Sharing22 Aug 2025
- 2025Lookahead Q-Cache: Achieving More Consistent KV Cache Eviction via Pseudo Query24 May 2025
- 2025CoRank: LLM-Based Compact Reranking with Document Features for Scientific Retrieval19 May 2025
Similar, not cited
Close in wording, no citation either way
- 2025Long-Short Alignment for Effective Long-Context Modeling in LLMs
- 2024ACER: Automatic Language Model Context Extension via Retrieval
- 2023A Comprehensive Overview of Large Language Models
- 2024Beyond the Limits: A Survey of Techniques to Extend the Context Length in Large Language Models
- 2024A Survey of Transformer-based Language Models with Focus on Efficiency
- 2024Hierarchical Context Merging: Better Long Context Understanding for Pre-trained LLMs
- 2024Recurrent Context Compression: Efficiently Expanding the Context Window of LLM
- 2024KV Cache Compression, But What Must We Give in Return? A Comprehensive Benchmark of Long Context Capable Approaches