Enhancing Recommender Systems with Graph-Based Contrastive Learning

Thursday 13 March 2025


Recommender systems have become an integral part of our online lives, helping us discover new music, movies, and products based on our past preferences. However, these systems often struggle with a fundamental limitation: data sparsity. When faced with sparse interaction data, traditional methods can falter, leading to subpar recommendations.


To address this issue, researchers have turned to self-supervised learning techniques, which enable models to learn from unlabelled data without explicit supervision. One such approach is graph-based contrastive learning, which leverages the structure of user-item interactions to generate new views of the data. These new views can then be used to train recommendation models that are more robust and accurate.


Recently, a team of researchers proposed a novel framework called MixRec, which combines individual and collective mixing mechanisms to empower data augmentation for recommender systems. In essence, MixRec generates multiple new views of the original interaction graph by randomly shuffling or dropping edges. This process allows the model to learn from both individual user preferences and collective patterns in the data.


The researchers experimented with MixRec on four real-world datasets, including Amazon-Book, Tmall, Yelp, and Douban-Book. They compared its performance against several state-of-the-art baselines, including MF, NGCF, LightGCN, and others. The results were impressive: MixRec consistently outperformed the baseline methods in terms of recall and normalized discounted cumulative gain (NDCG).


One of the key benefits of MixRec is its simplicity and ease of integration with existing models. By adding just two additional hyperparameters – the weight of the contrastive loss and a shape parameter – users can enhance their recommender systems without significant changes to their underlying architecture.


The researchers also investigated the optimal hyperparameter settings for MixRec, finding that the shape parameter exhibited good generalization and only required fine-tuning of the weight of the contrastive loss. This reduced the complexity of hyperparameter tuning and made the approach more accessible to practitioners.


MixRec offers a promising solution to the data sparsity problem in recommender systems. By generating new views of the interaction graph through individual and collective mixing, the model can learn from both user-level and group-level patterns. While there is still much work to be done in this area, MixRec provides a valuable step forward in developing more effective and efficient recommender systems.


Cite this article: “Enhancing Recommender Systems with Graph-Based Contrastive Learning”, The Science Archive, 2025.


Recommender Systems, Self-Supervised Learning, Graph-Based Contrastive Learning, Mixrec, Data Augmentation, User-Item Interactions, Interaction Graph, Collective Patterns, Individual Preferences, Hyperparameter Tuning.


Reference: Yi Zhang, Yiwen Zhang, “MixRec: Individual and Collective Mixing Empowers Data Augmentation for Recommender Systems” (2025).


Leave a Reply