# Dense Retrieval

- **Canonical URL:** https://getaimath.com/dictionary/dense-retrieval/
- **Topics:** [Context, Memory & Retrieval](https://getaimath.com/dictionary/category/context-memory-and-retrieval/)
- **Last updated:** 2026-11-25

## What is Dense Retrieval?

**In one sentence:** Dense retrieval finds documents by comparing embeddings, where every number in the vector has a value.

It captures meaning, so it can find relevant documents even when they use different words. It is the "semantic" half of hybrid search.

![Context Window vs. Memory: Your Desk vs. The Filing Cabinet — Simple cartoon comparing the AI Context Window (a small desk that can only fit a few pages right now) with External Memory & Search (a big filing cabinet where a librarian grabs just the 3 pages you need).](https://getaimath.com/diagrams/context-memory-and-retrieval.png)
*Napkin Diagram (Context, Memory & Retrieval): The context window is the small desk the AI can see right now; search grabs the right pages from the filing cabinet.*

## What is an example of Dense Retrieval?

A search for "cheap way to heat a house" finds an article titled "low-cost home warming tips."

## Why does Dense Retrieval matter?

Dense retrieval makes search understand meaning, not just words.

## Dense Retrieval vs. Sparse Retrieval

Dense retrieval matches meaning using neural embedding vectors, while sparse retrieval (like BM25) matches exact words and rare identifiers—which is why Hybrid Search combines both.

| Dimension | Dense Retrieval | [Sparse Retrieval](https://getaimath.com/dictionary/sparse-retrieval/) |
| --- | --- | --- |
| Matches on | Conceptual meaning and synonyms | Exact keywords, error codes, SKUs, names |
| Representation | Compact float vector (e.g., 768–1,536 dims) | Sparse word-weight index (BM25 / SPLADE) |
| Blind spot | Can blur exact product IDs or numbers | Misses paraphrases that use different words |

## Related Concepts

- [Sparse Retrieval](https://getaimath.com/dictionary/sparse-retrieval/): Sparse retrieval finds documents by matching words, using long lists that are mostly zeros except for the words present.
- [BM25](https://getaimath.com/dictionary/bm25/): BM25 is a classic keyword-based ranking formula that scores documents by how often and how importantly query words appear.
- [Hybrid Search](https://getaimath.com/dictionary/hybrid-search/): Hybrid search combines keyword search and semantic vector search to get better results than either alone.
- [Relevance Score](https://getaimath.com/dictionary/relevance-score/): A relevance score is a number showing how well a result matches a search query.
- [Reranking](https://getaimath.com/dictionary/reranking/): Reranking reorders search results with a more careful model so the most relevant ones end up on top.
- [Chunk Overlap](https://getaimath.com/dictionary/chunk-overlap/): Chunk overlap repeats a little text between neighboring chunks so ideas split at the edges are not lost.

---
Source: The AI Math Dictionary (https://getaimath.com/dictionary/dense-retrieval/)
