mlsanityData to 7 Oct 2026

A Survey on Transformer Context Extension: Approaches and Evaluation

arXiv 2503.13299 ↗First posted 17 Mar 2025cs.CL cs.AIcited by 11

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

  1. 2017Attention Is All You Needcited by 59,932
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  3. 2020Language Models are Few-Shot Learnerscited by 32,199
  4. 2023GPT-4 Technical Reportcited by 18,132
  5. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
  6. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
  7. 2021Training Verifiers to Solve Math Word Problemscited by 9,743
  8. 2023Judging LLM-as-a-Judge with MT-Bench and Chatbot Arenacited by 8,393
  9. 2021Evaluating Large Language Models Trained on Codecited by 8,053
  10. 2023Direct Preference Optimization: Your Language Model is Secretly a Reward Modelcited by 7,916
  11. 2019BART: Denoising Sequence-to-Sequence Pre-training for Natural Language Generation, Translation, and Comprehensioncited by 5,874
  12. 2019BERTScore: Evaluating Text Generation with BERTcited by 5,462
38 more
  1. 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,581
  2. 2016SQuAD: 100,000+ Questions for Machine Comprehension of Textcited by 4,115
  3. 2018HotpotQA: A Dataset for Diverse, Explainable Multi-hop Question Answeringcited by 3,686
  4. 2023Lost in the Middle: How Language Models Use Long Contextscited by 3,383
  5. 2020Longformer: The Long-Document Transformercited by 3,362
  6. 2017TriviaQA: A Large Scale Distantly Supervised Challenge Dataset for Reading Comprehensioncited by 2,895
  7. 2023Sparks of Artificial General Intelligence: Early experiments with GPT-4cited by 2,579
  8. 2023G-Eval: NLG Evaluation using GPT-4 with Better Human Alignmentcited by 2,205
  9. 2020Fourier Features Let Networks Learn High Frequency Functions in Low Dimensional Domainscited by 2,170
  10. 2023Efficient Streaming Language Models with Attention Sinkscited by 2,115
  11. 2023Code Llama: Open Foundation Models for Codecited by 2,105
  12. 2019Transformer-XL: Attentive Language Models Beyond a Fixed-Length Contextcited by 1,830
  13. 2023LongBench: A Bilingual, Multitask Benchmark for Long Context Understandingcited by 1,378
  14. 2020Constructing A Multi-hop QA Dataset for Comprehensive Evaluation of Reasoning Stepscited by 1,259
  15. 2021Train Short, Test Long: Attention with Linear Biases Enables Input Length Extrapolationcited by 1,085
  16. 2023Large Language Models are not Fair Evaluatorscited by 1,050
  17. 2023Can Large Language Models Be an Alternative to Human Evaluations?cited by 729
  18. 2023Extending Context Window of Large Language Models via Positional Interpolationcited by 721
  19. 2021BARTScore: Evaluating Generated Text as Text Generationcited by 719
  20. 2017The NarrativeQA Reading Comprehension Challengecited by 590
  21. 2020Efficient Content-Based Sparse Attention with Routing Transformerscited by 469
  22. 2023LongLLMLingua: Accelerating and Enhancing LLMs in Long Context Scenarios via Prompt Compressioncited by 443
  23. 2019Multi-News: a Large-Scale Multi-Document Summarization Dataset and Abstractive Hierarchical Modelcited by 431
  24. 2023Is ChatGPT a Good NLG Evaluator? A Preliminary Studycited by 420
  25. 2023Learning to Compress Prompts with Gist Tokenscited by 379
  26. 2021QMSum: A New Benchmark for Query-based Multi-domain Meeting Summarizationcited by 363
  27. 2024∞Bench: Extending Long Context Evaluation Beyond 100K Tokenscited by 360
  28. 2023RepoCoder: Repository-Level Code Completion Through Iterative Retrieval and Generationcited by 357
  29. 2024Retrieval-Augmented Generation for AI-Generated Content: A Surveycited by 352
  30. 2023Adapting Language Models to Compress Contextscited by 350
  31. 2023RepoBench: Benchmarking Repository-Level Code Auto-Completion Systemscited by 346
  32. 2021Efficient Attentions for Long Document Summarizationcited by 342
  33. 2023The Impact of Positional Encoding on Length Generalization in Transformerscited by 319
  34. 2023CodeGeeX: A Pre-Trained Model for Code Generation with Multilingual Benchmarking on HumanEval-Xcited by 294
  35. 2024Long-context LLMs Struggle with Long In-context Learningcited by 285
  36. 2023L-Eval: Instituting Standardized Evaluation for Long Context Language Modelscited by 232
  37. 2023Landmark Attention: Random-Access Infinite Context Length for Transformerscited by 206
  38. 2023LooGLE: Can Long-Context Language Models Understand Long Contexts?cited by 200

50 most cited of 92 All 92 (JSON)

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2025: 9; 2026: 2.

11 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2025Long-Short Alignment for Effective Long-Context Modeling in LLMs
  2. 2024ACER: Automatic Language Model Context Extension via Retrieval
  3. 2023A Comprehensive Overview of Large Language Models
  4. 2024Beyond the Limits: A Survey of Techniques to Extend the Context Length in Large Language Models
  5. 2024A Survey of Transformer-based Language Models with Focus on Efficiency
  6. 2024Hierarchical Context Merging: Better Long Context Understanding for Pre-trained LLMs
  7. 2024Recurrent Context Compression: Efficiently Expanding the Context Window of LLM
  8. 2024KV Cache Compression, But What Must We Give in Return? A Comprehensive Benchmark of Long Context Capable Approaches