Dense Retrieval
Dense retrieval encodes queries and documents into vectors with an embedding model, then finds nearest neighbors—usually via ANN indexes. Dual-encoders keep document embeddings offline so online work is one query encode + search.
Why it matters
- Captures paraphrase and semantic match that BM25/sparse misses
- Core first stage in many RAG pipelines
- Quality hinges on embedding model, negatives, and chunking
Relation to sparse retrieval
Sparse methods win on exact tokens and rare IDs; dense wins on meaning. Hybrid + rerank is often best. Failures look like “wrong neighbors”: fix the encoder, chunks, or metric before blaming the LLM generator.