atlas

Research map / Vision-language and multimodal / Human and embodied modeling

xRAG: Extreme Context Compression for Retrieval-augmented Generation with One Token

NeurIPS 2024 · Vision-language and multimodal › Human and embodied modeling · approach: Multimodal retrieval-augmented modeling · 18 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes xRAG, which compresses a retrieved document into one token by projecting its dense retrieval embedding into a frozen LLM's space via a trained MLP bridge, using paraphrase pretraining and self-distilled instruction tuning.

Problem

Retrieval-augmented generation inflates LLM inputs with full documents, raising inference cost; existing context compression methods either need large memory for stored activations, require tuning, or achieve low compression rates.

Approach

Treat the document embedding from the dense retriever as a retrieval-modality feature and fuse it into the LLM via a two-layer MLP projector (the only trainable part), trained with paraphrase pretraining and context-aware instruction tuning with KL self-distillation from the uncompressed RAG teacher, so that a single token replaces the document.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
replace uncompressed retrieved documents with one xRAG tokenMistral-7b RAG · Six-task averageperformance: 43.63 -> 42.46Hurt
replace uncompressed retrieved documents with one xRAG tokenMixtral-8x7b RAG · Six-task averageperformance: 46.22 -> 46.91Helped
remove instruction-tuning finetuning (ablation)xRAG · Four-task average, Mistral-7bperformance: 44.58 -> 37.87Hurt
remove paraphrase pretraining (ablation)xRAG · Four-task average, Mistral-7bperformance: 44.58 -> 38.95Hurt
add NLL objective (ablation)xRAG · Four-task average, Mistral-7bperformance: 43.02 -> 44.58Helped
add self-distillation (ablation)xRAG · Four-task average, Mistral-7bperformance: 41.49 -> 44.58Helped
replace full xRAG training with LoRA instruction tuning (ablation)Mistral-7b · Four-task averageperformance: 44.58 -> 39.80Hurt
remove paraphrase pretraining (ablation)xRAG · Four-task average, Mixtral-8x7bperformance: 51.45 -> 48.09Helped
add instruction-tuning finetuning (ablation)xRAG · Four-task average, Mixtral-8x7bperformance: 40.96 -> 51.45Helped
add NLL objective (ablation)xRAG · Four-task average, Mixtral-8x7bperformance: 50.02 -> 51.45Helped
add self-distillation (ablation)xRAG · Four-task average, Mixtral-8x7bperformance: 47.94 -> 51.45Helped
replace the full data blend with reading-comprehension data only (ablation)xRAG · Four-task average, Mistral-7bperformance: 44.58 -> 44.24Hurt

Surprising findings

Limitations

Experimental setup

Datasets: Wikipedia Dec 2021 (37M passages) NQ TriviaQA CoQA DROP NarrativeQA PubMedQA QuAIL SQuAD v2 PwC CNN/DM SamSum

Benchmarks: Natural Questions TriviaQA WebQuestions HotpotQA TruthfulQA FactKG

Metrics: exact match accuracy F1 Rouge-L GFLOPs CUDA time resilience rate boost rate

Baselines: LLMLingua TF-IDF compression RAG without compression no-retrieval LLM

Builds on: LLaVA-style modality bridge Gist LLMLingua FLAN templates

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy