arXiv:2608.23502cs.DSAug 2026

Manuscript Offprint

arXiv:2608.23502

Linear Hashing is Not That Awesome

Or Zamir

Abstract

Consider the canonical universal hash family h(x)=((ax+b)mod  p)mod  mh(x) = ((ax + b) \mod p) \mod m, where a,ba, b are chosen uniformly from Zp\mathbb{Z}_p, which we call linear hashing, being used to hash nn elements into m=Θ(n)m = \Theta(n) buckets. For any universal family, the expected size of the largest bucket is at least Ω(log⁡n/log⁡log⁡n)\Omega(\log n / \log \log n) and at most O(n)O(\sqrt{n}). The only improvement upon these trivial bounds for linear hashing is a 2019 upper bound of O~(n1/3)\tilde{O}(n^{1/3}) by Knudsen. We show that for any pp sufficiently larger than nn, there is a set of nn keys whose expected maximum load is nΩ(1/log⁡log⁡n)n^{\Omega(1 / \log \log n)}, proving linear hashing does not have a polylogarithmic maximum load. We extend the same bounds to the classical multiply-shift hash family of Dietzfelbinger, Hagerup, Katajainen, and Penttonen.

Our main contribution is an equivalence between the maximum load problem to a density variant of arithmetic Kakeya sets. We then complete the lower bound using a construction of Green and Ruzsa of a small set containing long arithmetic progressions with every difference in a prescribed range. Surprisingly, our equivalence also implies that any substantial improvement over Knudsen's upper bound would imply new results about standard arithmetic Kakeya sets. More precisely, an O(n1/3−ε)O(n^{1/3-\varepsilon}) upper bound would improve known bounds for unions of complete integer arithmetic progressions, while an no(1)n^{o(1)} upper bound would imply Bourgain's arithmetic-progression criterion.

Independent concurrent work of [BCK+26][BCK^{+}26] obtains the same super-polylogarithmic lower bound for linear hashing. The two works differ in their surrounding frameworks and additional results.

Contents

1 Introduction 3
1.1 Connection to Kakeya sets 3
1.2 Alternative hash families 4
2 Overview 6
3 From Linear Hashing to Density Arithmetic Kakeya 7
3.1 The hashing model 7
3.2 Definition of density-Kakeya 7
3.3 Reduction from linear hashing to density-Kakeya 8
3.4 Reduction from density-Kakeya to linear hashing 9
3.5 Comparison and implications on arithmetic Kakeya bounds 10
4 Lower Bound for Linear Hashing 12
4.1 Digesting a construction of Green and Ruzsa 13
4.2 Hashing lower bound 14
5 Lower Bound for Multiply-Shift Hashing 15
6 Discussion and Open Problems 16
A The Green–Ruzsa Construction 18