179 questions
No questions match those filters.
← All questions
RAGVery Hard· PRP· MMR· Diversity· RAG
A colleague argues that since the Probability Ranking P...
This is one of the questions in the full AI/ML interview bank. Pro unlocks all 1789 questions; Premium includes the same bank plus the highest daily Practice limit.
See plansThe PRP is optimal only if each document’s relevance is assessed independently. In RAG, an LLM reads k chunks jointly, meaning a second chunk containing the same information has near-zero marginal utility. Therefore, the object being optimized is a set rather than a ranking. Maximal Marginal Relevance (MMR) addresses this gap. Diversity becomes increasingly important as k shrinks, making it a critical component rather than a hack.