Exponential space improvement for min-wise based algorithms

Guy Feigenblat, Ely Porat, Ariel Shiftan

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

4 Scopus citations

Abstract

In this paper we introduce a general framework that exponentially improves the space, the degree of independence, and the time needed by min-wise based algorithms. The authors, in SODA11, [15] introduced an exponential time improvement for min-wise based algorithms by defining and constructing an almost k-min-wise independent family of hash functions. Here we develop an alternative approach that achieves both exponential time and exponential space improvement. The new approach relaxes the need for approximately min-wise hash functions, hence gets around the Ω(log1/ε) independence lower bound in [23]. This is done by defining and constructing a d-k-min-wise independent family of hash functions. Surprisingly, for most cases only 8-wise independence is needed for the additional improvement. Moreover, as the degree of independence is a small constant, our function can be implemented efficiently. Informally, under this definition, all subsets of size d of any fixed set X have an equal probability to have hash values among the minimal k values in X, where the probability is over the random choice of hash function from the family. This property measures the randomness of the family, as choosing a truly random function, obviously, satisfies the definition for d = k = |X|. We define and give an efficient time and space construction of approximately d-k-min-wise independent family of hash functions for the case where d = 2, as this is sufficient for the additional exponential improvement. We discuss how this construction can be used to improve many min-wise based algorithms. To our knowledge such definitions, for hash functions, were never studied and no construction was given before. As an example we show how to apply it for similarity and rarity estimation over data streams. Other min-wise based algorithms, can be adjusted in the same way.

Original languageEnglish
Title of host publication32nd International Conference on Foundations of Software Technology and Theoretical Computer Science, FSTTCS 2012
Pages70-85
Number of pages16
DOIs
StatePublished - 2012
Event32nd International Conference on Foundations of Software Technology and Theoretical Computer Science, FSTTCS 2012 - Hyderabad, India
Duration: 15 Dec 201217 Dec 2012

Publication series

NameLeibniz International Proceedings in Informatics, LIPIcs
Volume18
ISSN (Print)1868-8969

Conference

Conference32nd International Conference on Foundations of Software Technology and Theoretical Computer Science, FSTTCS 2012
Country/TerritoryIndia
CityHyderabad
Period15/12/1217/12/12

Keywords

  • Hash functions
  • Min-wise
  • On line algorithms
  • Similarity
  • Streaming
  • Sub-linear algorithms

Fingerprint

Dive into the research topics of 'Exponential space improvement for min-wise based algorithms'. Together they form a unique fingerprint.

Cite this