[Paper Review] On the Importance of Exploration for Generalization in Reinforcement Learning
This paper proposes Ede (Exploration via Distributional Ensemble), a value-based reinforcement learning method that enhances generalization in contextual MDPs by encouraging exploration of states with high epistemic uncertainty through an ensemble of Q-value distributions. Ede achieves state-of-the-art performance on both Procgen and Crafter benchmarks, outperforming prior value-based and policy-optimization methods by explicitly leveraging exploration as a key mechanism for generalization.
Existing approaches for improving generalization in deep reinforcement learning (RL) have mostly focused on representation learning, neglecting RL-specific aspects such as exploration. We hypothesize that the agent's exploration strategy plays a key role in its ability to generalize to new environments. Through a series of experiments in a tabular contextual MDP, we show that exploration is helpful not only for efficiently finding the optimal policy for the training environments but also for acquiring knowledge that helps decision making in unseen environments. Based on these observations, we propose EDE: Exploration via Distributional Ensemble, a method that encourages exploration of states with high epistemic uncertainty through an ensemble of Q-value distributions. Our algorithm is the first value-based approach to achieve state-of-the-art on both Procgen and Crafter, two benchmarks for generalization in RL with high-dimensional observations. The open-sourced implementation can be found at https://github.com/facebookresearch/ede .
Motivation & Objective
- To investigate whether exploration strategy significantly impacts generalization in deep reinforcement learning beyond representation learning.
- To identify exploration as a critical factor in generalization for contextual MDPs (CMDPs), where agents are trained on diverse but structurally similar environments.
- To develop a method that explicitly targets epistemic uncertainty to guide exploration, improving generalization to unseen environments.
- To demonstrate that exploration in one environment can yield transferable knowledge useful in other, unseen environments from the same family.
- To achieve state-of-the-art performance on generalization benchmarks like Procgen and Crafter using a model-free, value-based approach.
Proposed method
- Ede uses an ensemble of Q-value distributions to model epistemic uncertainty, with each member of the ensemble predicting a distribution over returns.
- The method computes uncertainty estimates across the ensemble to identify states where the agent has high epistemic uncertainty, indicating areas needing further exploration.
- Exploration is guided by an upper confidence bound (UCB)-style bonus based on the uncertainty of the ensemble predictions, encouraging visits to uncertain states.
- For efficient inference, Ede employs Thompson sampling in the Crafter experiments, while UCB is used in Procgen, with hyperparameters tuned via ablation.
- The feature extractor is trained using gradients from all ensemble heads simultaneously, ensuring shared representation learning aligns with uncertainty estimation.
- The method is applied within a QR-DQN (Quantile Regression DQN) framework, using Huber loss and quantile-based value estimation.

Experimental results
Research questions
- RQ1Does exploration strategy significantly influence generalization performance in contextual MDPs beyond representation learning?
- RQ2Can knowledge acquired through exploration in one environment transfer to improve decision-making in other, unseen environments from the same family?
- RQ3Can epistemic uncertainty estimation via an ensemble of Q-value distributions effectively guide exploration to improve generalization in high-dimensional observation spaces?
- RQ4Is it possible to achieve state-of-the-art generalization performance in deep RL using a value-based method that explicitly targets exploration, rather than relying on policy-optimization or model-based approaches?
- RQ5How robust is the proposed method to hyperparameter choices such as exploration bonus coefficients and ensemble size?
Key findings
- Ede achieves state-of-the-art performance on the Procgen benchmark, outperforming strong policy-optimization baselines like SAC and DQN-BC, as well as a model-based baseline.
- On the Crafter benchmark, Ede surpasses prior value-based methods and matches or exceeds performance of policy-optimization methods, demonstrating strong generalization and sample efficiency.
- The method shows significant improvement in test performance when using uncertainty-based exploration, particularly in environments where optimal trajectories in training may not be optimal in unseen environments.
- Ablation studies confirm that training the feature extractor using gradients from all ensemble members improves performance, while using only one head degrades performance.
- The algorithm is robust to hyperparameter choices: performance remains stable across different values of λ and α in the TEE bonus, and is only slightly sensitive to φ in UCB.
- Ede is the first model-free, value-based method to achieve SOTA on both Procgen and Crafter, validating exploration as a key mechanism for generalization in deep RL.

Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.