The Primacy Bias in Deep Reinforcement Learning

Evgenii Nikishin, Max Schwarzer, Pierluca D'Oro, Pierre-Luc Bacon, Aaron Courville
5/16/2022
cs.LGcs.AIstat.ML
rl

Official code: evgenii-nikishin/rl_with_resets (108 stars, Python, MIT, JAX, last commit 2022-05-17).

Abstract

This work identifies a common flaw of deep reinforcement learning (RL) algorithms: a tendency to rely on early interactions and ignore useful evidence encountered later. Because of training on progressively growing datasets, deep RL agents incur a risk of overfitting to earlier experiences, negatively affecting the rest of the learning process.

Show full abstract

Inspired by cognitive science, we refer to this effect as the primacy bias. Through a series of experiments, we dissect the algorithmic aspects of deep RL that exacerbate this bias. We then propose a simple yet generally-applicable mechanism that tackles the primacy bias by periodically resetting a part of the agent. We apply this mechanism to algorithms in both discrete (Atari 100k) and continuous action (DeepMind Control Suite) domains, consistently improving their performance.

View on arXivView PDF

Code Implementations(1)

JAXMIT

JAX implementation of deep RL agents with resets from the paper "The Primacy Bias in Deep Reinforcement Learning"

1088PythonMay 17, 20224 years agoMIT
atariatari2600deep-learningdeep-reinforcement-learningdeepmind-control-suite+11 more

Similar Papers

Cite this paper

@article{nikishin2022primacy,
  title  = {The Primacy Bias in Deep Reinforcement Learning},
  author = {Evgenii Nikishin and Max Schwarzer and Pierluca D'Oro and Pierre-Luc Bacon and Aaron Courville},
  year   = {2022},
  eprint = {2205.07802},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2205.07802}
}

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

Discussion