DAPath: Distance-aware knowledge graph reasoning based on deep reinforcement learning

Neural Netw. 2021 Mar:135:1-12. doi: 10.1016/j.neunet.2020.11.012. Epub 2020 Dec 5.

Abstract

Knowledge graph reasoning aims to find reasoning paths for relations over incomplete knowledge graphs (KG). Prior works may not take into account that the rewards for each position (vertex in the graph) may be different. We propose the distance-aware reward in the reinforcement learning framework to assign different rewards for different positions. We observe that KG embeddings are learned from independent triples and therefore cannot fully cover the information described in the local neighborhood. To this effect, we integrate a graph self-attention (GSA) mechanism to capture more comprehensive entity information from the neighboring entities and relations. To let the model remember the path, we incorporate the GSA mechanism with GRU to consider the memory of relations in the path. Our approach can train the agent in one-pass, thus eliminating the pre-training or fine-tuning process, which significantly reduces the problem complexity. Experimental results demonstrate the effectiveness of our method. We found that our model can mine more balanced paths for each relation.

Keywords: GRU; Graph self-attention; Knowledge graph reasoning; Reinforcement learning.

MeSH terms

  • Algorithms
  • Databases, Factual* / trends
  • Deep Learning* / trends
  • Humans
  • Knowledge
  • Pattern Recognition, Automated / methods*
  • Pattern Recognition, Automated / trends
  • Reinforcement, Psychology*