Context Embeddings for Efficient Answer Generation in Retrieval-Augmented Generation

<i>Retrieval-Augmented Generation (RAG)</i> 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 slowing down decoding time affecting the time a user has to wait for an answer. We address this challenge by presenting <i>COCOM,</i> an effective context compression method, reducing long contexts to only a handful of <i>Context Embeddings,</i> 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, <i>COCOM</i> allows for handling multiple contexts more effectively, significantly reducing decoding time for long inputs. Our method demonstrates an inference speed-up of up to 5.69 times while achieving higher performance compared to existing efficient context compression methods

Authors

Institutions

Publication Details

Published
2025-02-26
DOI
https://doi.org/10.1145/3701551.3703527
Citations
9
Primary Topic
Topic Modeling
Type
article
Field-Weighted Citation Impact
22.33
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Context Embeddings for Efficient Answer Generation in Retrieval-Augmented Generation

Stéphane Clinchant, Jaap Kamps, David Rau, Hervé Déjean et al.
9 citations
Topic Modeling
22.33
article

Context Embeddings for Efficient Answer Generation in Retrieval-Augmented Generation

Stéphane Clinchant, Jaap Kamps, David Rau, Hervé Déjean, Shuai Wang
article en
9 citations

Abstract

<i>Retrieval-Augmented Generation (RAG)</i> 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 slowing down decoding time affecting the time a user has to wait for an answer. We address this challenge by presenting <i>COCOM,</i> an effective context compression method, reducing long contexts to only a handful of <i>Context Embeddings,</i> 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, <i>COCOM</i> allows for handling multiple contexts more effectively, significantly reducing decoding time for long inputs. Our method demonstrates an inference speed-up of up to 5.69 times while achieving higher performance compared to existing efficient context compression methods

The University of Queensland (AU), Amsterdam University of the Arts (NL), University of Amsterdam (NL)
Openalex Percentile: Top 1%
Topic Modeling
22.33
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.