稠密文本检索中的近似最近邻负对比学习
Approximate Nearest Neighbor Negative Contrastive Learning for Dense Text Retrieval
摘要:
在一个稠密的学习表示空间中进行文本检索比稀疏检索有许多有趣的优点。然而,稠密检索(DR)的有效性往往需要结合稀疏检索。在本文中,我们确定主要的瓶颈是在训练机制,在训练中使用的负面实例是不代表测试中的不相关的文件。本文提出了近似最近邻负对比估计(ANCE),这是一种训练机制,它从语料库的近似最近邻(ANN)索引中构建否定,该索引随着学习过程的不断更新,以选择更真实的否定训练实例。这从根本上解决了DR训练和测试中使用的数据分布之间的差异。在我们的实验中,ANCE提升了BERT-Siamese DR模型,使其优于所有竞争密集和稀疏检索基线。它几乎与在ANCE学习的表示空间中使用点积的稀疏检索和BERT重新排序的准确性相匹配,并提供了近100倍的速度提升。
英文摘要:
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 outperform all competitive dense and sparse retrieval baselines. It nearly matches the accuracy of sparse-retrieval-and-BERT-reranking using dot-product in the ANCE-learned representation space and provides almost 100x speed-up.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。