The Community for Technology Leaders
Green Image
ISSN: 0162-8828
Mohammad Norouzi , University of Toronto, Toronto
Ali Punjani , University of Toronto, Toronto
David J. Fleet , University of Toronto, Toronto
There is growing interest in representing image data and feature descriptors using compact binary codes for fast near neighbor search. Although binary codes are motivated by their use as direct indices (addresses) into a hash table, codes longer than 32 bits are not being used as such, as it was thought to be ineffective. We introduce a rigorous way to build multiple hash tables on binary code substrings that enables exact k-nearest neighbor search in Hamming space. The approach is storage efficient and straightforward to implement. Theoretical analysis shows that the algorithm exhibits sub-linear run-time behavior for uniformly distributed codes. Empirical results show dramatic speedups over a linear scan baseline for datasets of up to one billion codes of 64, 128, or 256 bits.
similarity search, nearest neighbor search, hashing

M. Norouzi, A. Punjani and D. J. Fleet, "Fast Exact Search in Hamming Space with Multi-Index Hashing," in IEEE Transactions on Pattern Analysis & Machine Intelligence.
164 ms
(Ver 3.3 (11022016))