当前位置:网站首页>TEC: Knowledge Graph Embedding with Triple Context
TEC: Knowledge Graph Embedding with Triple Context
2022-07-01 03:16:00 【Re:fused】
TEC:Knowledge Graph Embedding with Triple Context
1 问题
知识图谱没有充分利用上,丰富的信息,利用其周围信息和路径信息,基于以上信息进行知识知识图谱补全。
2 模型
context 信息包括:neighbor context和path context。
2.1 Context详细信息
- Neighbor Context
对于其Neighbor Context只进行出度的计算, 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
对于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).,只保存h和t之间的关系。
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 打分函数

最大化可能性:
其可以写成以下形式:







通过以上式子进行训练,消耗资源,因此进行训练时采用负采样的形式进行训练
其他两种类似。
边栏推荐
猜你喜欢

Stop saying that you can't solve the "cross domain" problem

Overview of EtherCAT principle

Server rendering technology JSP

数据库中COMMENT关键字的使用

LeetCode 31下一个排列、LeetCode 64最小路径和、LeetCode 62不同路径、LeetCode 78子集、LeetCode 33搜索旋转排序数组(修改二分法)

Ridge regression and lasso regression

Research on target recognition and tracking based on 3D laser point cloud

So easy 将程序部署到服务器

雪崩问题以及sentinel的使用

8 pits of redis distributed lock
随机推荐
Chapitre 03 Bar _ Gestion des utilisateurs et des droits
EtherCAT简介
ECMAScript 6.0
Go tool cli for command line implementation
Md5sum operation
How the network is connected: Chapter 2 (Part 2) packet receiving and sending operations between IP and Ethernet
C#实现基于广度优先BFS求解无权图最短路径----完整程序展示
数据库中COMMENT关键字的使用
Ridge regression and lasso regression
Edlines: a real time line segment detector with a false detection control
Introduction to the core functions of webrtc -- an article to understand peerconnectionfactoryinterface rtcconfiguration peerconnectioninterface
详解Spark运行模式(local+standalone+yarn)
Pyramid Scene Parsing Network【PSPNet】论文阅读
E15 solution for cx5120 controlling Huichuan is620n servo error
Feature Pyramid Networks for Object Detection论文理解
家居网购项目
[us match preparation] complete introduction to word editing formula
第03章_用戶與權限管理
5、【WebGIS实战】软件操作篇——服务发布及权限管理
衡量两个向量相似度的方法:余弦相似度、pytorch 求余弦相似度:torch.nn.CosineSimilarity(dim=1, eps=1e-08)