Fast Search on Binary Codes by Weighted Hamming Distance
Zhenyu Weng, Yuesheng Zhu, Ruixin Liu

TL;DR
This paper introduces a fast, non-exhaustive search algorithm for finding the nearest binary codes using weighted Hamming distance, significantly improving speed and accuracy over existing methods.
Contribution
It proposes a novel search algorithm leveraging hash tables and substring splitting to efficiently handle long binary codes for weighted Hamming distance searches.
Findings
Improves search accuracy over existing non-exhaustive algorithms.
Achieves orders-of-magnitude faster search than linear scan.
Effectively handles long binary codes through substring-based hashing.
Abstract
Weighted Hamming distance, as a similarity measure between binary codes and binary queries, provides superior accuracy in search tasks than Hamming distance. However, how to efficiently and accurately find binary codes that have the smallest weighted Hamming distance to the query remains an open issue. In this paper, a fast search algorithm is proposed to perform the non-exhaustive search for nearest binary codes by weighted Hamming distance. By using binary codes as direct bucket indices in a hash table, the search algorithm generates a sequence to probe the buckets based on the independence characteristic of the weights for each bit. Furthermore, a fast search framework based on the proposed search algorithm is designed to solve the problem of long binary codes. Specifically, long binary codes are split into substrings and multiple hash tables are built on them. Then, the…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsAdvanced Image and Video Retrieval Techniques · Advanced biosensing and bioanalysis techniques · QR Code Applications and Technologies
