Graph Neural Pre-training for Enhancing Recommendations using Side Information

Zaiqiao Meng, Siwei Liu, Craig Macdonald, Iadh OunisarXiv 2021

Introduction

Modern recommendation engines increasingly rely on "side information"—such as user demographics or item descriptions—to overcome the challenges of data sparsity in collaborative filtering. However, traditional methods that integrate this information during the main training phase often face issues with hyperparameter tuning, conflicting objectives, and model instability. This paper, presented at the 2021 ACM Conference on Recommender Systems, proposes a novel "pre-train then fine-tune" approach using Graph Neural Networks (GNNs) to create high-quality initial embeddings that stabilize and boost recommendation performance.

The Problem: Limitations of Joint Integration

The standard approach to using side information is the integration scheme, where a model is trained using a combined loss function for both interactions and side info. The authors identify three major flaws in this paradigm:

  1. Hyperparameter Sensitivity: It is difficult to balance recommendation loss against side-info loss.
  2. Conflicting Objectives: Side info and interaction data can sometimes provide contradictory signals, leading to suboptimal performance.
  3. Initialization Instability: Deep recommendation models are often highly sensitive to random initialization, resulting in inconsistent performance across different training runs.

Methodology: Decoupling Context from Interaction

The authors propose a pre-training framework that separates the learning of "within-entity" context (side info) from "cross-entity" interactions (clicks/purchases). Before the recommendation model starts, GNNs encode side information into user and item embeddings through two proposed models:

  • GCN-P (Single-Relational): This model builds a graph where entities are connected based on feature similarity (e.g., cosine similarity) and uses standard Graph Convolutional Networks to smooth these features.
  • COM-P (Multi-Relational): A more sophisticated approach that uses a Composition-based GNN (CompGCN) to handle multiple relation types (e.g., an "age-group" edge vs. a "gender" edge). This allows the model to learn which specific attributes are most semantically relevant.

Once pre-trained, these embeddings serve as the starting point for standard models like Matrix Factorization (MF), Neural Collaborative Filtering (NCF), or LightGCN, which are then fine-tuned using only interaction data.

Experimental Evaluation and Results

The researchers evaluated their approach on three real-world datasets: Foursquare, MovieLens-1M, and Epinions. The results demonstrated that pre-training provides a universal performance boost and significant stability gains across all base models.

Performance and stability of MF, NGCF, and LightGCN across Epinions and Foursquare datasets.

Key Insights

  • Performance Gains: Adding COM-P pre-training to LightGCN improved NDCG@10 by roughly 21% on Foursquare and 48% on Epinions compared to state-of-the-art side-info models.
  • Drastic Stability Improvements: As shown in the box plots above, pre-trained models exhibit significantly lower variance across multiple runs. For example, the standard deviation for Matrix Factorization on Foursquare dropped from 0.0197 to 0.0029 when using COM-P.
  • Multi-Relational Advantage: COM-P consistently outperformed GCN-P, suggesting that treating different side-info features as distinct relationships is more effective than simple similarity scores.

Conclusion

By mastering the "nature" of users and items through graph-based pre-training before predicting their relationships, this framework offers a robust solution for enhancing recommender systems. Future work will focus on improving the computational efficiency of constructing these entity graphs and exploring applications in sequential recommendation scenarios.

Summary updated

BibTeX
@misc{meng2021graph,
  author = {Zaiqiao Meng and Siwei Liu and Craig Macdonald and Iadh Ounis},
  title = {{Graph Neural Pre-training for Enhancing Recommendations using Side Information}},
  year = {2021},
  eprint = {2107.03936},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2107.03936},
}
Figure