Abstract
Collaborative Filtering (CF) models typically rely on user-item bipartite graphs, which often suffer from data sparsity and the over-smoothing issues inherent in deep Graph Convolutional Networks (GCNs). This paper introduces Heterogeneous Graph Collaborative Filtering (HGCF), a framework that augments the standard bipartite graph with explicit user-user similarity edges. By shortening the path between related nodes, HGCF captures high-order collaborative signals using shallower architectures, effectively improving recommendation accuracy and robustness to sparse data.
Introduction
Modern graph-based Collaborative Filtering represents interactions as a bipartite graph where users and items are nodes and interactions (e.g., clicks or purchases) are edges. However, this representation faces two significant challenges:
- Sparsity: Users typically interact with only a fraction of items, resulting in a "thin" graph where relevant but unvisited items are many hops away.
- The Deep GCN Dilemma: To reach these distant neighbors, models must stack multiple GCN layers. Unfortunately, deep GCNs are prone to over-smoothing, where node embeddings become indistinguishable, degrading recommendation quality.
HGCF addresses these issues by transforming the bipartite structure into a heterogeneous graph, adding "shortcuts" between similar users to facilitate more efficient message passing.
Methodology
The HGCF framework consists of three primary stages: graph construction, embedding propagation, and prediction.
Graph Construction
Beyond standard user-item edges, HGCF incorporates user-user similarity edges calculated via Point-wise Mutual Information (PMI). PMI identifies pairs of users who share more common interests than would be expected by chance. By adding these edges, a relationship that might require five hops in a bipartite graph can be traversed in just three, allowing the model to capture high-order signals with fewer layers.
Embedding Propagation and Prediction
The model utilizes a GCN-based architecture for message passing. In each layer, a node's representation is updated by aggregating messages from its neighbors. To explicitly model affinity, the message function includes an interaction term (the element-wise product of user and item embeddings). To preserve information across different connectivity levels, HGCF concatenates embeddings from all layers to form the final representation used for the Bayesian Personalized Ranking (BPR) loss optimization.
Experimental Evaluation
The model was evaluated on three large-scale public benchmarks: Gowalla (location check-ins), Yelp2018 (business reviews), and Amazon-Book (product reviews). All datasets were pre-processed to ensure a minimum of 10 interactions per user/item to maintain evaluation quality.
Results and Discussion
- State-of-the-Art Performance: HGCF consistently outperformed competitive baselines like NGCF and HOP-Rec. Notably, it achieved a 9.01% improvement in Recall@20 over the strongest baseline on the Amazon-Book dataset.
- Layer Efficiency: While bipartite models often require 3 or 4 layers to reach peak performance, HGCF achieved its best results with only 2 layers. This confirms that the heterogeneous structure effectively reduces the need for deep, over-smoothing-prone architectures.
- Similarity Metrics: Empirical tests showed that PMI provided better distinguishability for user relationships compared to Cosine or Jaccard similarities.
- Density Trade-offs: The authors identified a "sweet spot" for graph density. If the similarity threshold is too low (too many edges), the model overfits; if too high, it fails to capture the collaborative signal.
Conclusion and Future Work
HGCF demonstrates that structural augmentation of the interaction graph can significantly alleviate the limitations of standard GCNs in recommendation tasks. Future research may explore dynamic similarity learning during training rather than relying on static pre-calculated edges, as well as more complex non-linear interaction functions to further enhance prediction accuracy. Additionally, scaling the approach to handle massive item-item similarity matrices remains a computational challenge for future optimization.
Summary updated