TL;DR
PEEL (Personalized Elastic Embedding Learning) is a novel framework for on-device recommendation that tackles the twin challenges of user and device heterogeneity. By segmenting embeddings into blocks and learning their importance via bi-level optimization, PEEL allows a single trained model to instantly adapt to varying and dynamic memory budgets without the need for retraining or reconfiguration.
What Problem Does This Paper Address?
Modern recommender systems (RecSys) typically live in the cloud, but privacy concerns and latency requirements are driving a shift toward on-device deployment. However, edge devices like smartphones and IoT gadgets are resource-constrained.
Existing solutions for model compression often fall into two traps:
- Ignoring Device Heterogeneity: They assume a fixed memory budget for all devices. In reality, one user might have an old phone with 5MB available, while another has a flagship with 25MB. Furthermore, a single device's available memory fluctuates as other apps open and close.
- Ignoring User Heterogeneity: Most compression methods produce a "one-size-fits-all" compact model, which fails to capture the diverse preferences of different user groups.
The authors aim to create a "once-for-all" training paradigm where a model is trained once on the server but can be personalized and elastically resized to fit any device's current memory constraints.
Methods
The PEEL framework consists of three main stages, as illustrated in the overview below:
- Full Embedding Pretraining: The system starts by training a standard base model (like LightGCN). To ensure that the later-segmented embedding blocks are informative and non-redundant, they introduce a diversity-driven regularizer using a Frobenius norm penalty.
- Personalized Elastic Embedding Learning:
- Group-Level Fine-Tuning: Users are clustered into groups using K-Means based on their pretrained embeddings. The server then fine-tunes a group-specific embedding table. This balances the need for personalization with the data scarcity issues of per-user training.
- Bi-level Optimization: A controller is trained to assign importance weights ($\alpha$) to different embedding blocks. This is formulated as a bi-level optimization problem: the "inner" loop updates the embeddings, while the "outer" loop updates the controller based on validation performance. This prevents the weights from simply overfitting to the training data.
- On-Device Ranking: Once deployed, the device receives the full embedding table and the importance weights. Based on its current memory budget, it simply selects the top-$C$ most important blocks. A parameter-free similarity function is used to rank items, ensuring low computational overhead.
Datasets
The authors evaluated PEEL on two large-scale, widely used public datasets:
- Amazon-Book: 52,643 users, 91,599 items, and nearly 3 million interactions.
- Yelp2020: 138,322 users, 105,843 items, and over 3.8 million interactions.
Key Insights and Ideas
- Elasticity via Deactivation: The core "aha" moment is treating embeddings not as monolithic vectors, but as collections of blocks. If memory gets tight, the device doesn't need a new model; it just "deactivates" the least important blocks.
- Popularity as a Signal: The controller uses item popularity as an input. This allows the model to naturally allocate more embedding dimensions (more blocks) to popular items that require nuanced representations, while keeping niche items compact.
- Personalization as Denoising: By clustering users and fine-tuning at the group level, the model effectively filters out "noise" from users with vastly different interests, leading to better local accuracy than a globally shared model.
Key Results
PEEL was compared against several baselines, including fixed-size models (PMF, LightGCN) and other elastic methods (RULE).
- Superior Accuracy: PEEL consistently outperformed baselines across 5MB, 10MB, and 25MB budgets. For example, on Yelp2020 at a 25MB budget, PEEL achieved an NDCG@50 of 0.03582 compared to RULE's 0.02881.
- Instant Adaptation: As shown in Figure 1, while other methods require hundreds of seconds to reconfigure or retrain for a new memory budget, PEEL's adaptation is instantaneous (0 seconds additional deployment time).
- Low Latency: On a simulated cellphone environment, PEEL generated a Top-50 recommendation list in under 100ms for a 5MB budget, making it highly practical for real-time use.
Limitations and Future Work
- Clustering Sensitivity: The performance of the group-level fine-tuning depends on the quality of the initial K-Means clustering. If the initial embeddings are poor, the groups may not represent true user interest segments.
- Server-Side Parallelism: While group-level tuning is parallelizable, it still increases the training load on the server compared to a single global model.
- Future Directions: The authors suggest that future work could explore more complex base architectures beyond GNNs or investigate how to handle "cold-start" users who don't fit well into existing clusters.
Summary updated