GPL: Generative Pseudo Labeling for Unsupervised Domain Adaptation of Dense Retrieval

Kexin Wang, Nandan Thakur, Nils Reimers, Iryna Gurevych
12/14/2021
cs.CLcs.IR

Official code: UKPLab/gpl (342 stars, Apache-2.0, last commit 2023-07-06).

Abstract

Dense retrieval approaches can overcome the lexical gap and lead to significantly improved search results. However, they require large amounts of training data which is not available for most domains. As shown in previous work (Thakur et al., 2021b), the performance of dense retrievers severely degrades under a domain shift. This limits the usage of dense retrieval approaches to only a few domains with large training datasets. In this paper, we propose the novel unsupervised domain adaptation method Generative Pseudo Labeling (GPL), which combines a query generator with pseudo labeling from a cross-encoder. On six representative domain-specialized datasets, we find the proposed GPL can outperform an out-of-the-box state-of-the-art dense retrieval approach by up to 9.3 points nDCG@10. GPL requires less (unlabeled) data from the target domain and is more robust in its training than previous methods. We further investigate the role of six recent pre-training methods in the scenario of domain adaptation for retrieval tasks, where only three could yield improved results. The best approach, TSDAE (Wang et al., 2021) can be combined with GPL, yielding another average improvement of 1.4 points nDCG@10 across the six tasks. The code and the models are available at https://github.com/UKPLab/gpl.

View on arXivView PDF

Code Implementations(1)

UKPLab/gplOfficial100%
Apache-2.0

Powerful unsupervised domain adaptation method for dense retrieval. Requires only unlabeled corpus and yields massive improvement: "GPL: Generative Pseudo Labeling for Unsupervised Domain Adaptation of Dense Retrieval" https://arxiv.org/abs/2112.07577

34238Shell, PythonDec 14, 20213 years agoApache-2.0
bertdomain-adaptationinformation-retrievalnlptransformers+1 more

Similar Papers

Cite this paper

@article{wang2021gpl,
  title  = {GPL: Generative Pseudo Labeling for Unsupervised Domain Adaptation of Dense Retrieval},
  author = {Kexin Wang and Nandan Thakur and Nils Reimers and Iryna Gurevych},
  year   = {2021},
  eprint = {2112.07577},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2112.07577}
}

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

Discussion