Lune

FOCS2022Top-tier venue

A Hash Table Without Hash Functions, and How to Get the Most Out of Your Random Bits

William Kuszmaul

2022Year
7Citations
4Top-tier citations

Abstract

This paper considers the basic question of how strong of a probabilistic guarantee can a hash table, storing n(1+Θ(1))log⁡nn(1+\Theta(1))\log n-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 1/2polylogn1/2^{\text{polylog}n} 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 1/poly(n)1/{poly}(n). 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 O(n)O(n) random bits that achieves failure probability 1/nn1−ε1/n^{n^{1-\varepsilon}} for an arbitrary positive constant ε\varepsilon. 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 1+o(1)1+o(1) 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 1/poly(n)1/{poly}(n) while using only O~(log⁡n)\tilde{O}(\log n) 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.

Questions to start from

Your agent calls

Luneget_paper_fulltext

Ask in Lune

Free to start. No credit card required.

lune papers fulltext 5ebca9e3-af62-475a-b1fa-c056a4923cc6

Cited by top-tier papers4

Ask how each one uses it

Builds on1

Related papers

Dusk over the sea between two cliffs drawn in fine vertical lines