LightKG: Efficient Knowledge-Aware Recommendations with Simplified GNN Architecture

Yanhui Li, Dongxia Wang, Zhu Sun, Haonan Zhang, Huizhong Guo · DOI

Abstract

Recently, Graph Neural Networks (GNNs) have become the dominant approach for Knowledge Graph-aware Recommender Systems (KGRSs) due to their proven effectiveness. Building upon GNN-based KGRSs, Self-Supervised Learning (SSL) has been incorporated to address the sparsity issue, leading to longer training time. However, through extensive experiments, we reveal that: (1) compared to other KGRSs, the existing GNN-based KGRSs fail to keep their superior performance under sparse interactions even with SSL. (2) More complex models tend to perform worse in sparse interaction scenarios and complex mechanisms, like attention mechanism, can be detrimental as they often increase learning difficulty. Inspired by these findings, we propose LightKG, a simple yet powerful GNN-based KGRS to address sparsity issues. LightKG includes a simplified GNN layer that encodes directed relations as scalar pairs rather than dense embeddings and employs a linear aggregation framework, greatly reducing the complexity of GNNs. Additionally, LightKG incorporates an efficient contrastive layer to implement SSL. It directly minimizes the node similarity in original graph, avoiding the time-consuming subgraph generation and comparison required in previous SSL methods. Experiments on four benchmark datasets show that LightKG outperforms 12 competitive KGRSs in both sparse and dense scenarios while significantly reducing training time. Specifically, it surpasses the best baselines by an average of 5.8% in recommendation accuracy and saves 84.3% of training time compared to KGRSs with SSL.

Introduction

Modern recommendation systems frequently encounter the "Matthew effect," where a small subset of popular items dominates user interactions, leaving the majority of the catalog in a "sparse" state. Knowledge Graph-aware Recommender Systems (KGRSs) aim to mitigate this by incorporating auxiliary information from Knowledge Graphs (KGs) to provide context, such as linking a user's interest in a movie to its director or genre. While Graph Neural Networks (GNNs) and Self-Supervised Learning (SSL) have become the standard for these tasks, their increasing complexity has introduced new challenges: overfitting in sparse scenarios and prohibitive training times.

The Complexity Trap in GNNs

A critical finding in recent research is that more complex models do not necessarily yield better results in sparse interaction environments. In many cases, sophisticated mechanisms like attention can be detrimental, increasing the learning difficulty and leading to poor generalization. The authors observed that simply removing attention mechanisms from state-of-the-art models often improved their performance. This suggests that the "bloat" in modern GNN architectures may be counterproductive for recommendation tasks where data is limited.

LightKG: A Simplified Approach

To address these issues, we introduce LightKG, a streamlined GNN-based KGRS designed for both efficiency and robustness. LightKG departs from traditional architectures through two primary innovations:

1. Simplified GNN Layer

Traditional KGRSs represent relations (e.g., "directed by," "acted in") using high-dimensional vectors or matrices. LightKG simplifies this by encoding directed relations as scalar pairs. For instance, a "book-author" relation is represented by two numbers: one indicating the importance of the author to the book, and the other the book to the author. This approach acts as an implicit node label, allowing the model to distinguish between node types without the computational burden of dense embeddings.

2. Efficient Contrastive Layer

Self-supervised learning typically involves creating multiple "views" of a graph through subgraph generation, which is computationally expensive. LightKG implements an efficient contrastive layer that skips this step. Instead, it implements contrastive learning by directly minimizing node similarity within the original graph while incorporating a refinement that accounts for neighbor counts. This prevents "over-smoothing"—a common issue where node embeddings become indistinguishable—while significantly reducing the training overhead.

Experimental Evaluation

LightKG was evaluated against 12 competitive baselines across four benchmark datasets: Last.FM (music), Amazon-book (products), Book-Crossing (books), and MovieLens-1M (movies).

Recommendation Accuracy

LightKG consistently outperformed all baselines. In extreme sparsity tests (using only 10% of interaction data), the model demonstrated remarkable robustness. On the Last.FM dataset, LightKG surpassed the best GNN-based baselines by 102.4%. Across all scenarios, it achieved an average accuracy improvement of 5.8%.

Training Efficiency

By eliminating dense relation embeddings and complex SSL subgraph generation, LightKG achieves massive gains in speed. Compared to other KGRSs utilizing SSL, LightKG reduced training time by an average of 84.3%. Furthermore, unlike many KGRS models that perform worse than simple interaction-only models (like LightGCN) when the KG is removed, LightKG remains robust and consistently benefits from the addition of KG data.

Conclusion

LightKG demonstrates that simplifying GNN architectures can lead to superior performance and efficiency in recommendation systems. By focusing on essential signals and reducing model complexity, LightKG provides a robust solution for sparse data scenarios. While the simplification of relations to scalars may lose some fine-grained semantic nuance in extremely dense datasets, the trade-off in efficiency and robustness is significant. Future work will explore the integration of Large Language Model (LLM) generated auxiliary data to further enhance the semantic richness of these simplified models.

Summary updated

BibTeX
@inproceedings{li2025lightkg,
  author = {Yanhui Li and Dongxia Wang and Zhu Sun and Haonan Zhang and Huizhong Guo},
  title = {{LightKG: Efficient Knowledge-Aware Recommendations with Simplified GNN Architecture}},
  booktitle = {ACM SIGKDD Conference on Knowledge Discovery and Data Mining},
  year = {2025},
  doi = {10.1145/3711896.3737026},
}
Figure