atlas

Research map / Learning theory and algorithms / Matrix and tensor methods

LoRANN: Low-Rank Matrix Factorization for Approximate Nearest Neighbor Search

NeurIPS 2024 · Learning theory and algorithms › Matrix and tensor methods · approach: Structured low-rank learning · 4 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 reduced-rank regression as a supervised score computation method for clustering-based ANN search, packaged in the LoRANN library with CPU and GPU implementations that beat PQ and several SOTA libraries on high-dimensional data.

Problem

Clustering-based approximate nearest neighbor search is scalable and memory-efficient but has slower query times than graph-based methods, mainly because its product-quantization score computation is slow.

Approach

Treat inner product approximation between a query and cluster points as a multi-output regression problem and solve it per cluster with a low-rank reduced-rank regression model trained on query samples, quantized to 8-bit integers, replacing PQ scoring.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
replace PQ scoring with reduced-rank regressionIVF ANN search · ANN data sets, fixed clusteringrecall versus QPSHelped
use RRR instead of PQ at similar bytes per vectorIVF ANN search · ANN data setsrecall versus QPSHelped
add RRR score computation (ablation)LoRANN · all tested data setsperformanceHelped
add dimensionality reduction (ablation)LoRANN · high-dimensional data with moderate-sized corporaperformanceHelped
add dimensionality reduction (ablation)LoRANN · lower-dimensional data sets (d ≤ 300)performanceNo clear effect
add 8-bit quantization (ablation)LoRANN · ANN data setsquery latencyHelped
increase rank from 32 to 64 (ablation)LoRANN · with final re-rankingperformanceNo clear effect
decrease rank from 32 to 16 (ablation)LoRANN · high-dimensional dataperformanceHurt
train using query-distribution samples instead of only corpus samples (ablation)LoRANN · Yandex T2I OODrecall versus QPSHelped
increase query-distribution training set from 400K to 1.2M (ablation)LoRANN · Yandex T2I OODrecall versus QPSHelped
select local regression training examples from routed nearby clusters rather than only the target cluster (ablation)LoRANN · Yandex T2I OODregression accuracyHelped
use LoRANN instead of product-quantization methodsANN search libraries · CPU evaluation, all data sets except glove-200-angularrecall versus QPSHelped

Surprising findings

Limitations

Experimental setup

Datasets: ag-news ann-arxiv ann-t2i arxiv (OpenAI Ada) arxiv (InstructXL) fashion-mnist fasttext-wiki gist glove mnist sift wiki (GTE-small)

Benchmarks: ANN-benchmarks ag-news ann-arxiv ann-t2i arxiv arxiv-instructxl fashion-mnist fasttext-wiki gist glove mnist sift

Metrics: recall@100 queries per second query latency memory usage (bytes per vector) index construction time

Baselines: Faiss-IVFPQ (fast scan) ScaNN HNSW GLASS QSG-NGT PyNNDescent MRPT CAGRA

Builds on: product quantization IVF-PQ ScaNN absmax quantization

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