A Query-Aware Method for Approximate Range Search in Hamming Space

被引:0
作者
Song, Yang [1 ]
Gu, Yu [2 ]
Huang, Min [1 ]
Yu, Ge [2 ]
机构
[1] Northeastern Univ, Coll Informat Sci & Engn, Shenyang 110819, Peoples R China
[2] Northeastern Univ, Sch Comp Sci & Engn, Shenyang 110819, Peoples R China
基金
中国国家自然科学基金; 国家重点研发计划;
关键词
Vectors; Search problems; Hamming distances; Accuracy; Big Data; Task analysis; Space exploration; Approximate range search; hamming space; query-aware dimension partitioning; sampling; DICTIONARY LOOK-UP;
D O I
10.1109/TBDATA.2024.3436636
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
The range search in Hamming space is to explore the binary vectors whose Hamming distances with a query vector are within a given searching threshold. It arises as the core component of many applications, such as image retrieval, pattern recognition, and machine learning. Existing searching methods in Hamming space require much pre-processing overhead, which are not suitable for processing multiple batches of incoming data in a short time. Moreover, significant pre-processing overhead can be a burden when the number of queries is relatively small. In this paper, we propose a query-aware method for the approximate range search in Hamming space with no pre-process. Specifically, to eliminate the impact of data skewness, we introduce JS-divergence to measure the divergence between data's distribution and query's distribution, and specially design a Query-Aware Dimension Partitioning (QADP) strategy to partition the dimensions into several subspaces according to the scales of given searching thresholds. In the subspaces, the candidates can be efficiently obtained by the basic Pigeonhole Principle and our proposed Anti-Pigeonhole Principle. Furthermore, a sampling strategy is designed to estimate the Hamming distance between the query vector and arbitrary binary vector to obtain the final approximate searching results among the candidates. Experimental results on four real-world datasets illustrate that, in comparison with benchmark methods, our method possesses the superior advantages on searching accuracy and efficiency. The proposed method can increase the searching efficiency up to nearly 16 times with high searching accuracy.
引用
收藏
页码:848 / 860
页数:13
相关论文
共 43 条
[1]   Online anomaly search in time series: significant online discords [J].
Avogadro, Paolo ;
Palonca, Luca ;
Dominoni, Matteo Alessandro .
KNOWLEDGE AND INFORMATION SYSTEMS, 2020, 62 (08) :3083-3106
[2]   Concentration inequalities for sampling without replacement [J].
Bardenet, Remi ;
Maillard, Odalric-Ambrym .
BERNOULLI, 2015, 21 (03) :1361-1385
[3]   An Optimal and Progressive Approach to Online Search of Top-K Influential Communities [J].
Bi, Fei ;
Chang, Lijun ;
Lin, Xuemin ;
Zhang, Wenjie .
PROCEEDINGS OF THE VLDB ENDOWMENT, 2018, 11 (09) :1056-1068
[4]  
Brodal G. S., 1996, Combinatorial Pattern Matching. 7th Annual Symposium, CPM 96. Proceedings, P65
[5]   Improved bounds for dictionary look-up with one error [J].
Brodal, GS ;
Venkatesh, S .
INFORMATION PROCESSING LETTERS, 2000, 75 (1-2) :57-59
[6]   HashNet: Deep Learning to Hash by Continuation [J].
Cao, Zhangjie ;
Long, Mingsheng ;
Wang, Jianmin ;
Yu, Philip S. .
2017 IEEE INTERNATIONAL CONFERENCE ON COMPUTER VISION (ICCV), 2017, :5609-5618
[7]  
Charikar M.S., 2002, PROC ACM S THEORY CO, P380, DOI DOI 10.1145/509907.509965
[8]  
Chen D, 2020, AAAI CONF ARTIF INTE, V34, P10518
[9]   Weighted Quantization and Hamming Search for Fast Image Super-Resolution [J].
Chen, Weimin ;
Liu, Xianglong .
2018 18TH IEEE INTERNATIONAL CONFERENCE ON DATA MINING WORKSHOPS (ICDMW), 2018, :372-378
[10]  
Cole Richard., 2004, Proceedings of Symposium on Theory of Computing, P91, DOI DOI 10.1145/1007352.1007374