Abstract
Reinforcement learning (RL) often struggles with multi-modal objectives where multiple distinct behaviors can lead to success. While Maximum Entropy (MaxEnt) RL provides a robust framework for exploration by encouraging stochasticity, it often "tangles" diverse behaviors into a single, complex policy. Conversely, Diverse Exploration (DE) methods seek to learn multiple distinct policies but often rely on ad hoc heuristics. We present Maximum Entropy Diverse Exploration (MEDE), which bridges this gap by formally disentangling the optimal MaxEnt policy into a set of discriminable sub-policies. By utilizing a discriminator that considers both states and actions, MEDE achieves faster convergence and more robust behavior separation than previous state-of-the-art methods across various continuous control benchmarks.
Introduction
A fundamental challenge in reinforcement learning is the "hard problem of exploration," particularly in environments with sparse rewards or multiple optimal solutions. Current approaches typically fall into two categories: Diverse Exploration (DE), which learns multiple policies to cover the state space, and Maximum Entropy (MaxEnt) RL, which maximizes a single policy's entropy to encourage randomness. However, MaxEnt RL often results in a single, highly stochastic policy that conflates different behavior modes. This paper introduces MEDE, an algorithm that provides a theoretical framework for extracting clean, diverse behaviors from the MaxEnt framework.
Methodology: The MEDE Algorithm
The core of MEDE is the "disentanglement" of a single MaxEnt policy into a set of sub-policies conditioned on a discrete latent variable $z$.
Latent Conditioning and Discriminator-based Objective
MEDE conditions the policy on $z$ and introduces a discriminator—a neural network tasked with predicting $z$ from a state-action pair $(s, a)$. The authors provide a formal proof showing that maximizing the discriminability of these policies is mathematically equivalent to maximizing the KL divergence between them, providing a principled optimization objective for diversity.
The Role of Actions
A critical innovation in MEDE is the inclusion of the action $a$ in the discriminator $p(z|s, a)$. Unlike previous methods like DIAYN (Diversity Is All You Need), which only consider states, MEDE's action-aware discriminator allows for direct gradient flow from the discriminator to the policy. This provides a significantly stronger learning signal, enabling the algorithm to find constituent parts of the mathematically optimal MaxEnt policy.
Experimental Evaluation
The researchers evaluated MEDE on several continuous control benchmarks, including a 2D Multigoal navigation task, standard MuJoCo environments (Hopper and Walker), and a Multidirection Ant task designed to require high diversity.
Results and Discussion
Quantitative Performance
MEDE demonstrates superior convergence speed and robustness compared to DIAYN. In tasks like Hopper and Walker, MEDE achieves high discriminability almost immediately, whereas DIAYN requires significantly more iterations to separate behaviors. Furthermore, MEDE matches the raw performance of Soft Actor-Critic (SAC), the current gold standard for MaxEnt RL, while providing the added benefit of multiple distinct strategies.
Qualitative Disentanglement
In the Multigoal task, MEDE successfully disentangles the reward function. Different values of $z$ consistently lead the agent to different goals. In contrast, standard SAC produces a single policy that oscillates between goals, failing to commit to a specific strategy. This visual separation confirms that MEDE effectively partitions the state-action space according to distinct behavior modes.
Conclusion and Future Work
MEDE successfully bridges the gap between MaxEnt RL and diverse exploration. However, limitations remain, such as the difficulty of scaling to a very large number of sub-policies (e.g., $|Z| > 20$) and the lack of a principled method for selecting the optimal number of policies. Future research may explore more complex network architectures to represent larger sets of diverse behaviors.
Summary updated