Value Bonuses using Ensemble Errors for Exploration in Reinforcement Learning

Abdul Wahab, Raksha Kumaraswamy, Martha White

TL;DR

This paper introduces Value Bonuses using Ensemble Errors (VBE), a novel exploration strategy for reinforcement learning that uses the errors from an ensemble of random value functions to create "value bonuses." These bonuses encourage agents to explore novel states and actions, leading to more efficient learning and better performance on challenging exploration tasks, including Atari games.

What Problem Does This Paper Address?

Reinforcement learning (RL) agents often struggle with exploration, especially in environments with sparse rewards or complex state spaces. While optimistic value estimation (where agents act greedily based on an estimate of the value plus an uncertainty bonus) is a promising approach, existing methods often have drawbacks. Some methods, like those based on reward bonuses (e.g., RND, ACB), only encourage revisiting states that have previously yielded high bonuses, failing to incentivize visiting new states for the first time (first-visit optimism). Others, like Bootstrap DQN (BDQN), achieve first-visit optimism but can be complex to implement and tune. The authors aim to bridge this gap by proposing a simpler, more effective exploration method that promotes first-visit optimism and deep exploration.

Methods

The core of the proposed method, Value Bonuses using Ensemble Errors (VBE), lies in maintaining an ensemble of "random action-value functions" (RQFs). These RQFs are trained using a modified temporal difference (TD) learning approach. Crucially, the rewards used to train these RQFs are designed such that their value bonuses naturally decay to zero as the agent learns. This decay is key to ensuring that exploration doesn't continue indefinitely and that the agent eventually converges to an optimal policy.

The VBE algorithm can be easily integrated into existing value-based RL algorithms, such as Double DQN (DDQN). The behavior policy of the agent is modified to be greedy with respect to the sum of the estimated value and the calculated value bonus. The value bonus itself is derived from the maximum error across the ensemble of RQFs. This approach is designed to be computationally efficient, with a small additional footprint compared to the base RL algorithm.

Datasets

The authors evaluate their approach on several standard benchmarks:

  • Classic Control Environments: Mountain Car, Puddle World, River Swim, and Deepsea. These environments are chosen to test various aspects of exploration, including sparse rewards and continuous state spaces.
  • Atari Games: A selection of Atari games, including Private-Eye, Pitfall, Gravitar, Breakout, Pong, and Qbert, are used to demonstrate the scalability of VBE to more complex, high-dimensional environments.

No new benchmarks were introduced; the focus was on evaluating VBE on existing, well-established environments for exploration research.

Key Insights and Ideas

  • First-Visit Optimism is Crucial: The paper strongly emphasizes that for effective exploration, especially in sparse reward settings, agents need to be incentivized to visit new states and actions, not just revisit previously rewarding ones.
  • Errors as Exploration Signals: VBE cleverly uses the errors in estimating random value functions as a signal for exploration. Larger errors indicate higher uncertainty, which translates into a larger "bonus" encouraging exploration.
  • Self-Decaying Bonuses: The design of the rewards for the RQFs is a key innovation, ensuring that the value bonuses naturally decrease as the agent learns. This prevents perpetual exploration and facilitates convergence.
  • Simplicity and Compatibility: A major selling point of VBE is its ease of integration into existing RL algorithms, requiring minimal modifications to the base algorithm's architecture or training loop.
  • Scalability to Complex Environments: The experiments demonstrate that VBE effectively scales from classic control problems to challenging Atari games, outperforming or matching existing state-of-the-art exploration methods.

Key Results

  • State Coverage: In the Deepsea environment, VBE consistently covered the entire state space, even for larger grid sizes, outperforming BDQN, ACB, RND, and DQN-P.
  • Classic Control Performance: VBE learned faster and achieved better final performance across all four classic control environments compared to BDQN, ACB, and RND.
  • Atari Performance: VBE demonstrated strong performance in Atari games, often outperforming BDQN and matching or exceeding other baselines.
  • Efficiency: VBE can achieve good results with a small ensemble size (even k=1 in some cases), highlighting its computational efficiency.

Limitations and Future Work

  • Theoretical Guarantees: While the paper provides theoretical analysis for linear function approximation and fixed policies, it acknowledges that a formal theoretical guarantee for the convergence of VBE in the deep RL setting with changing behavior and target policies is still an open area.
  • Parameter Sensitivity: The performance of VBE can be sensitive to its parameters (ensemble size and bonus scale), particularly in environments that require less exploration. The authors suggest that further investigation into hyperparameter tuning and potentially adaptive parameter selection could be beneficial.
  • Further Improvements: The authors mention that variants of VBE could potentially yield even better results with more compute resources and broader hyperparameter searches. They also suggest exploring different target policy updates and representation learning strategies.

Summary updated

BibTeX
@inproceedings{wahab2025value,
  author = {Abdul Wahab and Raksha Kumaraswamy and Martha White},
  title = {{Value Bonuses using Ensemble Errors for Exploration in Reinforcement Learning}},
  booktitle = {RLC},
  year = {2025},
  url = {https://openreview.net/forum?id=fOoB8R5ofS},
}
Figure