Skip to main content
QUICK REVIEW

[Paper Review] Fast Cross-Polytope Locality-Sensitive Hashing

Christopher Kennedy, Rachel Ward|arXiv (Cornell University)|Feb 22, 2016
Advanced Image and Video Retrieval TechniquesComputer Science1 citations
TL;DR

This paper proposes a fast variant of cross-polytope locality-sensitive hashing (LSH) for angular distance that reduces hash computation time from 𝒪(d²) to 𝒪(d ln d) by replacing the dense Gaussian matrix with a fast Johnson-Lindenstrauss transform followed by discrete pseudo-rotation, while preserving optimal asymptotic sensitivity and achieving the optimal rate of convergence for sensitivity. The method also reduces randomness to 𝒪(ln⁹ d) bits using low-randomness JL transforms.

ABSTRACT

We provide a variant of cross-polytope locality sensitive hashing with respect to angular distance which is provably optimal in asymptotic sensitivity and enjoys $\mathcal{O}(d \ln d )$ hash computation time. Building on a recent result (by Andoni, Indyk, Laarhoven, Razenshteyn, Schmidt, 2015), we show that optimal asymptotic sensitivity for cross-polytope LSH is retained even when the dense Gaussian matrix is replaced by a fast Johnson-Lindenstrauss transform followed by discrete pseudo-rotation, reducing the hash computation time from $\mathcal{O}(d^2)$ to $\mathcal{O}(d \ln d )$. Moreover, our scheme achieves the optimal rate of convergence for sensitivity. By incorporating a low-randomness Johnson-Lindenstrauss transform, our scheme can be modified to require only $\mathcal{O}(\ln^9(d))$ random bits

Motivation & Objective

  • To reduce the computational cost of cross-polytope LSH for angular distance while preserving optimal asymptotic sensitivity.
  • To achieve faster hash computation by replacing dense Gaussian matrices with a fast Johnson-Lindenstrauss transform and discrete pseudo-rotation.
  • To maintain optimal rate of convergence for sensitivity in the new scheme.
  • To minimize randomness usage by employing a low-randomness Johnson-Lindenstrauss transform, reducing random bits to 𝒪(ln⁹ d).

Proposed method

  • Replace the dense Gaussian matrix in cross-polytope LSH with a fast Johnson-Lindenstrauss transform to accelerate projection computation.
  • Apply discrete pseudo-rotation to the transformed vectors to maintain the structure required for cross-polytope LSH.
  • Leverage a recent result (Andoni et al., 2015) to prove that the sensitivity remains asymptotically optimal despite the transformation.
  • Use a low-randomness variant of the Johnson-Lindenstrauss transform to reduce the number of random bits to 𝒪(ln⁹ d).
  • Ensure that the resulting hash function preserves the angular distance properties required for locality-sensitive hashing.
  • Prove that the new scheme achieves the optimal rate of convergence for sensitivity, matching theoretical lower bounds.

Experimental results

Research questions

  • RQ1Can the computational cost of cross-polytope LSH be reduced from 𝒪(d²) to 𝒪(d ln d) without sacrificing asymptotic sensitivity?
  • RQ2Does replacing the dense Gaussian matrix with a fast Johnson-Lindenstrauss transform and discrete pseudo-rotation preserve optimal sensitivity in cross-polytope LSH?
  • RQ3Can the rate of convergence for sensitivity be maintained at the optimal level in the new scheme?
  • RQ4What is the minimal number of random bits required to achieve optimal sensitivity in the fast LSH variant?

Key findings

  • The proposed method reduces hash computation time from 𝒪(d²) to 𝒪(d ln d), achieving a significant speedup for high-dimensional data.
  • The scheme retains optimal asymptotic sensitivity, matching the theoretical lower bound for cross-polytope LSH.
  • The rate of convergence for sensitivity is optimal, meaning the method converges to the best possible performance as dimension increases.
  • By using a low-randomness Johnson-Lindenstrauss transform, the scheme reduces randomness usage to 𝒪(ln⁹ d) random bits, improving efficiency in practice.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.