Superbloom: Bloom filter meets Transformer
Anderson, John, Huang, Qingqing, Krichene, Walid, Rendle, Steffen, Zhang, Li
We extend the idea of word pieces in natural language models to machine learning tasks on opaque ids. This is achieved by applying hash functions to map each id to multiple hash tokens in a much smaller space, similarly to a Bloom filter. We show that by applying a multi-layer Transformer to these Bloom filter digests, we are able to obtain models with high accuracy. They outperform models of a similar size without hashing and, to a large degree, models of a much larger size trained using sampled softmax with the same computational budget. Our key observation is that it is important to use a multi-layer Transformer for Bloom filter digests to remove ambiguity in the hashed input. We believe this provides an alternative method to solving problems with large vocabulary size.
Feb-11-2020
- Country:
- South America > Brazil (0.04)
- North America > United States
- Georgia (0.04)
- Texas > Travis County
- Austin (0.14)
- New York > New York County
- New York City (0.14)
- Illinois > Cook County
- Chicago (0.04)
- Florida
- Pinellas County > St. Petersburg (0.14)
- Hillsborough County > Tampa (0.14)
- Orange County > Orlando (0.04)
- Leon County > Tallahassee (0.04)
- Duval County > Jacksonville (0.04)
- Broward County > Fort Lauderdale (0.04)
- California > San Francisco County
- San Francisco (0.04)
- Europe
- Austria > Vienna (0.04)
- Sweden
- Stockholm > Stockholm (0.04)
- Skåne County > Malmö (0.04)
- Norway > Eastern Norway
- Oslo (0.04)
- Denmark
- Capital Region > Copenhagen (0.05)
- North Jutland > Aalborg (0.04)
- Asia
- Africa > Middle East
- Tunisia > Tunis Governorate > Tunis (0.04)
- Genre:
- Research Report (0.64)
- Technology: