🚀NEW COURSEVibe Coding AI Apps with Claude Code 🤖✨Enroll now
Retrieval · Training

RAFT: Retrieval-Augmented Fine-Tuning

Free while signed in. Answers cite the passages they came from.

First page
RAFT: Retrieval-Augmented Fine-Tuning
The curator’s take

RAFT is a fine-tuning recipe that teaches LLMs to handle distractor documents during RAG and to answer with CoT-style citations to retrieved passages.

Key points
01

Distractor-aware training: Each training example mixes relevant documents with distractors, forcing the model to learn to ignore irrelevant retrieved content rather than averaging over it.

02

CoT + citations: Responses are trained to walk through chain-of-thought reasoning while verbatim-quoting the supporting passages, improving both accuracy and transparency.

03

Domain-specific RAG: Evaluated on PubMed, HotpotQA, and Gorilla (API-calling), RAFT consistently improves open-book in-domain QA over both plain fine-tuning and plain RAG baselines.

04

Practical recipe: Positions RAFT as a post-training step that upgrades a pretrained LLM for production-grade RAG without needing a new architecture.

Every Monday
Get next week’s papers.

The same picks and the same summaries, in your inbox. Free, and 176 issues deep.

Subscribe on Substack