mlsanityData to 7 Oct 2026

Learning Compressed Embeddings for On-Device Inference

arXiv 2203.10135 ↗First posted 18 Mar 2022cs.LG cs.AIcited by 13

Not on the map. Why?

Abstract (arXiv)

In deep learning, embeddings are widely used to represent categorical entities such as words, apps, and movies. An embedding layer maps each entity to a unique vector, causing the layer's memory requirement to be proportional to the number of entities. In the recommendation domain, a given category can have hundreds of thousands of entities, and its embedding layer can take gigabytes of memory. The scale of these networks makes them difficult to deploy in resource constrained environments. In this paper, we propose a novel approach for reducing the size of an embedding table while still mapping each entity to its own unique embedding. Rather than maintaining the full embedding table, we construct each entity's embedding "on the fly" using two separate embedding tables. The first table employs hashing to force multiple entities to share an embedding. The second table contains one trainable weight per entity, allowing the model to distinguish between entities sharing the same embedding. Since these two tables are trained jointly, the network is able to learn a unique embedding per entity, helping it maintain a discriminative capability similar to a model with an uncompressed embedding table. We call this approach MEmCom (Multi-Embedding Compression). We compare with state-of-the-art model compression techniques for multiple problem classes including classification and ranking. On four popular recommender system datasets, MEmCom had a 4% relative loss in nDCG while compressing the input embedding sizes of our recommendation models by 16x, 4x, 12x, and 40x. MEmCom outperforms the state-of-the-art techniques, which achieved 16%, 6%, 10%, and 8% relative loss in nDCG at the respective compression ratios. Additionally, MEmCom is able to compress the RankNet ranking model by 32x on a dataset with millions of users' interactions with games while incurring only a 1% relative loss in nDCG.

Key facts. Cited by 13 papers in the map (data through 7 Oct 2026). Builds on 27 of its 44 references that are in the map. First posted on arXiv 18 Mar 2022.

Builds on

27 of 44 references.

References · 27

  1. 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,160
  2. 2015Distilling the Knowledge in a Neural Networkcited by 10,076
  3. 2016Communication-Efficient Learning of Deep Networks from Decentralized Datacited by 7,592
  4. 2013Efficient Estimation of Word Representations in Vector Spacecited by 4,346
  5. 2019ALBERT: A Lite BERT for Self-supervised Learning of Language Representationscited by 2,772
  6. 2015Deep Compression: Compressing Deep Neural Networks with Pruning, Trained Quantization and Huffman Codingcited by 2,291
  7. 2018Deep contextualized word representationscited by 2,285
  8. 2015Learning both Weights and Connections for Efficient Neural Networkscited by 1,998
  9. 2016Enriching Word Vectors with Subword Informationcited by 1,578
  10. 2017Renyi Differential Privacycited by 643
  11. 2018Rethinking the Value of Network Pruningcited by 595
  12. 2016Learning Structured Sparsity in Deep Neural Networkscited by 538
15 more
  1. 2018Quantizing deep convolutional networks for efficient inference: A whitepapercited by 507
  2. 2014Exploiting Linear Structure Within Convolutional Networks for Efficient Evaluationcited by 304
  3. 2014Speeding up Convolutional Neural Networks with Low Rank Expansionscited by 283
  4. 2013Predicting Parameters in Deep Learningcited by 223
  5. 2016Trained Ternary Quantizationcited by 203
  6. 2014Compressing Deep Convolutional Networks using Vector Quantizationcited by 189
  7. 2015Compressing Neural Networks with the Hashing Trickcited by 150
  8. 2019The Architectural Implications of Facebook's DNN-based Personalized Recommendationcited by 83
  9. 2017Translation-based Recommendationcited by 70
  10. 2019Compositional Embeddings Using Complementary Partitions for Memory-Efficient Recommendation Systemscited by 68
  11. 2021TT-Rec: Tensor Train Compression for Deep Learning Recommendation Modelscited by 58
  12. 2019Mixed Dimension Embeddings with Application to Memory-Efficient Recommendation Systemscited by 41
  13. 2018URLNet: Learning a URL Representation with Deep Learning for Malicious URL Detectioncited by 34
  14. 2020Model Size Reduction Using Frequency Based Double Hashing for Recommender Systemscited by 33
  15. 2020Recommending Podcasts for Cold-Start Users Based on Music Listening and Tastecited by 7

Built on by

Cited by year

Citing papers per year: 2023: 8; 2024: 3; 2025: 2.

13 papers.

Sort: