>> 自然科学版期刊 >> 2024 >> 2024年01期 >> 正文
基于双向注意力的图神经推荐算法研究
供稿: 张秋玲,王滢溪,王建芳,宁辉,王荣胜 时间: 2024-01-25 次数:

张秋玲, 王滢溪, 王建芳,.基于双向注意力的图神经推荐算法研究[J].河南理工大学学报(自然科学版),2024,43(1):149-156.

ZHANG Q L, WANG Y X, WANG J F, et al.A neural network recommender algorithm with bi-directional knowledge graph attention[J].Journal of Henan Polytechnic University(Natural Science) ,2024,43(1):149-156.

基于双向注意力的图神经推荐算法研究

张秋玲, 王滢溪, 王建芳, 宁辉, 王荣胜

河南理工大学 计算机科学与技术学院,河南 焦作 454000

摘要:目的 推荐系统主要目标是分析用户的历史行为,以预测用户最感兴趣的项目,随着电子商务和在线服务的日益发展,个性化推荐已成为当今信息传播的基石。基于知识图谱的神经网络推荐通过构建知识图作为输入,可以很好地将节点信息和拓扑结构相结合进行预测,在推荐准确性方面已经证明了良好的结果。然而,现有方法较少考虑图结构中存在的对称关系和信息聚合时梯度消失问题。方法 本文提出一种基于知识图谱和神经网络结合的双向注意力机制推荐算法(BGANR),首先将图神经网络与对称注意力机制相结合;然后在不增加额外数据集中维度的情况下,通过双向对称嵌入翻译模型获取用户-项目间的高阶关系,实现对知识图谱中用户-项目信息进行特征的嵌入表示,使注意力机制在决策权重时考虑的关系更全面;其次,基于图神经网络在对节点和邻居信息训练过程中,采用多通道激活函数针对不同的高阶关系进行修正,从而增加反馈的信息量,避免训练过程中的过拟合问题。结果 仿真实验结果表明,在Last-FM数据中RecallNDCG指标与经典模型最好的结果相比,分别提高了2.56%1.96%结论 BGANR不仅能够实现双向探索高阶连通性,而且在捕捉有效的协同信号的同时能够实现高效信息传递。

关键词:双向嵌入;注意力机制;知识图谱;图神经网络

doi:doi10.16186/j.cnki.1673-9787.2021050117

基金项目:国家自然科学基金资助项目(61972134

收稿日期:2021/05/26

修回日期:2022/07/18

出版日期:2024/01/25

A neural network recommender algorithm with bi-directional knowledge graph attention

ZHANG Qiuling, WANG Yingxi, WANG Jianfang, NING Hui, WANG Rongsheng

School of Computer Science and TechnologyHenan Polytechnic UniversityJiaozuo 454000HenanChina

Abstract: Objective Recommendation systemone of the most successful application of e-commerce and online services with the main goal of analyzing a user’s history behavior and then predicting items which are of most interest to usershas become a cornerstone of today’s information dissemination.Comparing with the traditional neural networkthe neural network based on knowledge graphKG took the building graph as the input in the recommendation systemwhich could combine the node information and topology for predictionand had demonstrated good results in terms of recommendation accuracy.Howeverthe existing methods rarely consider the symmetric relationship in the graph structure and the problem of gradient vanishing in information aggregation. Methods A bi-directional graph attention neural network recommendation algorithm BGANR was proposed based on the combination of knowledge graph and neural network.Firstly the graph neural network and the symmetric attention mechanism were combined.Thenwithout adding additional dataset dimensionsthe higher-order relationships between users-items were obtained through a bidirectional symmetric embedded translation modelwhich aimd at embedding representations of the features of user-item information in the Knowledge Graphso that the relationships were considered by the attention mechanism in the decision-making weights more comprehensively.The graph-based neural network was used to correct different higher-order relationships by using multi-channel activation functions during the training process of node and neighbor informationso as to increase the amount of feedback information and avoid the over-fitting in the training process. Results The Recall and NDCG metrics in Last-FM data were improved by 2.56% and 1.96% respectivelycompared with the best results of state-of-the-art model. Conclusion The extensive empirical results demonstrated that BGANR could not only explore the higher-order connectivity in bi-directionsbut also realize the efficient transmission of information while capturing effective collaborative signals.

Key words:bi-directional embedding;attention mechanism;knowledge graph;graph neural network

最近更新