
A3C_ConvLSTM
Reinforcement learning and control13 ops592.1K params
An Atari agent with convolutional layers, an LSTM, and separate policy and value heads.
Reinforcement learning and control · 13 operations Checked
Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.
The file opened in a new tab. Use your browser's Save command there to keep it.
The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.
This is a recurrent actor-critic agent for reinforcement learning: a network that reads a game frame and returns two things, a probability for each action and an estimate of the value of the current state. It follows the recurrent agent of the paper Asynchronous Methods for Deep Reinforcement Learning, which has an additional 256 LSTM cells after the final hidden layer. The code is a PyTorch implementation of Asynchronous Advantage Actor Critic (A3C).
The paper is mostly about how such agents are trained. Parallel actor-learners update a shared model, and the authors found that this has a stabilizing effect on training. The policy and the value function typically share one convolutional network, with a softmax output for the policy and a linear output for the value. Adding the entropy of the policy to the objective function improved exploration.
Over 57 Atari games the paper reports that A3C beat the average score of the earlier methods it compared against, in half their training time and using only 16 CPU cores and no GPU. The PyTorch implementation is inspired by the Universe Starter Agent but uses an optimizer with shared statistics as in the original paper. A2C is a synchronous deterministic version of A3C.
Key idea. The paper shows that running parallel actor-learners asynchronously stabilizes training of neural network controllers, with asynchronous advantage actor-critic performing best among its four methods.
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
@misc{mnih2016asynchronousmethodsdeepreinforcement,
title={Asynchronous Methods for Deep Reinforcement Learning},
author={Volodymyr Mnih and Adrià Puigdomènech Badia and Mehdi Mirza and Alex Graves and Timothy P. Lillicrap and Tim Harley and David Silver and Koray Kavukcuoglu},
year={2016},
eprint={1602.01783},
archivePrefix={arXiv},
primaryClass={cs.LG},
url={https://arxiv.org/abs/1602.01783},
}