HyperAIHyperAI

Command Palette

Search for a command to run...

3 months ago

R2-D2: A Modular Baseline for Open-Domain Question Answering

Martin Fajcik Martin Docekal Karel Ondrej Pavel Smrz

R2-D2: A Modular Baseline for Open-Domain Question Answering

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

KNOT-FIT-BUT/R2-D2
Official
pytorch

Benchmarks

BenchmarkMethodologyMetrics
open-domain-question-answering-on-naturalR2-D2 w HN-DPR
Exact Match: 55.9
passage-retrieval-on-natural-questionsDPR+RoBERTa-base-crossencoder-reranker
Precision@100: 88.03
Precision@20: 84.46
passage-retrieval-on-natural-questionsDPR+ELECTRA-large-extreader-reranker
Precision@100: 88.25
Precision@20: 85.26
question-answering-on-natural-questionsR2-D2 (full)
EM: 55.9
question-answering-on-natural-questions-longR2-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.

AI Co-coding
Ready-to-use GPUs
Best Pricing
Get Started

Hyper Newsletters

Subscribe to our latest updates
We will deliver the latest updates of the week to your inbox at nine o'clock every Monday morning
Powered by MailChimp
R2-D2: A Modular Baseline for Open-Domain Question Answering | Papers | HyperAI