120
v1v2 (latest)

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

Main:8 Pages
29 Figures
Bibliography:2 Pages
3 Tables
Appendix:28 Pages
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 qq-metric spaces -- in which triangle sides raised to the power of qq are smaller than the sum of the qq-powers of the other two. Notice that the use of learned approximations of projected qq-metric distances renders the search pipeline approximate. We show in experiments that increasing values of qq result in faster search but lower recall. Overall, search in q-metric and infinity metric spaces is competitive with existing search methods.

View on arXiv
Comments on this paper