Approximate Nearest Neighbor Negative Contrastive Learning for Dense Text Retrieval
Lee Xiong, Chenyan Xiong, Ye Li, Kwok-Fung Tang, Jialin Liu, Paul, Bennett, Junaid Ahmed, Arnold Overwijk

TL;DR
This paper introduces ANCE, a training method for dense text retrieval that uses approximate nearest neighbor search to generate more realistic negatives, significantly improving retrieval accuracy and speed.
Contribution
The paper proposes ANCE, a novel training mechanism that dynamically updates negative samples using an ANN index, aligning training data distribution with testing conditions.
Findings
ANCE outperforms all competitive dense and sparse retrieval baselines.
It nearly matches the accuracy of sparse retrieval with BERT reranking.
Provides almost 100x speed-up in retrieval.
Abstract
Conducting text retrieval in a dense learned representation space has many intriguing advantages over sparse retrieval. Yet the effectiveness of dense retrieval (DR) often requires combination with sparse retrieval. In this paper, we identify that the main bottleneck is in the training mechanisms, where the negative instances used in training are not representative of the irrelevant documents in testing. This paper presents Approximate nearest neighbor Negative Contrastive Estimation (ANCE), a training mechanism that constructs negatives from an Approximate Nearest Neighbor (ANN) index of the corpus, which is parallelly updated with the learning process to select more realistic negative training instances. This fundamentally resolves the discrepancy between the data distribution used in the training and testing of DR. In our experiments, ANCE boosts the BERT-Siamese DR model to…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
Taxonomy
TopicsDomain Adaptation and Few-Shot Learning · Topic Modeling · Text and Document Classification Technologies
