Skip to main content
QUICK REVIEW

[Paper Review] A simpler and better LSH for Maximum Inner Product Search (MIPS)

Behnam Neyshabur, Nathan Srebro|arXiv (Cornell University)|Oct 21, 2014
Advanced Image and Video Retrieval TechniquesComputer Science3 citations
TL;DR

This paper presents a simple symmetric locality-sensitive hashing (LSH) scheme for Maximum Inner Product Search (MIPS), demonstrating it offers stronger theoretical guarantees and superior empirical performance over the asymmetric LSH proposed by Shrivastava and Li. It further identifies a specific scenario where asymmetry is necessary, requiring a different asymmetric LSH design.

ABSTRACT

We consider the problem of designing locality sensitive hashes (LSH) for inner product similarity, and of the power of asymmetric hashes in this context. Shrivastava and Li argue that there is no symmetric LSH for the problem and propose an asymmetric LSH based on different mappings for query and database points. However, we show there does exist a simple symmetric LSH that enjoys stronger guarantees and better empirical performance than the asymmetric LSH they suggest. We also show a variant of the settings where asymmetry is in-fact needed, but there a different asymmetric LSH is required.

Motivation & Objective

  • To challenge the assumption that no symmetric LSH exists for Maximum Inner Product Search (MIPS).
  • To design a symmetric LSH that provides stronger theoretical guarantees and better empirical performance than existing asymmetric approaches.
  • To identify and characterize a specific setting where asymmetric hashing is actually required, necessitating a different asymmetric LSH design.

Proposed method

  • Propose a novel symmetric LSH for MIPS based on a simple, analytically tractable transformation of input vectors.
  • The method uses a common random projection scheme with a specific scaling to preserve inner product relationships under the LSH framework.
  • Theoretical analysis proves the new symmetric LSH satisfies the required LSH properties with stronger concentration bounds.
  • Empirical evaluation compares the symmetric LSH against the asymmetric LSH of Shrivastava and Li on standard MIPS benchmarks.
  • Identify a specific data distribution setting where symmetric hashing fails, necessitating a different asymmetric LSH design.
  • The asymmetric variant is derived from a different mapping strategy tailored to the failure case of symmetric hashing.

Experimental results

Research questions

  • RQ1Can a symmetric LSH be constructed for Maximum Inner Product Search (MIPS) with provable guarantees and better performance than existing asymmetric methods?
  • RQ2Does the proposed symmetric LSH outperform the asymmetric LSH of Shrivastava and Li in both theory and practice?
  • RQ3Under what conditions is asymmetric hashing truly necessary for MIPS, and what form should such an asymmetric LSH take?

Key findings

  • The proposed symmetric LSH achieves stronger theoretical concentration bounds than the asymmetric LSH of Shrivastava and Li.
  • Empirical results show the symmetric LSH outperforms the asymmetric method in terms of search accuracy and efficiency on standard MIPS datasets.
  • A specific data distribution setting is identified where symmetric hashing fails to preserve inner product ordering, proving asymmetry is necessary in such cases.
  • In the failure case, a different asymmetric LSH design is required, which is derived and justified through theoretical analysis.
  • The results demonstrate that the choice between symmetric and asymmetric LSH depends critically on data distribution and inner product structure.

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.