Global Context Enhanced Social Recommendation with Hierarchical Graph Neural Networks

Huance Xu, Chao Huang, Yong Xu, Lianghao Xia, Hao Xing, Dawei Yin

TL;DR

The SR-HGNN (Social Recommendation with Hierarchical Graph Neural Networks) framework improves recommendation systems by simultaneously tackling two overlooked factors: the diversity of user-item interaction types (like different rating levels) and the "global context" of the social network. By maximizing mutual information between individual user embeddings and the overall social graph structure, the model captures high-order social patterns that local neighborhood-based models miss.

What Problem Does This Paper Address?

Social recommendation leverages a user's social ties (friends, follows) to predict their interests. However, the authors identify two major gaps in current state-of-the-art (SOTA) models:

  1. Interaction Heterogeneity: Most models treat user-item interactions as binary (e.g., clicked vs. didn't click). In reality, interactions are multi-typed, such as different rating scores (1 to 5) or different behaviors (browse vs. purchase). Ignoring these nuances loses valuable semantic information.
  2. Local vs. Global Social Context: Existing Graph Neural Networks (GNNs) for social recommendation focus on "local" neighborhoods—aggregating info from immediate friends. They often fail to capture the "global" social context—the high-order relational structures and similarities that exist across the entire network.

Methods

The authors propose a two-phase hierarchical framework:

  • Relation-Aware Reconstructed GNN: To handle multi-type interactions, the model decomposes item nodes into "sub-nodes" based on the interaction type (e.g., an item node becomes five sub-nodes for ratings 1 through 5). It then uses a message-passing architecture to learn from these specific relations. To ensure the model doesn't lose the "big picture," they add a reconstruction-based constraint that forces the embeddings to be able to predict the original user-item and user-user links.
  • Global Social Dependency Modeling: This is the core innovation. The model uses a social relation encoder to generate node-level embeddings. It then aggregates these into a single "graph-level" representation of the entire social network.
  • Mutual Information (MI) Maximization: Inspired by Deep Graph Infomax, the authors use an MI learning paradigm. They train a discriminator to distinguish between "real" user-graph pairs and "corrupted" ones. This forces the individual user embeddings to encode global structural signals, effectively "contextualizing" each user within the entire social landscape.

Datasets

The model was evaluated on three widely used public benchmarks:

  • Ciao & Epinions: Consumer review sites where users can "trust" others and provide ratings from 1 to 5.
  • Douban: A Chinese social networking site for movies/books/music, featuring social connections and rating interactions.

The authors treated each distinct rating score as a unique interaction type to test the model's multi-relational capabilities.

Key Insights and Ideas

  • Ratings as Relations: Instead of treating a rating of "1" and "5" as just different values on the same edge, SR-HGNN treats them as fundamentally different types of edges. This allows the GNN to learn distinct "behavioral semantics" for different levels of satisfaction.
  • The "Global" Advantage: Most GNNs suffer from "over-smoothing" if they try to look too many hops away. By using Mutual Information to link local nodes to a global graph summary, SR-HGNN captures high-order social similarity without the computational cost or noise of deep, multi-hop message passing.
  • Reconstruction as Regularization: By forcing the model to reconstruct the social and interaction graphs during training, the authors ensure that the learned embeddings remain grounded in the observed connectivity of the data.

Key Results

  • State-of-the-Art Performance: SR-HGNN consistently outperformed SOTA baselines (including GraphRec, DiffNet, and NGCF+SN) across all three datasets. For example, on the Ciao dataset (80% training), it achieved an RMSE of 0.9507, significantly lower than the next best baseline, GraphRec (0.9687).
  • Ablation Success: Removing either the global social encoder or the multi-type interaction module led to a drop in performance, proving that both "hierarchical" components are necessary.
  • Efficiency: Despite its complexity, SR-HGNN showed competitive training efficiency. In scalability tests, it was significantly faster than GraphRec (e.g., 78 seconds vs. 3600 seconds per epoch on Douban), likely due to its more efficient handling of high-order dependencies.

Limitations and Future Work

  • Textual Data: The current model focuses on graph structure and interaction types. The authors note that incorporating external textual information (like the actual content of user reviews) could provide even richer semantic signals.
  • Generalization: While tested on recommendation tasks, the authors suggest that the hierarchical MI-based approach could be applied to other social-aware datasets or different types of heterogeneous networks.
  • Hyperparameter Sensitivity: The model's performance is tied to the embedding size ($d_H$) and the number of GNN layers, requiring careful tuning for different datasets to avoid overfitting.

Summary updated

BibTeX
@inproceedings{xu2020global,
  author = {Huance Xu and Chao Huang and Yong Xu and Lianghao Xia and Hao Xing and Dawei Yin},
  title = {{Global Context Enhanced Social Recommendation with Hierarchical Graph Neural Networks}},
  booktitle = {ICDM},
  year = {2020},
  url = {https://openreview.net/forum?id=u52D3LjDyI},
}
Figure