English

Hashing for statistics over k-partitions

Data Structures and Algorithms 2016-02-16 v3

Abstract

In this paper we analyze a hash function for kk-partitioning a set into bins, obtaining strong concentration bounds for standard algorithms combining statistics from each bin. This generic method was originally introduced by Flajolet and Martin~[FOCS'83] in order to save a factor Ω(k)\Omega(k) of time per element over kk independent samples when estimating the number of distinct elements in a data stream. It was also used in the widely used HyperLogLog algorithm of Flajolet et al.~[AOFA'97] and in large-scale machine learning by Li et al.~[NIPS'12] for minwise estimation of set similarity. The main issue of kk-partition, is that the contents of different bins may be highly correlated when using popular hash functions. This means that methods of analyzing the marginal distribution for a single bin do not apply. Here we show that a tabulation based hash function, mixed tabulation, does yield strong concentration bounds on the most popular applications of kk-partitioning similar to those we would get using a truly random hash function. The analysis is very involved and implies several new results of independent interest for both simple and double tabulation, e.g. a simple and efficient construction for invertible bloom filters and uniform hashing on a given set.

Keywords

Cite

@article{arxiv.1411.7191,
  title  = {Hashing for statistics over k-partitions},
  author = {Søren Dahlgaard and Mathias Bæk Tejs Knudsen and Eva Rotenberg and Mikkel Thorup},
  journal= {arXiv preprint arXiv:1411.7191},
  year   = {2016}
}

Comments

Appear at FOCS'15

R2 v1 2026-06-22T07:12:58.389Z