Infinity Search: Approximate Vector Search with Projections on q-Metric Spaces

Antonio Pariente, Ignacio Hounie, Santiago Segarra, Alejandro Ribeiro
6/6/2025
cs.IRcs.LGeess.SP

No confident code implementation found for this paper.

Abstract

Despite the ubiquity of vector search applications, prevailing search algorithms overlook the metric structure of vector embeddings, treating it as a constraint rather than exploiting its underlying properties. In this paper, we demonstrate that in $q$-metric spaces, metric trees can leverage a stronger version of the triangle inequality to reduce comparisons for exact search. Notably, as $q$ approaches infinity, the search complexity becomes logarithmic. Therefore, we propose a novel projection method that embeds vector datasets with arbitrary dissimilarity measures into $q$-metric spaces while preserving the nearest neighbor. We propose to learn an approximation of this projection to efficiently transform query points to a space where euclidean distances satisfy the desired properties. Our experimental results with text and image vector embeddings show that learning $q$-metric approximations enables classic metric tree algorithms -- which typically underperform with high-dimensional data -- to achieve competitive performance against state-of-the-art search methods.

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!

Cite this paper

@article{pariente2025infinity,
  title  = {Infinity Search: Approximate Vector Search with Projections on q-Metric Spaces},
  author = {Antonio Pariente and Ignacio Hounie and Santiago Segarra and Alejandro Ribeiro},
  year   = {2025},
  eprint = {2506.06557},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2506.06557v1}
}

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/2506.06557.svg)](https://codeofpaper.com/paper/2506.06557)

Discussion