Learning to Retrieve Passages without Supervision

Ori Ram, Gal Shachaf, Omer Levy, Jonathan Berant, Amir Globerson
12/14/2021
cs.CLcs.IR

Official code: oriram/spider (55 stars, Python, MIT, last commit 2023-01-18).

Abstract

Dense retrievers for open-domain question answering (ODQA) have been shown to achieve impressive performance by training on large datasets of question-passage pairs. In this work we ask whether this dependence on labeled data can be reduced via unsupervised pretraining that is geared towards ODQA.

Show full abstract

We show this is in fact possible, via a novel pretraining scheme designed for retrieval. Our "recurring span retrieval" approach uses recurring spans across passages in a document to create pseudo examples for contrastive learning. Our pretraining scheme directly controls for term overlap across pseudo queries and relevant passages, thus allowing to model both lexical and semantic relations between them. The resulting model, named Spider, performs surprisingly well without any labeled training examples on a wide range of ODQA datasets. Specifically, it significantly outperforms all other pretrained baselines in a zero-shot setting, and is competitive with BM25, a strong sparse baseline. Moreover, a hybrid retriever over Spider and BM25 improves over both, and is often competitive with DPR models, which are trained on tens of thousands of examples. Last, notable gains are observed when using Spider as an initialization for supervised training.

View on arXivView PDF

Code Implementations(1)

oriram/spiderOfficial100%
MIT
556PythonDec 15, 20213 years agoMIT

Similar Papers

Cite this paper

@article{ram2021learning,
  title  = {Learning to Retrieve Passages without Supervision},
  author = {Ori Ram and Gal Shachaf and Omer Levy and Jonathan Berant and Amir Globerson},
  year   = {2021},
  eprint = {2112.07708},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2112.07708}
}

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

Discussion