mlsanityData to 14 Oct 2026

Efficient Nearest Neighbor Search for Cross-Encoder Models using Matrix Factorization

arXiv 2210.12579 ↗First posted 23 Oct 2022cs.CL cs.IR cs.LGcited by 10

Not on the map. Why?

Abstract (arXiv)

Efficient k-nearest neighbor search is a fundamental task, foundational for many problems in NLP. When the similarity is measured by dot-product between dual-encoder vectors or ℓ2-distance, there already exist many scalable and efficient search methods. But not so when similarity is measured by more accurate and expensive black-box neural similarity models, such as cross-encoders, which jointly encode the query and candidate neighbor. The cross-encoders' high computational cost typically limits their use to reranking candidates retrieved by a cheaper model, such as dual encoder or TF-IDF. However, the accuracy of such a two-stage approach is upper-bounded by the recall of the initial candidate set, and potentially requires additional training to align the auxiliary retrieval model with the cross-encoder model. In this paper, we present an approach that avoids the use of a dual-encoder for retrieval, relying solely on the cross-encoder. Retrieval is made efficient with CUR decomposition, a matrix decomposition approach that approximates all pairwise cross-encoder distances from a small subset of rows and columns of the distance matrix. Indexing items using our approach is computationally cheaper than training an auxiliary dual-encoder model through distillation. Empirically, for k > 10, our approach provides test-time recall-vs-computational cost trade-offs superior to the current widely-used methods that re-rank items retrieved using a dual-encoder or TF-IDF.

Key facts. Cited by 10 papers in the map (data through 14 Oct 2026). Builds on 28 of its 52 references that are in the map. First posted on arXiv 23 Oct 2022.

Builds on

28 of 52 references.

References · 28

  1. 2017Attention Is All You Needcited by 60,361
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
  3. 2014Adam: A Method for Stochastic Optimizationcited by 37,240
  4. 2020Dense Passage Retrieval for Open-Domain Question Answeringcited by 3,824
  5. 2017Billion-scale similarity search with GPUscited by 2,497
  6. 2016Google's Neural Machine Translation System: Bridging the Gap between Human and Machine Translationcited by 1,475
  7. 2020ColBERT: Efficient and Effective Passage Search via Contextualized Late Interaction over BERTcited by 1,178
  8. 2016Efficient and robust approximate nearest neighbor search using Hierarchical Navigable Small World graphscited by 861
  9. 2020RocketQA: An Optimized Training Approach to Dense Passage Retrieval for Open-Domain Question Answeringcited by 413
  10. 2020Sparse, Dense, and Attentional Representations for Text Retrievalcited by 214
  11. 2020Improving Efficient Neural Ranking Models with Cross-Architecture Knowledge Distillationcited by 145
  12. 2020Augmented SBERT: Data Augmentation Method for Improving Bi-Encoders for Pairwise Sentence Scoring Taskscited by 138
16 more
  1. 2019Zero-Shot Entity Linking by Reading Entity Descriptionscited by 124
  2. 2014Matrix Completion and Low-Rank SVD via Fast Alternating Least Squarescited by 104
  3. 2022ReFinED: An Efficient Zero-shot-capable Approach to End-to-End Entity Linkingcited by 74
  4. 2020Energy-Based Reranking: Improving Neural Machine Translation Using Energy-Based Modelscited by 44
  5. 2022Cross-Architecture Knowledge Distillationcited by 41
  6. 2021Understanding Hard Negatives in Noise Contrastive Estimationcited by 39
  7. 2013Improving CUR Matrix Decomposition and the Nystr"om Approximation via Adaptive Samplingcited by 21
  8. 2021Trans-Encoder: Unsupervised sentence-pair modelling through self- and mutual-distillationscited by 20
  9. 2017Sublinear Time Low-Rank Approximation of Positive Semidefinite Matricescited by 18
  10. 2019Sample-Optimal Low-Rank Approximation of Distance Matricescited by 15
  11. 2020DiPair: Fast and Accurate Distillation for Trillion-Scale Text Matching and Pair Modelingcited by 14
  12. 2018Sublinear Time Low-Rank Approximation of Distance Matricescited by 11
  13. 2019On the Effect of Low-Frequency Terms on Neural-IR Modelscited by 6
  14. 2021Sublinear Time Approximation of Text Similarity Matricescited by 3
  15. 2019Accurate and Fast Retrieval for Complex Non-metric Data via Neighborhood Graphscited by 2
  16. 2019Pruning Algorithms for Low-Dimensional Non-metric k-NN Search: A Case Studycited by 2

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2023: 3; 2024: 5; 2025: 1; 2026: 1.

10 papers.