Lune

FOCS2023Top-tier venue

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 Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

1 top-tier paper has cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Tight Analyses of Ordered and Unordered Linear Probing cites Linear Probing Revisited: Tombstones Mark the Demise of Primary Clustering
  • No Repetition: Fast and Reliable Sampling with Highly Concentrated Hashing cites Fast hashing with strong concentration bounds
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers1

  1. Tight Analyses of Ordered and Unordered Linear ProbingMark Braverman, William KuszmaulFOCS 2024 · 1 citation

Builds on4

  1. Linear Probing Revisited: Tombstones Mark the Demise of Primary ClusteringMichael A. Bender, Bradley C. Kuszmaul, William KuszmaulFOCS 2021 · 11 citations
  2. Load balancing with dynamic set of balls and binsAnders Aamand, Jakob Bæk Tejs Knudsen, Mikkel ThorupSTOC 2021 · 4 citations
  3. 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
  4. 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

  1. Zombie Hashing: Reanimating Tombstones in GraveyardYuvaraj Chesetti, Benwei Shi, Jeff M. Phillips, Prashant PandeySIGMOD 2025 · 2 citations
  2. Entropy-Learned Hashing: Constant Time Hashing with Controllable UniformityBrian Hentschel, Utku Sirin, Stratos IdreosSIGMOD 2022 · 4 citations
  3. UltraLogLog: A Practical and More Space-Efficient Alternative to HyperLogLog for Approximate Distinct CountingOtmar ErtlVLDB 2024 · 12 citations
  4. Fair-Count-Min: Frequency Estimation under Equal Group-wise Approximation FactorNima Shahbazi, Stavros Sintos, Abolfazl AsudehSIGMOD 2026
  5. A Hash Table Without Hash Functions, and How to Get the Most Out of Your Random BitsWilliam KuszmaulFOCS 2022 · 7 citations
Dusk over the sea between two cliffs drawn in fine vertical lines