atlas

Research map / Architectures and efficiency / RNNs and normalization

LotusFilter: Fast Diverse Nearest Neighbor Search via a Learned Cutoff Table

CVPR 2025 · Architectures and efficiency › RNNs and normalization · approach: Learned embeddings for retrieval · 1 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes LotusFilter, a post-processing module that uses a precomputed cutoff table of close-neighbor IDs, with an ε threshold learned from training queries, to greedily diversify HNSW nearest-neighbor search results at about 0.02 ms/query filtering cost.

Problem

Approximate nearest neighbor search returns results that are close to the query but highly similar to each other, while many applications (e.g., RAG, recommendation, image retrieval) need results that are both similar to the query and diverse; existing diverse NN search methods are slow and need ori

Approach

Precompute, for each database vector, the list of neighbors within a squared-distance threshold ε (a cutoff table); at query time, greedily pop the nearest remaining candidate and delete its listed neighbors from the candidate set, using an OrderedSet for O(L) pop/remove. The threshold ε is learned by bracketing search over training queries, and the method needs no original vectors at query time.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use LotusFilter diversification instead of search-only resultsHNSW · OpenAI Datasetfinal cost f: 0.200 -> 0.171Helped
Use LotusFilter instead of GMM for diversificationHNSW search results · OpenAI Datasetfinal cost f: 0.177 -> 0.171Helped
Use LotusFilter instead of clustering for diversificationHNSW search results · OpenAI Datasetfinal cost f: 0.223 -> 0.171Helped
Use LotusFilter instead of GMM for diversificationHNSW search results · OpenAI Datasetruntime (ms/query): 14.4 -> 1.03Helped
Increase the number of initial search results S (ablation)LotusFilter · OpenAI Datasetfinal cost fHelped
Increase the number of initial search results S (ablation)LotusFilter · OpenAI DatasetruntimeHurt

Surprising findings

Limitations

Experimental setup

Datasets: OpenAI embedding dataset (WikiText, 1536-d, 900k base / 100k queries) MS MARCO v1.1 validation passages (768-d BERT features, 38,438 base / 1,000 queries) Revisited Paris (2048-d R-GeM, 6,322 base / 70 queries)

Benchmarks: OpenAI embedding dataset MS MARCO Revisited Paris

Metrics: cost function f (proximity plus diversity) runtime ms/query memory overhead bits Recall@1

Baselines: HNSW search only k-means clustering diversification GMM diversification

Builds on: HNSW faiss MAX-MIN diversification GMM diversification maximal marginal relevance

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy