User preference interaction fusion and swap attention graph neural network for recommender system

Neural Netw. 2025 Jan 4:184:107116. doi: 10.1016/j.neunet.2024.107116. Online ahead of print.

Abstract

Recommender systems are widely used in various applications. Knowledge graphs are increasingly used to improve recommendation performance by extracting valuable information from user-item interactions. However, current methods do not effectively use fine-grained information within the knowledge graph. Additionally, some recommendation methods based on graph neural networks tend to overlook the importance of entities to users when performing aggregation operations. To alleviate these issues, we introduce a knowledge-graph-based graph neural network (PIFSA-GNN) for recommendation with two key components. The first component, user preference interaction fusion, incorporates user auxiliary information in the recommendation process. This enhances the influence of users on the recommendation model. The second component is an attention mechanism called user preference swap attention, which improves entity weight calculation for effectively aggregating neighboring entities. Our method was extensively tested on three real-world datasets. On the movie dataset, our method outperforms the best baseline by 1.3% in AUC and 2.8% in F1; Hit@1 increases by 0.7%, Hit@5 by 0.6%, and Hit@10 by 1.0%. On the restaurant dataset, AUC improves by 2.6% and F1 by 7.2%; Hit@1 increases by 1.3%, Hit@5 by 3.7%, and Hit@10 by 2.9%. On the music dataset, AUC improves by 0.9% and F1 by 0.4%; Hit@1 increases by 3.3%, Hit@5 by 1.2%, and Hit@10 by 0.2%. The results show that it outperforms baseline methods.

Keywords: Convolutional neural networks; Graph neural networks; Knowledge graph; Recommender systems; User preference.