Power of Choices with Simple Tabulation
arXiv:1804.09684
Abstract
Suppose that we are to place balls into bins sequentially using the -choice paradigm: For each ball we are given a choice of bins, according to hash functions and we place the ball in the least loaded of these bins breaking ties arbitrarily. Our interest is in the number of balls in the fullest bin after all balls have been placed. Azar et al. [STOC'94] proved that when and when the hash functions are fully random the maximum load is at most whp (i.e. with probability for any choice of ). In this paper we suppose that the are simple tabulation hash functions. Generalising a result by Dahlgaard et al [SODA'16] we show that for an arbitrary constant the maximum load is whp, and that expected maximum load is at most . We further show that by using a simple tie-breaking algorithm introduced by Vöcking [J.ACM'03] the expected maximum load drops to where is the rate of growth of the -ary Fibonacci numbers. Both of these expected bounds match those of the fully random setting. The analysis by Dahlgaard et al. relies on a proof by Pătraşcu and Thorup [J.ACM'11] concerning the use of simple tabulation for cuckoo hashing. We need here a generalisation to hash functions, but the original proof is an 8-page tour de force of ad-hoc arguments that do not appear to generalise. Our main technical contribution is a shorter, simpler and more accessible proof of the result by Pătraşcu and Thorup, where the relevant parts generalise nicely to the analysis of choices.
Accepted at ICALP 2018