Skip to main content

Independence of Tabulation-Based Hash Classes

  • Conference paper
LATIN 2012: Theoretical Informatics (LATIN 2012)

Part of the book series: Lecture Notes in Computer Science ((LNTCS,volume 7256))

Included in the following conference series:

Abstract

A tabulation-based hash function maps a key into multiple derived characters which index random values in tables that are then combined with bitwise exclusive or operations to give the hashed value. Thorup and Zhang [9] presented tabulation-based hash classes that use linear maps over finite fields to map keys of the form (a,b) (composed of two characters, a and b, of equal length) to d derived characters in order to achieve d-wise independence. We present a variant in which d derived characters a + b·i, for i = 0,…,d − 1 (where arithmetic is over integers) are shown to yield (2d − 1)-wise independence. Thus to achieve guaranteed k-wise independence for k ≥ 6, our method reduces by about half the number of probes needed into the tables compared to Thorup and Zhang (they presented a different specialized scheme to give 4-wise [9] and 5-wise [10] independence).

Our analysis is based on an algebraic property that characterizes k-wise independence of tabulation-based hashing schemes, and combines this characterization with a geometric argument. We also prove a non-trivial lower bound on the number of derived characters necessary for k-wise independence with our and related hash classes.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Carter, J., Wegman, M.: Universal classes of hash functions. Journal of Computer and System Sciences 18(2), 143–154 (1979)

    Article  MathSciNet  MATH  Google Scholar 

  2. Dietzfelbinger, M., Rink, M.: Applications of a Splitting Trick. In: Albers, S., Marchetti-Spaccamela, A., Matias, Y., Nikoletseas, S., Thomas, W. (eds.) ICALP 2009, Part I. LNCS, vol. 5555, pp. 354–365. Springer, Heidelberg (2009)

    Chapter  Google Scholar 

  3. Dietzfelbinger, M., Woelfel, P.: Almost random graphs with simple hash functions. In: Proceedings of the 35th Annual ACM Symposium on Theory of Computing (STOC), pp. 629–638 (2003)

    Google Scholar 

  4. Klassen, T.Q., Woelfel, P.: Independence of tabulation-based hash classes. E-print arXiv:1112.3323 (2011), http://arxiv.org/abs/1112.3323

  5. Pagh, A., Pagh, R., Ružić, M.: Linear probing with constant independence. SIAM Journal on Computing 39(3), 1107–1120 (2009)

    Article  MathSciNet  MATH  Google Scholar 

  6. Pǎtraşcu, M., Thorup, M.: The power of simple tabulation hashing. In: Proceedings of the 43rd Annual ACM Symposium on Theory of Computing (STOC), pp. 1–10 (2011)

    Google Scholar 

  7. Seidel, R., Aragon, C.R.: Randomized search trees. Algorithmica 16(4/5), 464–497 (1996)

    Article  MathSciNet  MATH  Google Scholar 

  8. Siegel, A.: On universal classes of extremely random constant-time hash functions. SIAM Journal on Computing 33(3), 505–543 (2004)

    Article  MathSciNet  MATH  Google Scholar 

  9. Thorup, M., Zhang, Y.: Tabulation based 4-universal hashing with applications to second moment estimation. In: Proceedings of the 15th ACM-SIAM Symposium on Discrete Algorithms (SODA), pp. 615–624 (2004)

    Google Scholar 

  10. Thorup, M., Zhang, Y.: Tabulation based 5-universal hashing and linear probing. In: Proceedings of the 12th Workshop on Algorithm Engineering and Experiments (ALENEX), pp. 62–76 (2010)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2012 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Klassen, T.Q., Woelfel, P. (2012). Independence of Tabulation-Based Hash Classes. In: Fernández-Baca, D. (eds) LATIN 2012: Theoretical Informatics. LATIN 2012. Lecture Notes in Computer Science, vol 7256. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-29344-3_43

Download citation

  • DOI: https://doi.org/10.1007/978-3-642-29344-3_43

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-642-29343-6

  • Online ISBN: 978-3-642-29344-3

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics