Abstract
In industrial-scale recommendation systems, embedding tables often consume terabytes of memory, creating significant bottlenecks in storage, latency, and generalization. This survey provides a comprehensive taxonomy of embedding compression techniques, categorizing them into low-precision, mixed-dimension, and weight-sharing methods. By analyzing the trade-offs between compression ratios, inference speed, and prediction accuracy, this work offers a roadmap for optimizing modern Deep Learning Recommendation Models (DLRMs).
Introduction: The Scaling Challenge of DLRMs
Modern recommendation systems face a unique architectural challenge. Unlike Large Language Models (LLMs) where complexity resides in deep neural layers, the "weight" of DLRMs is concentrated in embedding tables. These tables map billions of categorical features—such as User IDs or Item IDs—into dense numerical vectors. In large-scale industrial environments, these tables can exceed 10 TB, leading to several critical issues:
- Storage and Memory: Tables often exceed the capacity of single GPUs or standard server RAM.
- Latency: Massive lookups slow down real-time inference.
- Overfitting: High-dimensional vectors assigned to rare "long-tail" features often result in poor generalization.
Taxonomy of Embedding Compression
To address these bottlenecks, researchers have developed a variety of compression strategies. This survey organizes these methods into three primary dimensions: low-precision, mixed-dimension, and weight-sharing.
1. Low-Precision (Reducing Bit-Width)
Low-precision methods represent weights using fewer bits than the standard 32-bit floating-point (FP32).
- Binarization: Compressing weights to a single bit. This offers 32x compression and enables fast Hamming distance calculations but often incurs significant accuracy penalties.
- Quantization: Utilizing multi-bit integers (e.g., 4-bit or 8-bit). Techniques like Low-Precision Training (LPT) store weights as integers even during training to minimize memory footprint.
2. Mixed-Dimension (Variable Vector Lengths)
Standard models typically assign uniform vector lengths to all features. Mixed-dimension approaches recognize that popular items require richer representations than rare ones.
- Rule-based: Heuristics where dimension size is proportional to feature frequency.
- NAS-based: Neural Architecture Search automatically learns optimal dimensions for each feature field.
- Pruning: Unimportant dimensions are removed from large vectors during the training process.
3. Weight-Sharing (Reusing Parameters)
These methods force different features to share underlying physical parameters.
- Hashing: Mapping multiple feature IDs to the same embedding bucket (e.g., Quotient-Remainder trick).
- Vector Quantization: Clustering similar embeddings and storing only the centroids (codebooks).
- Decomposition: Techniques like Tensor Train Decomposition (TTD) represent large matrices as products of smaller tensors.
Evaluation and Datasets
The survey reviews results across common benchmarks including Criteo (CTR prediction), Avazu, MovieLens, and Taobao, as well as proprietary industrial datasets from Baidu and Huawei. The authors highlight the BARS tool as a critical step toward creating an open standard for evaluating these compression techniques.
Key Insights and Performance Trends
A critical finding in recent research is the "Frequency-Dimension Link": high-dimensional embeddings for infrequent features can actually be harmful. Reducing their dimension acts as regularization, often improving model accuracy while saving space.
In terms of performance:
- Compression Ratios: Weight-sharing and decomposition can achieve 100x to 1000x compression, though they increase training complexity.
- Inference Speed: Binarization and Hashing provide the highest raw speed by replacing floating-point math with bitwise operations or direct lookups.
- Accuracy: Mixed-dimension methods currently represent the state-of-the-art for maintaining or boosting AUC in CTR prediction tasks.
Limitations and Future Work
Despite progress, several challenges remain. Many top-performing methods are tested on proprietary data, hindering reproducibility. There is also a lack of hybrid approaches that combine multiple compression types. Furthermore, many algorithms lack hardware-awareness; while mathematically sound, they may not align with GPU or mobile NPU memory access patterns, leading to theoretical speedups that do not materialize in production.
Summary updated