Abstract
Multi-Task Learning (MTL) is a common strategy in recommender systems to integrate auxiliary signals, such as social networks or item categories, into user and item embeddings. However, traditional MTL approaches often employ static, global task weights that do not account for the varying importance of auxiliary tasks for different individuals. This paper introduces PMTRec, the first MTL framework designed for personalized task weighting. By analyzing gradients at the individual user/item level, PMTRec dynamically adjusts task importance, effectively mitigating gradient interference and enhancing recommendation performance, particularly for sparse data scenarios.
Introduction
Modern recommender systems rely on dense embeddings to represent users and items. To improve the robustness of these representations, researchers often employ MTL, training the model on a primary recommendation task alongside auxiliary tasks (e.g., social link prediction or category classification).
Despite their popularity, existing MTL methods suffer from a "one-size-fits-all" limitation. They assign uniform importance to tasks across all users, ignoring that a "cold-start" user might benefit more from social data than a power user with a rich purchase history. Furthermore, conflicting gradients from different tasks can lead to "gradient interference," where auxiliary tasks inadvertently degrade the primary recommendation engine's performance.
Methodology
PMTRec addresses these challenges by shifting from global optimization to user/item-specific gradient operations. The framework consists of three primary components:
- Personalized Gradient Collection: PMTRec captures gradients for specific user/item embeddings across all tasks during backpropagation. The $L_2$ norm of these gradients serves as a proxy for the task's impact on a specific individual at a given training step.
- Task Focusing Module: To ensure convergence on the primary recommendation objective, a hyperparameter $\alpha$ is used to gradually increase the weight of the main task as training progresses, transitioning the model from broad exploration to focused exploitation.
- Gradient Magnitude Balancing: To prevent auxiliary tasks with large gradient magnitudes from dominating the learning process, PMTRec employs a Softmax-based temperature $(\tau)$ to normalize and balance these signals.
Experimental Setup
The framework was evaluated using three real-world datasets: Epinion (social data), Video Game (Amazon co-viewed/co-bought relationships), and Office (Amazon ratings). The authors applied a "5-core" filter to maintain data quality and tested PMTRec across various backbones, including Matrix Factorization (MF), Neural Graph Collaborative Filtering (NGCF), and LightGCN.
Results and Analysis
PMTRec consistently outperformed state-of-the-art MTL baselines, such as PCGrad, GradVac, and Nash MTL.
Key findings include:
- Accuracy Improvements: On the Epinion dataset, PMTRec achieved a significant improvement in recommendation metrics over the strongest baselines.
- Gradients as Personalization Signals: Treating gradient norms as measures of individual task importance allows the model to naturally prioritize the most relevant signals for each user.
- Stability and Scalability: PMTRec demonstrates stable training curves and a performance ceiling higher than standard methods. Its linear complexity relative to the number of users and items ensures it is suitable for large-scale industrial deployment.
Conclusion
PMTRec represents a significant step forward in multi-task recommendation by introducing personalization into the optimization process. While the model requires careful tuning of hyperparameters like $\alpha$ and $\tau$, its ability to adapt to individual user needs makes it a robust strategy for modern recommender systems. Future research may explore the integration of this personalized approach into Large Language Model (LLM)-based recommendation architectures.
Summary updated