Learning Compressed Embeddings for On-Device Inference
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
- 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,160
- 2015Distilling the Knowledge in a Neural Networkcited by 10,076
- 2016Communication-Efficient Learning of Deep Networks from Decentralized Datacited by 7,592
- 2013Efficient Estimation of Word Representations in Vector Spacecited by 4,346
- 2019ALBERT: A Lite BERT for Self-supervised Learning of Language Representationscited by 2,772
- 2015Deep Compression: Compressing Deep Neural Networks with Pruning, Trained Quantization and Huffman Codingcited by 2,291
- 2018Deep contextualized word representationscited by 2,285
- 2015Learning both Weights and Connections for Efficient Neural Networkscited by 1,998
- 2016Enriching Word Vectors with Subword Informationcited by 1,578
- 2017Renyi Differential Privacycited by 643
- 2018Rethinking the Value of Network Pruningcited by 595
- 2016Learning Structured Sparsity in Deep Neural Networkscited by 538
15 more
- 2018Quantizing deep convolutional networks for efficient inference: A whitepapercited by 507
- 2014Exploiting Linear Structure Within Convolutional Networks for Efficient Evaluationcited by 304
- 2014Speeding up Convolutional Neural Networks with Low Rank Expansionscited by 283
- 2013Predicting Parameters in Deep Learningcited by 223
- 2016Trained Ternary Quantizationcited by 203
- 2014Compressing Deep Convolutional Networks using Vector Quantizationcited by 189
- 2015Compressing Neural Networks with the Hashing Trickcited by 150
- 2019The Architectural Implications of Facebook's DNN-based Personalized Recommendationcited by 83
- 2017Translation-based Recommendationcited by 70
- 2019Compositional Embeddings Using Complementary Partitions for Memory-Efficient Recommendation Systemscited by 68
- 2021TT-Rec: Tensor Train Compression for Deep Learning Recommendation Modelscited by 58
- 2019Mixed Dimension Embeddings with Application to Memory-Efficient Recommendation Systemscited by 41
- 2018URLNet: Learning a URL Representation with Deep Learning for Malicious URL Detectioncited by 34
- 2020Model Size Reduction Using Frequency Based Double Hashing for Recommender Systemscited by 33
- 2020Recommending Podcasts for Cold-Start Users Based on Music Listening and Tastecited by 7
Built on by
Citing papers per year: 2023: 8; 2024: 3; 2025: 2.
13 papers.
Sort:
- 2023FLINT: A Platform for Federated Learning Integrationcited by 17
- 2023DVFO: Learning-Based DVFS for Energy-Efficient Edge-Cloud Collaborative Inferencecited by 13
- 2023Experimental Analysis of Large-scale Learnable Vector Storage Compressioncited by 12
- 2023CAFE: Towards Compact, Adaptive, and Fast Embedding for Large-scale Recommendation Modelscited by 7
- 2023Pre-train and Search: Efficient Embedding Table Sharding with Pre-trained Neural Cost Modelscited by 5
- 2024A Thorough Performance Benchmarking on Lightweight Embedding-based Recommender Systemscited by 4
- 2023Mem-Rec: Memory Efficient Recommendation System using Alternative Representationcited by 3
- 2025CoVE: Compressed Vocabulary Expansion Makes Better LLM-based Recommender Systemscited by 3
- 2024On-device Content-based Recommendation with Single-shot Embedding Pruning: A Cooperative Game Perspectivecited by 2
- 2024Fine-Grained Embedding Dimension Optimization During Training for Recommender Systemscited by 1
- 2023Extracting Text Representations for Terms and Phrases in Technical Domainscited by 0
- 2023Review of compressed embedding layers and their applications for recommender systemscited by 0
1 more
- 2025CoVE: Compressed Vocabulary Expansion Makes Better LLM-based Recommender Systems24 Jun 2025
- 2025DimGrow: Memory-Efficient Field-level Embedding Dimension Search19 May 2025
- 2024On-device Content-based Recommendation with Single-shot Embedding Pruning: A Cooperative Game Perspective20 Nov 2024
- 2024A Thorough Performance Benchmarking on Lightweight Embedding-based Recommender Systems25 Jun 2024
- 2024Fine-Grained Embedding Dimension Optimization During Training for Recommender Systems9 Jan 2024
- 2023CAFE: Towards Compact, Adaptive, and Fast Embedding for Large-scale Recommendation Models6 Dec 2023
- 2023Experimental Analysis of Large-scale Learnable Vector Storage Compression27 Nov 2023
- 2023Review of compressed embedding layers and their applications for recommender systems23 Jun 2023
- 2023DVFO: Learning-Based DVFS for Energy-Efficient Edge-Cloud Collaborative Inference2 Jun 2023
- 2023Extracting Text Representations for Terms and Phrases in Technical Domains25 May 2023
- 2023Mem-Rec: Memory Efficient Recommendation System using Alternative Representation12 May 2023
- 2023Pre-train and Search: Efficient Embedding Table Sharding with Pre-trained Neural Cost Models3 May 2023
1 more
- 2023FLINT: A Platform for Federated Learning Integration24 Feb 2023
- 2023FLINT: A Platform for Federated Learning Integrationcited by 17
- 2023DVFO: Learning-Based DVFS for Energy-Efficient Edge-Cloud Collaborative Inferencecited by 13
- 2023Experimental Analysis of Large-scale Learnable Vector Storage Compressioncited by 12
- 2023CAFE: Towards Compact, Adaptive, and Fast Embedding for Large-scale Recommendation Modelscited by 7
- 2023Pre-train and Search: Efficient Embedding Table Sharding with Pre-trained Neural Cost Modelscited by 5
- 2024A Thorough Performance Benchmarking on Lightweight Embedding-based Recommender Systemscited by 4
- 2023Mem-Rec: Memory Efficient Recommendation System using Alternative Representationcited by 3
- 2025CoVE: Compressed Vocabulary Expansion Makes Better LLM-based Recommender Systemscited by 3
- 2024On-device Content-based Recommendation with Single-shot Embedding Pruning: A Cooperative Game Perspectivecited by 2
- 2024Fine-Grained Embedding Dimension Optimization During Training for Recommender Systemscited by 1
- 2023Extracting Text Representations for Terms and Phrases in Technical Domainscited by 0
- 2023Review of compressed embedding layers and their applications for recommender systemscited by 0
12 most cited of 13 All 13 (JSON)
- 2025CoVE: Compressed Vocabulary Expansion Makes Better LLM-based Recommender Systems24 Jun 2025
- 2025DimGrow: Memory-Efficient Field-level Embedding Dimension Search19 May 2025
- 2024On-device Content-based Recommendation with Single-shot Embedding Pruning: A Cooperative Game Perspective20 Nov 2024
- 2024A Thorough Performance Benchmarking on Lightweight Embedding-based Recommender Systems25 Jun 2024
- 2024Fine-Grained Embedding Dimension Optimization During Training for Recommender Systems9 Jan 2024
- 2023CAFE: Towards Compact, Adaptive, and Fast Embedding for Large-scale Recommendation Models6 Dec 2023
- 2023Experimental Analysis of Large-scale Learnable Vector Storage Compression27 Nov 2023
- 2023Review of compressed embedding layers and their applications for recommender systems23 Jun 2023
- 2023DVFO: Learning-Based DVFS for Energy-Efficient Edge-Cloud Collaborative Inference2 Jun 2023
- 2023Extracting Text Representations for Terms and Phrases in Technical Domains25 May 2023
- 2023Mem-Rec: Memory Efficient Recommendation System using Alternative Representation12 May 2023
- 2023Pre-train and Search: Efficient Embedding Table Sharding with Pre-trained Neural Cost Models3 May 2023
12 newest of 13 All 13 (JSON)