Introduction
Deep Reinforcement Learning (RL) agents often encounter primacy bias, a phenomenon where the neural network overfits to early, low-quality experiences stored in the replay buffer. This overfitting hinders the agent's ability to learn from higher-quality data encountered later in training. While periodic "resetting" of the network weights is a known countermeasure, it typically induces a catastrophic performance collapse, where the agent's capability drops to zero instantly. Such instability is a major barrier for RL in safety-critical domains. This paper presents Reset Deep Ensemble (RDE), a framework that mitigates primacy bias while maintaining stable performance.
The RDE Framework
RDE replaces the standard single-agent architecture with an ensemble of $N$ agents. The framework is built upon three primary pillars designed to balance learning efficiency with operational stability:
- Sequential Resetting: Instead of resetting the entire system, RDE resets ensemble members one at a time at staggered intervals. This ensures that while one agent is being re-initialized to overcome bias, the remaining "mature" agents maintain the system's overall performance.
- Adaptive Composition: RDE employs an adaptive weighting mechanism to synthesize actions from the ensemble. By using a softmax distribution based on the Q-values of the oldest (and thus most stable) agent, the system prioritizes reliable predictions and effectively ignores the noisy output of recently reset members.
- Diversity Gain: The staggered reset schedule and independent initializations ensure a diverse set of feature representations within the ensemble, which is critical for escaping local optima and improving exploration in complex environments.
Experimental Results
The authors evaluated RDE across a wide array of benchmarks, including the DeepMind Control Suite (DMC), Atari-100k, and MiniGrid. A central finding is RDE's ability to leverage high replay ratios—performing multiple gradient updates per environment step—to accelerate learning without the typical onset of primacy bias.
As shown in the results, RDE's performance advantage becomes more pronounced as the replay ratio increases. In the Atari-100k benchmark, RDE+DQN outperformed both standard DQN and vanilla reset methods across 26 games. Furthermore, in the "FourRoom" MiniGrid environment—a task where both base algorithms and standard reset methods typically fail—RDE successfully solved the task, demonstrating the power of ensemble-driven exploration.
Safety and Stability
A critical advantage of RDE is its smooth performance trajectory. In tasks like humanoid-run, vanilla reset methods produce jagged "sawtooth" curves due to repeated performance collapses. In contrast, RDE maintains a consistent upward trend. This stability extends to safety-constrained environments like Safety-Gym, where RDE avoids the massive spikes in training costs (safety violations) that plague standard reset strategies.
Conclusion
Reset Deep Ensemble (RDE) offers a compelling solution for making Deep RL both sample-efficient and safe. By staggering resets across an ensemble and adaptively composing agent outputs, RDE avoids the pitfalls of primacy bias and performance collapse. While the linear increase in computational requirements for the ensemble is a trade-off, the gains in stability and learning speed make RDE a promising framework for real-world autonomous systems.
Summary updated