DeepPath: A Reinforcement Learning Method for Knowledge Graph Reasoning

Wenhan Xiong, Thien Hoang, William Yang Wang
7/20/2017
cs.CLcs.AI

Official code: xwhan/DeepPath (563 stars, TensorFlow, last commit 2024-08-08).

Abstract

We study the problem of learning to reason in large scale knowledge graphs (KGs). More specifically, we describe a novel reinforcement learning framework for learning multi-hop relational paths: we use a policy-based agent with continuous states based on knowledge graph embeddings, which reasons in a KG vector space by sampling the most promising relation to extend its path. In contrast to prior work, our approach includes a reward function that takes the accuracy, diversity, and efficiency into consideration. Experimentally, we show that our proposed method outperforms a path-ranking based algorithm and knowledge graph embedding methods on Freebase and Never-Ending Language Learning datasets.

View on arXivView PDF

Code Implementations(1)

xwhan/DeepPathOfficial100%
TensorFlow

code and docs for the EMNLP paper "DeepPath: A Reinforcement Learning Method for Knowledge Graph Reasoning"

563132Shell, PythonJul 8, 20172 years ago
emnlp2017knowledge-graphreasoningtensorflow

Similar Papers

Cite this paper

@article{xiong2017deeppath,
  title  = {DeepPath: A Reinforcement Learning Method for Knowledge Graph Reasoning},
  author = {Wenhan Xiong and Thien Hoang and William Yang Wang},
  year   = {2017},
  eprint = {1707.06690},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1707.06690}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1707.06690.svg)](https://codeofpaper.com/paper/1707.06690)

Discussion