Reinforcement knowledge graph reasoning based on dual agents and attention mechanism

被引:0
|
作者
Yang, Xu-Hua [1 ]
Wang, Tao [1 ]
Gan, Ji-Song [1 ]
Gao, Liang-Yu [1 ]
Ma, Gang-Feng [1 ]
Zhou, Yan-Bo [1 ]
机构
[1] Zhejiang Univ Technol, Coll Comp Sci & Technol, Hangzhou 310023, Zhejiang, Peoples R China
基金
中国国家自然科学基金;
关键词
knowledge graph reasoning; Attention mechanism; Reinforcement learning; Punishment mechanism;
D O I
10.1007/s10489-024-06162-x
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
Reinforcement learning can model knowledge graph multi-hop reasoning as Markov Decision Processes and improve the accuracy and interpretability of predicting paths between entities. Existing reasoning methods usually ignore the logic of action selection when facing one-to-many or many-to-many relationships, resulting in poor performance in knowledge graph reasoning. Furthermore, the general multi-hop reasoning only achieves effective short-path reasoning and lacks efficiency in long-distance reasoning. To address the above challenges, we propose a reinforcement learning reasoning model based on dual agents and attention mechanism, where two agents are trained at the macro and micro levels, and the macro agent guides the reasoning of the micro agent. The model employs an attention mechanism to enhance the representation of the current state of the agent, to help the policy network in making more appropriate action selections when facing one-to-many or many-to-many relationships, so as to improve the selection efficiency. Simultaneously, we propose a reward function with a penalty mechanism that penalizes the agent for prematurely reaching the correct answer without staying in place, and enhances the reward of the micro agent with the reward of the macro agent. The two agents cooperate with each other to find reasoning paths on the knowledge graph. Finally, we compare the proposed model with six well-known inference method baselines on three benchmark datasets, and the experimental results show that our proposed method achieves very competitive results.
引用
收藏
页数:17
相关论文
共 50 条
  • [1] Adversary and Attention Guided Knowledge Graph Reasoning Based on Reinforcement Learning
    Yu, Yanhua
    Cai, Xiuxiu
    Ma, Ang
    Ren, Yimeng
    Zhen, Shuai
    Li, Jie
    Lu, Kangkang
    Huang, Zhiyong
    Chua, Tat-Seng
    KNOWLEDGE SCIENCE, ENGINEERING AND MANAGEMENT, PT V, KSEM 2024, 2024, 14888 : 3 - 16
  • [2] RLAT: Multi-hop temporal knowledge graph reasoning based on Reinforcement Learning and Attention Mechanism
    Bai, Luyi
    Chai, Die
    Zhu, Lin
    KNOWLEDGE-BASED SYSTEMS, 2023, 269
  • [3] ADRL: An attention-based deep reinforcement learning framework for knowledge graph reasoning
    Wang, Qi
    Hao, Yongsheng
    Cao, Jie
    KNOWLEDGE-BASED SYSTEMS, 2020, 197
  • [4] Temporal knowledge graph reasoning based on relation graphs and time-guided attention mechanism
    Hu, Jie
    Zhu, Yinglian
    Teng, Fei
    Li, Tianrui
    KNOWLEDGE-BASED SYSTEMS, 2024, 301
  • [5] Causal Reinforcement Learning for Knowledge Graph Reasoning
    Li, Dezhi
    Lu, Yunjun
    Wu, Jianping
    Zhou, Wenlu
    Zeng, Guangjun
    APPLIED SCIENCES-BASEL, 2024, 14 (06):
  • [6] Multi-hop Knowledge Graph Reasoning Based on Hyperbolic Knowledge Graph Embedding and Reinforcement Learning
    Zhou, Xingchen
    Wang, Peng
    Luo, Qiqing
    Pan, Zhe
    PROCEEDINGS OF THE 10TH INTERNATIONAL JOINT CONFERENCE ON KNOWLEDGE GRAPHS (IJCKG 2021), 2021, : 1 - 9
  • [7] A hierarchical and interlamination graph self-attention mechanism-based knowledge graph reasoning architecture
    Wu, Yuejia
    Zhou, Jian-tao
    INFORMATION SCIENCES, 2025, 686
  • [8] Reinforcement learning-based knowledge graph reasoning for aluminum alloy applications
    Liu, Jian
    Qian, Quan
    COMPUTATIONAL MATERIALS SCIENCE, 2023, 221
  • [9] Reinforcement Knowledge Graph Reasoning for Explainable Recommendation
    Xian, Yikun
    Fu, Zuohui
    Muthukrishnan, S.
    de Melo, Gerard
    Zhang, Yongfeng
    PROCEEDINGS OF THE 42ND INTERNATIONAL ACM SIGIR CONFERENCE ON RESEARCH AND DEVELOPMENT IN INFORMATION RETRIEVAL (SIGIR '19), 2019, : 285 - 294
  • [10] DAPath: Distance-aware knowledge graph reasoning based on deep reinforcement learning
    Tiwari, Prayag
    Zhu, Hongyin
    Pandey, Hari Mohan
    NEURAL NETWORKS, 2021, 135 : 1 - 12