Personalized Multi-task Training for Recommender System

Liangwei Yang, Zhiwei Liu, Jianguo Zhang, Rithesh Murthy, Shelby Heinecke, Huan Wang, Caiming Xiong, Philip S. Yu · DOI

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:

  1. 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.
  2. 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.
  3. 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.
The PMTRec framework architecture, highlighting the Personalized Gradient Combination module that processes task-specific gradients to update user and item embeddings.

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.

Performance comparison (Recall@20) on the Epinion dataset across different model backbones. PMTRec (yellow) consistently achieves the highest accuracy compared to other MTL strategies.

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

BibTeX
@inproceedings{yang2024personalized,
  author = {Liangwei Yang and Zhiwei Liu and Jianguo Zhang and Rithesh Murthy and Shelby Heinecke and Huan Wang and Caiming Xiong and Philip S. Yu},
  title = {{Personalized Multi-task Training for Recommender System}},
  booktitle = {IEEE Big Data},
  year = {2024},
  doi = {10.1109/bigdata62323.2024.10825649},
}
Figure