Unsupervised Dense Information Retrieval with Contrastive Learning

Gautier Izacard, Mathilde Caron, Lucas Hosseini, Sebastian Riedel, Piotr Bojanowski +2 more
12/16/2021
1,879 citations
cs.IRcs.AIcs.CL
contrastive-ssl

Official code: facebookresearch/contriever (779 stars, Python, last commit 2023-04-07).

Abstract

Recently, information retrieval has seen the emergence of dense retrievers, using neural networks, as an alternative to classical sparse methods based on term-frequency. These models have obtained state-of-the-art results on datasets and tasks where large training sets are available.

Show full abstract

However, they do not transfer well to new applications with no training data, and are outperformed by unsupervised term-frequency methods such as BM25. In this work, we explore the limits of contrastive learning as a way to train unsupervised dense retrievers and show that it leads to strong performance in various retrieval settings. On the BEIR benchmark our unsupervised model outperforms BM25 on 11 out of 15 datasets for the Recall@100. When used as pre-training before fine-tuning, either on a few thousands in-domain examples or on the large MS~MARCO dataset, our contrastive model leads to improvements on the BEIR benchmark. Finally, we evaluate our approach for multi-lingual retrieval, where training data is even scarcer than for English, and show that our approach leads to strong unsupervised performance. Our model also exhibits strong cross-lingual transfer when fine-tuned on supervised English data only and evaluated on low resources language such as Swahili. We show that our unsupervised models can perform cross-lingual retrieval between different scripts, such as retrieving English documents from Arabic queries, which would not be possible with term matching methods.

View on arXivView PDF

Code Implementations(1)

Contriever: Unsupervised Dense Information Retrieval with Contrastive Learning

77969Python, ShellDec 17, 20213 years agoNOASSERTION

Similar Papers

Cite this paper

@article{izacard2021unsupervised,
  title  = {Unsupervised Dense Information Retrieval with Contrastive Learning},
  author = {Gautier Izacard and Mathilde Caron and Lucas Hosseini and Sebastian Riedel and Piotr Bojanowski and Armand Joulin and Edouard Grave},
  year   = {2021},
  eprint = {2112.09118},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2112.09118}
}

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

Discussion