Learning Translation-Based Knowledge Graph Embeddings by N-Pair Translation Loss

被引:7
作者
Song, Hyun-Je [1 ]
Kim, A-Yeong [2 ]
Park, Seong-Bae [3 ]
机构
[1] Jeonbuk Natl Univ, Dept Informat Technol, Jeonju 54896, South Korea
[2] Kyungpook Natl Univ, Sch Comp Sci & Engn, Daegu 41566, South Korea
[3] Kyung Hee Univ, Dept Comp Sci & Engn, Yongin 17104, South Korea
来源
APPLIED SCIENCES-BASEL | 2020年 / 10卷 / 11期
关键词
knowledge graph embeddings; translation-based knowledge graph embeddings; N-pair translation loss; negative sampling; multiple negative triples;
D O I
10.3390/app10113964
中图分类号
O6 [化学];
学科分类号
0703 ;
摘要
Translation-based knowledge graph embeddings learn vector representations of entities and relations by treating relations as translation operators over the entities in an embedding space. Since the translation is represented through a score function, translation-based embeddings are trained in general by minimizing a margin-based ranking loss, which assigns a low score to positive triples and a high score to negative triples. However, this type of embedding suffers from slow convergence and poor local optima because the loss adopts only one pair of a positive and a negative triple at a single update of learning parameters. Therefore, this paper proposes the N-pair translation loss that considers multiple negative triples at one update. The N-pair translation loss employs multiple negative triples as well as one positive triple and allows the positive triple to be compared against the multiple negative triples at each parameter update. As a result, it becomes possible to obtain better vector representations rapidly. The experimental results on link prediction prove that the proposed loss helps to quickly converge toward good optima at the early stage of training.
引用
收藏
页数:11
相关论文
共 38 条
[1]  
[Anonymous], 2014, EMNLP 2014 2014 C EM
[2]  
[Anonymous], 2015, INT C LEARN REPR
[3]  
[Anonymous], 2013, P 2013 C EMP METH NA
[4]  
[Anonymous], 2015, ARXIV150407678
[5]  
[Anonymous], 2010, JMLR WORKSH C P
[6]  
Bollacker K., 2008, Freebase: A collaboratively created, P1247
[7]  
Bordes A., 2011, P AAAI C ART INT, DOI DOI 10.1609/AAAI.V25I1.7917
[8]  
Bordes A., 2013, Adv. Neural Inf. Process. Syst., P2787
[9]  
Cai L, 2018, P 2018 C N AM CHAPT, V1, P1470, DOI DOI 10.18653/V1/N18-1133
[10]   KBQA: Learning Question Answering over QA Corpora and Knowledge Bases [J].
Cui, Wanyun ;
Xiao, Yanghua ;
Wang, Haixun ;
Song, Yangqiu ;
Hwang, Seung-won ;
Wang, Wei .
PROCEEDINGS OF THE VLDB ENDOWMENT, 2017, 10 (05) :565-576