Skip to main content
QUICK REVIEW

[Paper Review] Improved Densification of One Permutation Hashing

Anshumali Shrivastava, Ping Li|arXiv (Cornell University)|Jun 18, 2014
Algorithms and Data CompressionComputer Science20 references15 citations
TL;DR

This paper proposes a provably improved densification scheme for one permutation hashing that reduces variance in hash estimators, especially for very sparse datasets, while maintaining the same O(d + k) query processing cost as prior work. The method enhances randomness in hash generation by redefining how empty bins are assigned to non-empty bins, leading to more accurate resemblance estimation and near-neighbor search results.

ABSTRACT

The existing work on densification of one permutation hashing reduces the query processing cost of the $(K,L)$-parameterized Locality Sensitive Hashing (LSH) algorithm with minwise hashing, from $O(dKL)$ to merely $O(d + KL)$, where $d$ is the number of nonzeros of the data vector, $K$ is the number of hashes in each hash table, and $L$ is the number of hash tables. While that is a substantial improvement, our analysis reveals that the existing densification scheme is sub-optimal. In particular, there is no enough randomness in that procedure, which affects its accuracy on very sparse datasets. In this paper, we provide a new densification procedure which is provably better than the existing scheme. This improvement is more significant for very sparse datasets which are common over the web. The improved technique has the same cost of $O(d + KL)$ for query processing, thereby making it strictly preferable over the existing procedure. Experimental evaluations on public datasets, in the task of hashing based near neighbor search, support our theoretical findings.

Motivation & Objective

  • To address the suboptimal randomness and high variance in the existing densification scheme for one permutation hashing, particularly on very sparse datasets.
  • To design a new densification procedure that preserves the O(d + k) query processing cost while improving statistical accuracy.
  • To provide a theoretically grounded improvement over the prior method [24] by analyzing and reducing estimator variance.
  • To validate the theoretical improvements experimentally on public datasets for resemblance estimation and near-neighbor retrieval tasks.

Proposed method

  • Introduces a new scheme for assigning empty bins to nearest non-empty bins in one permutation hashing, using a probabilistic assignment model to increase randomness.
  • Redefines the expected collision probability between hash values by modeling the distribution of nearest non-empty bins in a circular arrangement.
  • Uses combinatorial analysis to compute the expected pairwise product of indicator variables for non-empty and empty bins under the new assignment rule.
  • Derives a new expression for the variance of the resemblance estimator by computing the expectation of products of hash indicators under the improved scheme.
  • Analyzes the probability p that two empty bins are assigned to the same non-empty bin, showing it is 1.5/(m+1) under the new method, compared to 2/(m+1) in [24], leading to lower variance.
  • Maintains computational efficiency by ensuring the entire densification process runs in O(d + k) time, matching the original scheme’s complexity.

Experimental results

Research questions

  • RQ1Does the existing densification scheme in [24] provide sufficient randomness for accurate resemblance estimation in very sparse datasets?
  • RQ2Can a new densification procedure be designed that reduces variance in hash estimators while preserving the O(d + k) query cost?
  • RQ3What is the theoretical impact of different assignment rules for empty bins on the variance of the resemblance estimator?
  • RQ4How does the improved scheme compare to [24] in terms of accuracy for near-neighbor search and resemblance estimation on real-world sparse datasets?
  • RQ5Is the variance reduction in the new scheme more pronounced in ultra-sparse data, as suggested by theoretical analysis?

Key findings

  • The proposed densification scheme achieves provably lower variance than the existing method in [24], especially for very sparse datasets.
  • The improvement in variance is due to a refined assignment rule where the probability p of two empty bins mapping to the same non-empty bin is reduced from 2/(m+1) to 1.5/(m+1).
  • The new method maintains the same O(d + k) query processing cost as the original scheme, making it strictly preferable in terms of efficiency and accuracy.
  • Experimental results on public datasets confirm that the improved scheme outperforms [24] in both resemblance estimation and near-neighbor retrieval tasks.
  • The variance reduction is most significant in ultra-sparse data, which are common in web-scale applications such as text processing and duplicate detection.
  • The theoretical analysis confirms that the new scheme better preserves the LSH property by ensuring more uniform and independent hash collisions.

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.