Abstract
The growth of deep reinforcement learning (RL) has brought multiple exciting tools and methods to the field. This rapid expansion makes it important to understand the interplay between individual elements of the RL toolbox. We approach this task from an empirical perspective by conducting a study in the continuous control setting. We present multiple insights of fundamental nature, including: an average of multiple actors trained from the same data boosts performance; the existing methods are unstable across training runs, epochs of training, and evaluation runs; a commonly used additive action noise is not required for effective training; a strategy based on posterior sampling explores better than the approximated UCB combined with the weighted Bellman backup; the weighted Bellman backup alone cannot replace the clipped double Q-Learning; the critics' initialization plays the major role in ensemble-based actor-critic exploration. As a conclusion, we show how existing tools can be brought together in a novel way, giving rise to the Ensemble Deep Deterministic Policy Gradients (ED2) method, to yield state-of-the-art results on continuous control tasks from OpenAI Gym MuJoCo. From the practical side, ED2 is conceptually straightforward, easy to code, and does not require knowledge outside of the existing RL toolbox.
Introduction
Deep Reinforcement Learning (RL) has evolved rapidly, introducing a plethora of architectural "tricks" and algorithmic components. However, this complexity often leads to unclear credit assignment—where it is difficult to discern which specific component drives performance—and significant instability across training seeds and evaluation epochs. This paper addresses these challenges through a rigorous empirical study of the RL toolbox, culminating in the Ensemble Deep Deterministic Policy Gradients (ED2) algorithm.
Methodology: The ED2 Algorithm
ED2 is built upon an ensemble of Streamlined Off-Policy (SOP) agents. SOP agents are optimized TD3-like agents that incorporate action normalization and an Emphasizing Recent Experience (ERE) replay buffer.
Ensemble Architecture
ED2 maintains an ensemble of $K$ actors and $K$ pairs of critics (utilizing clipped double Q-learning). Empirical testing suggests that an ensemble size of $K=5$ provides an optimal balance between performance gains and computational overhead.
Exploration via Posterior Sampling
A core innovation in ED2 is the replacement of standard additive Gaussian noise with posterior sampling. During training, one actor is selected at random from the ensemble to control the agent for the duration of an entire episode. This "temporally-extended" exploration allows the agent to follow a consistent strategy, facilitating deeper exploration of the state space compared to per-step random noise.
Exploitation via Policy Averaging
For evaluation and deployment, ED2 employs a simple yet effective exploitation strategy: it averages the output actions of all $K$ actors in the ensemble. This averaging acts as a stabilizer, smoothing out individual policy idiosyncrasies and leading to a more robust global policy.
Key Empirical Insights
The development of ED2 yielded several counter-intuitive findings:
- The Redundancy of Action Noise: In environments like Ant-v2, standard additive noise can actually degrade performance. ED2 demonstrates that deterministic actors, when ensembled and sampled, are sufficient for effective exploration.
- Critic-Driven Diversity: In actor-critic ensembles, the diversity required for exploration is primarily driven by the random initialization of the critics, rather than the actors.
- Stability Metrics: The authors categorize stability into three types: inference stability (consistency across evaluations), asymptotic stability (consistency across seeds), and training stability (smoothness of the learning curve).
Results and Stability
ED2 was benchmarked against state-of-the-art baselines, including SAC, SOP, and SUNRISE, on the OpenAI Gym MuJoCo suite (Hopper, Walker2d, Ant, and Humanoid).
As illustrated in the performance curves, ED2 consistently reaches higher average returns more rapidly than its competitors, particularly in high-dimensional tasks like Humanoid-v2. Beyond raw returns, ED2 exhibits significantly higher stability.
The reduction in the standard deviation of test returns (as seen in the figure above) indicates that ED2 is far less sensitive to the stochasticity of environment initial conditions and training noise. In more challenging "Delayed" and "Sparse" reward variants, ED2's posterior sampling approach outperformed other ensemble methods by substantial margins, such as a 43% improvement over the base SOP in DelayedAnt-v2.
Conclusion
ED2 demonstrates that by carefully selecting and combining existing RL tools—specifically ensembling, posterior sampling, and policy averaging—one can achieve state-of-the-art performance and stability without introducing overly complex new mechanisms. While the computational cost scales with the ensemble size, the resulting reliability and performance on complex continuous control tasks make ED2 a compelling choice for robust deep RL.
Summary updated