# KGRec: A knowledge graph attention-based model for recommender system

**Authors:** Trinh Duong Hoan, Bui Thanh Hung

PMC · DOI: 10.1371/journal.pone.0344585 · 2026-03-11

## TL;DR

KGRec is a new recommendation model that uses knowledge graphs and attention mechanisms to improve accuracy and diversity in personalized suggestions.

## Contribution

KGRec introduces a novel attention-based knowledge graph model for recommendations that captures higher-order relationships and improves performance.

## Key findings

- KGRec outperforms baseline methods on four benchmark datasets.
- The model improves recommendation quality by capturing indirect user-item connections.
- KGRec shows robustness and effectiveness in semantic representation learning.

## Abstract

Recommender systems have recently gained significant traction as powerful tools for personalized content delivery. While accuracy remains a key focus, users now expect more than precise suggestions. To meet diverse preferences, these systems must also ensure recommendation diversity. They are widely applied in domains such as e-commerce, social media, and online entertainment platforms. Conventional approaches like collaborative filtering mainly emphasize user–item interactions, often overlooking contextual and attribute information, which results in limited performance, especially under sparse data conditions. To address this, we present the KGRec- Knowledge Graph Attention Network Recommendation model, the novel KGRec model integrates knowledge graphs to capture higher-order relationships among users, items, and their associated attributes. KGRec applies multi-layer embedding propagation combined with an attention mechanism to model indirect user–item connections through intermediate attributes, enabling the model to assess the significance of each relation and thus improve recommendation quality. Empirical evaluations on four benchmark datasets— Yelp2018, Last-FM, Amazon-Book and MovieLen-1M—demonstrate the effectiveness of KGRec. The proposed model consistently outperforms all baseline methods across every evaluation metric. These improvements highlight the model’s robustness and its effectiveness in capturing richer semantic representations for recommendation.

## Full-text entities

- **Chemicals:** GCN (-)

## Figures

50 figures with captions in the complete paper: https://tomesphere.com/paper/PMC12978452/full.md

---
Source: https://tomesphere.com/paper/PMC12978452