mlsanityData to 7 Oct 2026

Learning to Collide: Recommendation System Model Compression with Learned Hash Functions

arXiv 2203.15837 ↗First posted 28 Mar 2022cs.IR cs.AI cs.DCcited by 5

Not on the map. Why?

Abstract (arXiv)

A key characteristic of deep recommendation models is the immense memory requirements of their embedding tables. These embedding tables can often reach hundreds of gigabytes which increases hardware requirements and training cost. A common technique to reduce model size is to hash all of the categorical variable identifiers (ids) into a smaller space. This hashing reduces the number of unique representations that must be stored in the embedding table; thus decreasing its size. However, this approach introduces collisions between semantically dissimilar ids that degrade model quality. We introduce an alternative approach, Learned Hash Functions, which instead learns a new mapping function that encourages collisions between semantically similar ids. We derive this learned mapping from historical data and embedding access patterns. We experiment with this technique on a production model and find that a mapping informed by the combination of access frequency and a learned low dimension embedding is the most effective. We demonstrate a small improvement relative to the hashing trick and other collision related compression techniques. This is ongoing work that explores the impact of categorical id collisions on recommendation model quality and how those collisions may be controlled to improve model performance.

Key facts. Cited by 5 papers in the map (data through 7 Oct 2026). Builds on 17 of its 23 references that are in the map. First posted on arXiv 28 Mar 2022.

Builds on

17 of 23 references.

References · 17

  1. 2016Wide & Deep Learning for Recommender Systemscited by 745
  2. 2017DeepFM: A Factorization-Machine based Neural Network for CTR Predictioncited by 673
  3. 2019Deep Learning Recommendation Model for Personalization and Recommendation Systemscited by 327
  4. 2016Towards K-means-friendly Spaces: Simultaneous Deep Learning and Clusteringcited by 237
  5. 2018Large scale distributed neural network training through online distillationcited by 144
  6. 2019The Architectural Implications of Facebook's DNN-based Personalized Recommendationcited by 83
  7. 2020Tired of Topic Models? Clusters of Pretrained Word Embeddings Make for Fast and Good Topics too!cited by 73
  8. 2019Compositional Embeddings Using Complementary Partitions for Memory-Efficient Recommendation Systemscited by 68
  9. 2021TT-Rec: Tensor Train Compression for Deep Learning Recommendation Modelscited by 58
  10. 2020DeepRecSys: A System for Optimizing End-To-End At-scale Neural Recommendation Inferencecited by 54
  11. 2019Mixed Dimension Embeddings with Application to Memory-Efficient Recommendation Systemscited by 41
  12. 2020Learning to Embed Categorical Features without Embedding Tables for Recommendationcited by 38
5 more
  1. 2020Deep Learning Training in Facebook Data Centers: Design of Scale-up and Scale-out Systemscited by 37
  2. 2018Deep Learning Inference in Facebook Data Centers: Characterization, Performance Optimizations and Hardware Implicationscited by 35
  3. 2020Model Size Reduction Using Frequency Based Double Hashing for Recommender Systemscited by 33
  4. 2020Mixed-Precision Embedding Using a Cachecited by 18
  5. 2020Training with Multi-Layer Embeddings for Model Reductioncited by 6

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2022: 1; 2023: 2; 2024: 0; 2025: 1; 2026: 1.

5 papers.