Lune

EMNLP Findings2023

Efficient k-NN Search with Cross-Encoders using Adaptive Multi-Round CUR Decomposition

Nishant Yadav, Nicholas Monath, Manzil Zaheer, Andrew McCallum

Abstract

Cross-encoder models, which jointly encode and score a query-item pair, are prohibitively expensive for direct k-nearest neighbor (k-NN) search. Consequently, k-NN search typically employs a fast approximate retrieval (e.g. using BM25 or dual-encoder vectors), followed by reranking with a cross-encoder; however, the retrieval approximation often has detrimental recall regret. This problem is tackled by AN-NCUR (Yadav et al., 2022), a recent work that employs a cross-encoder only, making search efficient using a relatively small number of anchor items, and a CUR matrix factorization. While ANNCUR's one-time selection of anchors tends to approximate the cross-encoder distances on average, doing so forfeits the capacity to accurately estimate distances to items near the query, leading to regret in the crucial end-task: recall of top-k items. In this paper, we propose ADACUR, a method that adaptively, iteratively, and efficiently minimizes the approximation error for the practically important top-k neighbors. It does so by iteratively performing k-NN search using the anchors available so far, then adding these retrieved nearest neighbors to the anchor set for the next round. Empirically, on multiple datasets, in comparison to previous traditional and state-of-the-art methods such as ANNCUR and dual-encoder-based retrieveand-rerank, our proposed approach ADACUR consistently reduces recall error-by up to 70% on the important k = 1 setting-while using no more compute than its competitors.

Recent work by Yadav et al. (2022) proposed ANNCUR, a CUR factorization (Mahoney and Drineas, 2009) based method, that approximates cross-encoder using dot-product of latent query and item embeddings and performs k-NN retrieval using approximate scores followed by optionally re-ranking retrieved items using exact cross-

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.

2 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

  • Relevance-Based Embeddings: Lightweight Candidate Retrieval via Heavy-Ranker Calls cites Adaptive Retrieval and Scalable Indexing for k-NN Search with Cross-Encoders
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers2

  1. Adaptive Retrieval and Scalable Indexing for k-NN Search with Cross-EncodersNishant Yadav, Nicholas Monath, Manzil Zaheer, Rob Fergus et al.ICLR 2024 · 2 citations
  2. Relevance-Based Embeddings: Lightweight Candidate Retrieval via Heavy-Ranker CallsKirill Shevkunov, Andrey Ploskonosov, Liudmila ProkhorenkovaICML 2026

Related papers

  1. Efficient Nearest Neighbor Search for Cross-Encoder Models using Matrix FactorizationNishant Yadav, Nicholas Monath, Rico Angell, Manzil Zaheer et al.EMNLP 2022 · 4 citations
  2. RAE: A Neural Network Dimensionality Reduction Method for Nearest Neighbors Preservation in Vector SearchHan Zhang, Dongfang ZhaoKDD 2026
  3. A Bi-metric Framework for Efficient Nearest Neighbor SearchHaike Xu, Sandeep Silwal, Piotr IndykICML 2026 · 3 citations
  4. LAN: Learning-based Approximate k-Nearest Neighbor Search in Graph DatabasesYun Peng, Byron Choi, Tsz Nam Chan, Jianliang XuICDE 2022 · 7 citations
  5. Improving Document Representations by Generating Pseudo Query Embeddings for Dense RetrievalHongyin Tang, Xingwu Sun, Beihong Jin, Jingang Wang et al.ACL 2021
Dusk over the sea between two cliffs drawn in fine vertical lines