mlsanityData to 7 Oct 2026

Reducing Distraction in Long-Context Language Models by Focused Learning

arXiv 2411.05928 ↗First posted 8 Nov 2024cs.CLcited by 8

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

  1. 2017Attention Is All You Needcited by 59,932
  2. 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,456
  3. 2020Language Models are Few-Shot Learnerscited by 32,199
  4. 2020A Simple Framework for Contrastive Learning of Visual Representationscited by 11,979
  5. 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,160
  6. 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,581
  7. 2020Dense Passage Retrieval for Open-Domain Question Answeringcited by 3,779
  8. 2023Lost in the Middle: How Language Models Use Long Contextscited by 3,383
  9. 2023Retrieval-Augmented Generation for Large Language Models: A Surveycited by 2,185
  10. 2020REALM: Retrieval-Augmented Language Model Pre-Trainingcited by 2,126
  11. 2023Self-RAG: Learning to Retrieve, Generate, and Critique through Self-Reflectioncited by 1,800
  12. 2019Generating Long Sequences with Sparse Transformerscited by 1,523
13 more
  1. 2021Unsupervised Dense Information Retrieval with Contrastive Learningcited by 1,203
  2. 2021What Makes Good In-Context Examples for GPT-3?cited by 1,184
  3. 2021Train Short, Test Long: Attention with Linear Biases Enables Input Length Extrapolationcited by 1,085
  4. 2023Large Language Models Can Be Easily Distracted by Irrelevant Contextcited by 820
  5. 2023REPLUG: Retrieval-Augmented Black-Box Language Modelscited by 786
  6. 2023Extending Context Window of Large Language Models via Positional Interpolationcited by 721
  7. 2021A Dataset of Information-Seeking Questions and Answers Anchored in Research Paperscited by 475
  8. 2022A Contrastive Framework for Neural Text Generationcited by 224
  9. 2021QuALITY: Question Answering with Long Input Texts, Yes!cited by 204
  10. 2020Contrastive Learning with Adversarial Perturbations for Conditional Text Generationcited by 56
  11. 2023Extending Context Window of Large Language Models via Semantic Compressioncited by 45
  12. 2022ContraCLM: Contrastive Learning For Causal Language Modelcited by 18
  13. 2021Long Context Question Answering via Supervised Contrastive Learningcited by 16

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2025: 7; 2026: 1.

8 papers.