A dynamic graph attention network with contrastive learning for knowledge graph completion

被引:0
|
作者
Xujiang Li [1 ]
Jie Hu [1 ]
Jingling Wang [2 ]
Tianrui Li [3 ]
机构
[1] Southwest Jiaotong University,School of Computing and Artificial Intelligence
[2] Ministry of Education,Engineering Research Center of Sustainable Urban Intelligent Transportation
[3] Southwest Jiaotong University,National Engineering Laboratory of Integrated Transportation Big Data Application Technology
[4] Southwest Jiaotong University,Manufacturing Industry Chains Collaboration and Information Support Technology Key Laboratory of Sichuan Province
关键词
Knowledge graph completion; Graph neural network; Dynamic sampling; Attention mechanism; Contrastive learning;
D O I
10.1007/s11280-025-01352-0
中图分类号
学科分类号
摘要
The objective of the knowledge graph completion (KGC) task is to improve the comprehensiveness and precision of knowledge graphs by forecasting the absent triples within them. In recent years, graph neural networks have become a core technique in KGC due to their advantages in processing graph-structured data. However, traditional graph neural network-based methods often perform poorly on sparse graphs and fail to detect the quality of neighbors during neighbor aggregation effectively. To tackle these challenges, we propose DGATCL, a dynamic graph attention network with contrastive learning for KGC. Specifically, we introduce a dynamic sampling strategy to adaptively select relevant neighbors during information propagation, effectively reducing the impact of noise and focusing on more relevant entities. In addition, we design a double-branch attention mechanism that jointly captures relation-aware edge importance and neighbor-wise contribution at the node level, enabling more effective aggregation of information. To further enhance the model’s performance, we incorporate a structure-aware contrastive learning strategy. By constructing positive-negative sample pairs and computing the contrastive loss, we effectively alleviate the graph’s sparsity problem. Experimental results demonstrate that our proposed method can learn high-quality neighborhood information in sparse graphs and performs better than state-of-the-art models in the KGC task. The code is available at https://github.com/xlz0517/DGATCL.
引用
收藏
相关论文
共 50 条
  • [1] Knowledge graph completion based on graph contrastive attention network
    Liu D.
    Fang Q.
    Zhang X.
    Hu J.
    Qian S.
    Xu C.
    Beijing Hangkong Hangtian Daxue Xuebao/Journal of Beijing University of Aeronautics and Astronautics, 2022, 48 (08): : 1428 - 1435
  • [2] Disentangled Relational Graph Neural Network with Contrastive Learning for knowledge graph completion
    Yin, Hong
    Zhong, Jiang
    Li, Rongzhen
    Li, Xue
    KNOWLEDGE-BASED SYSTEMS, 2024, 295
  • [3] A contrastive knowledge graph embedding model with hierarchical attention and dynamic completion
    Shang, Bin
    Zhao, Yinliang
    Liu, Jun
    Liu, Yifan
    Wang, Chenxin
    NEURAL COMPUTING & APPLICATIONS, 2023, 35 (20) : 15005 - 15018
  • [4] A contrastive knowledge graph embedding model with hierarchical attention and dynamic completion
    Bin Shang
    Yinliang Zhao
    Jun Liu
    Yifan Liu
    Chenxin Wang
    Neural Computing and Applications, 2023, 35 : 15005 - 15018
  • [5] Graph attention network with dynamic representation of relations for knowledge graph completion
    Zhang, Xin
    Zhang, Chunxia
    Guo, Jingtao
    Peng, Cheng
    Niu, Zhendong
    Wu, Xindong
    EXPERT SYSTEMS WITH APPLICATIONS, 2023, 219
  • [6] Hierarchical Perceptual Graph Attention Network for Knowledge Graph Completion
    Han, Wenhao
    Liu, Xuemei
    Zhang, Jianhao
    Li, Hairui
    ELECTRONICS, 2024, 13 (04)
  • [7] Graph Attention Network with Relational Dynamic Factual Fusion for Knowledge Graph Completion
    Yu, Mei
    Zuo, Yilin
    Zhang, Wenbin
    Zhao, Mankun
    Xu, Tianyi
    Zhao, Yue
    Guo, Jiujiang
    Yu, Jian
    MACHINE LEARNING AND KNOWLEDGE DISCOVERY IN DATABASES: RESEARCH TRACK, PT IV, ECML PKDD 2024, 2024, 14944 : 89 - 106
  • [8] Knowledge Graph Completion Based on Contrastive Learning for Diet Therapy
    Yang, Kaidi
    Lin, Yangguang
    Mi, Xuanhan
    Li, Yuxun
    Lin, Xiao
    Li, Dongmei
    27TH IEEE/ACIS INTERNATIONAL SUMMER CONFERENCE ON SOFTWARE ENGINEERING ARTIFICIAL INTELLIGENCE NETWORKING AND PARALLEL/DISTRIBUTED COMPUTING, SNPD 2024-SUMMER, 2024, : 141 - 145
  • [9] Enhancing knowledge graph density through graph relation attention and contrastive learning
    Chunyu Lu
    Tianran Chen
    Duo Shang
    Jun Luo
    Xin Hui
    Ruhui Shi
    The Journal of Supercomputing, 81 (8)
  • [10] MRGAT: Multi-Relational Graph Attention Network for knowledge graph completion
    Dai, Guoquan
    Wang, Xizhao
    Zou, Xiaoying
    Liu, Chao
    Cen, Si
    NEURAL NETWORKS, 2022, 154 : 234 - 245