{"title":"DF-LSH: An efficient Double Filters Locality Sensitive Hashing for approximate nearest neighbor search","authors":"Zhenpei Shan , Defu Zhang , Yunqi Lei","doi":"10.1016/j.engappai.2025.110742","DOIUrl":null,"url":null,"abstract":"<div><div>Locality-sensitive hashing (LSH) is an effective randomized technique for high-dimensional approximate nearest neighbor search. In practice, LSH has been used in large-scale recommendation and information retrieval tasks. However, it often suffers from the problem of generating many false positives due to the randomness of hash functions, which significantly increases the query overhead needed to retrieve these false positives. To this end, recent LSH variants have proposed more rigorous search schemes or used more compact hash codes to identify eligible candidates. However, as the number of candidates increases, query performance often degrades. To effectively address this problem, we propose a Double Filters Locality Sensitive Hashing scheme, called DF-LSH, designed for efficient approximate nearest neighbor search in high-dimensional datasets. DF-LSH first learns data-aware hash functions for a Bloom filter to decrease false positives, and then leverages the geometrical nature of random projection for further filter. By employing these double filters, DF-LSH provides probability guarantees similar to that of standard LSH schemes for query performance. Experiment results demonstrate that DF-LSH achieves superior query performance in both accuracy and efficiency over various high-dimensional datasets, with an average query time reduction of up to around 45x compared against previous LSH techniques while maintaining identical query accuracy.</div></div>","PeriodicalId":50523,"journal":{"name":"Engineering Applications of Artificial Intelligence","volume":"152 ","pages":"Article 110742"},"PeriodicalIF":8.0000,"publicationDate":"2025-04-11","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Engineering Applications of Artificial Intelligence","FirstCategoryId":"94","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S0952197625007420","RegionNum":2,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"AUTOMATION & CONTROL SYSTEMS","Score":null,"Total":0}
引用次数: 0
Abstract
Locality-sensitive hashing (LSH) is an effective randomized technique for high-dimensional approximate nearest neighbor search. In practice, LSH has been used in large-scale recommendation and information retrieval tasks. However, it often suffers from the problem of generating many false positives due to the randomness of hash functions, which significantly increases the query overhead needed to retrieve these false positives. To this end, recent LSH variants have proposed more rigorous search schemes or used more compact hash codes to identify eligible candidates. However, as the number of candidates increases, query performance often degrades. To effectively address this problem, we propose a Double Filters Locality Sensitive Hashing scheme, called DF-LSH, designed for efficient approximate nearest neighbor search in high-dimensional datasets. DF-LSH first learns data-aware hash functions for a Bloom filter to decrease false positives, and then leverages the geometrical nature of random projection for further filter. By employing these double filters, DF-LSH provides probability guarantees similar to that of standard LSH schemes for query performance. Experiment results demonstrate that DF-LSH achieves superior query performance in both accuracy and efficiency over various high-dimensional datasets, with an average query time reduction of up to around 45x compared against previous LSH techniques while maintaining identical query accuracy.
期刊介绍:
Artificial Intelligence (AI) is pivotal in driving the fourth industrial revolution, witnessing remarkable advancements across various machine learning methodologies. AI techniques have become indispensable tools for practicing engineers, enabling them to tackle previously insurmountable challenges. Engineering Applications of Artificial Intelligence serves as a global platform for the swift dissemination of research elucidating the practical application of AI methods across all engineering disciplines. Submitted papers are expected to present novel aspects of AI utilized in real-world engineering applications, validated using publicly available datasets to ensure the replicability of research outcomes. Join us in exploring the transformative potential of AI in engineering.