[Paper Review] Improving Similarity Search with High-dimensional Locality-sensitive Hashing
This paper proposes DenseFly and FlyHash, two data-independent locality-sensitive hashing (LSH) methods inspired by the fruit fly olfactory system, which use high-dimensional binary hashing to improve similarity search. By projecting inputs into high-dimensional spaces with sparse binary projections and winner-take-all sparsification, the methods achieve superior nearest-neighbor retrieval performance and rank similarity preservation across six benchmark datasets, outperforming existing LSH techniques while maintaining computational efficiency.
We propose a new class of data-independent locality-sensitive hashing (LSH) algorithms based on the fruit fly olfactory circuit. The fundamental difference of this approach is that, instead of assigning hashes as dense points in a low dimensional space, hashes are assigned in a high dimensional space, which enhances their separability. We show theoretically and empirically that this new family of hash functions is locality-sensitive and preserves rank similarity for inputs in any `p space. We then analyze different variations on this strategy and show empirically that they outperform existing LSH methods for nearest-neighbors search on six benchmark datasets. Finally, we propose a multi-probe version of our algorithm that achieves higher performance for the same query time, or conversely, that maintains performance of prior approaches while taking significantly less indexing time and memory. Overall, our approach leverages the advantages of separability provided by high-dimensional spaces, while still remaining computationally efficient
Motivation & Objective
- To develop a new class of data-independent locality-sensitive hashing algorithms inspired by the fruit fly olfactory circuit for improved similarity search in high-dimensional data.
- To demonstrate that high-dimensional binary hashing enhances separability and preserves rank similarity under any ℓp norm, improving nearest-neighbor retrieval accuracy.
- To design a multi-probe variant that enables efficient binning for high-dimensional hashes, solving a key open problem in high-dimensional LSH.
- To achieve superior performance with minimal computational overhead, including using only one hash table for deployment.
- To validate the approach on six benchmark datasets and show consistent gains over existing LSH methods like SimHash, WTAHash, and FlyHash.
Proposed method
- The method uses a three-layer architecture inspired by the fruit fly olfactory system: input odors are encoded in 50D, projected to 50D via mean-centering, then mapped to 2000D via sparse binary random projections.
- Each high-dimensional hash is generated using a sparse binary random projection matrix, followed by a global winner-take-all mechanism that retains only the top 5% of highest-activating units.
- The resulting hash is a sparse binary vector in high-dimensional space (e.g., 2000D), which enhances separability and preserves similarity relationships in input space.
- The paper introduces FlyHash as a variant that preserves rank similarity under any ℓp norm, proven theoretically and validated empirically.
- A multi-probe extension is proposed to improve search performance by probing multiple bins in high-dimensional hash space efficiently, using a low-dimensional intermediary for binning.
- The approach maintains linear time and space complexity, enabling practical deployment with minimal indexing cost.
Experimental results
Research questions
- RQ1Can high-dimensional binary hashing, inspired by the fruit fly olfactory circuit, outperform existing data-independent LSH methods in nearest-neighbor search?
- RQ2Does the proposed high-dimensional hashing strategy preserve rank similarity under any ℓp norm, as theoretically claimed?
- RQ3Can a multi-probe strategy be efficiently designed for high-dimensional hashes to improve search performance without increasing space or time complexity?
- RQ4How does the performance of DenseFly compare to SimHash, WTAHash, and FlyHash across diverse datasets and hash lengths?
- RQ5What is the impact of varying the WTA factor and hash length on rank correlation and retrieval accuracy?
Key findings
- DenseFly outperformed SimHash, WTAHash, and FlyHash on six benchmark datasets in terms of recall and precision, achieving a 42.5% Kendall-τ rank correlation on MNIST at 16-bit hash length.
- FlyHash preserved rank similarity across all ℓp norms and achieved higher rank correlation than prior methods, with a 28.1% Kendall-τ on GLoVE at 16-bit length.
- The multi-probe version of FlyHash (FlyHash-MP) achieved higher performance than standard FlyHash while maintaining similar time and space complexity.
- DenseFly achieved a 0.480 Kendall-τ rank correlation at 32-bit length on MNIST, significantly outperforming WTAHash (0.375) and FlyHash (0.375).
- The method achieved high performance with only one hash table, simplifying deployment and reducing memory overhead compared to multi-table LSH schemes.
- Empirical results confirmed that high-dimensional hashing enhances separability and improves retrieval accuracy without increasing computational cost.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.