mlsanityData to 7 Oct 2026

Exploring Fine-Tuning for In-Context Retrieval and Efficient KV-Caching in Long-Context Language Models

arXiv 2601.18527 ↗First posted 26 Jan 2026cs.CLcited by 1

On the map: Retrieval-augmented generation → Generation and context integration

also in 1 more
Abstract (arXiv)

With context windows of millions of tokens, Long-Context Language Models (LCLMs) can encode entire document collections, offering a strong alternative to conventional retrieval-augmented generation (RAG). However, it remains unclear whether fine-tuning strategies can improve long-context performance and translate to greater robustness under KV-cache compression techniques. In this work, we investigate which training strategies most effectively enhance LCLMs' ability to identify and use relevant information, as well as enhancing their robustness under KV-cache compression. Our experiments show substantial in-domain improvements, achieving gains of up to +20 points over the base model. However, out-of-domain generalization remains task dependent with large variance -- LCLMs excels on finance questions (+9 points), while RAG shows stronger performance on multiple-choice questions (+6 points) over the baseline models. Finally, we show that our fine-tuning approaches bring moderate improvements in robustness under KV-cache compression, with gains varying across tasks.

Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Placed in Generation and context integration, one of 15 directions in Retrieval-augmented generation. Builds on 25 of its 33 references that are in the map. First posted on arXiv 26 Jan 2026.

Builds on

25 of 33 references.

Closest ancestors · 1

Same direction, newest first

  1. 2025Eliciting In-context Retrieval and Reasoning for Long-context Large Language Models14 Jan

Other references · 24

  1. 2024DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Modelscited by 8,851
  2. 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,581
  3. 2020Dense Passage Retrieval for Open-Domain Question Answeringcited by 3,779
  4. 2018HotpotQA: A Dataset for Diverse, Explainable Multi-hop Question Answeringcited by 3,686
  5. 2017TriviaQA: A Large Scale Distantly Supervised Challenge Dataset for Reading Comprehensioncited by 2,895
  6. 2024HybridFlow: A Flexible and Efficient RLHF Frameworkcited by 1,980
  7. 2023LongBench: A Bilingual, Multitask Benchmark for Long Context Understandingcited by 1,378
  8. 2020Constructing A Multi-hop QA Dataset for Comprehensive Evaluation of Reasoning Stepscited by 1,259
  9. 2025Qwen3 Embedding: Advancing Text Embedding and Reranking Through Foundation Modelscited by 1,175
  10. 2023FlexGen: High-Throughput Generative Inference of Large Language Models with a Single GPUcited by 567
  11. 2024LongBench v2: Towards Deeper Understanding and Reasoning on Realistic Long-context Multitaskscited by 367
  12. 2024∞Bench: Extending Long Context Evaluation Beyond 100K Tokenscited by 360
12 more
  1. 2024RAFT: Adapting Language Model to Domain Specific RAGcited by 258
  2. 2024How to Train Long-Context Language Models (Effectively)cited by 141
  3. 2024Long-Context LLMs Meet RAG: Overcoming Challenges for Long Inputs in RAGcited by 122
  4. 2024Leave No Document Behind: Benchmarking Long-Context LLMs with Extended Multi-Doc QAcited by 121
  5. 2024Retrieval Augmented Generation or Long-Context LLMs? A Comprehensive Study and Hybrid Approachcited by 117
  6. 2024RetrievalAttention: Accelerating Long-Context LLM Inference via Vector Retrievalcited by 114
  7. 2024LongRAG: Enhancing Retrieval-Augmented Generation with Long-context LLMscited by 104
  8. 2024ChatQA 2: Bridging the Gap to Proprietary LLMs in Long Context and RAG Capabilitiescited by 52
  9. 2024In Defense of RAG in the Era of Long-Context Language Modelscited by 52
  10. 2025Right Answer, Wrong Score: Uncovering the Inconsistencies of LLM Evaluation in Multiple-Choice Question Answeringcited by 27
  11. 2024Long Context vs. RAG for LLMs: An Evaluation and Revisitscited by 24
  12. 2024xFinder: Large Language Models as Automated Evaluators for Reliable Evaluationcited by 18

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 1.

1 paper.

Similar, not cited

Close in wording, no citation either way

  1. 2024KV Cache Compression, But What Must We Give in Return? A Comprehensive Benchmark of Long Context Capable Approaches
  2. 2024Training-Free Exponential Context Extension via Cascading KV Cache
  3. 2024RazorAttention: Efficient KV Cache Compression Through Retrieval Heads
  4. 2024Contextual Compression in Retrieval-Augmented Generation for Large Language Models: A Survey
  5. 2025CompressKV: Semantic Retrieval Heads Know What Tokens are Not Important Before Generation
  6. 2024Assessing "Implicit" Retrieval Robustness of Large Language Models
  7. 2024Not All Heads Matter: A Head-Level KV Cache Compression Method with Integrated Retrieval and Reasoning
  8. 2023Retrieval meets Long Context Large Language Models