Command Palette
Search for a command to run...
Martin Fajcik Martin Docekal Karel Ondrej Pavel Smrz

Abstract
This work presents a novel four-stage open-domain QA pipeline R2-D2 (Rank twice, reaD twice). The pipeline is composed of a retriever, passage reranker, extractive reader, generative reader and a mechanism that aggregates the final prediction from all system's components. We demonstrate its strength across three open-domain QA datasets: NaturalQuestions, TriviaQA and EfficientQA, surpassing state-of-the-art on the first two. Our analysis demonstrates that: (i) combining extractive and generative reader yields absolute improvements up to 5 exact match and it is at least twice as effective as the posterior averaging ensemble of the same models with different parameters, (ii) the extractive reader with fewer parameters can match the performance of the generative reader on extractive QA datasets.
Code Repositories
Benchmarks
| Benchmark | Methodology | Metrics |
|---|---|---|
| open-domain-question-answering-on-natural | R2-D2 w HN-DPR | Exact Match: 55.9 |
| passage-retrieval-on-natural-questions | DPR+RoBERTa-base-crossencoder-reranker | Precision@100: 88.03 Precision@20: 84.46 |
| passage-retrieval-on-natural-questions | DPR+ELECTRA-large-extreader-reranker | Precision@100: 88.25 Precision@20: 85.26 |
| question-answering-on-natural-questions | R2-D2 (full) | EM: 55.9 |
| question-answering-on-natural-questions-long | R2-D2 w HN-DPR | EM: 55.9 |
Build AI with AI
From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.