U-HNSW: An Efficient Graph-based Solution to ANNS Under Universal Lp Metrics
Abstract
Approximate nearest neighbor search under universal Lp metrics (ANNS-U-Lp) is an important and challenging research problem, as it requires answering queries under all possible p (0<p <= 2) values simultaneously without building an index for each possible p value. The state-of-the-art solution, called MLSH, is a Locality-Sensitive Hashing (LSH)-based ANNS method with barely acceptable query performance. In contrast, graph-based ANNS methods, which offer significantly improved query efficiency on the ANNS-Lp problem (with a fixed p-value), cannot be naively extended to the ANNS-U-Lp problem. In this paper, we propose U-HNSW, the first graph-based method for ANNS-U-Lp. Our scheme uses HNSW graph indexes built on two base metrics (L1 and L2) to generate promising nearest neighbors candidates, and then verifies these candidates with an early-termination strategy that substantially reduces the number of expensive Lp distance computations. Experimental results show that U-HNSW not only achieves up to 2670 times shorter query times than the original MLSH implementation running on a RAM disk (up to 15 times shorter than the idealized MLSH), but also outperforms the original HNSW on the ANNS-Lp problem (with a fixed p-value), except for a few special p values.
Turn this paper into a lesson
ArcXiv compiles a structured reading guide from this paper's metadata: plain-English importance, contributions, prerequisite concepts, which sections to read first, flashcards, and a quiz. Grounded in the abstract, never invented.