A sufficient condition for correct retrieval
ProofIntermediate⏱ 30 minRAGretrievalthresholdcorpus sizedimension
Problem
Derive the sufficient condition for top-1 retrieval, and determine the embedding dimension needed to retrieve correctly from documents at with confidence. Comment on the honesty of this estimate.
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| Solved | Problem | Field | Type | Difficulty | Time |
|---|---|---|---|---|---|
| Three similarities agree on the unit sphere | RAG | Proof | 15 min | ||
| Johnson–Lindenstrauss dimension arithmetic | High-Dim Probability | Numerical | 15 min | ||
| Simulate distance contrast run | Classical ML | Coding | 30 min | ||
| Measure anisotropy in an embedding space run | RAG | Coding | 1 hour | ||
| The density of the cosine between random directions | RAG | Proof | 1 hour |