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.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
References
Carter, J., Wegman, M.: Universal classes of hash functions. Journal of Computer and System Sciences 18(2), 143–154 (1979)
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)
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)
Klassen, T.Q., Woelfel, P.: Independence of tabulation-based hash classes. E-print arXiv:1112.3323 (2011), http://arxiv.org/abs/1112.3323
Pagh, A., Pagh, R., Ružić, M.: Linear probing with constant independence. SIAM Journal on Computing 39(3), 1107–1120 (2009)
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)
Seidel, R., Aragon, C.R.: Randomized search trees. Algorithmica 16(4/5), 464–497 (1996)
Siegel, A.: On universal classes of extremely random constant-time hash functions. SIAM Journal on Computing 33(3), 505–543 (2004)
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)
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)
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights 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)