Skip to main content

Tight Thresholds for Cuckoo Hashing via XORSAT

(Extended Abstract)

  • Conference paper
Automata, Languages and Programming (ICALP 2010)

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

Included in the following conference series:

Abstract

We settle the question of tight thresholds for offline cuckoo hashing. The problem can be stated as follows: we have n keys to be hashed into m buckets each capable of holding a single key. Each key has k ≥ 3 (distinct) associated buckets chosen uniformly at random and independently of the choices of other keys. A hash table can be constructed successfully if each key can be placed into one of its buckets. We seek thresholds c k such that, as n goes to infinity, if n/m ≤ c for some c < c k then a hash table can be constructed successfully with high probability, and if n/m ≥ c for some c > c k a hash table cannot be constructed successfully with high probability. Here we are considering the offline version of the problem, where all keys and hash values are given, so the problem is equivalent to previous models of multiple-choice hashing. We find the thresholds for all values of k > 2 by showing that they are in fact the same as the previously known thresholds for the random k-XORSAT problem. We then extend these results to the setting where keys can have differing number of choices, and make a conjecture (based on experimental observations) that extends our result to cuckoo hash tables storing multiple keys in a bucket.

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 84.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 109.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. Azar, Y., Broder, A., Karlin, A., Upfal, E.: Balanced allocations. SIAM J. Comput. 29(1), 180–200 (1999)

    Article  MATH  MathSciNet  Google Scholar 

  2. Batu, T., Berenbrink, P., Cooper, C.: Balanced allocations: Balls-into-bins revisited and chains-into-bins, CDAM Research Report Series. LSE-CDAM-2007-34

    Google Scholar 

  3. Cain, J.A., Sanders, P., Wormald, N.C.: The random graph threshold for k-orientiability and a fast algorithm for optimal multiple-choice allocation. In: Proc. 18th ACM-SIAM SODA, pp. 469–476 (2007)

    Google Scholar 

  4. Calkin, N.J.: Dependent sets of constant weight binary vectors. Combinatorics, Probability, and Computing 6(3), 263–271 (1997)

    Article  MATH  MathSciNet  Google Scholar 

  5. Cooper, C.: The size of the cores of a random graph with a given degree sequence. Random Structures and Algorithms 25(4), 353–375 (2004)

    Article  MathSciNet  Google Scholar 

  6. Creignou, N., Daudé, H.: Smooth and sharp thresholds for random k-XOR-CNF satisfiability. Theoretical Informatics and Applications 37(2), 127–147 (2003)

    Article  MathSciNet  Google Scholar 

  7. Creignou, N., Daudé, H.: The SAT-UNSAT transition for random constraint satisfaction problems. Discrete Mathematics 309(8), 2085–2099 (2009)

    Article  MATH  MathSciNet  Google Scholar 

  8. Dietzfelbinger, M., Goerdt, A., Mitzenmacher, M., Montanari, A., Pagh, R., Rink, M.: Tight Thresholds for Cuckoo Hashing via XORSAT. CoRR, abs/0912.0287 (2009)

    Google Scholar 

  9. Dietzfelbinger, M., Pagh, R.: Succinct data structures for retrieval and approximate membership. In: Aceto, L., Damgård, I., Goldberg, L.A., Halldórsson, M.M., Ingólfsdóttir, A., Walukiewicz, I. (eds.) ICALP 2008, Part I. LNCS, vol. 5125, pp. 385–396. Springer, Heidelberg (2008)

    Chapter  Google Scholar 

  10. Dubois, O., Mandler, J.: The 3-XORSAT threshold. In: Proc. 43rd FOCS, pp. 769–778 (2002)

    Google Scholar 

  11. Fernholz, D., Ramachandran, V.: The k-orientability thresholds for G n, p . In: Proc. 18th ACM-SIAM SODA, pp. 459–468 (2007)

    Google Scholar 

  12. Fotakis, D., Pagh, R., Sanders, P., Spirakis, P.: Space efficient hash tables with worst case constant access time. Theory Comput. Syst. 38(2), 229–248 (2005)

    Article  MATH  MathSciNet  Google Scholar 

  13. Fountoulakis, N., Panagiotou, K.: Orientability of random hypergaphs and the power of multiple choices. In: Gavoille, C. (ed.) ICALP 2010, Part I. LNCS, vol. 6198, pp. 348–359. Springer, Heidelberg (2010)

    Google Scholar 

  14. Fountoulakis, N., Panagiotou, K.: Sharp load thresholds for cuckoo hashing. CoRR, abs/0910.5147 (2009)

    Google Scholar 

  15. Frieze, A.M., Melsted, P.: Maximum matchings in random bipartite graphs and the space utilization of cuckoo hashtables. CoRR, abs/0910.5535 (2009)

    Google Scholar 

  16. Gao, P., Wormald, N.C.: Load balancing and orientability thresholds for random hypergraphs. In: 42nd ACM STOC (to appear, 2010)

    Google Scholar 

  17. Hopcroft, J.E., Karp, R.M.: An n 5/2 algorithm for maximum matchings in bipartite graphs. SIAM J. Comput. 2(4), 225–231 (1973)

    Article  MATH  MathSciNet  Google Scholar 

  18. Lehman, E., Panigrahy, R.: 3.5-way cuckoo hashing for the price of 2-and-a-bit. In: Fiat, A., Sanders, P. (eds.) ESA 2009. LNCS, vol. 5757, pp. 671–681. Springer, Heidelberg (2009)

    Chapter  Google Scholar 

  19. Luby, M., Mitzenmacher, M., Shokrollahi, M.A., Spielman, D.: Efficient erasure correcting codes. IEEE Transactions on Information Theory 47(2), 569–584 (2001)

    Article  MATH  MathSciNet  Google Scholar 

  20. Méasson, C., Montanari, A., Urbanke, R.: Maxwell construction: the hidden bridge between iterative and maximum a posteriori decoding. IEEE Transactions on Information Theory 54(12), 5277–5307 (2008)

    Article  Google Scholar 

  21. Mézard, M., Ricci-Tersenghi, F., Zecchina, R.: Two solutions to diluted p-spin models and XORSAT problems. J. Statist. Phys. 111(3/4), 505–533 (2003)

    Article  MATH  MathSciNet  Google Scholar 

  22. Mézard, M., Montanari, A.: Information, Physics, and Computation. Oxford University Press, Oxford (2009)

    Book  MATH  Google Scholar 

  23. Mitzenmacher, M.: Some open questions related to cuckoo hashing. In: Fiat, A., Sanders, P. (eds.) ESA 2009. LNCS, vol. 5757, pp. 1–10. Springer, Heidelberg (2009)

    Chapter  Google Scholar 

  24. Molloy, M.: Cores in random hypergraphs and Boolean formulas. Random Structures and Algorithms 27(1), 124–135 (2005)

    Article  MATH  MathSciNet  Google Scholar 

  25. Pagh, R., Rodler, F.F.: Cuckoo hashing. J. Algorithms 51(2), 122–144 (2004)

    Article  MATH  MathSciNet  Google Scholar 

  26. Sanders, P.: Algorithms for scalable storage servers. In: Van Emde Boas, P., Pokorný, J., Bieliková, M., Štuller, J. (eds.) SOFSEM 2004. LNCS, vol. 2932, pp. 82–101. Springer, Heidelberg (2004)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2010 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Dietzfelbinger, M., Goerdt, A., Mitzenmacher, M., Montanari, A., Pagh, R., Rink, M. (2010). Tight Thresholds for Cuckoo Hashing via XORSAT. In: Abramsky, S., Gavoille, C., Kirchner, C., Meyer auf der Heide, F., Spirakis, P.G. (eds) Automata, Languages and Programming. ICALP 2010. Lecture Notes in Computer Science, vol 6198. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-14165-2_19

Download citation

  • DOI: https://doi.org/10.1007/978-3-642-14165-2_19

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-642-14164-5

  • Online ISBN: 978-3-642-14165-2

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics