Unsupervised Dense Retrieval with Relevance-Aware Contrastive Pre-Training

Yibin Lei, Liang Ding, Yu Cao, Changtong Zan, Andrew Yates +1 more
6/5/2023
cs.IRcs.CL

Official code: Yibin-Lei/ReContriever (10 stars, last commit 2024-05-19).

Abstract

Dense retrievers have achieved impressive performance, but their demand for abundant training data limits their application scenarios. Contrastive pre-training, which constructs pseudo-positive examples from unlabeled data, has shown great potential to solve this problem. However, the pseudo-positive examples crafted by data augmentations can be irrelevant. To this end, we propose relevance-aware contrastive learning. It takes the intermediate-trained model itself as an imperfect oracle to estimate the relevance of positive pairs and adaptively weighs the contrastive loss of different pairs according to the estimated relevance. Our method consistently improves the SOTA unsupervised Contriever model on the BEIR and open-domain QA retrieval benchmarks. Further exploration shows that our method can not only beat BM25 after further pre-training on the target corpus but also serves as a good few-shot learner. Our code is publicly available at https://github.com/Yibin-Lei/ReContriever.

View on arXivView PDF

Code Implementations(1)

Implementation for ACL 2023 Findings paper "Unsupervised Dense Retrieval with Relevance-Aware Contrastive Pre-Training"

100Shell, PythonMay 25, 20232 years ago

Similar Papers

Cite this paper

@article{lei2023unsupervised,
  title  = {Unsupervised Dense Retrieval with Relevance-Aware Contrastive Pre-Training},
  author = {Yibin Lei and Liang Ding and Yu Cao and Changtong Zan and Andrew Yates and Dacheng Tao},
  year   = {2023},
  eprint = {2306.03166},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2306.03166v1}
}

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

Discussion