Skip to main content
QUICK REVIEW

[Paper Review] M-Walk: Learning to Walk in Graph with Monte Carlo Tree Search

Yelong Shen, Jianshu Chen|arXiv (Cornell University)|Feb 12, 2018
Advanced Graph Neural NetworksComputer Science2 citations
TL;DR

M-Walk proposes a reinforcement learning agent that combines a deep recurrent neural network (RNN) with Monte Carlo Tree Search (MCTS) to learn effective graph-walking policies for knowledge base completion. By leveraging MCTS to generate high-reward trajectories and improving the RNN policy via off-policy Q-learning, M-Walk achieves superior performance over policy gradient methods and traditional KBC baselines on graph-walking benchmarks.

ABSTRACT

Learning to walk over a graph towards a target node for a given input query and a source node is an important problem in applications such as knowledge base completion (KBC). It can be formulated as a reinforcement learning (RL) problem with a known state transition model. To overcome the challenge of sparse reward, we develop a graph-walking agent called M-Walk, which consists of a deep recurrent neural network (RNN) and Monte Carlo Tree Search (MCTS). The RNN encodes the state (i.e., history of the walked path) and maps it separately to a policy, a state value and state-action Q-values. In order to effectively train the agent from sparse reward, we combine MCTS with the neural policy to generate trajectories yielding more positive rewards. From these trajectories, the network is improved in an off-policy manner using Q-learning, which modifies the RNN policy via parameter sharing. Our proposed RL algorithm repeatedly applies this policy-improvement step to learn the entire model. At test time, MCTS is again combined with the neural policy to predict the target node. Experimental results on several graph-walking benchmarks show that M-Walk is able to learn better policies than other RL-based methods, which are mainly based on policy gradients. M-Walk also outperforms traditional KBC baselines.

Motivation & Objective

  • To address the challenge of sparse rewards in graph-walking tasks for knowledge base completion (KBC).
  • To develop a reinforcement learning agent that effectively explores and learns from sparse reward signals in graph-structured environments.
  • To combine Monte Carlo Tree Search (MCTS) with a deep RNN policy to generate high-quality trajectories for training.
  • To improve the policy network using off-policy Q-learning with parameter sharing, enabling stable and efficient learning.
  • To achieve better performance than existing RL-based and traditional KBC methods on graph-walking benchmarks.

Proposed method

  • The agent uses a deep recurrent neural network (RNN) to encode the history of the walked path and produce a policy, state value, and state-action Q-values.
  • Monte Carlo Tree Search (MCTS) is used during training to roll out trajectories that yield higher rewards, improving sample efficiency.
  • The RNN policy is updated via off-policy Q-learning using trajectories generated by MCTS, enabling efficient learning from sparse rewards.
  • Parameter sharing is employed across the policy, value, and Q-value heads of the RNN to stabilize training and improve generalization.
  • The training process iteratively improves the policy by alternating between MCTS rollouts and Q-learning updates.
  • At test time, MCTS is again combined with the trained RNN policy to predict the target node by selecting the most promising path.

Experimental results

Research questions

  • RQ1Can combining MCTS with a deep RNN improve sample efficiency and performance in graph-walking tasks with sparse rewards?
  • RQ2How does the integration of off-policy Q-learning with MCTS-generated trajectories enhance policy learning compared to on-policy policy gradient methods?
  • RQ3To what extent does the proposed M-Walk agent outperform existing reinforcement learning baselines in knowledge base completion?
  • RQ4Does the use of MCTS with a neural policy lead to better generalization and target node prediction accuracy on graph-walking benchmarks?
  • RQ5Can the proposed method surpass traditional KBC baselines in terms of accuracy and robustness on graph-walking tasks?

Key findings

  • M-Walk achieves superior performance compared to other reinforcement learning-based methods that rely on policy gradients in graph-walking benchmarks.
  • The integration of MCTS with the RNN policy significantly improves sample efficiency and enables learning from sparse rewards.
  • M-Walk outperforms traditional knowledge base completion baselines on the tested graph-walking tasks.
  • The off-policy Q-learning update with parameter sharing leads to stable and effective policy improvement during training.
  • The combination of MCTS and neural policy at test time enables accurate prediction of the target node by exploring high-reward paths.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.