Behavior-Guided Actor-Critic: Improving Exploration via Learning Policy Behavior Representation for Deep Reinforcement Learning

Ammar Fayad, Majd Ibrahim

Introduction

A fundamental challenge in Reinforcement Learning (RL) is the "exploration-exploitation" trade-off. In high-dimensional, continuous spaces like robotics, simple exploration strategies—such as adding random noise to actions—often fail to discover optimal policies. Agents frequently converge to local optima because they stop exploring once a "good enough" solution is found. While count-based exploration works in discrete settings, it does not scale well to continuous environments.

Methodology: Behavior-Guided Actor-Critic (BAC)

The authors propose Behavior-Guided Actor-Critic (BAC), which introduces a mathematically grounded way to encourage novel behavior. The core innovation is using an autoencoder to define a "behavior function."

The Autoencoder as a Novelty Detector

The agent maintains an autoencoder network trained on the state-action pairs it encounters. If the agent visits a region frequently, the autoencoder learns to reconstruct those pairs with low error. Conversely, a high reconstruction error signifies a "novel" state-action pair. This error is treated as an intrinsic reward, modifying the agent's objective to maximize both standard environment rewards and this behavioral novelty bonus.

Architecture and Adaptive Exploration

BAC is built on an off-policy actor-critic framework using "double critic" networks to mitigate overestimation bias. Unlike Maximum Entropy RL (e.g., SAC), BAC is applicable to both stochastic and deterministic actors. Furthermore, an adaptive temperature mechanism dynamically adjusts the exploration bonus weight ($\alpha$). If the gap between the Q-value and its target becomes small, indicating stalled progress, the system automatically increases exploration pressure.

Experimental Results

BAC was evaluated on five continuous control domains from the PyBullet suite: Ant, Walker2D, Hopper, HalfCheetah, and Reacher. PyBullet was chosen for its increased difficulty and open-source nature compared to MuJoCo.

Performance comparison of BAC against state-of-the-art RL algorithms across five PyBullet environments.

As shown in the learning curves above, BAC demonstrates significant performance gains over several cutting-edge algorithms, including SAC, PPO, and DDPG. The numerical results in the table below further highlight BAC's superiority. In the HalfCheetah environment, BAC achieved a max average return of 2369.15, significantly outperforming PPO (2081.41) and SAC (777.37). In the complex Ant environment, BAC reached a score of 2122.81, while the next best competitor (PPO) only reached 1240.08.

Numerical comparison of average returns and standard deviations for BAC and baseline algorithms.

Discussion and Key Insights

The success of BAC stems from treating reconstruction error as a proxy for state-action density. By including both state and action in the autoencoder's input, the representation captures the agent's behavior (what it is doing) rather than just its position.

Crucially, BAC breaks the requirement for stochastic policies common in modern exploration-heavy algorithms. By focusing on behavioral novelty rather than just action randomness, it achieves superior exploration even with deterministic policies. The adaptive temperature mechanism further suggests that exploration is most effective when used as a tool specifically when the agent is "stuck."

Limitations and Future Work

Despite its success, BAC faces "neighborhood blindness," where autoencoders may fail to distinguish truly novel state-action pairs if they are geographically close in the feature space to frequently visited ones. Additionally, while adaptive temperature helps, the initial scaling factor $\alpha$ remains a sensitive hyperparameter. Future research may focus on refining the adaptive schedule and applying behavioral representations to hierarchical RL frameworks.

Summary updated

BibTeX
@misc{fayad2021behavior,
  author = {Ammar Fayad and Majd Ibrahim},
  title = {{Behavior-Guided Actor-Critic: Improving Exploration via Learning Policy Behavior Representation for Deep Reinforcement Learning}},
  year = {2021},
  eprint = {2104.04424},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2104.04424},
}
Figure