Progressively Pretrained Dense Corpus Index for Open-Domain Question Answering

Wenhan Xiong, Hong Wang, William Yang Wang
4/30/2020
cs.CL

Official code: xwhan/ProQA (43 stars, Python, PyTorch, last commit 2023-06-12).

Abstract

To extract answers from a large corpus, open-domain question answering (QA) systems usually rely on information retrieval (IR) techniques to narrow the search space. Standard inverted index methods such as TF-IDF are commonly used as thanks to their efficiency.

Show full abstract

However, their retrieval performance is limited as they simply use shallow and sparse lexical features. To break the IR bottleneck, recent studies show that stronger retrieval performance can be achieved by pretraining a effective paragraph encoder that index paragraphs into dense vectors. Once trained, the corpus can be pre-encoded into low-dimensional vectors and stored within an index structure where the retrieval can be efficiently implemented as maximum inner product search. Despite the promising results, pretraining such a dense index is expensive and often requires a very large batch size. In this work, we propose a simple and resource-efficient method to pretrain the paragraph encoder. First, instead of using heuristically created pseudo question-paragraph pairs for pretraining, we utilize an existing pretrained sequence-to-sequence model to build a strong question generator that creates high-quality pretraining data. Second, we propose a progressive pretraining algorithm to ensure the existence of effective negative samples in each batch. Across three datasets, our method outperforms an existing dense retrieval method that uses 7 times more computational resources for pretraining.

View on arXivView PDF

Code Implementations(1)

xwhan/ProQAOfficial100%
PyTorch

Progressively Pretrained Dense Corpus Index for Open-Domain QA and Information Retrieval

432Python, ShellApr 29, 20203 years ago
information-retrievalnatural-language-processingpytorchquestion-answering

Similar Papers

Cite this paper

@article{xiong2020progressively,
  title  = {Progressively Pretrained Dense Corpus Index for Open-Domain Question Answering},
  author = {Wenhan Xiong and Hong Wang and William Yang Wang},
  year   = {2020},
  eprint = {2005.00038},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2005.00038}
}

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/2005.00038.svg)](https://codeofpaper.com/paper/2005.00038)

Discussion