Breaking the Deadly Triad with a Target Network

Shangtong Zhang, Hengshuai Yao, Shimon Whiteson
1/21/2021
cs.LG

Official code: ShangtongZhang/DeepRL (3,459 stars, Python, MIT, PyTorch, last commit 2024-04-16).

Abstract

The deadly triad refers to the instability of a reinforcement learning algorithm when it employs off-policy learning, function approximation, and bootstrapping simultaneously. In this paper, we investigate the target network as a tool for breaking the deadly triad, providing theoretical support for the conventional wisdom that a target network stabilizes training.

Show full abstract

We first propose and analyze a novel target network update rule which augments the commonly used Polyak-averaging style update with two projections. We then apply the target network and ridge regularization in several divergent algorithms and show their convergence to regularized TD fixed points. Those algorithms are off-policy with linear function approximation and bootstrapping, spanning both policy evaluation and control, as well as both discounted and average-reward settings. In particular, we provide the first convergent linear $Q$-learning algorithms under nonrestrictive and changing behavior policies without bi-level optimization.

View on arXivView PDF

Code Implementations(1)

PyTorchMIT

Modularized Implementation of Deep RL Algorithms in PyTorch

3,459695Python, DockerfileApr 20, 20172 years agoMIT
a2ccategorical-dqnddpgdeep-reinforcement-learningdeeprl+11 more

Similar Papers

Cite this paper

@article{zhang2021breaking,
  title  = {Breaking the Deadly Triad with a Target Network},
  author = {Shangtong Zhang and Hengshuai Yao and Shimon Whiteson},
  year   = {2021},
  eprint = {2101.08862},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2101.08862}
}

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

Discussion