The Primacy Bias in Deep Reinforcement Learning
Evgenii Nikishin, Max Schwarzer, Pierluca D'Oro, Pierre-Luc Bacon, Aaron Courville
TL;DR
Deep RL models can overfit to initial interactions, a primacy bias that degrades later learning. The authors propose a lightweight resetting mechanism that reinitializes the last layers of the agent while keeping the replay buffer, which consistently improves performance across Atari 100k and DeepMind Control Suite and enables more aggressive replay and longer $n$-step targets. The work combines empirical demonstrations with analysis of how replay ratio, target length, and TD failure modes interact with resets, and provides practical guidelines for implementing resets with minimal overhead. Overall, resetting emerges as a simple yet powerful regularization tool that facilitates better learning dynamics and broader hyperparameter exploration in deep RL.
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. 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.
