Learning Contrastive Multi-View Graphs for Recommendation (Student Abstract)

Zhangtao Cheng, Ting Zhong, Kunpeng Zhang, Joojo Walker, Fan Zhou

Introduction

Graph Neural Networks (GNNs) have emerged as a powerful paradigm for recommendation systems, leveraging the structural information of user-item interaction graphs to learn high-quality representations. Despite their success, GNNs often struggle with two pervasive issues: data sparsity and noisy interactions. In real-world scenarios, users interact with only a fraction of available items, leading to sparse signals. Furthermore, accidental clicks or curiosity-driven interactions introduce noise that can be propagated through the graph during neighborhood aggregation.

To address these challenges, this work introduces the Contrastive Multi-view Pre-training and Pseudo-Siamese Post-training (CMP-PSP) framework. By utilizing self-supervised contrastive learning and a debiased loss function, CMP-PSP learns robust representations that are resilient to both noise and sparsity.

Methodology

The CMP-PSP framework operates in two distinct stages: pre-training for general feature extraction and post-training for task-specific optimization.

1. Contrastive Multi-view Pre-training (CMP)

The CMP stage focuses on learning fundamental user and item features through self-supervision. The framework generates multiple augmented "views" of user-item subgraphs using three primary techniques:

  • Node Perturbation: Randomly dropping vertices to force the model to rely on broader structural patterns.
  • Edge Noising: Adding or removing edges to simulate and mitigate the effects of noisy interactions.
  • Embedding Masking: Hiding portions of the initial ID embeddings to encourage the model to learn from the graph structure rather than just raw IDs.

These views are processed by dedicated GCN encoders. To optimize the representations, the authors employ a debiased contrastive loss. Unlike standard contrastive learning, which treats all unobserved interactions as negative samples, this debiased approach acknowledges that some unobserved items may be "false negatives"—items the user would like but has not yet encountered.

2. Pseudo-Siamese Post-training (PSP)

Following pre-training, the model enters the PSP stage for fine-tuning. This stage utilizes a pseudo-siamese network architecture, where two branches share the same structure but maintain independent parameters. This design allows the model to capture more nuanced features during the recommendation task. The final recommendation score is computed as the inner product of user and item embeddings, optimized using the Bayesian Personalized Ranking (BPR) loss.

Experimental Results

The CMP-PSP framework was evaluated on the Gowalla dataset, a large-scale benchmark for location-based social network recommendations.

Performance Comparison

CMP-PSP was compared against several state-of-the-art baselines, including Neural Graph Collaborative Filtering (NGCF), LightGCN, and Self-supervised Graph Learning with Edge Dropout (SGL-ED). As shown in the table below, CMP-PSP consistently outperforms these models in both Recall and Normalized Discounted Cumulative Gain (NDCG).

Performance comparison of CMP-PSP against baselines on the Gowalla dataset.

Specifically, CMP-PSP achieved a Recall@20 of 0.1877 and an NDCG@20 of 0.1593, representing a significant improvement over LightGCN, the strongest GCN-based baseline.

Robustness to Data Sparsity

A key strength of the CMP-PSP framework is its resilience to limited training data. In "stress tests" where the training set was reduced to various fractions of its original size (from 100% down to 20%), CMP-PSP maintained a higher performance level compared to LightGCN and SGL-ED.

Recall@20 performance across different levels of data sparsity on the Gowalla dataset.

As the data becomes sparser, the performance gap between CMP-PSP and the baselines widens, demonstrating that the self-supervised signals generated during the CMP stage effectively buffer the model against the loss of explicit interaction data.

Conclusion

The CMP-PSP framework demonstrates that combining multi-view contrastive pre-training with a pseudo-siamese fine-tuning architecture can significantly enhance the robustness of graph-based recommendation systems. By addressing the inherent issues of data sparsity and noise through debiased self-supervision, the model sets a new performance standard on benchmark datasets like Gowalla. Future research may explore the computational efficiency of this architecture and its generalizability across diverse recommendation domains.

Summary updated

BibTeX
@inproceedings{cheng2022learning,
  author = {Zhangtao Cheng and Ting Zhong and Kunpeng Zhang and Joojo Walker and Fan Zhou},
  title = {{Learning Contrastive Multi-View Graphs for Recommendation (Student Abstract)}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2022},
  doi = {10.1609/aaai.v36i11.21600},
}
Figure