LinkedIn analytics tracking pixel for AIDOLS AI consulting website performance measurement
Deployment & Operations

Dense Passage Retrieval (DPR)

Dense Passage Retrieval (DPR) is a retrieval method that embeds queries and passages into the same vector space using two BERT encoders (a dual encoder) trained with contrastive loss on (question, positive-passage) pairs.

Full definition

Karpukhin et al. (Facebook, 2020) showed that a learned dual encoder, given enough training pairs and hard negatives, beats BM25 on open-domain QA — establishing the modern retrieval blueprint. DPR is the architectural ancestor of every production embedding model in vector search (E5, BGE, voyage, OpenAI text-embedding-3). Hard-negative mining (in-batch negatives plus BM25-mined hard negatives) is what makes the technique work in practice.

Why it matters

DPR established that retrieval quality is mostly a training-data problem, not an architecture problem. Enterprises that fine-tune their embedding models on domain-specific (query, passage) pairs typically see 10-20 NDCG points over off-the-shelf — the highest-ROI retrieval improvement after re-ranking.

Example

A pharma RAG system fine-tunes an embedding model on 30k (clinical-question, regulator-approved-passage) pairs mined from prior submissions; recall@10 rises from 71% to 89% on a held-out test set.

Source & further reading

Primary source: Karpukhin et al. — "Dense Passage Retrieval for Open-Domain Question Answering" (EMNLP) (2020).

Citation policy: this entry is part of the AIDOLS AI Implementation Glossary and may be quoted for research, journalism, and education with attribution to aidolsgroup.com/ko/glossary/dense-passage-retrieval/.