Unsupervised Action-Policy Quantization via Maximum Entropy Mixture Policies with Minimum Entropy Components

Yamen Habib, Dmytro Grytskyy, Rubén Moreno-BoteEWRL 2025

TL;DR

This paper introduces a novel unsupervised reinforcement learning framework that quantizes an agent's continuous action space into a set of reusable "token-like" component policies. By jointly maximizing the overall policy's entropy (for exploration) and minimizing each component's entropy (for specialization), the method learns interpretable behaviors that transfer across tasks without task-specific data.

What Problem Does This Paper Address?

Reinforcement learning (RL) agents often learn policies that are highly specialized to a particular task and reward function. This makes it difficult to reuse learned behaviors or compose them to solve new, unseen tasks. A key challenge is learning transferable, interpretable "skills" or "tokens" that can be flexibly combined. Existing methods for action quantization (discretizing actions) often suffer from:

  • Curse of Dimensionality: Naively discretizing continuous action spaces leads to an exponential increase in the number of actions.
  • Task-Dependency: Quantization schemes are often tied to specific tasks or require large offline datasets, hindering reusability.
  • Lack of Principled Analysis: Many approaches focus solely on reward maximization without a theoretical understanding of the learned discrete actions' properties like diversity or specialization.

This paper aims to address these issues by developing an unsupervised, online method for learning state-dependent action components that are inherently diverse, specialized, and transferable.

Methods

The core of the proposed method is the "maxi-mix-mini-com" entropy objective. This objective is designed to learn a mixture policy and its constituent component policies.

  • Mixture Policy: The overall policy is a mixture of $K$ component policies, where the mixing weights are state-dependent.
  • Joint Entropy Objective:
    • Maximize Cumulative Entropy: The objective encourages the mixture policy to have high cumulative entropy over time. This aligns with the "maximum occupancy principle" (MOP), promoting diverse and exploratory behavior.
  • Minimize Component Entropy: Simultaneously, the objective penalizes the entropy of each individual component policy. This forces each component to become specialized and execute a finely tuned maneuver.
  • Unsupervised Learning: The learning process is driven by this intrinsic entropy objective, not by external task-specific rewards.
  • Policy Iteration: For discrete action spaces, the authors derive a novel, provably convergent policy iteration algorithm.
  • Continuous Action Extension: For continuous action spaces, they extend the framework using Gaussian mixture policies and a reparameterization-based policy gradient theorem. The learned components are then fixed and used as discrete actions within a standard RL optimizer (like DQN or PPO) for downstream tasks.

Datasets

The paper evaluates its method on several standard MuJoCo environments:

  • Grid-world: Used for demonstrating the discrete action case and the theoretical feasibility of the maxi-mix-mini-com objective.
  • MuJoCo Swimmer-v5: A locomotion task with no terminal states.
  • MuJoCo Ant-v5: A more complex locomotion task with terminal states (falls).
  • FetchReach: A manipulation task.
  • Hopper-v5, Walker2D-v5: Additional locomotion tasks with varying dynamics and complexity.

No new benchmarks were introduced; existing standard environments were used.

Key Insights and Ideas

  • Entropy as a Driver for Skill Discovery: The paper demonstrates that by framing action quantization as an entropy maximization problem (for the mixture) and minimization problem (for components), one can learn meaningful, reusable skills without explicit reward signals.
  • Principled Trade-off: The "maxi-mix-mini-com" objective provides a principled way to balance exploration (high mixture entropy) and specialization (low component entropy), leading to interpretable and diverse behaviors.
  • Transferability is Key: The learned components are shown to be highly transferable, performing well on tasks they were not trained for, even outperforming continuous baselines in some cases when used as discrete actions.
  • Online, Unsupervised Learning: The ability to learn these components online and without task-specific data is a significant advantage for real-world deployment and generalization.

Key Results

  • Interpretable Components: The learned component policies are shown to be interpretable, representing distinct movements or "behaviors" in environments like the grid-world, Swimmer, and Ant.
  • Performance on Downstream Tasks:
    • On the Ant locomotion tasks, the method with 64 discrete components recovered 56% of Soft Actor-Critic (SAC) performance and outperformed continuous PPO by nearly an order of magnitude on directional locomotion.
  • In maze navigation tasks, its performance was comparable to continuous baselines.
  • On smaller action space tasks (Fetch Reach, Swimmer), the method matched or surpassed state-of-the-art continuous methods.
  • On more complex tasks like Hopper, it recovered over 80% of SAC's performance.
  • Scalability: The method scales with the number of components, leading to better coverage and specialization.
  • Generalization: Components learned on one task transferred effectively to different locomotion challenges.

Limitations and Future Work

  • Component Variance: The paper notes that in some instances, they resort to using the modes of the learned Gaussian components. However, they suggest that increasing the number of components $K$ naturally decreases standard deviation, making them more suitable for discrete policy reward maximization.
  • Training Overhead: The unsupervised learning phase requires evaluating all $K$ component policies to compute the mixture's entropy, which can increase computation time for larger $K$.
  • Suboptimal Convergence: The policy iteration algorithm guarantees monotonic improvement of the value function but does not guarantee convergence to the global optimum, and the converged solution might depend on initial conditions.
  • Future Work: The authors suggest exploring different intrinsic motivation objectives for action-policy discretization and further investigating the trade-off between deployment efficiency and training overhead. They also mention the potential for using these learned components in more complex hierarchical RL settings.

Summary updated

BibTeX
@inproceedings{habib2025unsupervised,
  author = {Yamen Habib and Dmytro Grytskyy and Rubén Moreno-Bote},
  title = {{Unsupervised Action-Policy Quantization via Maximum Entropy Mixture Policies with Minimum Entropy Components}},
  booktitle = {EWRL},
  year = {2025},
  url = {https://openreview.net/forum?id=HhbHw2yInZ},
}
Figure