Probabilistic Actor-Critic: Learning to Explore with PAC-Bayes Uncertainty

Bahareh Tasdighi, Nicklas Werge, Yi-Shan Wu, Melih Kandemir · OpenReview

Abstract

We introduce Probabilistic Actor-Critic (PAC), a novel reinforcement learning algorithm with improved continuous control performance thanks to its ability to mitigate the exploration-exploitation trade-off. PAC achieves this by seamlessly integrating stochastic policies and critics, creating a dynamic synergy between the estimation of critic uncertainty and actor training. The key contribution of our PAC algorithm is that it explicitly models and infers epistemic uncertainty in the critic through Probably Approximately Correct-Bayesian (PAC-Bayes) analysis. This incorporation of critic uncertainty enables PAC to adapt its exploration strategy as it learns, guiding the actor's decision-making process. PAC compares favorably against fixed or pre-scheduled exploration schemes of the prior art. The synergy between stochastic policies and critics, guided by PAC-Bayes analysis, represents a fundamental step towards a more adaptive and effective exploration strategy in deep reinforcement learning. We report empirical evaluations demonstrating PAC's enhanced stability and improved performance over the state of the art in diverse continuous control problems.

Introduction

In Reinforcement Learning (RL), exploration is the mechanism by which an agent discovers novel strategies. While undirected exploration (e.g., adding Gaussian noise) suffices for dense reward environments, it often fails in scenarios with significantly delayed or sparse rewards. Deep exploration—the ability to follow consistent, non-random trajectories into unknown state spaces based on uncertainty—is required. However, scaling deep exploration to continuous control tasks has been challenging due to the difficulty of accurately quantifying epistemic uncertainty in high-capacity neural network critics without compromising training stability.

The PBAC Framework

The Probabilistic Actor-Critic (PBAC) algorithm addresses these challenges by integrating PAC-Bayesian theory into the actor-critic framework. Unlike traditional Bayesian methods, PAC-Bayes provides a frequentist framework for deriving robust generalization bounds that can be directly optimized as training objectives.

The PBAC framework integrates deep exploration, self-referencing, and non-linear dynamics through PAC-Bayesian analysis.

PBAC utilizes a Catoni-type PAC-Bayes bound to quantify the error of the Bellman operator, resulting in a three-term critic loss function:

  1. Diversity: Encourages ensemble members to learn from different data subsets via bootstrapping.
  2. Coherence: Acts as a data-informed prior, ensuring the ensemble remains grounded in previous consensus targets.
  3. Propagation: A regularizer that prevents ensemble collapse, maintaining the necessary uncertainty for exploration.

For action selection, the "Actor" employs posterior sampling. By maintaining an ensemble of actor heads and committing to one for an entire episode, the agent avoids random dithering and pursues a consistent exploratory strategy.

Empirical Evaluation

PBAC was evaluated on standard benchmarks, including the DeepMind Control Suite and Meta-World, as well as custom "Very Delayed" MuJoCo environments. In these delayed tasks, traditional "health rewards" were removed, and agents only received rewards upon passing specific distance thresholds, making the exploration problem significantly harder.

PBAC consistently outperforms baselines in very delayed reward environments across Ant, Hopper, and Humanoid tasks.

The results demonstrate that PBAC is uniquely capable of solving these complex tasks. In the "Very Delayed Ant" environment, PBAC achieved a reward of ~3905, while state-of-the-art baselines like DRND and BootDQN-P failed to learn. Similarly, in the delayed Humanoid task—one of the most difficult in RL—PBAC was the only method to demonstrate a clear learning curve. Despite its theoretical rigor, PBAC remains computationally efficient, running at speeds comparable to existing ensemble methods.

Conclusion and Future Work

PBAC represents a significant step toward adaptive exploration in deep RL. By leveraging PAC-Bayesian uncertainty, it provides a theoretically grounded yet computationally efficient approach to continuous control. While the current implementation is specialized for sparse/delayed rewards and state-vector inputs, future work will focus on reducing hyperparameter sensitivity in dense reward settings and extending the framework to pixel-based inputs for vision-centric tasks.

Summary updated

BibTeX
@misc{tasdighi2024probabilistic,
  author = {Bahareh Tasdighi and Nicklas Werge and Yi-Shan Wu and Melih Kandemir},
  title = {{Probabilistic Actor-Critic: Learning to Explore with PAC-Bayes Uncertainty}},
  year = {2024},
  eprint = {2402.03055},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2402.03055},
}
Figure