Context Embeddings for Efficient Answer Generation in RAG
On the map: Retrieval-augmented generation → Generation and context integration
also in 1 more
Abstract (arXiv)
Retrieval-Augmented Generation (RAG) allows overcoming the limited knowledge of LLMs by extending the input with external information. As a consequence, the contextual inputs to the model become much longer which slows down decoding time directly translating to the time a user has to wait for an answer. We address this challenge by presenting COCOM, an effective context compression method, reducing long contexts to only a handful of Context Embeddings speeding up the generation time by a large margin. Our method allows for different compression rates trading off decoding time for answer quality. Compared to earlier methods, COCOM allows for handling multiple contexts more effectively, significantly reducing decoding time for long inputs. Our method demonstrates a speed-up of up to 5.69 × while achieving higher performance compared to existing efficient context compression methods.
Key facts. Cited by 26 papers in the map (data through 7 Oct 2026). Placed in Generation and context integration, one of 15 directions in Retrieval-augmented generation. Builds on 21 of its 36 references that are in the map. First posted on arXiv 12 Jul 2024.
Builds on
21 of 36 references.
Closest ancestors · 5
Same direction, newest first
- 2024Accelerating Inference of Retrieval-Augmented Generation via Sparse Context Selection25 May
- 2024xRAG: Extreme Context Compression for Retrieval-augmented Generation with One Token22 May
- 2024Reliable, Adaptable, and Attributable Language Models with Retrieval5 Mar
- 2023RECOMP: Improving Retrieval-Augmented LMs with Compression and Selective Augmentation6 Oct
- 2022Atlas: Few-shot Learning with Retrieval Augmented Language Models5 Aug
Other references · 16
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
- 2016SQuAD: 100,000+ Questions for Machine Comprehension of Textcited by 4,115
- 2023Lost in the Middle: How Language Models Use Long Contextscited by 3,383
- 2021DeBERTaV3: Improving DeBERTa using ELECTRA-Style Pre-Training with Gradient-Disentangled Embedding Sharingcited by 1,219
- 2020Leveraging Passage Retrieval with Generative Models for Open Domain Question Answeringcited by 1,203
- 2024The FineWeb Datasets: Decanting the Web for the Finest Text Data at Scalecited by 1,104
- 2017Crowdsourcing Multiple Choice Science Questionscited by 742
- 2020KILT: a Benchmark for Knowledge Intensive Language Taskscited by 571
- 2023Adapting Language Models to Compress Contextscited by 350
- 2024The Power of Noise: Redefining Retrieval for RAG Systemscited by 275
- 2024Generative Representational Instruction Tuningcited by 227
- 2024SPLADE-v3: New baselines for SPLADEcited by 69
4 more
- 2023Unlocking Context Constraints of LLMs: Enhancing Context Efficiency of LLMs with Self-Information-Based Content Filteringcited by 62
- 2024BERGEN: A Benchmarking Library for Retrieval-Augmented Generationcited by 31
- 2024RAGGED: Towards Informed Design of Scalable and Stable RAG Systemscited by 24
- 2024LLoCO: Learning Long Contexts Offlinecited by 16
Built on by
Citing papers per year: 2024: 4; 2025: 11; 2026: 11.
26 papers.
Sort:
By area:
- 2024Prompt Compression for Large Language Models: A Surveycited by 65
- 2024500xCompressor: Generalized Prompt Compression for Large Language Modelscited by 45
- 2025Ask in Any Modality: A Comprehensive Survey on Multimodal Retrieval-Augmented Generationcited by 42
- 2025A Survey of Multimodal Retrieval-Augmented Generationcited by 37
- 2025Provence: efficient and robust context pruning for retrieval-augmented generationcited by 25
- 2024Perception Compressor: A Training-Free Prompt Compression Framework in Long Context Scenarioscited by 22
- 2025PISCO: Pretty Simple Compression for Retrieval-Augmented Generationcited by 20
- 2024E2LLM: Encoder Elongated Large Language Models for Long-Context Understanding and Reasoningcited by 13
- 2026COMI: Coarse-to-fine Context Compression via Marginal Information Gaincited by 13
- 2026Read As Human: Compressing Context via Parallelizable Close Reading and Skimmingcited by 10
- 2025Enhancing RAG Efficiency with Adaptive Context Compressioncited by 7
- 2025OSCAR: Online Soft Compression And Rerankingcited by 4
14 more
- 2025A Survey of LLM × DATAcited by 4
- 2026Rethinking Soft Compression in Retrieval-Augmented Generation: A Query-Conditioned Selector Perspectivecited by 4
- 2025On The Role of Pretrained Language Models in General-Purpose Text Embeddings: A Surveycited by 3
- 2025Less Is More: Elevating RAG via Performance-Driven Context Compressioncited by 2
- 2026Decoupled Reasoning with Implicit Fact Tokens (DRIFT): A Dual-Model Framework for Efficient Long-Context Inferencecited by 1
- 2025WindVE: Collaborative CPU-NPU Vector Embeddingcited by 0
- 2025Osiris: A Lightweight Open-Source Hallucination Detection Systemcited by 0
- 2026RegGuard: AI-Powered Retrieval-Enhanced Assistant for Pharmaceutical Regulatory Compliancecited by 0
- 2026The Virtuous Cycle: AI-Powered Vector Search and Vector Search-Augmented AIcited by 0
- 2026A Unified Model and Document Representation for On-Device Retrieval-Augmented Generationcited by 0
- 2026LeakDojo: Decoding the Leakage Threats of RAG Systemscited by 0
- 2026Benchmarking Google Embeddings 2 against Open-Source Models for Multilingual Dense Retrieval and RAG Systemscited by 0
- 2026Compression Beyond the Uncompressed: A Two-Stage Training Recipe for Soft Context Compression in RAGcited by 0
- 2026Beyond Raw Context Transfer: Representation-based Federated Retrieval-Augmented Generationcited by 0
- 2026Compression Beyond the Uncompressed: A Two-Stage Training Recipe for Soft Context Compression in RAG4 Sep 2026
- 2026Beyond Raw Context Transfer: Representation-based Federated Retrieval-Augmented Generation26 Aug 2026
- 2026Benchmarking Google Embeddings 2 against Open-Source Models for Multilingual Dense Retrieval and RAG Systems22 May 2026
- 2026LeakDojo: Decoding the Leakage Threats of RAG Systems7 May 2026
- 2026A Unified Model and Document Representation for On-Device Retrieval-Augmented Generation15 Apr 2026
- 2026The Virtuous Cycle: AI-Powered Vector Search and Vector Search-Augmented AI10 Mar 2026
- 2026Decoupled Reasoning with Implicit Fact Tokens (DRIFT): A Dual-Model Framework for Efficient Long-Context Inference10 Feb 2026
- 2026Read As Human: Compressing Context via Parallelizable Close Reading and Skimming2 Feb 2026
- 2026COMI: Coarse-to-fine Context Compression via Marginal Information Gain2 Feb 2026
- 2026Rethinking Soft Compression in Retrieval-Augmented Generation: A Query-Conditioned Selector Perspective25 Jan 2026
- 2026RegGuard: AI-Powered Retrieval-Enhanced Assistant for Pharmaceutical Regulatory Compliance25 Jan 2026
- 2025Less Is More: Elevating RAG via Performance-Driven Context Compression24 Aug 2025
14 more
- 2025On The Role of Pretrained Language Models in General-Purpose Text Embeddings: A Survey28 Jul 2025
- 2025Enhancing RAG Efficiency with Adaptive Context Compression24 Jul 2025
- 2025A Survey of LLM × DATA24 May 2025
- 2025Osiris: A Lightweight Open-Source Hallucination Detection System7 May 2025
- 2025WindVE: Collaborative CPU-NPU Vector Embedding21 Apr 2025
- 2025A Survey of Multimodal Retrieval-Augmented Generation26 Mar 2025
- 2025OSCAR: Online Soft Compression And Reranking17 Mar 2025
- 2025Ask in Any Modality: A Comprehensive Survey on Multimodal Retrieval-Augmented Generation12 Feb 2025
- 2025Provence: efficient and robust context pruning for retrieval-augmented generation27 Jan 2025
- 2025PISCO: Pretty Simple Compression for Retrieval-Augmented Generation27 Jan 2025
- 2024Prompt Compression for Large Language Models: A Survey16 Oct 2024
- 2024Perception Compressor: A Training-Free Prompt Compression Framework in Long Context Scenarios28 Sep 2024
- 2024E2LLM: Encoder Elongated Large Language Models for Long-Context Understanding and Reasoning10 Sep 2024
- 2024500xCompressor: Generalized Prompt Compression for Large Language Models6 Aug 2024
- 2025Ask in Any Modality: A Comprehensive Survey on Multimodal Retrieval-Augmented Generationcited by 42
- 2025A Survey of Multimodal Retrieval-Augmented Generationcited by 37
- 2025Provence: efficient and robust context pruning for retrieval-augmented generationcited by 25
- 2025PISCO: Pretty Simple Compression for Retrieval-Augmented Generationcited by 20
- 2025Enhancing RAG Efficiency with Adaptive Context Compressioncited by 7
- 2025OSCAR: Online Soft Compression And Rerankingcited by 4
- 2025A Survey of LLM × DATAcited by 4
- 2025Less Is More: Elevating RAG via Performance-Driven Context Compressioncited by 2
- 2025WindVE: Collaborative CPU-NPU Vector Embeddingcited by 0
- 2025Osiris: A Lightweight Open-Source Hallucination Detection Systemcited by 0
- 2026The Virtuous Cycle: AI-Powered Vector Search and Vector Search-Augmented AIcited by 0
- 2026A Unified Model and Document Representation for On-Device Retrieval-Augmented Generationcited by 0
12 most cited of 15 All 15 (JSON)
- 2026Compression Beyond the Uncompressed: A Two-Stage Training Recipe for Soft Context Compression in RAG4 Sep 2026
- 2026Benchmarking Google Embeddings 2 against Open-Source Models for Multilingual Dense Retrieval and RAG Systems22 May 2026
- 2026LeakDojo: Decoding the Leakage Threats of RAG Systems7 May 2026
- 2026A Unified Model and Document Representation for On-Device Retrieval-Augmented Generation15 Apr 2026
- 2026The Virtuous Cycle: AI-Powered Vector Search and Vector Search-Augmented AI10 Mar 2026
- 2025Less Is More: Elevating RAG via Performance-Driven Context Compression24 Aug 2025
- 2025Enhancing RAG Efficiency with Adaptive Context Compression24 Jul 2025
- 2025A Survey of LLM × DATA24 May 2025
- 2025Osiris: A Lightweight Open-Source Hallucination Detection System7 May 2025
- 2025WindVE: Collaborative CPU-NPU Vector Embedding21 Apr 2025
- 2025A Survey of Multimodal Retrieval-Augmented Generation26 Mar 2025
- 2025OSCAR: Online Soft Compression And Reranking17 Mar 2025
12 newest of 15 All 15 (JSON)
- 2024Prompt Compression for Large Language Models: A Surveycited by 65
- 2024500xCompressor: Generalized Prompt Compression for Large Language Modelscited by 45
- 2024Perception Compressor: A Training-Free Prompt Compression Framework in Long Context Scenarioscited by 22
- 2026COMI: Coarse-to-fine Context Compression via Marginal Information Gaincited by 13
- 2026COMI: Coarse-to-fine Context Compression via Marginal Information Gain2 Feb 2026
- 2024Prompt Compression for Large Language Models: A Survey16 Oct 2024
- 2024Perception Compressor: A Training-Free Prompt Compression Framework in Long Context Scenarios28 Sep 2024
- 2024500xCompressor: Generalized Prompt Compression for Large Language Models6 Aug 2024
- 2024E2LLM: Encoder Elongated Large Language Models for Long-Context Understanding and Reasoningcited by 13
- 2026Rethinking Soft Compression in Retrieval-Augmented Generation: A Query-Conditioned Selector Perspectivecited by 4
- 2026Decoupled Reasoning with Implicit Fact Tokens (DRIFT): A Dual-Model Framework for Efficient Long-Context Inferencecited by 1
- 2026Decoupled Reasoning with Implicit Fact Tokens (DRIFT): A Dual-Model Framework for Efficient Long-Context Inference10 Feb 2026
- 2026Rethinking Soft Compression in Retrieval-Augmented Generation: A Query-Conditioned Selector Perspective25 Jan 2026
- 2024E2LLM: Encoder Elongated Large Language Models for Long-Context Understanding and Reasoning10 Sep 2024
- 2026Read As Human: Compressing Context via Parallelizable Close Reading and Skimming2 Feb 2026
- 2026RegGuard: AI-Powered Retrieval-Enhanced Assistant for Pharmaceutical Regulatory Compliance25 Jan 2026
- 2025On The Role of Pretrained Language Models in General-Purpose Text Embeddings: A Survey28 Jul 2025
Similar, not cited
Close in wording, no citation either way
- 2024In Defense of RAG in the Era of Long-Context Language Models
- 2024Contextual Compression in Retrieval-Augmented Generation for Large Language Models: A Survey
- 2024Lighter And Better: Towards Flexible Context Adaptation For Retrieval Augmented Generation
- 2024Introducing a new hyper-parameter for RAG: Context Window Utilization
- 2024Context Awareness Gate For Retrieval Augmented Generation
- 2025REFRAG: Rethinking RAG based Decoding
- 2025Dynamic Context Selection for Retrieval-Augmented Generation: Mitigating Distractors and Positional Bias
- 2025On the Influence of Context Size and Model Choice in Retrieval-Augmented Generation Systems