Lune

ICLR2021Top-tier venue

Approximate Nearest Neighbor Negative Contrastive Learning for Dense Text Retrieval

Lee Xiong, Chenyan Xiong, Ye Li, Kwok-Fung Tang, Jialin Liu, Paul N. Bennett, Junaid Ahmed, Arnold Overwijk

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 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.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

337 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • AgentPoison: Red-teaming LLM Agents via Poisoning Memory or Knowledge Bases cites Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks
  • Efficiently Teaching an Effective Dense Retriever with Balanced Topic Aware Sampling cites Distilling Knowledge from Reader to Retriever for Question Answering
  • Efficiently Teaching an Effective Dense Retriever with Balanced Topic Aware Sampling cites ColBERT: Efficient and Effective Passage Search via Contextualized Late Interaction over BERT
  • Distilling Knowledge from Reader to Retriever for Question Answering cites Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks
  • From Canonical Correlation Analysis to Self-supervised Graph Neural Networks cites A Simple Framework for Contrastive Learning of Visual Representations
  • Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks cites Generalization through Memorization: Nearest Neighbor Language Models
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers337

  1. AgentPoison: Red-teaming LLM Agents via Poisoning Memory or Knowledge BasesZhaorun Chen, Zhen Xiang, Chaowei Xiao, Dawn Song et al.NeurIPS 2024 · 539 citations
  2. Aging with GRACE: Lifelong Model Editing with Discrete Key-Value AdaptorsTom Hartvigsen, Swami Sankaranarayanan, Hamid Palangi, Yoon Kim et al.NeurIPS 2023 · 349 citations
  3. From Canonical Correlation Analysis to Self-supervised Graph Neural NetworksHengrui Zhang, Qitian Wu, Junchi Yan, David Wipf et al.NeurIPS 2021 · 319 citations
  4. Distilling Knowledge from Reader to Retriever for Question AnsweringGautier Izacard, Edouard GraveICLR 2021 · 317 citations
  5. Efficiently Teaching an Effective Dense Retriever with Balanced Topic Aware SamplingSebastian Hofstätter, Sheng-Chieh Lin, Jheng-Hong Yang, Jimmy Lin et al.SIGIR 2021 · 297 citations

Builds on15

  1. A Simple Framework for Contrastive Learning of Visual RepresentationsTing Chen, Simon Kornblith, Mohammad Norouzi, Geoffrey E. HintonICML 2020 · 24,064 citations
  2. Retrieval-Augmented Generation for Knowledge-Intensive NLP TasksPatrick Lewis, Ethan Perez, Aleksandra Piktus, Fabio Petroni et al.NeurIPS 2020 · 19,162 citations
  3. ColBERT: Efficient and Effective Passage Search via Contextualized Late Interaction over BERTOmar Khattab, Matei ZahariaSIGIR 2020 · 1,246 citations
  4. Generalization through Memorization: Nearest Neighbor Language ModelsUrvashi Khandelwal, Omer Levy, Dan Jurafsky, Luke Zettlemoyer et al.ICLR 2020 · 1,038 citations
  5. Accelerating Large-Scale Inference with Anisotropic Vector QuantizationRuiqi Guo, Philip Sun, Erik Lindgren, Quan Geng et al.ICML 2020 · 539 citations

Related papers

  1. Mitigating the Impact of False Negative in Dense Retrieval with Contrastive Confidence RegularizationShiqi Wang, Yeqin Zhang, Cam-Tu NguyenAAAI 2024 · 6 citations
  2. Enhancing the Ranking Context of Dense Retrieval through Reciprocal Nearest NeighborsGeorge Zerveas, Navid Rekabsaz, Carsten EickhoffEMNLP 2023 · 4 citations
  3. Improving Document Representations by Generating Pseudo Query Embeddings for Dense RetrievalHongyin Tang, Xingwu Sun, Beihong Jin, Jingang Wang et al.ACL 2021
  4. Recasting Web-Scale Query Suggestion as dense retrieval: Efficient, Up-to-Date, and Context-Aware SuggestionsSosuke Nishikawa, Naoki Yoshinaga, Nobuhiro KajiSIGIR 2026
  5. Reduce Catastrophic Forgetting of Dense Retrieval Training with Teleportation NegativesSi Sun, Chenyan Xiong, Yue Yu, Arnold Overwijk et al.EMNLP 2022 · 3 citations
Dusk over the sea between two cliffs drawn in fine vertical lines