ACER: Automatic Language Model Context Extension via Retrieval
Not on the map. Why?
Abstract (arXiv)
Long-context modeling is one of the critical capabilities of language AI for digesting and reasoning over complex information pieces. In practice, long-context capabilities are typically built into a pre-trained language model~(LM) through a carefully designed context extension stage, with the goal of producing generalist long-context capabilities. In our preliminary experiments, however, we discovered that the current open-weight generalist long-context models are still lacking in practical long-context processing tasks. While this means perfectly effective long-context modeling demands task-specific data, the cost can be prohibitive. In this paper, we draw inspiration from how humans process a large body of information: a lossy retrieval stage ranks a large set of documents while the reader ends up reading deeply only the top candidates. We build an automatic data synthesis pipeline that mimics this process using short-context LMs. The short-context LMs are further tuned using these self-generated data to obtain task-specific long-context capabilities. Similar to how pre-training learns from imperfect data, we hypothesize and further demonstrate that the short-context model can bootstrap over the synthetic data, outperforming not only long-context generalist models but also the retrieval and read pipeline used to synthesize the training data in real-world tasks such as long-context retrieval augmented generation.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 48 of its 62 references that are in the map. First posted on arXiv 11 Oct 2024.
Builds on
48 of 62 references.
References · 48
- 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
- 2022Training language models to follow instructions with human feedbackcited by 15,712
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
- 2017Proximal Policy Optimization Algorithmscited by 14,441
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
- 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,302
- 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,355
- 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
36 more
- 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 5,767
- 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,581
- 2020Dense Passage Retrieval for Open-Domain Question Answeringcited by 3,779
- 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,611
- 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
- 2023FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioningcited by 2,551
- 2020REALM: Retrieval-Augmented Language Model Pre-Trainingcited by 2,126
- 2023Efficient Streaming Language Models with Attention Sinkscited by 2,115
- 2019Transformer-XL: Attentive Language Models Beyond a Fixed-Length Contextcited by 1,830
- 2023Self-RAG: Learning to Retrieve, Generate, and Critique through Self-Reflectioncited by 1,800
- 2021Improving language models by retrieving from trillions of tokenscited by 1,278
- 2024RULER: What's the Real Context Size of Your Long-Context Language Models?cited by 1,270
- 2020Leveraging Passage Retrieval with Generative Models for Open Domain Question Answeringcited by 1,203
- 2021Train Short, Test Long: Attention with Linear Biases Enables Input Length Extrapolationcited by 1,085
- 2022Atlas: Few-shot Learning with Retrieval Augmented Language Modelscited by 940
- 2020Approximate Nearest Neighbor Negative Contrastive Learning for Dense Text Retrievalcited by 846
- 2023Enhancing Chat Language Models by Scaling High-quality Instructional Conversationscited by 825
- 2017Reading Wikipedia to Answer Open-Domain Questionscited by 777
- 2020How Much Knowledge Can You Pack Into the Parameters of a Language Model?cited by 713
- 2023OpenAssistant Conversations -- Democratizing Large Language Model Alignmentcited by 712
- 2017The NarrativeQA Reading Comprehension Challengecited by 590
- 2023YaRN: Efficient Context Window Extension of Large Language Modelscited by 584
- 2023C-Pack: Packed Resources For General Chinese Embeddingscited by 556
- 2023Effective Long-Context Scaling of Foundation Modelscited by 301
- 2022Generate rather than Retrieve: Large Language Models are Strong Context Generatorscited by 296
- 2023TPU v4: An Optically Reconfigurable Supercomputer for Machine Learning with Hardware Support for Embeddingscited by 198
- 2024Data Engineering for Scaling Language Models to 128K Contextcited by 183
- 2020Answering Complex Open-Domain Questions with Multi-Hop Dense Retrievalcited by 160
- 2024RQ-RAG: Learning to Refine Queries for Retrieval Augmented Generationcited by 144
- 2021GSPMD: General and Scalable Parallelization for ML Computation Graphscited by 109
- 2023PoSE: Efficient Context Window Extension of LLMs via Positional Skip-wise Trainingcited by 109
- 2024LongRAG: Enhancing Retrieval-Augmented Generation with Long-context LLMscited by 104
- 2022Recitation-Augmented Language Modelscited by 65
- 2020Memformer: A Memory-Augmented Transformer for Sequence Modelingcited by 63
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2023Retrieval meets Long Context Large Language Models
- 2025Generalizing From Short to Long: Effective Data Synthesis for Long-Context Instruction Tuning
- 2025A Survey on Transformer Context Extension: Approaches and Evaluation
- 2026Understanding Axes of Difficulty For Long Context Tasks Via PredicateLongBench
- 2022Parallel Context Windows for Large Language Models
- 2025Eliciting In-context Retrieval and Reasoning for Long-context Large Language Models
- 2024Large Language Models Can Self-Improve in Long-context Reasoning
- 2025Infinite Retrieval: Attention Enhanced LLMs in Long-Context Processing