The Power Of Simple Tabulation Hashing | Awesome Learning to Hash Add your paper to Learning2Hash

The Power Of Simple Tabulation Hashing

Patrascu Mihai, Thorup Mikkel. Arxiv 2010

[Paper]    
ARXIV Independent

Randomized algorithms are often enjoyed for their simplicity, but the hash functions used to yield the desired theoretical guarantees are often neither simple nor practical. Here we show that the simplest possible tabulation hashing provides unexpectedly strong guarantees. The scheme itself dates back to Carter and Wegman (STOC’77). Keys are viewed as consisting of c characters. We initialize c tables T_1, …, T_c mapping characters to random hash codes. A key x=(x_1, …, x_q) is hashed to T_1[x_1] xor … xor T_c[x_c]. While this scheme is not even 4-independent, we show that it provides many of the guarantees that are normally obtained via higher independence, e.g., Chernoff-type concentration, min-wise hashing for estimating set intersection, and cuckoo hashing.

Similar Work