Reducing Distraction in Long-Context Language Models by Focused Learning
Not on the map. Why?
Abstract (arXiv)
Recent advancements in Large Language Models (LLMs) have significantly enhanced their capacity to process long contexts. However, effectively utilizing this long context remains a challenge due to the issue of distraction, where irrelevant information dominates lengthy contexts, causing LLMs to lose focus on the most relevant segments. To address this, we propose a novel training method that enhances LLMs' ability to discern relevant information through a unique combination of retrieval-based data augmentation and contrastive learning. Specifically, during fine-tuning with long contexts, we employ a retriever to extract the most relevant segments, serving as augmented inputs. We then introduce an auxiliary contrastive learning objective to explicitly ensure that outputs from the original context and the retrieved sub-context are closely aligned. Extensive experiments on long single-document and multi-document QA benchmarks demonstrate the effectiveness of our proposed method.
Key facts. Cited by 8 papers in the map (data through 7 Oct 2026). Builds on 25 of its 34 references that are in the map. First posted on arXiv 8 Nov 2024.
Builds on
25 of 34 references.
References · 25
- 2017Attention Is All You Needcited by 59,932
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,456
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2020A Simple Framework for Contrastive Learning of Visual Representationscited by 11,979
- 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,160
- 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,581
- 2020Dense Passage Retrieval for Open-Domain Question Answeringcited by 3,779
- 2023Lost in the Middle: How Language Models Use Long Contextscited by 3,383
- 2023Retrieval-Augmented Generation for Large Language Models: A Surveycited by 2,185
- 2020REALM: Retrieval-Augmented Language Model Pre-Trainingcited by 2,126
- 2023Self-RAG: Learning to Retrieve, Generate, and Critique through Self-Reflectioncited by 1,800
- 2019Generating Long Sequences with Sparse Transformerscited by 1,523
13 more
- 2021Unsupervised Dense Information Retrieval with Contrastive Learningcited by 1,203
- 2021What Makes Good In-Context Examples for GPT-3?cited by 1,184
- 2021Train Short, Test Long: Attention with Linear Biases Enables Input Length Extrapolationcited by 1,085
- 2023Large Language Models Can Be Easily Distracted by Irrelevant Contextcited by 820
- 2023REPLUG: Retrieval-Augmented Black-Box Language Modelscited by 786
- 2023Extending Context Window of Large Language Models via Positional Interpolationcited by 721
- 2021A Dataset of Information-Seeking Questions and Answers Anchored in Research Paperscited by 475
- 2022A Contrastive Framework for Neural Text Generationcited by 224
- 2021QuALITY: Question Answering with Long Input Texts, Yes!cited by 204
- 2020Contrastive Learning with Adversarial Perturbations for Conditional Text Generationcited by 56
- 2023Extending Context Window of Large Language Models via Semantic Compressioncited by 45
- 2022ContraCLM: Contrastive Learning For Causal Language Modelcited by 18
- 2021Long Context Question Answering via Supervised Contrastive Learningcited by 16
Built on by
Citing papers per year: 2025: 7; 2026: 1.
8 papers.
- 2025When Audio and Text Disagree: Revealing Text Bias in Large Audio-Language Modelscited by 11
- 2025Deep Literature Survey Automation with an Iterative Workflowcited by 5
- 2025AgentCoMa: A Compositional Benchmark Mixing Commonsense and Mathematical Reasoning in Real-World Scenarioscited by 3
- 2025Radar: Fast Long-Context Decoding for Any Transformercited by 2
- 2025END: Early Noise Dropping for Efficient and Effective Context Denoisingcited by 1
- 2026The Illusion of Robustness: Aggregate Accuracy Hides Prediction Flips under Task-Irrelevant Contextcited by 1
- 2025LTG at SemEval-2025 Task 10: Optimizing Context for Classification of Narrative Rolescited by 0
- 2025DisCEdge: Distributed Context Management for Large Language Models at the Edgecited by 0
- 2026The Illusion of Robustness: Aggregate Accuracy Hides Prediction Flips under Task-Irrelevant Context14 Jul 2026
- 2025DisCEdge: Distributed Context Management for Large Language Models at the Edge27 Nov 2025
- 2025Deep Literature Survey Automation with an Iterative Workflow24 Oct 2025
- 2025AgentCoMa: A Compositional Benchmark Mixing Commonsense and Mathematical Reasoning in Real-World Scenarios27 Aug 2025
- 2025When Audio and Text Disagree: Revealing Text Bias in Large Audio-Language Models21 Aug 2025
- 2025LTG at SemEval-2025 Task 10: Optimizing Context for Classification of Narrative Roles6 Jun 2025
- 2025Radar: Fast Long-Context Decoding for Any Transformer13 Mar 2025
- 2025END: Early Noise Dropping for Efficient and Effective Context Denoising26 Feb 2025