Skip to content
nonconvexcard

RAG-sequence and RAG-token are different models

ProofIntermediate⏱ 30 minRAGragmarginalisationmixtureattribution

Problem

Show that a mixture of products differs from a product of mixtures by an explicit example, and explain the consequence for multi-hop questions and for attribution.

Write a complete argument. Every inequality you use should be one you could state precisely.

Solution

Opening this before you have a real attempt on paper is the fastest way to feel like you understand something you cannot reproduce.

Related problems

All problems
SolvedProblemFieldTypeDifficultyTime
End-to-end recall arithmetic for a RAG systemRAGNumericalBeginner15 min
Build and instrument a minimal RAG pipeline runRAGCodingAdvanced1 day
The RAG evidence lower boundRAGProofAdvanced30 min
Retrieval error propagates into generation abyssRAGProofGraduate1 hour