Diversity leads to better answers. Avoiding the echo chamber.
User asks: "Tell me about the iPhone 15 camera."
Similarity Search (k=4) returns:
The LLM gets 4 versions of the same sentence. It misses info about "Night Mode," "Zoom," or "Video." This is Redundancy Collapse.
MMR tries to maximize Relevance (Similarity) while punishing Redundancy (Similarity to already selected docs).
Algorithm intuition:
MMR (k=4) returns:
If your RAG answers feel repetitive or shallow, switch to MMR. It forces the retriever to explore the "Concept Space" rather than getting stuck in one corner.
Key Intuition: "Don't tell me the same thing 5 times."