Abstract
Hierarchical Reinforcement Learning (HRL) relies on temporally extended actions, known as options, to solve complex, long-horizon tasks. However, many option discovery methods generate a large, redundant set of skills, complicating high-level decision-making. We introduce the Option Encoder, a framework that compresses a vast library of options into a compact "policy basis." By utilizing an auto-encoder with convex reconstruction and architectural constraints, we discover a small set of distilled policies that effectively represent the original skills. Our results across grid-world and 3D navigation environments show that this compact basis improves learning efficiency and performance compared to using the full option set or standard distillation techniques.
Introduction
In HRL, managing a massive library of options is computationally expensive and increases the search space for high-level agents. While pruning or distilling into a single policy are common approaches, they often sacrifice the diversity required for varied tasks. This paper addresses the challenge of finding a minimal yet expressive "basis" of policies that captures essential skills without the redundancy of the original set.
The Option Encoder Framework
The core contribution is the Option Encoder, an auto-encoder architecture designed to find $M$ distilled policies capable of reconstructing $N$ original options, where $M \ll N$.
The framework incorporates several key constraints to ensure the learned basis is meaningful:
- Convex Reconstruction: The decoder reconstructs original options as a convex combination of distilled policies. This ensures that the outputs remain valid probability distributions (policies).
- Architectural Constraints: Weight-sharing across actions prevents the network from storing action-specific information in the decoder, forcing the distilled policies themselves to capture core behaviors.
- Hierarchical Integration: The distilled policies are integrated into an "Attend, Adapt and Transfer" (A2T) framework, allowing a high-level agent to select between basis policies and a base network for new tasks.
Experimental Setup
The framework was evaluated on two primary domains:
- Grid-worlds (GW1, GW2, GW3): Stochastic environments where agents must reach 100 different goal locations. Options were initially generated using the Eigen-options framework.
- Deepmind-lab: A 3D visual navigation domain where agents navigate mazes toward sub-goals based on grayscale image inputs.
Results and Discussion
Our evaluations yielded several key insights:
- Efficiency through Compression: Reducing the option count by 5x to 10x improved hierarchical agent performance, suggesting that a smaller, high-quality basis simplifies the high-level controller's task.
- Necessity of Constraints: Without convex combinations and shared weights, the auto-encoder failed to learn interpretable or useful navigation behaviors, often producing noisy outputs.
- Diversity and Generalization: Distilling into a set of policies significantly outperformed single-policy distillation (Actor-Mimic), as a single policy cannot capture multi-modal skills like navigating in opposite directions simultaneously.
- Skill Discovery: Qualitative analysis revealed that distilled policies naturally learned to navigate toward common bottleneck areas, facilitating efficient traversal of the environment.
Conclusion
The Option Encoder provides a robust method for discovering a policy basis in RL. Future work includes extending this framework to value functions and adapting it for lifelong learning scenarios where the policy basis is refined as new skills are acquired.
Summary updated