NSCaching: Simple and Efficient Negative Sampling for Knowledge Graph Embedding

被引:84
|
作者
Zhang, Yongqi [1 ]
Yao, Quanming [2 ]
Shao, Yingxia [3 ]
Chen, Lei [1 ]
机构
[1] Hong Kong Univ Sci & Technol, Hong Kong, Peoples R China
[2] 4Paradigm Inc, Beijing, Peoples R China
[3] BUPT, Beijing Key Lab Intelligent Telecommun Software &, Beijing, Peoples R China
基金
美国国家科学基金会;
关键词
D O I
10.1109/ICDE.2019.00061
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Knowledge graph (KG) embedding is a fundamental problem in data mining research with many real-world applications. It aims to encode the entities and relations in the graph into low dimensional vector space, which can be used for subsequent algorithms. Negative sampling, which samples negative triplets from non-observed ones in the training data, is an important step in KG embedding. Recently, generative adversarial network (GAN), has been introduced in negative sampling. By sampling negative triplets with large scores, these methods avoid the problem of vanishing gradient and thus obtain better performance. However, using GAN makes the original model more complex and harder to train, where reinforcement learning must be used. In this paper, motivated by the observation that negative triplets with large scores are important but rare, we propose to directly keep track of them with cache. However, how to sample from and update the cache are two important questions. We carefully design the solutions, which are not only efficient but also achieve good balance between exploration and exploitation. 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. The extensive experiments show that our method can gain significant improvement on various KG embedding models, and outperform the state-of-the-arts negative sampling methods based on GAN.
引用
收藏
页码:614 / 625
页数:12
相关论文
共 50 条
  • [1] Simple and automated negative sampling for knowledge graph embedding
    Zhang, Yongqi
    Yao, Quanming
    Chen, Lei
    [J]. VLDB JOURNAL, 2021, 30 (02): : 259 - 285
  • [2] Simple and automated negative sampling for knowledge graph embedding
    Yongqi Zhang
    Quanming Yao
    Lei Chen
    [J]. The VLDB Journal, 2021, 30 : 259 - 285
  • [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] Efficient Non-Sampling Knowledge Graph Embedding
    Li, Zelong
    Ji, Jianchao
    Fu, Zuohui
    Ge, Yingqiang
    Xu, Shuyuan
    Chen, Chong
    Zhang, Yongfeng
    [J]. PROCEEDINGS OF THE WORLD WIDE WEB CONFERENCE 2021 (WWW 2021), 2021, : 1727 - 1736
  • [6] 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
  • [7] 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
  • [8] 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
  • [9] 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
  • [10] 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