179 questions
No questions match those filters.
What is RAG Fusion, and how does multi-query retrieval...
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 plansA user’s exact phrasing is one sample from many equally valid ways to ask the same question, and a single-query retrieval only searches with that one sample. RAG Fusion works around this by having the LLM generate several alternative phrasings up front — different word choices, different levels of specificity — and running retrieval against all of them in parallel rather than just the original query.
The results then get merged with Reciprocal Rank Fusion, the same rank-based combination technique used in hybrid search: documents that appear across multiple query variants’ result lists get boosted relative to ones that only one variant happened to surface. That cross-variant agreement is a genuinely useful relevance signal on its own.
The cost is roughly linear in the number of variants — N query phrasings means N times the retrieval and embedding calls before fusion even happens. Three to five variants tends to be the practical range: enough to meaningfully improve recall on ambiguously-phrased queries without letting latency and cost scale out of proportion to the benefit.