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

Martin Fajcik, Martin Docekal, Karel Ondrej, Pavel Smrz
9/8/2021
cs.CLcs.IRcs.LG

Official code: KNOT-FIT-BUT/R2-D2 (21 stars, Python, MIT, last commit 2021-11-16).

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations(1)

KNOT-FIT-BUT/R2-D2Official100%
MIT

Official repository of the R2-D2's pipeline

214Python, ShellApr 7, 20215 years agoMIT

Similar Papers

Cite this paper

@article{fajcik2021rd,
  title  = {R2-D2: A Modular Baseline for Open-Domain Question Answering},
  author = {Martin Fajcik and Martin Docekal and Karel Ondrej and Pavel Smrz},
  year   = {2021},
  eprint = {2109.03502},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2109.03502}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2109.03502.svg)](https://codeofpaper.com/paper/2109.03502)

Discussion