paper-with-me

홈 › Papers

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

2024-10-24 · Elias Jääsaari, Ville Hyvönen, Teemu Roos

Approximate nearest neighbor (ANN) search is a key component in many modern machine learning pipelines; recent use cases include retrieval-augmented generation (RAG) and vector databases. Clustering-based ANN algorithms, that use score computation methods based on product quantization (PQ), are often used in industrial-scale applications due to their scalability and suitability for distributed and disk-based implementations. However, they have slower query times than the leading graph-based ANN algorithms. In this work, we propose a new supervised score computation method based on the observation that inner product approximation is a multivariate (multi-output) regression problem that can be solved efficiently by reduced-rank regression. Our experiments show that on modern high-dimensional data sets, the proposed reduced-rank regression (RRR) method is superior to PQ in both query latency and memory usage. We also introduce LoRANN, a clustering-based ANN library that leverages the proposed score computation method. LoRANN is competitive with the leading graph-based algorithms and outperforms the state-of-the-art GPU ANN methods on high-dimensional data sets.

📄 PDF Abstract BibTeX arXiv:2410.18926

Code (2)

ejaasaari/lorann 공식 구현 jax
ejaasaari/lorann-experiments 공식 구현

Tasks

ClusteringGPUQuantizationRAGregressionRetrieval-augmented Generation

Methods 이 논문이 사용한 방법론

Library 설명 없음

Similar Papers 제목 키워드 기반

Sparse Factorization of Large Square Matrices

2021-09-16 · Ruslan Khalitov, Tong Yu, Lei Cheng, Zhirong Yang

Square matrices appear in many machine learning problems and models. Optimization over a large square matrix is expensive in memory and in time. Therefore an economic approximation is needed. Conventional approximation a…

Long-range modeling

Matrix Compression via Randomized Low Rank and Low Precision Factorization

2023-10-17 · NeurIPS 2023 11 · Rajarshi Saha, Varun Srivastava, Mert Pilanci

Matrices are exceptionally useful in various fields of study as they provide a convenient framework to organize and manipulate data in a structured manner. However, modern matrices can involve billions of elements, makin…

Image CompressionQuantization

On the Complexity of Low-Rank Matrix Signing and Entrywise Power Matrix Factorization

2026-07-06 · Nicolas Gillis, Subhayan Saha, Stefano Sicilia, Arnaud Vandaele arxiv

Given a nonnegative matrix $X$, a factorization rank $r$ and {a positive integer $p$}, entrywise power matrix factorization (EPMF) looks for a low-rank matrix $X_r$ such that $X = |X_r|^{\circ p}$ (exact case) or $X \app…

Compact Factorization of Matrices Using Generalized Round-Rank

2018-05-01 · Pouya Pezeshkpour, Carlos Guestrin, Sameer Singh

Matrix factorization is a well-studied task in machine learning for compactly representing large, noisy data. In our approach, instead of using the traditional concept of matrix rank, we define a new notion of link-rank …

Approximate Method of Variational Bayesian Matrix Factorization/Completion with Sparse Prior

2018-03-14 · Ryota Kawasumi, Koujin Takeda

We derive analytical expression of matrix factorization/completion solution by variational Bayes method, under the assumption that observed matrix is originally the product of low-rank dense and sparse matrices with addi…

Matrix Completion