atlas

Research map / Large language models / Retrieval and knowledge

InstructRetro: Instruction Tuning post Retrieval-Augmented Pretraining

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

Scales retrieval-augmented pretraining (Retro) to a 48B GPT-based model via continued pretraining on 100B tokens over a 1.2T-token retrieval database, then instruction-tunes it (InstructRetro) and shows zero-shot gains over an instruction-tuned GPT with RAG.

Problem

Pretrained retrieval-augmented LLMs have been small (around 10B parameters, e.g., Retro 7.5B), which limits the effectiveness of instruction tuning and zero-shot generalization.

Approach

Continue pretraining a 43B GPT with Retro-style retrieval (unfreezing all decoder parameters, retrieving from 1.2T tokens), then instruction-tune with the retrieval encoder gated off, so the resulting decoder can be used alone as a GPT-style model.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Continue GPT pretraining with retrieval, then instruction-tuneInstructRetro 43B vs InstructGPT 43B · Short-form QA and reading comprehension (8 tasks)relative improvement: 7%Helped
Continue GPT pretraining with retrieval, then instruction-tuneInstructRetro 43B vs InstructGPT 43B · Long-form QA (4 tasks)relative improvement: 10%Helped
Continue GPT pretraining with retrieval, then instruction-tuneInstructRetro 43B vs InstructGPT 43B · Summarization (3 tasks)ROUGE score improvement: 16%Helped
Remove the Retro encoder during evaluation (ablation)InstructRetro · Short-form QA and reading comprehensiontask scoresNo clear effect
Remove the Retro encoder during evaluation (ablation)InstructRetro · Long-form QAF1No clear effect
Unfreeze the Retro decoder during retrieval-augmented continued pretraining (ablation)Retro-fitting · Held-out validation setperplexityHelped
Increase the number of Retro encoder layers (ablation)Retro · Held-out validation setperplexityNo clear effect
Apply instruction tuning to retrieval-augmented pretrained Retro (ablation)Retro · Natural QuestionsEMHelped
Apply instruction tuning to pretrained GPT (ablation)GPT · Natural QuestionsEMHelped
Apply product quantization instead of flat encoding (ablation)Faiss retrieval index · Full pretraining corpus and Wikipedia corpusquery speedHelped
Increase the nearest-neighbor count K (ablation)Faiss retrieval index · Full pretraining corpus and Wikipedia corpusquery speedNo clear effect
Use efSearch=16, nprobe=4096 instead of efSearch=32, nprobe=4096 (ablation)Faiss retrieval index · Pretraining corpus retrievalrecall accuracy at K=2000: 0.93 to 0.88Hurt

Surprising findings

Limitations

Experimental setup

Datasets: Pretraining corpus of 1.2T English tokens SODA ELI5 Self-Instruct Unnatural Instructions FLAN Chain-of-thought datasets OpenAssistant Dolly NQ TriviaQA NewsQA

Benchmarks: NQ TriviaQA NewsQA SQuAD 2.0 SQuAD 1.1 Quoref NarrativeQA DROP doc2dial QMSum SummScreenFD GovReport

Metrics: exact match F1 ROUGE perplexity MT-Bench score

Baselines: GPT-3 175B PaLM 2-L GLaM 64B FLAN-LaMDA 137B Llama 2 RAG 70B Retro 7.5B Retro++ 9B Atlas 11B Raven 11B RA-DIT 65B InstructGPT-43B (GPT-fitting + SFT + RAG)

Builds on: Retro Retro-fitting Faiss DRAGON+

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