# Reading and retrieval

> From models that find the answer in a given paragraph to models that search Wikipedia before they answer.

Page: https://mralbu.github.io/ai-datasets/t/reading-retrieval
Timeline: https://mralbu.github.io/ai-datasets/timeline?track=reading-retrieval
Categories: Text

Question answering began as reading comprehension: given a paragraph, point to the answer. Hand-built attention readers mastered SQuAD, then one pretrained model fine-tuned for the task beat them all. Answering without a given paragraph needed search: learned dense retrieval beat keyword search, and a generator that retrieves passages before writing gave the approach its name.

## Sequence

- **2015 · Dataset:** [CNN/DailyMail](https://mralbu.github.io/ai-datasets/d/cnn-dailymail.md) — 312,000 news articles paired with the bullet-point highlights their editors wrote.
- **2016 · Dataset:** [MS MARCO](https://mralbu.github.io/ai-datasets/d/ms-marco.md) — A million real Bing queries with candidate web passages and human-written answers when one exists.
- **2016 · Dataset:** [SQuAD](https://mralbu.github.io/ai-datasets/d/squad.md) — 100k+ questions about Wikipedia paragraphs; the answer is a span of the text.
- **2016 · Step 1:** [BiDAF](https://mralbu.github.io/ai-datasets/p/bidaf.md) — Set the pattern of the SQuAD era, a task-specific reader where question and passage attend to each other before it points to the answer.
- **2018 · Step 2:** [BERT](https://mralbu.github.io/ai-datasets/p/bert.md) — Every reading task still needed its own architecture trained from scratch; one pretrained Transformer with a thin output layer beat them all.
- **2019 · Dataset:** [Natural Questions](https://mralbu.github.io/ai-datasets/d/natural-questions.md) — Real Google search questions, each answered by an annotator with a paragraph and a short span from Wikipedia.
- **2020 · Step 3:** [DPR](https://mralbu.github.io/ai-datasets/p/dpr.md) — Readers assumed the right paragraph was given; BERT encoders trained to embed questions and passages retrieved it from all of Wikipedia better than keyword search.
- **2020 · Step 4:** [RAG](https://mralbu.github.io/ai-datasets/p/rag.md) — Extractive readers could only copy spans from retrieved passages; a sequence-to-sequence generator conditioned on DPR's retrievals wrote answers, trained end to end.
