Affiliation:
1. Institute of Computing Technology, Chinese Academy of Sciences, University of Chinese Academy of Sciences
2. Institute of Computing Technology, Chinese Academy of Sciences
3. LIPADE, Université Paris Cité
Abstract
Locality-sensitive hashing (LSH) is a well-known solution for approximate nearest neighbor (ANN) search in high-dimensional spaces due to its robust theoretical guarantee on query accuracy. Traditional LSH-based methods mainly focus on improving the efficiency and accuracy of the query phase by designing different query strategies, but pay little attention to improving the efficiency of the indexing phase. They typically fine-tune existing data-oriented partitioning trees to index data points and support their query strategies. However, their strategy to directly partition the multi-dimensional space is time-consuming, and performance degrades as the space dimensionality increases. In this paper, we design an encoding-based tree called Dynamic Encoding Tree (DE-Tree) to improve the indexing efficiency and support efficient range queries based on Euclidean distance. Based on DE-Tree, we propose a novel LSH scheme called DET-LSH. DET-LSH adopts a novel query strategy, which performs range queries in multiple independent index DE-Trees to reduce the probability of missing exact NN points, thereby improving the query accuracy. Our theoretical studies show that DET-LSH enjoys probabilistic guarantees on query accuracy. Extensive experiments on real-world datasets demonstrate the superiority of DET-LSH over the state-of-the-art LSH-based methods on both efficiency and accuracy. While achieving better query accuracy than competitors, DET-LSH achieves up to 6x speedup in indexing time and 2x speedup in query time over the state-of-the-art LSH-based methods.
Publisher
Association for Computing Machinery (ACM)
Reference69 articles.
1. Alexandr Andoni. 2005. LSH Algorithm and Implementation (E2LSH). https://web.mit.edu/andoni/www/LSH/index.html.
2. Alexandr Andoni and Ilya Razenshteyn. 2015. Optimal data-dependent hashing for approximate near neighbors. In Proceedings of the forty-seventh annual ACM symposium on Theory of computing. 793--801.
3. Polypharmacology browser PPB2: target prediction combining nearest neighbors with machine learning;Awale Mahendra;Journal of chemical information and modeling,2018
4. ELPIS: Graph-Based Similarity Search for Scalable Data Science;Azizi Ilias;Proceedings of the VLDB Endowment,2023
5. Rudolf Bayer and Edward McCreight. 1970. Organization and maintenance of large ordered indices. In Proceedings of the 1970 ACM SIGFIDET (Now SIGMOD) Workshop on Data Description, Access and Control. 107--141.