Hierarchical Empowerment: Towards Tractable Empowerment-Based Skill-Learning

Andrew Levy, Sreehari Rammohan, Alessandro Allievi, Scott Niekum, George Konidaris

Abstract

General purpose agents will require large repertoires of skills. Empowerment -- the maximum mutual information between skills and states -- provides a pathway for learning large collections of distinct skills, but mutual information is difficult to optimize. We introduce a new framework, Hierarchical Empowerment, that makes computing empowerment more tractable by integrating concepts from Goal-Conditioned Hierarchical Reinforcement Learning. Our framework makes two specific contributions. First, we introduce a new variational lower bound on mutual information that can be used to compute empowerment over short horizons. Second, we introduce a hierarchical architecture for computing empowerment over exponentially longer time scales. We verify the contributions of the framework in a series of simulated robotics tasks. In a popular ant navigation domain, our four level agents are able to learn skills that cover a surface area over two orders of magnitude larger than prior work.

Introduction

A central goal in artificial intelligence is the creation of general-purpose agents capable of mastering vast repertoires of skills. Empowerment, defined as the maximum mutual information (MI) between an agent's latent skills and the resulting environment states, offers a mathematically grounded objective for unsupervised skill discovery. By maximizing empowerment, an agent learns to reach a diverse set of predictable states, effectively gaining control over its environment without the need for hand-crafted reward functions.

However, empowerment is notoriously difficult to compute and optimize, particularly over long time horizons. Existing methods, such as Diversity is All You Need (DIAYN), often struggle with the "overlap problem": as skills begin to cover similar regions of the state space, the mutual information signal weakens, leaving the agent without a clear direction for further exploration. Furthermore, standard reinforcement learning (RL) faces severe credit assignment challenges when trying to learn complex behaviors from scratch over extended periods.

Methodology: Hierarchical Empowerment

To overcome these limitations, we propose Hierarchical Empowerment, a framework that integrates Goal-Conditioned Reinforcement Learning (GCRL) into a hierarchical structure.

Goal-Conditioned Empowerment (GCE)

The first contribution is a novel variational lower bound on mutual information that enables the computation of empowerment over short horizons. Unlike traditional GCRL, which requires a pre-defined goal space, our framework learns the space of achievable goals automatically. We treat the selection of the goal space as a maximum entropy bandit problem. By utilizing the reparameterization trick, the agent simultaneously learns which goals are reachable and the policy required to reach them. This creates an automated curriculum where the goal space expands only as the agent gains the "empowerment" to reach more distant boundaries reliably.

Hierarchical Architecture

To scale these capabilities to exponentially longer time scales, we nest GCE modules into a hierarchy. In this multi-level system, the "action space" of a high-level policy is defined as the "goal space" of the level immediately below it. Each level in the hierarchy is responsible for mastering decisions over a relatively short horizon. Consequently, the total time horizon covered by the agent grows exponentially with the number of levels added.

Overview of Hierarchical Empowerment: (Left) The automated curriculum of Goal-Conditioned Empowerment (GCE) expands the reachable goal space. (Right) Nesting these modules allows the agent to plan across multiple levels of abstraction.

Experimental Evaluation

We evaluated the framework using simulated robotics environments within the Brax differentiable physics engine. Tasks included navigation for an Ant-like robot and running for a Half Cheetah robot across various scales (Small, Big, and XL). We also introduced "Cage" domains with physical barriers to test the adaptability of the learned goal spaces.

Key Results

The quantitative improvements over existing baselines are significant:

  • Massive Coverage: In the Ant navigation task, a four-level Hierarchical Empowerment agent learned skills covering an area of 800x800 units. This is over two orders of magnitude larger than DIAYN (4x4) and significantly exceeds DADS (30x30).
  • Zero-Shot Transfer: When tested on reaching specific distant goals after the unsupervised training phase, hierarchical agents demonstrated superior performance, successfully navigating to targets that baselines could not reach.
  • Environmental Adaptability: In constrained environments, the learned goal spaces successfully "warped" to fit the available free space, demonstrating that the agent learns to avoid obstacles purely through the empowerment objective.

Discussion and Conclusion

Hierarchical Empowerment provides a tractable path toward learning large-scale skill repertoires. By combining a learned goal-space curriculum with a hierarchical architecture, agents can discover diverse behaviors across vast state spaces.

While the results are promising, the current framework relies on a transition model for training higher levels and assumes a box-shaped goal space distribution. Future work will focus on generalizing these goal-space distributions to accommodate more complex, non-contiguous environment topologies, such as high-dimensional manipulation tasks or intricate mazes.

Summary updated

Abstract

General purpose agents will require large repertoires of skills. Empowerment -- the maximum mutual information between skills and states -- provides a pathway for learning large collections of distinct skills, but mutual information is difficult to optimize. We introduce a new framework, Hierarchical Empowerment, that makes computing empowerment more tractable by integrating concepts from Goal-Conditioned Hierarchical Reinforcement Learning. Our framework makes two specific contributions. First, we introduce a new variational lower bound on mutual information that can be used to compute empowerment over short horizons. Second, we introduce a hierarchical architecture for computing empowerment over exponentially longer time scales. We verify the contributions of the framework in a series of simulated robotics tasks. In a popular ant navigation domain, our four level agents are able to learn skills that cover a surface area over two orders of magnitude larger than prior work.
BibTeX
@inproceedings{levy2023hierarchical,
  author = {Andrew Levy and Sreehari Rammohan and Alessandro Allievi and Scott Niekum and George Konidaris},
  title = {{Hierarchical Empowerment: Towards Tractable Empowerment-Based Skill-Learning}},
  booktitle = {GCRL @ NeurIPS},
  year = {2023},
  url = {https://openreview.net/forum?id=GAsu0qy83J},
}
Figure