Papers / Text
BiDAF (2016)
Bidirectional Attention Flow for Machine Comprehension
A reader that lets the question and the passage attend to each other at every word, then points to the answer span.
Why it matters
BiDAF was the reference architecture of the SQuAD era: task-specific readers built from LSTMs and attention. With ELMo embeddings it was still among the strongest baselines BERT was compared against, and the gap BERT opened ended the era of hand-built readers.
- Year
- 2016
- Authors
- Minjoon Seo, Aniruddha Kembhavi, Ali Farhadi, Hannaneh Hajishirzi
- Venue
- ICLR 2017
- Data
- SQuAD, CNN/DailyMail
The idea
Encode the passage and question with character and word embeddings and a bidirectional LSTM. Compute attention both ways, from passage to question and from question to passage, at every word, and pass the full attended sequence on instead of squeezing it into one vector. A final layer predicts where the answer starts and ends.
The result
On SQuAD, 68.0 exact match and 77.3 F1 for one model (73.3 and 81.1 for an ensemble), above all published systems, and 76.9% and 79.6% accuracy on the CNN and Daily Mail cloze tests.
The data
SQuAD
2016100k+ questions about Wikipedia paragraphs; the answer is a span of the text. (same year)
How many people lived in Fresno in 2000, according to the Census Bureau?
CNN/DailyMail
2015312,000 news articles paired with the bullet-point highlights their editors wrote. (1 year earlier)
“Alison Hall, 48, almost choked to death after a false nail in her pocket worked its way into her asthma inhaler. It then shot to the back of…”
