Skip to main content
QUICK REVIEW

[Paper Review] Norm-Ranging LSH for Maximum Inner Product Search

Xiao Yan, Jinfeng Li|arXiv (Cornell University)|Sep 24, 2018
Advanced Image and Video Retrieval TechniquesComputer Science23 citations
TL;DR

This paper proposes Norm-Ranging LSH, a novel hashing method for Maximum Inner Product Search (MIPS) that partitions datasets into sub-datasets based on 2-norm percentiles to mitigate performance degradation from long-tailed norm distributions. By applying Simple-LSH independently to each sub-dataset with localized normalization, it achieves provably lower query time complexity and reduces probe counts by an order of magnitude compared to Simple-LSH, significantly accelerating MIPS workloads.

ABSTRACT

Neyshabur and Srebro proposed Simple-LSH, which is the state-of-the-art hashing method for maximum inner product search (MIPS) with performance guarantee. We found that the performance of Simple-LSH, in both theory and practice, suffers from long tails in the 2-norm distribution of real datasets. We propose Norm-ranging LSH, which addresses the excessive normalization problem caused by long tails in Simple-LSH by partitioning a dataset into multiple sub-datasets and building a hash index for each sub-dataset independently. We prove that Norm-ranging LSH has lower query time complexity than Simple-LSH. We also show that the idea of partitioning the dataset can improve other hashing based methods for MIPS. To support efficient query processing on the hash indexes of the sub-datasets, a novel similarity metric is formulated. Experiments show that Norm-ranging LSH achieves an order of magnitude speedup over Simple-LSH for the same recall, thus significantly benefiting applications that involve MIPS.

Motivation & Objective

  • To address the performance degradation of Simple-LSH in Maximum Inner Product Search (MIPS) due to long-tailed 2-norm distributions in real datasets.
  • To reduce query time complexity in MIPS by avoiding excessive global normalization that distorts inner product magnitudes.
  • To design a robust, parameter-free hashing framework that maintains high recall while minimizing the number of items probed.
  • To generalize the approach to other LSH-based MIPS methods, such as L2-ALSH, by applying dataset partitioning.

Proposed method

  • Partition the dataset into sub-datasets based on percentiles of the 2-norm distribution to group items with similar magnitudes.
  • Apply Simple-LSH as a subroutine to each sub-dataset independently, using the maximum 2-norm within each sub-dataset for normalization.
  • Introduce a novel similarity metric to define a probing order across buckets from different sub-datasets, enabling efficient query processing.
  • Prove that under mild conditions, Norm-Ranging LSH achieves lower query time complexity than Simple-LSH due to improved collision probability.
  • Extend the framework to L2-ALSH by partitioning the dataset and deriving sub-dataset-specific ρ values that are smaller than the global ρ.
  • Optimize parameters per sub-dataset using localized normalization factors, reducing the need for overly conservative global bounds.

Experimental results

Research questions

  • RQ1Does the long-tailed distribution of 2-norms in real datasets degrade the performance of Simple-LSH in MIPS?
  • RQ2Can partitioning the dataset by 2-norm percentiles reduce the query time complexity of Simple-LSH?
  • RQ3Does Norm-Ranging LSH achieve lower probe counts than Simple-LSH and L2-ALSH at the same recall?
  • RQ4Is the performance improvement of Norm-Ranging LSH robust to different partitioning schemes (e.g., percentile vs. uniform)?
  • RQ5Can the dataset partitioning strategy be generalized to improve other LSH-based MIPS algorithms like L2-ALSH?

Key findings

  • Norm-Ranging LSH reduces probe counts by an order of magnitude compared to Simple-LSH at the same recall on three real datasets.
  • The method achieves provably lower query time complexity than Simple-LSH under mild conditions, due to improved collision probability from localized normalization.
  • Performance improves with increasing numbers of sub-datasets but stabilizes when the number is sufficiently large, indicating diminishing returns.
  • Uniform partitioning of 2-norms performs slightly better than percentile-based partitioning, showing robustness to partitioning strategy as long as similar norms are grouped.
  • The dataset partitioning approach generalizes to L2-ALSH, yielding smaller ρ values and lower query time complexity than the original method.
  • Empirical results confirm that Norm-Ranging LSH significantly accelerates MIPS-based applications by reducing the number of items examined per query.

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.