Adaptive Retrieval and Scalable Indexing for k-NN Search with Cross-Encoders
Not on the map. Why?
Abstract (arXiv)
Cross-encoder (CE) models which compute similarity by jointly encoding a query-item pair perform better than embedding-based models (dual-encoders) at estimating query-item relevance. Existing approaches perform k-NN search with CE by approximating the CE similarity with a vector embedding space fit either with dual-encoders (DE) or CUR matrix factorization. DE-based retrieve-and-rerank approaches suffer from poor recall on new domains and the retrieval with DE is decoupled from the CE. While CUR-based approaches can be more accurate than the DE-based approach, they require a prohibitively large number of CE calls to compute item embeddings, thus making it impractical for deployment at scale. In this paper, we address these shortcomings with our proposed sparse-matrix factorization based method that efficiently computes latent query and item embeddings to approximate CE scores and performs k-NN search with the approximate CE similarity. We compute item embeddings offline by factorizing a sparse matrix containing query-item CE scores for a set of train queries. Our method produces a high-quality approximation while requiring only a fraction of CE calls as compared to CUR-based methods, and allows for leveraging DE to initialize the embedding space while avoiding compute- and resource-intensive finetuning of DE via distillation. At test time, the item embeddings remain fixed and retrieval occurs over rounds, alternating between a) estimating the test query embedding by minimizing error in approximating CE scores of items retrieved thus far, and b) using the updated test query embedding for retrieving more items. Our k-NN search method improves recall by up to 5% (k=1) and 54% (k=100) over DE-based approaches. Additionally, our indexing approach achieves a speedup of up to 100x over CUR-based and 5x over DE distillation methods, while matching or improving k-NN search recall over baselines.
Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Builds on 46 of its 78 references that are in the map. First posted on arXiv 6 May 2024.
Builds on
46 of 78 references.
References · 46
- 2017Attention Is All You Needcited by 60,361
- 2019DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lightercited by 4,307
- 2019Parameter-Efficient Transfer Learning for NLPcited by 4,236
- 2017Billion-scale similarity search with GPUscited by 2,497
- 2020MiniLM: Deep Self-Attention Distillation for Task-Agnostic Compression of Pre-Trained Transformerscited by 1,463
- 2021BEIR: A Heterogenous Benchmark for Zero-shot Evaluation of Information Retrieval Modelscited by 1,252
- 2022Atlas: Few-shot Learning with Retrieval Augmented Language Modelscited by 952
- 2016Efficient and robust approximate nearest neighbor search using Hierarchical Navigable Small World graphscited by 861
- 2020RocketQA: An Optimized Training Approach to Dense Passage Retrieval for Open-Domain Question Answeringcited by 413
- 2020DeeBERT: Dynamic Early Exiting for Accelerating BERT Inferencecited by 332
- 2020AdapterDrop: On the Efficiency of Adapters in Transformerscited by 224
- 2020Generation-Augmented Retrieval for Open-domain Question Answeringcited by 186
34 more
- 2021RocketQAv2: A Joint Training Method for Dense Passage Retrieval and Passage Re-rankingcited by 176
- 2020Improving Efficient Neural Ranking Models with Cross-Architecture Knowledge Distillationcited by 145
- 2020Augmented SBERT: Data Augmentation Method for Improving Bi-Encoders for Pairwise Sentence Scoring Taskscited by 138
- 2019Zero-Shot Entity Linking by Reading Entity Descriptionscited by 124
- 2021A Comprehensive Survey and Experimental Comparison of Graph-Based Approximate Nearest Neighbor Searchcited by 82
- 2022ReFinED: An Efficient Zero-shot-capable Approach to End-to-End Entity Linkingcited by 74
- 2022Training Data is More Valuable than You Think: A Simple and Effective Method by Retrieving from Training Datacited by 61
- 2020Deep k-NN for Noisy Labelscited by 55
- 2022Retrieval-Augmented Reinforcement Learningcited by 53
- 2021Improving Query Representations for Dense Retrieval with Pseudo Relevance Feedbackcited by 47
- 2016Approximate Nearest Neighbor Search on High Dimensional Data --- Experiments, Analyses, and Improvement (v1.0)cited by 44
- 2019Low-Rank Matrix Completion: A Contemporary Surveycited by 43
- 2022Curriculum Learning for Dense Retrieval Distillationcited by 38
- 2013Provable Inductive Matrix Completioncited by 32
- 2021Pseudo-Relevance Feedback for Multiple Representation Dense Retrievalcited by 32
- 2022Knowledge Base Question Answering by Case-based Reasoning over Subgraphscited by 31
- 2022Adaptive Re-Ranking with a Corpus Graphcited by 23
- 2022In Defense of Cross-Encoders for Zero-Shot Retrievalcited by 21
- 2021Trans-Encoder: Unsupervised sentence-pair modelling through self- and mutual-distillationscited by 20
- 2013Low-Rank Matrix and Tensor Completion via Adaptive Samplingcited by 19
- 2017Sublinear Time Low-Rank Approximation of Positive Semidefinite Matricescited by 18
- 2018NPRF: A Neural Pseudo Relevance Feedback Framework for Ad-hoc Information Retrievalcited by 17
- 2019Sample-Optimal Low-Rank Approximation of Distance Matricescited by 15
- 2019Bit Efficient Quantization for Deep Neural Networkscited by 14
- 2016A Greedy Approach for Budgeted Maximum Inner Product Searchcited by 11
- 2018Sublinear Time Low-Rank Approximation of Distance Matricescited by 11
- 2019GGNN: Graph-based GPU Nearest Neighbor Searchcited by 10
- 2022Efficient Nearest Neighbor Search for Cross-Encoder Models using Matrix Factorizationcited by 10
- 2014CUR Algorithm for Partially Observed Matricescited by 7
- 2022Optimizing Test-Time Query Representations for Dense Retrievalcited by 7
- 2021Sublinear Time Approximation of Text Similarity Matricescited by 3
- 2019Accurate and Fast Retrieval for Complex Non-metric Data via Neighborhood Graphscited by 2
- 2019Pruning Algorithms for Low-Dimensional Non-metric k-NN Search: A Case Studycited by 2
- 2023Efficient k-NN Search with Cross-Encoders using Adaptive Multi-Round CUR Decompositioncited by 2
Built on by
Citing papers per year: 2026: 1.
1 paper.