Simple and automated negative sampling for knowledge graph embedding

被引:3
|
作者
Zhang, Yongqi [1 ,2 ]
Yao, Quanming [1 ]
Chen, Lei [3 ]
机构
[1] 4Paradigm Inc, Beijing, Peoples R China
[2] Tsinghua Univ, Dept Elect Engn, Beijing, Peoples R China
[3] Hong Kong Univ & Technol, Dept Sci & Engn, Hong Kong, Peoples R China
来源
VLDB JOURNAL | 2021年 / 30卷 / 02期
关键词
Knowledge Graph; Graph Embedding; Negative Sampling; Automated Machine Learning;
D O I
10.1007/s00778-020-00640-7
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
Negative sampling, which samples negative triplets from non-observed ones in knowledge graph (KG), is an essential step in KG embedding. Recently, generative adversarial network (GAN) has been introduced in negative sampling. By sampling negative triplets with large gradients, these methods avoid the problem of vanishing gradient and thus obtain better performance. However, they make the original model more complex and harder to train. In this paper, motivated by the observation that negative triplets with large gradients are important but rare, we propose to directly keep track of them with the cache. In this way, our method acts as a "distilled" version of previous GAN-based methods, which does not waste training time on additional parameters to fit the full distribution of negative triplets. However, how to sample from and update the cache are two critical questions. We propose to solve these issues by automated machine learning techniques. The automated version also covers GAN-based methods as special cases. Theoretical explanation of NSCaching is also provided, justifying the superior over fixed sampling scheme. Besides, we further extend NSCaching with skip-gram model for graph embedding. Finally, extensive experiments show that our method can gain significant improvements on various KG embedding models and the skip-gram model and outperforms the state-of-the-art negative sampling methods.
引用
收藏
页码:259 / 285
页数:27
相关论文
共 50 条
  • [1] Simple and automated negative sampling for knowledge graph embedding
    Yongqi Zhang
    Quanming Yao
    Lei Chen
    [J]. The VLDB Journal, 2021, 30 : 259 - 285
  • [2] NSCaching: Simple and Efficient Negative Sampling for Knowledge Graph Embedding
    Zhang, Yongqi
    Yao, Quanming
    Shao, Yingxia
    Chen, Lei
    [J]. 2019 IEEE 35TH INTERNATIONAL CONFERENCE ON DATA ENGINEERING (ICDE 2019), 2019, : 614 - 625
  • [3] Effective negative triplet sampling for knowledge graph embedding
    Khobragade, Anish
    Mahajan, Rushikesh
    Langi, Hrithik
    Mundhe, Rohit
    Ghumbre, Shashikant
    [J]. JOURNAL OF INFORMATION & OPTIMIZATION SCIENCES, 2022, 43 (08): : 2075 - 2087
  • [4] Enhancing Knowledge Graph Embedding with Probabilistic Negative Sampling
    Kanojia, Vibhor
    Maeda, Hideyuki
    Togashi, Riku
    Fujita, Sumio
    [J]. WWW'17 COMPANION: PROCEEDINGS OF THE 26TH INTERNATIONAL CONFERENCE ON WORLD WIDE WEB, 2017, : 801 - 802
  • [5] Negative Sampling with Adaptive Denoising Mixup for Knowledge Graph Embedding
    Chen, Xiangnan
    Zhang, Wen
    Yao, Zhen
    Chen, Mingyang
    Tang, Siliang
    [J]. SEMANTIC WEB, ISWC 2023, PART I, 2023, 14265 : 253 - 270
  • [6] Hierarchical Type Enhanced Negative Sampling for Knowledge Graph Embedding
    Lin, Zhenzhou
    Zhao, Zishuo
    Xie, Jingyou
    Shen, Ying
    [J]. PROCEEDINGS OF THE 46TH INTERNATIONAL ACM SIGIR CONFERENCE ON RESEARCH AND DEVELOPMENT IN INFORMATION RETRIEVAL, SIGIR 2023, 2023, : 2047 - 2051
  • [7] New attention strategy for negative sampling in knowledge graph embedding
    Cen, Si
    Wang, Xizhao
    Zou, Xiaoying
    Liu, Chao
    Dai, Guoquan
    [J]. APPLIED INTELLIGENCE, 2023, 53 (22) : 26418 - 26438
  • [8] Aggregating neighborhood information for negative sampling for knowledge graph embedding
    Hai Liu
    Kairong Hu
    Fu-Lee Wang
    Tianyong Hao
    [J]. Neural Computing and Applications, 2020, 32 : 17637 - 17653
  • [9] Embedding Knowledge Graph with Negative Sampling and Joint Relational Contexts
    Li, Zhijie
    Wang, Rui
    Li, Changhua
    Zhang, Jie
    [J]. Data Analysis and Knowledge Discovery, 2022, 6 (12) : 90 - 98
  • [10] New attention strategy for negative sampling in knowledge graph embedding
    Si Cen
    Xizhao Wang
    Xiaoying Zou
    Chao Liu
    Guoquan Dai
    [J]. Applied Intelligence, 2023, 53 : 26418 - 26438