Bridging the Training-Inference Gap for Dense Phrase Retrieval
Abstract
Building dense retrievers requires a series of standard procedures, including training and validating neural models and creating indexes for efficient search. However, these procedures are often misaligned in that training objectives do not exactly reflect the retrieval scenario at inference time. In this paper, we explore how the gap between training and inference in dense retrieval can be reduced, focusing on dense phrase retrieval (Lee et al., 2021) where billions of representations are indexed at inference. Since validating every dense retriever with a large-scale index is practically infeasible, we propose an efficient way of validating dense retrievers using a small subset of the entire corpus. This allows us to validate various training strategies including unifying contrastive loss terms and using hard negatives for phrase retrieval, which largely reduces the training-inference discrepancy. As a result, we improve phrase retrieval by 2-3% in top-1 accuracy and passage retrieval by 2-4% in top-20 accuracy for open-domain question answering. Our work urges modeling dense retrievers with careful consideration of training and inference via efficient validation while advancing phrase retrieval as a general solution for dense retrieval.
Cite
Text
Kim et al. "Bridging the Training-Inference Gap for Dense Phrase Retrieval." ICML 2022 Workshops: KRLM, 2022.Markdown
[Kim et al. "Bridging the Training-Inference Gap for Dense Phrase Retrieval." ICML 2022 Workshops: KRLM, 2022.](https://mlanthology.org/icmlw/2022/kim2022icmlw-bridging/)BibTeX
@inproceedings{kim2022icmlw-bridging,
title = {{Bridging the Training-Inference Gap for Dense Phrase Retrieval}},
author = {Kim, Gyuwan and Lee, Jinhyuk and Oguz, Barlas and Xiong, Wenhan and Zhang, Yizhe and Mehdad, Yashar and Wang, William Yang},
booktitle = {ICML 2022 Workshops: KRLM},
year = {2022},
url = {https://mlanthology.org/icmlw/2022/kim2022icmlw-bridging/}
}