Skip to main content
QUICK REVIEW

[Paper Review] Optimistic Exploration even with a Pessimistic Initialisation

Tabish Rashid, Bei Peng|arXiv (Cornell University)|Feb 26, 2020
Reinforcement Learning in RoboticsComputer Science37 references13 citations
TL;DR

This paper proposes OPIQ, a model-free reinforcement learning algorithm that ensures efficient exploration in deep RL by augmenting pessimistically initialised Q-values with count-based optimism bonuses, enabling provably efficient exploration without relying on optimistic network initialisation. OPIQ maintains optimism during both action selection and bootstrapping, outperforming baseline DQN with intrinsic motivation in sparse-reward environments like Montezuma’s Revenge.

ABSTRACT

Optimistic initialisation is an effective strategy for efficient exploration in reinforcement learning (RL). In the tabular case, all provably efficient model-free algorithms rely on it. However, model-free deep RL algorithms do not use optimistic initialisation despite taking inspiration from these provably efficient tabular algorithms. In particular, in scenarios with only positive rewards, Q-values are initialised at their lowest possible values due to commonly used network initialisation schemes, a pessimistic initialisation. Merely initialising the network to output optimistic Q-values is not enough, since we cannot ensure that they remain optimistic for novel state-action pairs, which is crucial for exploration. We propose a simple count-based augmentation to pessimistically initialised Q-values that separates the source of optimism from the neural network. We show that this scheme is provably efficient in the tabular setting and extend it to the deep RL setting. Our algorithm, Optimistic Pessimistically Initialised Q-Learning (OPIQ), augments the Q-value estimates of a DQN-based agent with count-derived bonuses to ensure optimism during both action selection and bootstrapping. We show that OPIQ outperforms non-optimistic DQN variants that utilise a pseudocount-based intrinsic motivation in hard exploration tasks, and that it predicts optimistic estimates for novel state-action pairs.

Motivation & Objective

  • To address the lack of optimistic initialisation in deep RL despite its critical role in provably efficient tabular algorithms.
  • To ensure that Q-value estimates for novel state-action pairs remain optimistic during exploration, even when neural networks are pessimistically initialised.
  • To develop a method that maintains optimism during both action selection and bootstrapping, improving exploration efficiency in high-dimensional environments.
  • To extend provably efficient tabular algorithms to deep RL by decoupling optimism from network weights.
  • To demonstrate that count-based bonuses can provide sufficient optimism for exploration when properly integrated into Q-learning.

Proposed method

  • OPIQ uses a count-based augmentation to pessimistically initialised Q-values: $ Q^{+}(s,a) := Q(s,a) + \frac{C}{(N(s,a)+1)^M} $, where $ N(s,a) $ is the visit count and $ C, M > 0 $ are hyperparameters.
  • The augmented $ Q^{+} $-values are used for both action selection and bootstrapping, ensuring optimism is preserved throughout learning.
  • The method is grounded in UCB-H, a provably efficient tabular Q-learning algorithm, but replaces optimistic initialisation with pessimistic initialisation and count-based optimism.
  • In deep RL, OPIQ integrates with existing state-action counting methods (e.g., pseudocounts) to estimate $ N(s,a) $ in high-dimensional spaces.
  • The algorithm avoids relying on network weight initialisation for optimism, instead decoupling the source of optimism from neural network weights.
  • OPIQ is designed to be compatible with standard DQN-based architectures and can be applied with n-step bootstrapping and prioritised experience replay.

Experimental results

Research questions

  • RQ1Can a model-free deep RL algorithm achieve provably efficient exploration without relying on optimistic network initialisation?
  • RQ2Does maintaining optimism during both action selection and bootstrapping significantly improve exploration in sparse-reward environments?
  • RQ3Can count-based bonuses provide sufficient optimism for novel state-action pairs even when Q-values are pessimistically initialised?
  • RQ4How does OPIQ compare to intrinsic motivation methods that only use bonuses in the reward signal?
  • RQ5To what extent does optimism during bootstrapping improve sample efficiency and final performance in complex environments like Montezuma’s Revenge?

Key findings

  • OPIQ significantly outperforms DQN with pseudocount-based intrinsic motivation on Montezuma’s Revenge, achieving higher episodic rewards and maximum episode rewards.
  • OPIQ visits 12 rooms in Montezuma’s Revenge within 12.5 million timesteps, substantially more than other baselines, demonstrating superior exploration.
  • The performance gap between DQN + PC and OPIQ without optimism bonus (OPIQ w/o OB) is large, showing that optimism during action selection is crucial for exploration.
  • Visualisations confirm that OPIQ's $ Q^{+} $-values provide optimistic estimates for novel state-action pairs, driving exploration.
  • In the Maze environment, OPIQ with optimism bonus outperforms all ablations, including those using pseudocounts, indicating the importance of optimism in bootstrapping.
  • The results show that count-based intrinsic rewards alone are insufficient for efficient exploration, while OPIQ’s dual use of optimism in action selection and bootstrapping is highly effective.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.