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] Incorporating Graph Attention Mechanism into Knowledge Graph Reasoning Based on Deep Reinforcement Learning
    Wang, Heng
    Li, Shuangyin
    Pan, Rong
    Mao, Mingzhi
    2019 CONFERENCE ON EMPIRICAL METHODS IN NATURAL LANGUAGE PROCESSING AND THE 9TH INTERNATIONAL JOINT CONFERENCE ON NATURAL LANGUAGE PROCESSING (EMNLP-IJCNLP 2019): PROCEEDINGS OF THE CONFERENCE, 2019, : 2623 - 2631
  • [2] DREAM: Adaptive Reinforcement Learning based on Attention Mechanism for Temporal Knowledge Graph Reasoning
    Zheng, Shangfei
    Yin, Hongzhi
    Chen, Tong
    Quoc Viet Hung Nguyen
    Chen, Wei
    Zhao, Lei
    PROCEEDINGS OF THE 46TH INTERNATIONAL ACM SIGIR CONFERENCE ON RESEARCH AND DEVELOPMENT IN INFORMATION RETRIEVAL, SIGIR 2023, 2023, : 1578 - 1588
  • [3] 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
  • [4] 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
  • [5] Learning to Walk with Dual Agents for Knowledge Graph Reasoning
    Zhang, Denghui
    Yuan, Zixuan
    Liu, Hao
    Lin, Xiaodong
    Xiong, Hui
    THIRTY-SIXTH AAAI CONFERENCE ON ARTIFICIAL INTELLIGENCE / THIRTY-FOURTH CONFERENCE ON INNOVATIVE APPLICATIONS OF ARTIFICIAL INTELLIGENCE / THE TWELVETH SYMPOSIUM ON EDUCATIONAL ADVANCES IN ARTIFICIAL INTELLIGENCE, 2022, : 5932 - 5941
  • [6] ADRL: An attention-based deep reinforcement learning framework for knowledge graph reasoning
    Wang, Qi
    Hao, Yongsheng
    Cao, Jie
    KNOWLEDGE-BASED SYSTEMS, 2020, 197
  • [7] A hierarchical and interlamination graph self-attention mechanism-based knowledge graph reasoning architecture
    Wu, Yuejia
    Zhou, Jian-tao
    INFORMATION SCIENCES, 2025, 686
  • [8] Dynamic knowledge graph reasoning based on deep reinforcement learning
    Liu, Hao
    Zhou, Shuwang
    Chen, Changfang
    Gao, Tianlei
    Xu, Jiyong
    Shu, Minglei
    KNOWLEDGE-BASED SYSTEMS, 2022, 241
  • [9] 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
  • [10] Causal Reinforcement Learning for Knowledge Graph Reasoning
    Li, Dezhi
    Lu, Yunjun
    Wu, Jianping
    Zhou, Wenlu
    Zeng, Guangjun
    APPLIED SCIENCES-BASEL, 2024, 14 (06):