← Back to AI Systems Engineer Mind Map
中文·English
🚀 AI Systems EngineerID: aie-hybrid-search-rrf-dense-sparse

Hybrid Search (BM25 + Dense) & RRF

BM25+向量混合检索与 RRF 融合
🎯Core Definition
Hybrid Search (Sparse BM25/SPLADE + Dense Vector) combined with Reciprocal Rank Fusion (RRF) is the industry standard retrieval architecture balancing exact keyword precision with deep semantic generalization; pure dense embeddings struggle with out-of-vocabulary exact tokens (error codes, product SKUs, acronyms), while pure BM25 fails under synonyms and conceptual queries; Hybrid Search executes dual-channel parallel retrieval: querying BM25 inverted indices and HNSW dense vector databases concurrently, then fusing their disjoint result sets via rank-based Reciprocal Rank Fusion: RRF_Score(d)=∑m∈M1k+rm(d)\text{RRF\_Score}(d) = \sum_{m \in M} \frac{1}{k + r_m(d)} (with smoothing constant k=60k=60), effortlessly normalizing heterogeneous score scales without manual weight calibration.
💡Use Cases
Enterprise document Q&A, e-commerce catalog search, and customer ticket troubleshooting.
⚡Key Problems Solved
Pure vector search misses exact SKU identifiers while pure BM25 fails colloquial queries; hybrid RRF boosts Recall@K by 20%-35% across diverse query distributions.
🎯Core Interview Exam Points
Fundamentals · Production Scenarios · Deep Dive
Core Def
Explain the core definition, underlying mechanism/math, and key principles of Hybrid Search (BM25 + Dense) & RRF.
Use Cases
In production engineering, what are the primary use cases for Hybrid Search (BM25 + Dense) & RRF and what core pain points does it solve?
🔥 High-Frequency Deep-Dive Questions
1
Derive the RRF formula and explain why rank-based reciprocal aggregation is more robust than linear score weighting against uncalibrated scores?
2
How does SPLADE predict vocabulary-level sparse weights to achieve automated term expansion over static BM25?
3
How do modern vector databases (Qdrant/Milvus) orchestrate single-query hybrid search across sparse and dense indices natively?
4
Design a Query Intent Classifier that dynamically modulates the ratio between sparse and dense retrieval channels?
5
How to orchestrate concurrent async hybrid queries with strict 15ms latency budgets to satisfy end-to-end SLAs?
Updated 2026-08-14
🎯
Test Your Knowledge: Practice Questions for "Hybrid Search (BM25 + Dense) & RRF"
Single choice pitfall questions with instant feedback and mistake tracking.
🚀 Start Card Practice ➔
← Previous CardParent-Child & Sentence-Window ChunkingNext Card →Cross-Encoder Re-rank & ColBERT

🔗 More AI Systems Engineer Knowledge Cards

AIE vs MLE Competency ModelPrompt Chains & Jailbreak DefenseStructured Output & Constrained DecodingEval Benchmarks: RAGAS & SWE-bench