atlas

Research map / Large language models / Retrieval and knowledge

RECOMP: Improving Retrieval-Augmented LMs with Context Compression and Selective Augmentation

ICLR 2024 · Large language models › Retrieval and knowledge · approach: Retrieval-augmented reasoning · 12 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 RECOMP, which compresses retrieved documents into short textual summaries (extractive or abstractive, with empty output for selective augmentation) before prepending them to frozen black-box LMs.

Problem

Retrieval-augmented LMs prepend long retrieved documents, which raises inference cost, makes LMs miss information, and lets irrelevant context confuse them.

Approach

Insert a trained compressor between retriever and frozen LM: an extractive dual-encoder selects useful sentences via contrastive learning on LM feedback, and an abstractive T5 is symbolically distilled from GPT-3.5 summaries filtered by end-task performance, with empty summaries enabling selective augmentation.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Replace one uncompressed document with the trained abstractive compressorGPT-2 on WikiText-103 · WikiText-103PPL: 32.90 -> 33.64No clear effect
Use trained abstractive compression instead of off-the-shelf T5GPT-2 on WikiText-103 · WikiText-103PPL: 37.80 -> 33.64Helped
Use trained extractive compression instead of Contriever sentence rankingLanguage modeling compressors · WikiText-103PPL: 35.54 -> 33.67; 18.98 -> 18.19; 11.05 -> 10.73Helped
Prepend top 5 documents instead of top 1 documentGPT-2 · WikiText-103PPL: 32.90 -> 35.53Hurt
Replace top 5 uncompressed documents with the trained abstractive compressorFlan-UL2 · NQ devEM: 39.39 -> 37.04Hurt
Replace top 5 uncompressed documents with the trained abstractive compressorFlan-UL2 · TriviaQA testEM: 62.37 -> 58.68Hurt
Replace top 5 uncompressed documents with the trained extractive compressorFlan-UL2 · HotpotQA dev sampleEM: 32.80 -> 30.40Hurt
Use trained abstractive compression instead of trained extractive compressionFlan-UL2 · NQ and TriviaQAEM: 36.57 -> 37.04; 58.99 -> 58.68Mixed
Use trained extractive compression instead of trained abstractive compressionFlan-UL2 · HotpotQA dev sampleEM: 28.20 -> 30.40Helped
Use selective augmentation instead of always prepending GPT-3.5 summariesLLaMA-13B · NQEM: 35.71 -> 45.60Helped
Use selective augmentation instead of always prepending GPT-3.5 summariesLLaMA-13B · TriviaQAEM: 67.89 -> 74.37Helped
Use selective augmentation instead of always prepending GPT-3.5 summariesLLaMA-13B · HotpotQAEM: 34.60 -> 41.40Helped

Surprising findings

Limitations

Experimental setup

Datasets: WikiText-103 Natural Questions TriviaQA HotpotQA Wikipedia dump Dec. 20, 2018

Benchmarks: WikiText-103 Natural Questions TriviaQA HotpotQA

Metrics: perplexity exact match F1 number of tokens prepended faithfulness (manual) comprehensiveness (manual)

Baselines: BoW Named Entities BM25 Contriever DPR Random T5 (large, 770M) GPT-3.5-turbo

Builds on: Contriever symbolic knowledge distillation T5 DPR Flan-UL2

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