mlsanityData to 13 Oct 2026

Compression Beyond the Uncompressed: A Two-Stage Training Recipe for Soft Context Compression in RAG

arXiv 2609.05152 ↗First posted 4 Sep 2026cs.CLcited by 0

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

also in 2 more
Abstract (arXiv)

Retrieval-Augmented Generation (RAG) improves knowledge-intensive generation by conditioning language models on retrieved documents, but processing these documents becomes increasingly expensive as retrieval depth grows. Soft context compression reduces this cost by encoding documents into compact continuous representations that can be precomputed and reused across queries. However, many existing methods train compressed models by distilling from a full-context teacher. When the teacher is wrong, such distillation can reinforce its errors, while teacher imitation provides no direct signal for improving beyond the teacher. We propose DEX-Comp, a two-stage training recipe that separates reliable imitation from targeted exploration. Pure Distillation learns only from teacher-correct questions to mitigate error propagation, while Hard Exploration applies outcome-based reinforcement learning to teacher-failed questions to directly optimize answer correctness. Across five open-domain QA benchmarks and retrieval depths from top-5 to top-30, DEX-Comp at 16× compression outperforms all evaluated compression baselines and surpasses the untuned full-context RAG model in average accuracy, while reducing time-to-first-token by 4.4×--23.7×. Evaluations across additional datasets and backbones further demonstrate its generalization.

Key facts. No citing papers in the map yet (data through 13 Oct 2026). Placed in Generation and context integration, one of 15 directions in Retrieval-augmented generation. Builds on 85 of its 104 references that are in the map. First posted on arXiv 4 Sep 2026.

Builds on

85 of 104 references.

Closest ancestors · 19

Same direction, newest first

  1. 2026XProvence: Zero-Cost Multilingual Context Pruning for Retrieval-Augmented Generation26 Jan
  2. 2026Rethinking Soft Compression in Retrieval-Augmented Generation: A Query-Conditioned Selector Perspective25 Jan
  3. 2025Enhancing RAG Efficiency with Adaptive Context Compression24 Jul
  4. 2025SARA: Selective and Adaptive Retrieval-augmented Generation with Context Compression8 Jul
  5. 2025OSCAR: Online Soft Compression And Reranking17 Mar
  6. 2025AttentionRAG: Attention-Guided Context Pruning in Retrieval-Augmented Generation13 Mar
  7. 2025From RAG to Memory: Non-Parametric Continual Learning for Large Language Models20 Feb
  8. 2025Provence: efficient and robust context pruning for retrieval-augmented generation27 Jan
  9. 2025PISCO: Pretty Simple Compression for Retrieval-Augmented Generation27 Jan
  10. 2024EXIT: Context-Aware Extractive Compression for Enhancing Retrieval-Augmented Generation17 Dec
  11. 2024Context Embeddings for Efficient Answer Generation in RAG12 Jul
  12. 2024CompAct: Compressing Retrieved Documents Actively for Question Answering12 Jul
7 more
  1. 2024xRAG: Extreme Context Compression for Retrieval-augmented Generation with One Token22 May
  2. 2023RA-DIT: Retrieval-Augmented Dual Instruction Tuning2 Oct
  3. 2023REPLUG: Retrieval-Augmented Black-Box Language Models30 Jan
  4. 2022When Not to Trust Language Models: Investigating Effectiveness of Parametric and Non-Parametric Memories20 Dec
  5. 2022Neural Machine Translation with Contrastive Translation Memories6 Dec
  6. 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks22 May
  7. 2020REALM: Retrieval-Augmented Language Model Pre-Training10 Feb

Other references · 66

  1. 2024DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Modelscited by 9,091
  2. 2020Dense Passage Retrieval for Open-Domain Question Answeringcited by 3,797
  3. 2018HotpotQA: A Dataset for Diverse, Explainable Multi-hop Question Answeringcited by 3,716
  4. 2023Mistral 7Bcited by 3,123
  5. 2017TriviaQA: A Large Scale Distantly Supervised Challenge Dataset for Reading Comprehensioncited by 2,925
  6. 2023Retrieval-Augmented Generation for Large Language Models: A Surveycited by 2,196
  7. 2023Self-RAG: Learning to Retrieve, Generate, and Critique through Self-Reflectioncited by 1,815
  8. 2018FEVER: a large-scale dataset for Fact Extraction and VERificationcited by 1,368
  9. 2021Improving language models by retrieving from trillions of tokenscited by 1,286
  10. 2021DeBERTaV3: Improving DeBERTa using ELECTRA-Style Pre-Training with Gradient-Disentangled Embedding Sharingcited by 1,239
  11. 2024SnapKV: LLM Knows What You are Looking for Before Generationcited by 856
  12. 2023LongLLMLingua: Accelerating and Enhancing LLMs in Long Context Scenarios via Prompt Compressioncited by 447
