TL;DR
This paper tackles the challenge of evaluating lightweight recommender systems (LERSs) by proposing a standardized benchmarking approach. They reveal that simple methods like magnitude pruning can be surprisingly competitive, and highlight the critical trade-offs between performance, efficiency, and cross-task transferability, especially for on-device deployments.
What Problem Does This Paper Address?
Recommender systems (RSs) are crucial for personalized content delivery, but their reliance on massive embedding tables poses scalability challenges. Lightweight Embedding-based Recommender Systems (LERSs) aim to compress these embeddings, but a lack of standardized evaluation protocols makes it difficult to compare their real-world effectiveness. This paper addresses this by providing a comprehensive benchmark of existing LERSs, evaluating their performance, efficiency, and ability to generalize across different recommendation tasks. They also introduce a simple yet effective baseline: magnitude pruning.
Methods
The authors benchmark three main categories of LERSs:
- Compositional Embedding: These methods represent features using combinations of smaller "meta-embeddings."
- Embedding Pruning: These techniques zero out less important embedding parameters to reduce storage.
- Neural Architecture Search (NAS): These methods automatically search for optimal embedding configurations.
They also include "hybrid" solutions that combine these approaches. A key contribution is the introduction of Magnitude-based Pruning (MagPrune), a simple baseline that prunes embeddings based on the magnitude of their learned weights after L2 regularization. They also propose a metric called "performance retain ratio" to measure cross-task transferability.
Datasets
The paper uses two types of datasets:
- Content-based Recommendation (CTR Prediction): Criteo and Avazu.
- Collaborative Filtering (Top-k Recommendation): Yelp2018 and Gowalla.
The authors emphasize using standardized data splits and preprocessing for fair comparison.
Key Insights and Ideas
- Simplicity Can Be Powerful: Magnitude pruning, a straightforward technique, often achieves competitive performance comparable to more complex methods, especially at lower sparsity rates.
- Standardization is Key: The lack of a unified evaluation protocol has hindered progress in LERS research. This paper's comprehensive benchmarking provides a much-needed baseline.
- Cross-Task Transferability Matters: LERSs designed for one task don't always perform well on another. Understanding this transferability is crucial for developing more generalizable solutions.
- Edge Devices Present Unique Challenges: Deploying LERSs on resource-constrained devices like Raspberry Pi reveals significant efficiency bottlenecks, particularly in training time and memory usage, which are often overlooked in GPU-centric research.
- Pruning's Training Overhead: While pruning methods excel at reducing model size, they can incur significant memory overhead during the training phase due to the need to store the full embedding table and pruning masks.
Key Results
- Performance: PEP and MagPrune consistently showed strong performance across various settings. For CTR prediction, pruning methods generally outperformed compositional ones on the Criteo dataset, while the opposite was observed for Avazu. For collaborative filtering, graph-based models (LightGCN) generally outperformed latent-factor models (NeuMF).
- Efficiency: QR exhibited the smallest efficiency sacrifice. DHE, on the other hand, had the highest runtime overhead and did not reduce peak memory consumption during inference. Training on edge devices was significantly slower than on workstations.
- Cross-Task Transferability: PEP and MagPrune showed good performance retention across tasks, especially at low sparsity. OptEmbed performed well on CTR but poorly on CF.
Limitations and Future Work
- Limited Scope of Evaluation: The study focused on specific datasets and hardware (Raspberry Pi, GPU workstation). Future work could explore other programming languages, edge devices, and a wider range of metrics like energy consumption and diversity.
- Training Efficiency: Many current LERS methods hinder training efficiency, especially for graph-based CF. Improving this aspect is a key area for future research.
- Dataset Characteristics: The reasons for varying performance across datasets remain unclear, suggesting a need for further research into the relationship between dataset characteristics and method effectiveness.
- Hyperparameter Tuning: While TPE was used, the authors acknowledge the complexity of hyperparameter tuning for LERSs and suggest further investigation.
Summary updated