当前位置:网站首页>TEC: Knowledge Graph Embedding with Triple Context
TEC: Knowledge Graph Embedding with Triple Context
2022-07-01 03:33:00 【Re:fused】
TEC:Knowledge Graph Embedding with Triple Context
1 problem
The knowledge map is not fully utilized , Rich information , Use its surrounding information and path information , Complete the knowledge map based on the above information .
2 Model
context The information includes :neighbor context and path context.
2.1 Context Details
- Neighbor Context
For its Neighbor Context Only calculate the output , C N ( h ) = ( r 4 , e 1 ) , ( r 3 , e 2 ) , ( r 2 , e 3 ) , ( r 1 , e 8 ) , ( r 1 , e 1 0 ) CN (h) = {(r_4, e_1), (r_3, e_2), (r_2, e_3), (r_1, e_8), (r_1, e_10)} CN(h)=(r4,e1),(r3,e2),(r2,e3),(r1,e8),(r1,e10) - Path Context
about Path Context, C P ( h , t ) = ( r 1 , r 2 ) , ( r 2 , r 1 , r 2 ) . CP (h,t) = {(r_1,r_2), (r_2,r_1,r_2)}. CP(h,t)=(r1,r2),(r2,r1,r2)., Save only h and t The relationship between .
C ( h , r , t ) = C N ( h ) ∪ C P ( h , t ) C(h,r,t) = CN (h) ∪CP (h,t) C(h,r,t)=CN(h)∪CP(h,t)
2.2 scoring function
Maximize possibilities :
It can be written in the following form :
Train through the above formula , Consumption of resources , Therefore, negative sampling is used for training
The other two are similar .
边栏推荐
猜你喜欢
不用加减乘除实现加法
Ctfshow blasting WP
文件上传下载
Ultimate dolls 2.0 | encapsulation of cloud native delivery
ctfshow爆破wp
Listener listener
后台系统页面左边菜单按钮和右边内容的处理,后台系统页面出现双滚动
Hello World generation
[nine day training] content III of the problem solution of leetcode question brushing Report
So easy deploy program to server
随机推荐
别再说不会解决 “跨域“ 问题啦
Introduction to core functions of webrtc -- an article on understanding SDP PlanB unifiedplan (migrating from PlanB to unifiedplan)
Feign远程调用和Getaway网关
串口接收数据方案设计
Golang多图生成gif
Nacos
用小程序的技术优势发展产业互联网
The 'mental (tiring) process' of building kubernetes/kubesphere environment with kubekey
Stop saying that you can't solve the "cross domain" problem
文件上传下载
JS daily development tips (continuous update)
Detailed list of errors related to twincat3 ads of Beifu
Test function in pychram
[reading notes] copywriting realization -- four golden steps for writing effective copywriting
终极套娃 2.0 | 云原生交付的封装
Nacos
JS日常开发小技巧(持续更新)
数据交换 JSON
Server rendering technology JSP
FCN全卷積網絡理解及代碼實現(來自pytorch官方實現)