A Hash Table Without Hash Functions, and How to Get the Most Out of Your Random Bits
William Kuszmaul
Abstract
This paper considers the basic question of how strong of a probabilistic guarantee can a hash table, storing -bit key/value pairs, offer? Past work on this question has been bottlenecked by limitations of the known families of hash functions: The only hash tables to achieve failure probabilities less than require access to fully-random hash functions-if the same hash tables are implemented using the known explicit families of hash functions, their failure probabilities become . To get around these obstacles, we show how to construct a randomized data structure that has the same guarantees as a hash table, but that avoids the direct use of hash functions. Building on this, we able to construct a hash table using random bits that achieves failure probability for an arbitrary positive constant . In fact, we show that this guarantee can even be achieved by a succinct dictionary, that is, by a dictionary that uses space within a factor of the information-theoretic optimum. Finally we also construct a succinct hash table whose probabilistic guarantees fall on a different extreme, offering a failure probability of while using only random bits. This latter result replicates a guarantee previously achieved by Dietzfelbinger et al., but with increased space efficiency and with several surprising technical components.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext 5ebca9e3-af62-475a-b1fa-c056a4923cc6Cited by top-tier papers4
- Vizing's Theorem in Near-Linear TimeSepehr Assadi, Soheil Behnezhad, Sayan Bhattacharya, Martín Costa et al.STOC 2025 · 12 citations
- Tight Bounds for Classical Open AddressingMichael A. Bender, William Kuszmaul, Renfei ZhouFOCS 2024 · 2 citations
- FairHash: A Fair and Memory/Time-efficient HashmapNima Shahbazi, Stavros Sintos, Abolfazl AsudehSIGMOD 2024 · 2 citations
- Optimal Non-oblivious Open AddressingMichael A. Bender, William Kuszmaul, Renfei ZhouSTOC 2025 · 1 citation
Builds on1
Related papers
- Optimal Static Dictionary with Worst-Case Constant Query TimeYang Hu, Jingxun Liang, Huacheng Yu, Junkai Zhang et al.STOC 2025 · 3 citations
- Nearly optimal static Las Vegas succinct dictionaryHuacheng YuSTOC 2020 · 6 citations
- Tight Cell-Probe Lower Bounds for Dynamic Succinct DictionariesTianxiao Li, Jingxun Liang, Huacheng Yu, Renfei ZhouFOCS 2023 · 11 citations
- Tiny PointersMichael A. Bender, Alex Conway, Martin Farach-Colton, William Kuszmaul et al.SODA 2023 · 11 citations
- Optimal Bounds for Open Addressing Without ReorderingMartín Farach-Colton, Andrew Krapivin, William KuszmaulFOCS 2024 · 3 citations
