TreeQN and ATreeC: Differentiable Tree-Structured Models for Deep Reinforcement Learning

Gregory Farquhar, Tim Rocktäschel, Maximilian Igl, Shimon Whiteson
10/31/2017
cs.AIcs.LGcs.NE
rl

Official code: oxwhirl/treeqn (93 stars, Python, MIT, PyTorch, last commit 2019-11-15).

Abstract

Combining deep model-free reinforcement learning with on-line planning is a promising approach to building on the successes of deep RL. On-line planning with look-ahead trees has proven successful in environments where transition models are known a priori.

Show full abstract

However, in complex environments where transition models need to be learned from data, the deficiencies of learned models have limited their utility for planning. To address these challenges, we propose TreeQN, a differentiable, recursive, tree-structured model that serves as a drop-in replacement for any value function network in deep RL with discrete actions. TreeQN dynamically constructs a tree by recursively applying a transition model in a learned abstract state space and then aggregating predicted rewards and state-values using a tree backup to estimate Q-values. We also propose ATreeC, an actor-critic variant that augments TreeQN with a softmax layer to form a stochastic policy network. Both approaches are trained end-to-end, such that the learned model is optimised for its actual use in the tree. We show that TreeQN and ATreeC outperform n-step DQN and A2C on a box-pushing task, as well as n-step DQN and value prediction networks (Oh et al. 2017) on multiple Atari games. Furthermore, we present ablation studies that demonstrate the effect of different auxiliary losses on learning transition models.

View on arXivView PDF

Code Implementations(1)

oxwhirl/treeqnOfficial100%
PyTorchMIT
9318Python, ShellMar 8, 20187 years agoMIT
deep-learningdeep-reinforcement-learningopenai-gympytorchreinforcement-learning

Similar Papers

Cite this paper

@article{farquhar2017treeqn,
  title  = {TreeQN and ATreeC: Differentiable Tree-Structured Models for Deep Reinforcement Learning},
  author = {Gregory Farquhar and Tim Rocktäschel and Maximilian Igl and Shimon Whiteson},
  year   = {2017},
  eprint = {1710.11417},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1710.11417}
}

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/1710.11417.svg)](https://codeofpaper.com/paper/1710.11417)

Discussion