Introduction
In modern recommender systems, the sheer volume of data necessitates the use of incremental learning rather than full retraining. However, updating models with small batches of new data often leads to "catastrophic forgetting," where the model overfits to recent trends at the expense of long-term user preferences. This paper introduces GraphSANE, a novel strategy that addresses this challenge by focusing on a critical but often overlooked component: dynamic negative sampling. By maintaining a personalized "negative reservoir" that tracks shifts in user interests, GraphSANE balances stability (retaining old knowledge) with plasticity (adapting to new trends).
Problem Statement: The Role of Negative Sampling
Incremental learning typically focuses on "stability" through techniques like knowledge distillation to prevent drastic changes in embeddings. However, these methods frequently neglect the dynamics of negative sampling. In recommendation tasks involving implicit feedback, negative samples—items the user is assumed to dislike—are crucial for training. Standard systems often use static or random sampling, which fails to account for evolving user behavior. For instance, if a user's interest shifts from "Pets" to "Car Parts," the model must be explicitly trained to stop recommending pet supplies. GraphSANE addresses this by making negative sampling dynamic and personalized.
Methodology: The GraphSANE Framework
The core of the proposed method is the Graph Structure Aware NEgative (GraphSANE) reservoir. This framework acts as a plug-in for existing incremental models, providing a personalized sampler that evolves alongside the user.
Item Clustering and Interest Tracking
To handle datasets without explicit category labels, GraphSANE employs an end-to-end trainable clustering method based on Student’s t-distribution kernels to group items into "pseudo-categories." The system then monitors user interaction histograms across these clusters. A significant drop in interactions within a specific cluster is flagged as a "loss of interest," triggering a shift in the negative sampling strategy.
Hierarchical Bayesian Sampler
The mathematical engine of GraphSANE is a hierarchical Bayesian sampler utilizing a Dirichlet-Multinomial conjugate pair to calculate a posterior distribution for negative items. The sampler is biased toward two types of items:
- Hard Negatives: Items that the model currently ranks highly but the user has not interacted with.
- Shift-based Negatives: Items belonging to categories from which the user is actively moving away.
By integrating these into a loss term ($L_{SANE}$), GraphSANE can be added to state-of-the-art incremental frameworks like GraphSAIL or SGCT.
Experimental Evaluation
The researchers evaluated GraphSANE across six large-scale datasets, including Gowalla, Yelp, Taobao (2014 and 2015), Netflix, and MovieLens10M. The experimental setup simulated an incremental environment by using 60% of the data as a base block and the remaining 40% split into four chronological chunks.
Results and Discussion
The addition of the SANE reservoir consistently improved the performance of various incremental frameworks:
- GraphSAIL saw an average improvement of 11.2%.
- SGCT improved by 8.3%.
- LWC-KD improved by 6.4%.
A case study focusing on "high-shift" users—those with the most volatile interest changes—showed a 20% improvement in Recall@20 compared to standard samplers. This highlights the effectiveness of "selective forgetting": by intentionally sampling negatives from declining interest categories, the model effectively "cleans out" outdated preferences. Furthermore, mixing reservoir samples with uniform random samples ensured training stability and fast convergence.
Conclusion
GraphSANE demonstrates that negative sampling is a vital lever for managing the stability-plasticity trade-off in incremental recommendation. While highly effective, the method currently faces limitations with cold-start users and systems that do not rely on unique item/user IDs. Future work will explore adapting this personalized reservoir for sequential models and content-based recommendation systems.
Summary updated