Locally Uniform Hashing
Ioana O. Bercea, Lorenzo Beretta, Jonas Klausen, Jakob Bæk Tejs Houen, Mikkel Thorup
Abstract
Hashing is a common technique used in data processing, with a strong impact on the time and resources spent on computation. Hashing also affects the applicability of theoretical results that often assume access to (unrealistic) uniform/fully-random hash functions. In this paper, we are concerned with designing hash functions that are practical and come with strong theoretical guarantees on their performance.
To this end, we present tornado tabulation hashing, which is simple, fast, and exhibits a certain full, local randomness property that provably makes diverse algorithms perform almost as if (abstract) fully-random hashing was used. For example, this includes classic linear probing, the widely used HyperLogLog algorithm of Flajolet, Fusy, Gandouet, Meunier [AOFA'97] for counting distinct elements, and the one-permutation hashing of Li, Owen, and Zhang [NIPS'12] for large-scale machine learning. We also provide a very efficient solution for the classical problem of obtaining fully-random hashing on a fixed (but unknown to the hash function) set of n keys using Opnq space. As a consequence, we get more efficient implementations of the splitting trick of Dietzfelbinger and Rink [ICALP'09] and the succinct space uniform hashing of Pagh and Pagh [SICOMP'08].
Tornado tabulation hashing is based on a simple method to systematically break dependencies in tabulation-based hashing techniques.
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 75f3c80a-1544-4ef5-bbb9-0c8173f99126Cited by top-tier papers1
Ask how each one uses itBuilds on4
- Linear Probing Revisited: Tombstones Mark the Demise of Primary ClusteringMichael A. Bender, Bradley C. Kuszmaul, William KuszmaulFOCS 2021 · 11 citations
- Load balancing with dynamic set of balls and binsAnders Aamand, Jakob Bæk Tejs Knudsen, Mikkel ThorupSTOC 2021 · 4 citations
- Fast hashing with strong concentration boundsAnders Aamand, Jakob Bæk Tejs Knudsen, Mathias Bæk Tejs Knudsen, Peter Michael Reichstein Rasmussen et al.STOC 2020 · 3 citations
- No Repetition: Fast and Reliable Sampling with Highly Concentrated HashingAnders Aamand, Debarati Das, Evangelos Kipouridis, Jakob Bæk Tejs Knudsen et al.VLDB 2022 · 1 citation
Related papers
- Zombie Hashing: Reanimating Tombstones in GraveyardYuvaraj Chesetti, Benwei Shi, Jeff M. Phillips, Prashant PandeySIGMOD 2025 · 2 citations
- Entropy-Learned Hashing: Constant Time Hashing with Controllable UniformityBrian Hentschel, Utku Sirin, Stratos IdreosSIGMOD 2022 · 4 citations
- UltraLogLog: A Practical and More Space-Efficient Alternative to HyperLogLog for Approximate Distinct CountingOtmar ErtlVLDB 2024 · 12 citations
- Fair-Count-Min: Frequency Estimation under Equal Group-wise Approximation FactorNima Shahbazi, Stavros Sintos, Abolfazl AsudehSIGMOD 2026
- A Hash Table Without Hash Functions, and How to Get the Most Out of Your Random BitsWilliam KuszmaulFOCS 2022 · 7 citations
