GleanVec: Accelerating vector search with minimalist nonlinear dimensionality reduction

Mariano Tepper, Ishwar Singh Bhati, Cecilia Aguerrebere, Ted Willke
10/14/2024
cs.IRcs.LG

No confident code implementation found for this paper.

Abstract

Embedding models can generate high-dimensional vectors whose similarity reflects semantic affinities. Thus, accurately and timely retrieving those vectors in a large collection that are similar to a given query has become a critical component of a wide range of applications. In particular, cross-modal retrieval (e.g., where a text query is used to find images) is gaining momentum rapidly. Here, it is challenging to achieve high accuracy as the queries often have different statistical distributions than the database vectors. Moreover, the high vector dimensionality puts these search systems under compute and memory pressure, leading to subpar performance. In this work, we present new linear and nonlinear methods for dimensionality reduction to accelerate high-dimensional vector search while maintaining accuracy in settings with in-distribution (ID) and out-of-distribution (OOD) queries. The linear LeanVec-Sphering outperforms other linear methods, trains faster, comes with no hyperparameters, and allows to set the target dimensionality more flexibly. The nonlinear Generalized LeanVec (GleanVec) uses a piecewise linear scheme to further improve the search accuracy while remaining computationally nimble. Initial experimental results show that LeanVec-Sphering and GleanVec push the state of the art for vector search.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{tepper2024gleanvec,
  title  = {GleanVec: Accelerating vector search with minimalist nonlinear dimensionality reduction},
  author = {Mariano Tepper and Ishwar Singh Bhati and Cecilia Aguerrebere and Ted Willke},
  year   = {2024},
  eprint = {2410.22347},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2410.22347v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2410.22347.svg)](https://codeofpaper.com/paper/2410.22347)

Discussion