Training with Multi-Layer Embeddings for Model Reduction
Not on the map. Why?
Abstract (arXiv)
Modern recommendation systems rely on real-valued embeddings of categorical features. Increasing the dimension of embedding vectors improves model accuracy but comes at a high cost to model size. We introduce a multi-layer embedding training (MLET) architecture that trains embeddings via a sequence of linear layers to derive superior embedding accuracy vs. model size trade-off. Our approach is fundamentally based on the ability of factorized linear layers to produce superior embeddings to that of a single linear layer. We focus on the analysis and implementation of a two-layer scheme. Harnessing the recent results in dynamics of backpropagation in linear neural networks, we explain the ability to get superior multi-layer embeddings via their tendency to have lower effective rank. We show that substantial advantages are obtained in the regime where the width of the hidden layer is much larger than that of the final embedding (d). Crucially, at conclusion of training, we convert the two-layer solution into a single-layer one: as a result, the inference-time model size scales as d. We prototype the MLET scheme within Facebook's PyTorch-based open-source Deep Learning Recommendation Model. We show that it allows reducing d by 4-8X, with a corresponding improvement in memory footprint, at given model accuracy. The experiments are run on two publicly available click-through-rate prediction benchmarks (Criteo-Kaggle and Avazu). The runtime cost of MLET is 25%, on average.
Key facts. Cited by 6 papers in the map (data through 7 Oct 2026). First posted on arXiv 10 Jun 2020.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 2; 2022: 2; 2023: 1; 2024: 1.
6 papers.
- 2021TT-Rec: Tensor Train Compression for Deep Learning Recommendation Modelscited by 58
- 2021RecPipe: Co-designing Models and Hardware to Jointly Optimize Recommendation Quality and Performancecited by 8
- 2022Nimble GNN Embedding with Tensor-Train Decompositioncited by 6
- 2022Learning to Collide: Recommendation System Model Compression with Learned Hash Functionscited by 5
- 2023Mem-Rec: Memory Efficient Recommendation System using Alternative Representationcited by 3
- 2024Fine-Grained Embedding Dimension Optimization During Training for Recommender Systemscited by 1
- 2024Fine-Grained Embedding Dimension Optimization During Training for Recommender Systems9 Jan 2024
- 2023Mem-Rec: Memory Efficient Recommendation System using Alternative Representation12 May 2023
- 2022Nimble GNN Embedding with Tensor-Train Decomposition21 Jun 2022
- 2022Learning to Collide: Recommendation System Model Compression with Learned Hash Functions28 Mar 2022
- 2021RecPipe: Co-designing Models and Hardware to Jointly Optimize Recommendation Quality and Performance18 May 2021
- 2021TT-Rec: Tensor Train Compression for Deep Learning Recommendation Models25 Jan 2021