当前位置:网站首页>[paper reading] kgat: knowledge graph attention network for recommendation
[paper reading] kgat: knowledge graph attention network for recommendation
2022-07-05 10:19:00 【Let me be quiet for a while】
original text :https://arxiv.org/pdf/1905.07854.pdf
Code :https://github.com/xiangwang1223/knowledge_graph_attention_network
What: To provide more accuracy 、 Diverse and interpretable suggestions , Must go beyond the user - Modeling of object interaction , And consider Additional information ( such as KG). In this paper , We studied Knowledge map (KG) The utility of , It does this by associating items with their properties , To break the Independent interaction hypothesis .( By way of KG and user-item graph Combine , Capture high-dimensional connections )【 High dimensional connection :which connect two items with one or multiple linked attributes】
Why: Traditional approach , Such as factoring machine (FM) Think of it as a supervised learning problem , It assumes that each interaction is an independent instance , And encode the edge information . Because the relationship between instances or objects is ignored ( for example , The director of one film is also the actor of another film ), These methods are not enough to extract from the collective behavior of users Cooperative signal .(collaborative signal)
How: KGAT Recursively from the node's neighbors ( It can be a user 、 Item or attribute ) Propagate embed and aggregate , To refine the embedding of nodes , And use the attention mechanism to distinguish the importance of neighbors .
Result
Conclusion
This article emphasizes the importance of collaboration signals , And it aims to surpass users - Modeling object interaction , So consider adding additional information ; By way of 【 Knowledge map 】 and 【 user - Product interaction diagram 】 Combine , obtain 【 Collaborative knowledge map CKG】, To capture high-dimensional connections 、 Cooperative signal . The way to do it is , Through multi-layer embedding aggregation including attention mechanism, it comes from a node neighbor ( It can be user、item、attribute), To update 、 Optimize embedded representation .
Model

The author begins with an example , Explain adding KG Then capture High dimensional connection 、 Cooperative signal Importance .
Collaborative filtering method , Focus on finding similar users ( Interact with a item), So by i1,u1 Can find u4 and u5; Monitor learning methods , Emphasize looking for similar items ( Have the same properties ), So by e1,i1 find i2.
The above method cannot be found u1 and u2、u3 of , Unable to find ,u1 and i3、i4 of .

1. CKG Embedding Layer
Energy fraction of triples (TransR):( The lower the score, the higher the confidence 【 There is more relationship between two entities 】)
among ,


Optimize through pairwise sorting losses :
among ,
By randomly replacing real relationships , Training .( Equivalent to negative sampling )
【 The purpose of this layer is to learn optimization Entity 、 Embedded representation of relationships 】 It is better than direct random embedded representation .
2. Attentive Embedding Propagation Layers
This layer is based on GCN Recursive transfer embedded representation ; according to GAT Get the embedded representation of the joint level , Emphasize the importance of this high-dimensional connection .
Each layer contains 3 A component :information propagation, knowledge-aware attention, and information aggregation( Information dissemination 、 Knowledge perception, attention mechanism and information aggregation )
Information dissemination
eh Self aggregation (ego-network):
Spread information before entities and their neighbors .
Aggregate entities with their neighbors , Through the linear attenuation coefficient .
Knowledge perception attention mechanism
The attenuation coefficient is :
Make in relation r In the space of , The fraction of the attenuation coefficient obtained , From entities h And entities t The relationship between , For the closer entities , The larger the attenuation coefficient obtained , stay 【 Information dissemination 】 in , The more information you keep .
For the sake of simplicity , Use the inner product to get the fraction of the attenuation coefficient .
Re pass softmax Normalize all scores :
From this we can get , Capturing cooperative signals 、 When aggregating entity neighbors , Which entities are assigned higher scores .
In the above formula , There is more than just entity representation , There is also relationship . In order to get more information in communication , Not only the node representation as input , Also get entities h And entities t Relationship representation between .
Information aggregation
This floor is a 【eh】 and 【eh Self aggregation (ego-network)】 polymerization , Get a new entity h It means .
There are many ways :


High dimensional propagation
The above process is a complete process of one-layer aggregation , You can stack multiple levels of results , Capture high-dimensional connections and higher-order neighbor :
Each level eh Express , adopt 【 On the upper floor eh Express 】 and 【eh Self expression 】 obtain .
3. Prediction Layer
Go through the above steps , You can get user representation and item representation after multi-layer aggregation , Connect multiple representations to form a user representation and an item representation :
thus , It enriches user representation and item representation .
Reference resources :
- KGAT:Knowledge Graph Attention Network for Recommendation:https://hikg.net/archives/123/
边栏推荐
- Should the dependency given by the official website be Flink SQL connector MySQL CDC, with dependency added
- 自动化规范检查软件如何发展而来?
- Interview: how does the list duplicate according to the attributes of the object?
- 如何写出高质量的代码?
- What is the most suitable book for programmers to engage in open source?
- Solution of ellipsis when pytorch outputs tensor (output tensor completely)
- LiveData 面试题库、解答---LiveData 面试 7 连问~
- Tianlong Babu TLBB series - about items dropped from packages
- AtCoder Beginner Contest 258「ABCDEFG」
- Using directive in angualr2 to realize that the picture size changes with the window size
猜你喜欢
随机推荐
Fluent generates icon prompt logo widget
CSDN always jumps to other positions when editing articles_ CSDN sends articles without moving the mouse
Usage differences between isempty and isblank
报错:Module not found: Error: Can‘t resolve ‘XXX‘ in ‘XXXX‘
字节跳动面试官:一张图片占据的内存大小是如何计算
B站大量虚拟主播被集体强制退款:收入蒸发,还倒欠B站;乔布斯被追授美国总统自由勋章;Grafana 9 发布|极客头条...
@Serializedname annotation use
Cent7 Oracle database installation error
横向滚动的RecycleView一屏显示五个半,低于五个平均分布
Meitu lost 300 million yuan in currency speculation for half a year. Huawei was exposed to expand its enrollment in Russia. Alphago's peers have made another breakthrough in chess. Today, more big new
StaticLayout的使用详解
> Could not create task ‘:app:MyTest.main()‘. > SourceSet with name ‘main‘ not found.问题修复
Implementation of smart home project
天龙八部TLBB系列 - 单体技能群伤
php解决redis的缓存雪崩,缓存穿透,缓存击穿的问题
Constrained layout flow
程序员如何活成自己喜欢的模样?
Livedata interview question bank and answers -- 7 consecutive questions in livedata interview~
Unity粒子特效系列-毒液喷射预制体做好了,unitypackage包直接用 -下
Swift tableview style (I) system basic









