aiqbench analysis
This research introduces a novel approximate vector search framework leveraging projections onto $q$-metric and ultrametric spaces to accelerate nearest neighbor retrieval. By learning approximations of projection operators, the method trades a controlled reduction in recall for significantly faster search times compared to standard pipelines. The approach offers a viable path toward optimizing large-scale similarity search without relying on traditional exact metric structures.
Infinity Search: Approximate Vector Search with Projections on q-Metric Spaces
arXiv:2506.06557v3 Announce Type: replace-cross Abstract: An ultrametric space or infinity-metric space is defined by a dissimilarity function that satisfies a strong triangle inequality in which every side of a triangle is not larger than the larger of the other two. We show that search in ultrametric spaces with a vantage point tree has worst-case complexity equal to the depth of the tree. Since datasets of interest are not ultrametric in general, we employ a projection operator that transforms an arbitrary dissimilarity function into an ultrametric space while preserving nearest neighbors. We further learn an approximation of this projection operator to efficiently compute ultrametric distances between query points and points in the dataset. We proceed to solve a more general problem in which we consider projections in $q$-metric spaces -- in which triangle sides raised to the power of $q$ are smaller than the sum of the $q$-powers of the other two. Notice that the use of learned approximations of projected $q$-metric distances renders the search pipeline approximate. We show in experiments that increasing values of $q$ result in faster search but lower recall. Overall, search in q-metric and infinity metric spaces is competitive with existing search methods.
Abstract:An ultrametric space or infinity-metric space is defined by a dissimilarity function that satisfies a strong triangle inequality in which every side of a triangle is not larger than the larger of the other two. We show that search in ultrametric spaces with a vantage point tree has worst-case complexity equal to the depth of the tree. Since datasets of interest are not ultrametric in general, we employ a projection operator that transforms an arbitrary dissimilarity function into an ultrametric space while preserving nearest neighbors. We further learn an approximation of this projection operator to efficiently compute ultrametric distances between query points and points in the dataset. We proceed to solve a more general problem in which we consider projections in $q$-metric spaces -- in which triangle sides raised to the power of $q$ are smaller than the sum of the $q$-powers of the other two. Notice that the use of learned approximations of projected $q$-metric distances renders the search pipeline approximate. We show in experiments that increasing values of $q$ result in faster search but lower recall. Overall, search in q-metric and infinity metric spaces is competitive with existing search methods.
Information Retrieval (cs.IR); Machine Learning (cs.LG); Signal Processing (eess.SP); Metric Geometry (math.MG)
arXiv:2506.06557 [cs.IR]
(or arXiv:2506.06557v3 [cs.IR] for this version)
https://doi.org/10.48550/arXiv.2506.06557 Focus to learn more arXiv-issued DOI via DataCite
arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.
Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.
Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs.
Full text under the publisher's open licence · 293 words
Related coverage

Selecting a vector store for Amazon Bedrock Knowledge Bases
AWS · Sep 17, 2026

Presentation: Postgres for Production Agents: Your Relational Foundation for Enterprise AI
InfoQ · Jul 15, 2026

PIRAMID: Progress and Plans
LessWrong · Jul 27, 2026

From code to diagrams: Agentic architecture documentation with Amazon Bedrock AgentCore
AWS · Sep 2, 2026