Structure Aware Incremental Learning with Personalized Imitation Weights for Recommender Systems

Yuening Wang, Yingxue Zhang, Antonios Valkanas, Ruiming Tang, Chen Ma, Jianye Hao, Mark Coates

Abstract

Recommender systems now consume large-scale data and play a significant role in improving user experience. Graph Neural Networks (GNNs) have emerged as one of the most effective recommender system models because they model the rich relational information. The ever-growing volume of data can make training GNNs prohibitively expensive. To address this, previous attempts propose to train the GNN models incrementally as new data blocks arrive. Feature and structure knowledge distillation techniques have been explored to allow the GNN model to train in a fast incremental fashion while alleviating the catastrophic forgetting problem. However, preserving the same amount of the historical information for all users is sub-optimal since it fails to take into account the dynamics of each user's change of preferences. For the users whose interests shift substantially, retaining too much of the old knowledge can overly constrain the model, preventing it from quickly adapting to the users' novel interests. In contrast, for users who have static preferences, model performance can benefit greatly from preserving as much of the user's long-term preferences as possible. In this work, we propose a novel training strategy that adaptively learns personalized imitation weights for each user to balance the contribution from the recent data and the amount of knowledge to be distilled from previous time periods. We demonstrate the effectiveness of learning imitation weights via a comparison on five diverse datasets for three state-of-art structure distillation based recommender systems. The performance shows consistent improvement over competitive incremental learning techniques.

Introduction

Modern recommender systems increasingly rely on Graph Neural Networks (GNNs) to capture complex user-item relationships. However, retraining these models from scratch as datasets grow is computationally prohibitive. Incremental learning offers a solution by updating models with new data blocks, but it faces the challenge of catastrophic forgetting, where new updates overwrite valuable historical knowledge.

To mitigate this, researchers use Knowledge Distillation (KD), where a "student" model (the current update) imitates a "teacher" model (the previous version). Standard KD methods apply a uniform "imitation weight" across all users. This approach is sub-optimal because it ignores individual user dynamics. As shown in Figure 1, users with static interests benefit from high historical retention, while users with dynamic, shifting interests require the model to be more "plastic" to adapt to new preferences quickly.

Motivation for personalized imitation weights: comparing global vs. personalized distillation strategies for static and dynamic users.

The SAIL-PIW Framework

To address the limitations of global distillation, we introduce SAIL-PIW (Structure Aware Incremental Learning with Personalized Imitation Weights). This framework treats distillation as a per-user control valve, adaptively tuning how much old knowledge to retain based on the magnitude of a user's interest shift.

As illustrated in Figure 2, the framework consists of four integrated components:

  1. Structure-Aware Item Clustering: Items are clustered based on GNN embeddings using a Student’s t-distribution to identify "anchors" representing distinct interest categories.
  2. User Interest Shift Modeling: The system calculates a state vector for each user, representing the change in their interest distribution (distance to item anchors) between time steps $t-1$ and $t$.
  3. Imitation Weight Generator: A Multi-Layer Perceptron (MLP) processes the state vector to output a personalized weight ($w_u$).
  4. Adaptive Distillation Loss: This weight scales the distillation loss for each user, prioritizing historical knowledge for static users and new data for dynamic ones.
Overview of the SAIL-PIW framework, including item clustering, interest shift modeling, and the imitation weight generator.

Experimental Evaluation

We evaluated SAIL-PIW on five large-scale datasets: Gowalla, Yelp, Taobao (2014 & 2015), and Netflix-Prize. The framework was tested as a backbone-agnostic enhancement for three state-of-the-art incremental learning baselines: GraphSAIL, SGCT, and LWC-KD.

Key Results

  • Performance Improvement: SAIL-PIW consistently outperformed all baselines. Notably, on the Gowalla dataset, it improved the LWC-KD baseline by 19.3% relative to simple fine-tuning.
  • Training Efficiency: The incremental approach significantly reduced computational overhead. On the Netflix dataset, SAIL-PIW completed training in 61 hours compared to 202 hours for full-batch retraining—a 70% reduction in time.
  • Adaptability: Case studies confirmed that the model successfully identifies "dynamic" users, allowing them to "forget" stale preferences to improve recommendation accuracy for their latest interests.

Conclusion

SAIL-PIW demonstrates that personalizing the balance between stability and plasticity is crucial for effective incremental learning in recommender systems. By treating users as individuals with varying interest dynamics rather than a monolith, the framework achieves superior accuracy while maintaining the efficiency of incremental updates. Future work may explore more complex weight generator architectures, such as Transformers, to further refine interest shift modeling.

Summary updated

BibTeX
@inproceedings{wang2023structure,
  author = {Yuening Wang and Yingxue Zhang and Antonios Valkanas and Ruiming Tang and Chen Ma and Jianye Hao and Mark Coates},
  title = {{Structure Aware Incremental Learning with Personalized Imitation Weights for Recommender Systems}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2023},
  doi = {10.1609/aaai.v37i4.25595},
}
Figure