38 more
  1. 2023Learning to Compress Prompts with Gist Tokenscited by 382
  2. 2023RepoCoder: Repository-Level Code Completion Through Iterative Retrieval and Generationcited by 362
  3. 2023Adapting Language Models to Compress Contextscited by 351
  4. 2024LLMLingua-2: Data Distillation for Efficient and Faithful Task-Agnostic Prompt Compressioncited by 344
  5. 2024Benchmarking Retrieval-Augmented Generation for Medicinecited by 328
  6. 2023LLMLingua: Compressing Prompts for Accelerated Inference of Large Language Modelscited by 284
  7. 2022ASQA: Factoid Questions Meet Long-Form Answerscited by 231
  8. 2020Nearest Neighbor Machine Translationcited by 209
  9. 2022Recurrent Memory Transformercited by 199
  10. 2023In-context Autoencoder for Context Compression in a Large Language Modelcited by 194
  11. 2023Augmenting Language Models with Long-Term Memorycited by 188
  12. 2023Compressing Context to Enhance Inference Efficiency of Large Language Modelscited by 186
  13. 2023Lift Yourself Up: Retrieval-augmented Text Generation with Self Memorycited by 103
  14. 2024Long Context Compression with Activation Beaconcited by 101
  15. 2024InstructRAG: Instructing Retrieval-Augmented Generation via Self-Synthesized Rationalescited by 100
  16. 2022Prompt Compression and Contrastive Conditioning for Controllability and Toxicity Reduction in Language Modelscited by 96
  17. 2024Retrieval-Augmented Generation with Knowledge Graphs for Customer Service Question Answeringcited by 95
  18. 2024Long-Context Language Modeling with Parallel Context Encodingcited by 84
  19. 2023Learning to Filter Context for Retrieval-Augmented Generationcited by 83
  20. 2024SPLADE-v3: New baselines for SPLADEcited by 70
  21. 2024Prompt Compression for Large Language Models: A Surveycited by 66
  22. 2023Unlocking Context Constraints of LLMs: Enhancing Context Efficiency of LLMs with Self-Information-Based Content Filteringcited by 62
  23. 2024Palu: Compressing KV-Cache with Low-Rank Projectioncited by 59
  24. 2024Learning to Compress Prompt in Natural Language Formatscited by 54
  25. 2024Prompt Compression with Context-Aware Sentence Encoding for Fast and Improved LLM Inferencecited by 52
  26. 2024500xCompressor: Generalized Prompt Compression for Large Language Modelscited by 46
  27. 2022Nonparametric Masked Language Modelingcited by 40
  28. 2024Discovering the Gems in Early Layers: Accelerating Long-Context LLMs with 1000x Input Token Reductioncited by 39
  29. 2025DeepRAG: Thinking to Retrieve Step by Step for Large Language Modelscited by 37
  30. 2024BERGEN: A Benchmarking Library for Retrieval-Augmented Generationcited by 31
  31. 2025Cramming 1568 Tokens into a Single Vector and Back Again: Exploring the Limits of Embedding Space Capacitycited by 27
  32. 2023Dodo: Dynamic Contextual Compression for Decoder-only LMscited by 23
  33. 2024Perception Compressor: A Training-Free Prompt Compression Framework in Long Context Scenarioscited by 22
  34. 2026AgentOCR: Reimagining Agent History via Optical Self-Compressioncited by 22
  35. 2025DAST: Context-Aware Compression in LLMs via Dynamic Allocation of Soft Tokenscited by 21
  36. 2025GMSA: Enhancing Context Compression via Group Merging and Layer Semantic Alignmentcited by 20
  37. 2024LLoCO: Learning Long Contexts Offlinecited by 16
  38. 2025Hierarchical Document Refinement for Long-context Retrieval-augmented Generationcited by 16

50 most cited of 66 All 66 (JSON)

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2025Less Is More: Elevating RAG via Performance-Driven Context Compression
  2. 2026AdaMem: Adaptive Memory Token Allocation for Soft Compression in Retrieval-Augmented Generation
  3. 2026EnComp: Lightweight Encoder-Only Context Compression for Retrieval-Augmented Question Answering
  4. 2024Contextual Compression in Retrieval-Augmented Generation for Large Language Models: A Survey
  5. 2024AdaComp: Extractive Context Compression with Adaptive Predictor for Retrieval-Augmented Large Language Models
  6. 2026RAGOCR: Optical Compression of Retrieval-Augmented Text via Visual Representation
  7. 2025ACoRN: Noise-Robust Abstractive Compression in Retrieval-Augmented Language Models
  8. 2024Lighter And Better: Towards Flexible Context Adaptation For Retrieval Augmented Generation