atlas

Research map / Large language models / Retrieval and knowledge

BTR: Binary Token Representations for Efficient Retrieval Augmented Language Models

ICLR 2024 · Large language models › Retrieval and knowledge · approach: Retrieval-augmented reasoning · 1 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.

Introduces BTR, which precomputes 1-bit calibrated binary token representations of passages in the FiD reader, plus distillation and recovery losses and token merging, cutting storage ~100x and speeding reader inference 2-4x while keeping over 95% of Atlas performance.

Problem

Retrieval-augmented LM readers are slow because they cross-attend over many retrieved passages at inference; prior precomputation methods (DeFormer, LUMEN) need terabytes of storage for Wikipedia-scale corpora.

Approach

Binarize passage token representations at an intermediate encoder layer after layernorm (calibrated binarization with saved variance to recover scale), train with straight-through estimation, and recover accuracy via passage representation recovery and query-aware passage token distillation; add offline and runtime token merging to cut storage and compute.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Add binary passage representations and BTR compression to Atlas baseAtlas base · NQ, TriviaQA, WebQuestions, FEVER, MMLUinference speedup: 3.1; 2.5; 2.6; 3.1; 2.6Helped
Add binary passage representations and BTR compression to Atlas largeAtlas large · NQ, TriviaQA, WebQuestions, FEVER, MMLUinference speedup: 4.0; 3.9; 3.6; 4.1; 2.5Helped
Add binary passage representations and BTR compression to Atlas baseAtlas base · NQ, TriviaQA, WebQuestions, FEVER, MMLUtask score: 52.1 -> 49.5; 69.3 -> 66.7; 46.4 -> 43.8; 72.9 -> 70.2; 38.6 -> 35.4Hurt
Add binary passage representations to BTR-Atlas base (ablation)BTR-Atlas base · NQstorage: 12,804 -> 127Helped
Add binary passage representations to BTR-Atlas base (ablation)BTR-Atlas base · NQaccuracy: 50.8 -> 49.5Hurt
Add offline token compression to BTR-Atlas base (ablation)BTR-Atlas base · NQstorage: 159 -> 127Helped
Add offline token compression to BTR-Atlas base (ablation)BTR-Atlas base · NQaccuracy: 49.8 -> 49.5Hurt
Add runtime intra-passage compression to BTR-Atlas base (ablation)BTR-Atlas base · NQthroughput: 28.1 -> 31.5Helped
Add runtime cross-passage compression to BTR-Atlas base (ablation)BTR-Atlas base · NQthroughput: 24.6 -> 31.5Helped
Add passage representation recovery loss (ablation)BTR-Atlas base · NQaccuracy: 47.4 -> 49.5Helped
Add query-aware passage token distillation (ablation)BTR-Atlas base · NQaccuracy: 48.2 -> 49.5Helped
Increase offline token compression ratio (ablation)BTR-Atlas base · NQstorage: 151; 143; 135; 127; 119; 111; 103; 95; 87; 80Helped

Surprising findings

Limitations

Experimental setup

Datasets: NaturalQuestions TriviaQA WebQuestions FEVER MMLU Wikipedia dump (Dec 2018)

Benchmarks: NaturalQuestions TriviaQA WebQuestions FEVER MMLU

Metrics: exact match accuracy queries per second speedup storage (GB)

Baselines: Atlas Atlas-Q DeFormer DensePhrase LLaMA2-7B

Builds on: Atlas Fusion-in-Decoder DeFormer DensePhrase DPR

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