Abstract
To alleviate sparsity and cold start problem of collaborative filtering based recommender systems, researchers and engineers usually collect attributes of users and items, and design delicate algorithms to exploit these additional information. In general, the attributes are not isolated but connected with each other, which forms a knowledge graph (KG). In this paper, we propose Knowledge Graph Convolutional Networks (KGCN), an end-to-end framework that captures inter-item relatedness effectively by mining their associated attributes on the KG. To automatically discover both high-order structure information and semantic information of the KG, we sample from the neighbors for each entity in the KG as their receptive field, then combine neighborhood information with bias when calculating the representation of a given entity. The receptive field can be extended to multiple hops away to model high-order proximity information and capture users' potential long-distance interests. Moreover, we implement the proposed KGCN in a minibatch fashion, which enables our model to operate on large datasets and KGs. We apply the proposed model to three datasets about movie, book, and music recommendation, and experiment results demonstrate that our approach outperforms strong recommender baselines.
Introduction
Collaborative Filtering (CF) is a cornerstone of modern recommendation systems, yet it frequently struggles with data sparsity and the "cold-start" problem for new users or items. To mitigate these issues, researchers often incorporate side information such as item attributes. However, these attributes are typically interconnected, forming a Knowledge Graph (KG). For example, a movie's director links it to other films in their filmography, creating a rich web of semantic relationships.
Previous attempts to leverage KGs often relied on manually designed "meta-paths," which are difficult to scale and require domain expertise, or Knowledge Graph Embeddings (KGE) that are optimized for link prediction rather than recommendation tasks. Knowledge Graph Convolutional Networks (KGCN) address these gaps by automatically mining the KG's structure while accounting for personalized user interests.
Methodology
KGCN extends Graph Convolutional Networks (GCNs) to the KG domain through a user-aware neighborhood aggregation mechanism. The framework's core innovation lies in how it "convolves" information from an item's neighbors:
- User-Aware Relation Scoring: For a given user, the model calculates a score for every relation type (e.g., film.film.director). This acts as a personalized filter, weighting the importance of neighbors based on the user's specific interests.
- Neighborhood Aggregation: To compute an item's representation, KGCN aggregates the embeddings of its neighbors. The authors tested three aggregators: Sum (adding the item and its neighborhood), Concat (concatenating before transformation), and Neighbor (using only neighborhood info).
- Fixed-Size Sampling: To maintain computational efficiency on large-scale KGs, the model samples a fixed-size set of neighbors for each entity rather than processing the entire neighborhood.
- Multi-hop Receptive Fields: By stacking multiple layers, the model captures "high-order" proximity. A 2-layer model can understand that a user might like a movie because it shares a director with a movie they previously enjoyed.
Experimental Evaluation
The model was evaluated on three real-world datasets: MovieLens-20M (movies), Book-Crossing (books), and Last.FM (music). The Knowledge Graph was constructed using Microsoft Satori, mapping items from the datasets to KG entities.
Performance Results
KGCN consistently outperformed strong baselines, including SVD, LibFM, and previous KG-aware models like RippleNet and CKE. The model achieved average AUC gains of 4.4% in movies, 8.1% in books, and 6.2% in music over the best-performing baselines.
The results indicate that the Sum and Concat aggregators generally perform better than the Neighbor aggregator, highlighting the importance of retaining an item's original features. Furthermore, KGCN showed significant resilience to data sparsity, providing the largest performance boosts on the sparsest datasets (Book-Crossing and Last.FM).
Conclusion
KGCN demonstrates that personalized aggregation is key to effective KG-based recommendation. By making aggregation dependent on the user, the model learns which relations matter most to individuals. Additionally, the model discovers high-order patterns automatically, removing the need for expert-defined meta-paths. While increasing the receptive field beyond 2 or 3 hops can introduce noise, the current framework provides a scalable and robust solution for modern recommender systems.
Summary updated