NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Knowledge Graph Driven Recommendation System Algorithm

Chaoyang Zhang, Yanan Li, Chen Shen, Siwei Fan, Wei Li · DOI

Abstract

In this paper, we propose a novel graph neural network-based recommendation model called KGLN, which leverages Knowledge Graph (KG) information to enhance the accuracy and effectiveness of personalized recommendations. We first use a single-layer neural network to merge individual node features in the graph, and then adjust the aggregation weights of neighboring entities by incorporating influence factors. The model evolves from a single layer to multiple layers through iteration, enabling entities to access extensive multi-order associated entity information. The final step involves integrating features of entities and users to produce a recommendation score. The model performance was evaluated by comparing its effects on various aggregation methods and influence factors. In tests over the MovieLen-1M and Book-Crossing datasets, KGLN shows an Area Under the ROC curve (AUC) improvement of 0.3% to 5.9% and 1.1% to 8.2%, respectively, which is better than existing benchmark methods like LibFM, DeepFM, Wide&Deep, and RippleNet.

Introduction: Addressing Data Sparsity and Cold Starts

Traditional recommendation systems often rely on Collaborative Filtering (CF), which predicts user interests by analyzing historical interactions. However, CF struggles when data is sparse or when new items and users enter the system—the well-known "cold start" problem.

To address these challenges, researchers have integrated Knowledge Graphs (KGs)—structured networks where nodes represent entities (e.g., actors, genres) and edges represent relationships (e.g., "directed by"). While KGs provide rich context, existing methods often treat KG completion and recommendation as separate tasks or fail to account for the fact that different users value different attributes of an item. KGLN (Knowledge Graph-driven Learning Network) bridges this gap by making the graph learning process user-aware, personalizing how item features are aggregated from their neighbors based on specific user preferences.

The KGLN Methodology

The KGLN architecture operates in three primary phases designed to capture complex semantic relationships:

  1. Knowledge Graph Completion (KGC): Using the TransE model ($h + r = t$), the system predicts and fills in missing triplets to ensure a robust data foundation.
  2. Personalized Neighbor Aggregation: This core innovation calculates "influence factors" based on user preference (how much a user cares about a relationship type) and entity influence (the inherent weight of a neighbor).
  3. Multi-order Iteration: A single-layer GNN is iterated $H$ times, allowing the model to explore "multi-hop" relationships (e.g., a user likes a movie, which features an actor, who starred in another movie).
  4. Bi-interaction Aggregator: Among various methods (GCN, GraphSAGE), the Bi-interaction method—using element-wise products to capture correlations—was found to be most effective.
KGLN Model Architecture

Key Insights: The "Goldilocks" Receptive Field

A critical finding in the development of KGLN is that more layers do not necessarily lead to better performance. The authors identified a "Goldilocks" zone for the receptive field depth ($H$). As shown in the experimental results, setting $H$ to 1 or 2 is generally optimal. Beyond this point (e.g., $H=3$), the model begins to incorporate "noise" from distant, irrelevant entities, which degrades recommendation accuracy.

Performance across different receptive field depths

Furthermore, the success of the Bi-interaction aggregator suggests that capturing the interaction (correlation) between a node and its neighbors preserves more semantic nuance than simple summation methods like GCN.

Performance Results

KGLN was evaluated on the MovieLens-1M and Book-Crossing datasets, using subgraphs from Microsoft Satori. It consistently outperformed benchmark models including LibFM, DeepFM, Wide&Deep, MKR, and RippleNet:

  • MovieLens-1M: Achieved a peak AUC of 0.924, surpassing RippleNet (0.921).
  • Book-Crossing: Demonstrated dramatic gains due to the KG's ability to mitigate sparsity, with AUC improvements ranging from 1.1% to 8.2% over benchmarks.
  • Ablation Study: Removing the personalized influence factors led to a significant drop in AUC, confirming that personalization at the graph-aggregation level is a primary driver of the model's success.

Conclusion and Future Directions

KGLN demonstrates the power of combining GNNs with personalized KG aggregation. Future work will focus on two areas: transitioning from static to dynamic Knowledge Graphs to reflect evolving world knowledge, and integrating temporal analysis to account for the natural evolution of user interests over time.

Summary updated

BibTeX
@misc{zhang2023knowledge,
  author = {Chaoyang Zhang and Yanan Li and Chen Shen and Siwei Fan and Wei Li},
  title = {{Knowledge Graph Driven Recommendation System Algorithm}},
  year = {2023},
  eprint = {2401.10244},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2401.10244},
}
Figure