Papers / Text
DPR (2020)
Dense Passage Retrieval for Open-Domain Question Answering
Find the passage that answers a question by comparing learned embeddings, not shared words.
Why it matters
Keyword search had been surprisingly hard to beat. DPR showed learned dense retrieval beats it with nothing but question–answer pairs, and became the retriever inside RAG and the template for the embedding search behind most retrieval-augmented systems.
- Year
- 2020
- Authors
- Vladimir Karpukhin, Barlas Oğuz, Sewon Min, Patrick Lewis, Ledell Wu, Sergey Edunov, Danqi Chen, Wen-tau Yih
- Venue
- EMNLP 2020
- Data
- Natural Questions, SQuAD
The idea
Encode every Wikipedia passage once with one BERT model and each question with another, and retrieve by dot product. Train the two encoders on question–passage pairs, using the other passages in the batch plus one keyword-search hit as negatives. A BERT reader then extracts the answer.
The result
On Natural Questions, the right passage was in the top 20 for 78.4% of questions against 59.1% for BM25 keyword search, and end-to-end exact match rose to 41.5%. SQuAD was the exception: its questions were written by people looking at the passage, so they share words with it, and BM25 still won.
The data
Natural Questions
2019Real Google search questions, each answered by an annotator with a paragraph and a short span from Wikipedia. (1 year earlier)
what is a cvv code on a visa gift card
SQuAD
2016100k+ questions about Wikipedia paragraphs; the answer is a span of the text. (4 years earlier)
How many people lived in Fresno in 2000, according to the Census Bureau?
