Domain RAG is an open-book exam with decoys everywhere. RAFT fine-tunes on questions where some retrieved documents are distractors — so the model learns to study the right pages and show its work.
Fine-tuning and RAG were treated as alternatives; RAFT merged them for domain adaptation.
If deployment means 'answer from K retrieved documents, some irrelevant,' then training should look exactly like that. RAFT constructs finetuning examples where the context contains the oracle document plus distractors, and the target answer is a chain-of-thought that quotes the correct chunk first. The model learns three skills jointly: identify the supporting document, ignore the noise, and reason aloud from the evidence.
The two half-solutions that RAFT fused.
A student who only studies clean notes (fine-tuning) is lost the day the exam binder has 20 shuffled pages, 17 of them wrong. RAFT is the tutor who deliberately mixes decoys into the practice binder — and grades the answer only if the student cites the correct page and reasons from it. Exam day holds no surprises.
Three design choices that define RAFT — each one mapping to a deployment skill.
Domain fine-tuning alone answers from stale weights; general RAG prompting reads whatever arrives. RAFT trains the exact composite skill — selective reading under retrieval noise — and the paper shows it outperforms both in the open-book setting across domain benchmarks (with a smaller model often beating a larger general one). The chunk-citation CoT is not cosmetic: forcing the model to name its evidence source first measurably improves the reasoning that follows, the same discipline process supervision (entry #45) brings to math.
What 'open-book domain QA' means and how RAFT measures progress.
The broader lesson for practitioners: retrieval conditions are part of the training data contract — simulate deployment noise in fine-tuning or your RAG stack ships brittle.
Fine-tuning FOR retrieval beats fine-tuning OR retrieval.
RAFT's principle now echoes through every serious domain-RAG build.
Check your understanding of the key concepts from RAFT.
Everything you need to remember about this paper.