Off-Policy Actor-Critic in an Ensemble: Achieving Maximum General Entropy and Effective Environment Exploration in Deep Reinforcement Learning

Gang Chen, Yiming PengarXiv 2019

TL;DR

This paper introduces a novel policy iteration theory that extends Soft Actor-Critic (SAC) by incorporating generalized entropy measures (Tsallis and Rényi) to improve exploration in reinforcement learning. This leads to new algorithms (TAC, RAC) and an ensemble approach (EAC) that achieve state-of-the-art performance on benchmark tasks, demonstrating superior sample efficiency and effectiveness.

What Problem Does This Paper Address?

Reinforcement learning (RL) agents often require a massive amount of data to learn effectively, especially in complex environments with high-dimensional state and action spaces. While off-policy algorithms like SAC offer improved sample efficiency by reusing past experiences, they can still struggle with unstable learning and suboptimal exploration. Specifically, SAC's reliance on Shannon entropy for maximizing policy randomness can lead to agents exploring actions with low expected rewards, hindering overall performance. The authors aim to address this by enabling RL agents to leverage more general entropy measures that can more effectively guide exploration and avoid unpromising actions.

Methods

The core contribution is a new policy iteration theory that generalizes the maximum entropy RL framework. This theory allows for the use of arbitrary entropy measures beyond Shannon entropy. Based on this theory, the authors develop two new algorithms:

  • Tsallis Entropy Actor-Critic (TAC): Utilizes Tsallis entropy, which has been shown to encourage more efficient exploration by allowing agents to disregard unpromising actions.
  • Rényi Entropy Actor-Critic (RAC): Leverages Rényi entropy, another generalized measure, offering flexibility in controlling the trade-off between exploration and exploitation.

Furthermore, they introduce an Ensemble Actor-Critic (EAC) algorithm. EAC trains multiple policies simultaneously (using TAC or RAC) within an ensemble. It incorporates a bootstrap mechanism for deep environment exploration and a value-function-based mechanism for high-level action selection during testing, aiming to combine the strengths of multiple learned policies.

Datasets

The paper evaluates its algorithms on six benchmark control tasks: Ant, Half Cheetah, Hopper, Lunar Lander, Reacher, and Walker2D. These tasks are implemented using the OpenAI Gym environment and the PyBullet simulator. The authors note that these PyBullet benchmarks are considered tougher than those using the MuJoCo physics engine, allowing for more significant performance differentiation.

Key Insights and Ideas

  • Generalized Entropy for Better Exploration: The core insight is that moving beyond Shannon entropy to measures like Tsallis and Rényi can significantly improve an RL agent's ability to explore an environment effectively, leading to better policy learning.
  • Tsallis Entropy's Advantage: Theoretical analysis suggests that TAC, by maximizing Tsallis entropy, can achieve a higher performance lower bound compared to SAC, especially when the entropic index is greater than 1.
  • Ensemble Learning for Robustness: Training an ensemble of policies (EAC) demonstrably enhances both the reliability and performance of the RL agent, outperforming individual policy approaches.
  • Separating Training and Testing Objectives: The EAC algorithm's novel approach of using a separate Q-network for high-level action selection during testing (focused purely on reward maximization) while using entropy-regularized objectives during training is crucial for achieving strong performance.

Key Results

The proposed algorithms (TAC, RAC, and EAC) consistently outperform SAC and other state-of-the-art RL algorithms across the six benchmark tasks.

  • State-of-the-Art Performance: EAC-TAC and EAC-RAC achieved superior performance, with EAC-TAC being particularly strong on Ant and Lunar Lander.
  • Sample Efficiency: The maximum entropy RL algorithms generally exhibit better sample efficiency, learning faster to reach high performance levels.
  • TAC vs. SAC: TAC, with appropriate settings of its entropic index, can outperform SAC on all six benchmarks.
  • Ensemble Benefits: EAC-TAC outperformed TAC on two benchmarks, and EAC-RAC outperformed RAC on five out of six, highlighting the benefits of ensemble methods.

Limitations and Future Work

  • Theoretical Assumptions: The theoretical analysis of performance lower bounds relies on several assumptions (e.g., unbounded action space, bell-shaped Q-functions, normal action distributions) that may not always hold in practice.
  • Problem-Specific Entropy Index: The optimal entropic index for Tsallis (q) and Rényi (η) entropy can vary across different problems, requiring careful tuning.
  • Future Work: The authors pose an important question for future research: "what are the mathematical properties that a general entropy measure must satisfy in order for it to promote effective environment exploration and learning?" Answering this could lead to even more advanced RL algorithms.

Summary updated

Abstract

We propose a new policy iteration theory as an important extension of soft policy iteration and Soft Actor-Critic (SAC), one of the most efficient model free algorithms for deep reinforcement learning. Supported by the new theory, arbitrary entropy measures that generalize Shannon entropy, such as Tsallis entropy and Renyi entropy, can be utilized to properly randomize action selection while fulfilling the goal of maximizing expected long-term rewards. Our theory gives birth to two new algorithms, i.e., Tsallis entropy Actor-Critic (TAC) and Renyi entropy Actor-Critic (RAC). Theoretical analysis shows that these algorithms can be more effective than SAC. Moreover, they pave the way for us to develop a new Ensemble Actor-Critic (EAC) algorithm in this paper that features the use of a bootstrap mechanism for deep environment exploration as well as a new value-function based mechanism for high-level action selection. Empirically we show that TAC, RAC and EAC can achieve state-of-the-art performance on a range of benchmark control tasks, outperforming SAC and several cutting-edge learning algorithms in terms of both sample efficiency and effectiveness.
BibTeX
@misc{chen2019off,
  author = {Gang Chen and Yiming Peng},
  title = {{Off-Policy Actor-Critic in an Ensemble: Achieving Maximum General Entropy and Effective Environment Exploration in Deep Reinforcement Learning}},
  year = {2019},
  eprint = {1902.05551},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1902.05551},
}
Figure