TL;DR
This paper introduces H2O2, a novel hierarchical reinforcement learning agent designed for complex 3D environments. H2O2 learns to discover and utilize "options" (temporally extended skills) from scratch, achieving performance competitive with state-of-the-art flat agents on challenging tasks, and offering new insights into the practicalities of HRL.
What Problem Does This Paper Address?
Hierarchical Reinforcement Learning (HRL) holds immense promise for creating agents capable of planning, exploration, and skill reuse through abstraction. While HRL has seen success in various domains, visually complex and partially observable 3D environments have remained a significant challenge. Existing HRL agents often struggle to effectively learn and leverage hierarchical structures in these demanding settings. This paper aims to bridge this gap by developing an HRL agent that can learn useful hierarchical behaviors directly from its own experience in such environments.
Methods
The core contribution is the Hierarchical Hybrid Offline-Online (H2O2) agent. H2O2 is a deep reinforcement learning agent that operates within a semi-Markov Decision Process (SMDP) framework. It comprises two main components:
- Low-Level Controller (LLC): This component learns "options," which are goal-conditioned, temporally extended skills. These options are learned offline from experience generated by the agent, using a regularized offline V-Trace algorithm. The LLC is trained to achieve specific latent goals.
- High-Level Controller (HLC): This component is a general-purpose RL agent (specifically, the Muesli algorithm) that learns to select options (or primitive actions) from the LLC to solve tasks. The HLC is trained online through interaction with the environment.
A key novelty is that H2O2 learns options "from scratch," meaning it doesn't rely on expert demonstrations or pre-defined skills. The agent also incorporates auxiliary tasks to improve the quality of the learned options and uses a variational goal encoder to represent goals in a latent space.
Datasets
The primary dataset used for training and evaluation is the DeepMind Hard Eight suite. These are described as 3D, partially observable, procedurally generated tasks that require exploration and complex behaviors. The paper also mentions evaluation on DeepMind Lab's Goals Small and Objects Small environments, which are first-person maze tasks.
Key Insights and Ideas
- Learning options from scratch is feasible and effective: H2O2 demonstrates that an HRL agent can discover and utilize useful skills without pre-existing knowledge or expert demonstrations, even in complex 3D environments.
- The "sweet spot" for temporal abstraction: The paper reveals a surprising finding: increasing temporal abstraction (e.g., by increasing option timeouts) doesn't always lead to better performance. There appears to be an optimal level of abstraction, and exceeding it can actually harm performance by making the learning problem too difficult.
- Goal space regularization is crucial: Constraining the latent goal space (e.g., through KL regularization) is essential for the HLC to effectively learn. An overly flexible goal space can lead to performance degradation.
- HRL doesn't always simplify the problem: The authors challenge the common assumption that HRL inherently simplifies the learning problem for the high-level controller. For HRL to be beneficial, the learned options must genuinely make the SMDP easier to solve than the original MDP.
Key Results
- H2O2 is competitive with a strong non-hierarchical Muesli baseline on the DeepMind Hard Eight tasks, often achieving slightly higher average returns.
- Experiments with varying option timeouts showed that increasing timeouts beyond a certain point led to worse performance, suggesting a trade-off in temporal abstraction.
- Varying the dimension of the latent goal space revealed a "sweet spot" at 32 dimensions for optimal performance, indicating that more expressive goals are not always better.
- Constraining the goal space through regularization (higher β values) generally improved performance, with the strongest regularization (β=1) yielding the best results.
- H2O2 outperformed variants with unconditional LLCs ("Autopilot" agents), highlighting the importance of goal-conditioned learning.
Limitations and Future Work
- Parameter tuning is critical: The paper emphasizes that the effectiveness of HRL agents is highly sensitive to hyperparameter tuning, particularly for aspects like goal space size and regularization.
- "Rich domains" challenge: The authors suggest that the challenges observed might be mitigated in simpler domains or if a smaller, well-chosen set of options were provided. However, they argue that their findings are particularly relevant for complex, "rich" domains where intelligent agents are most needed.
- Future work directions: The authors identify several open challenges, including:
- Structuring the goal space to accelerate HLC learning.
- Investigating whether general-purpose RL algorithms can learn effective HLCs.
- Developing methods for HLCs to learn with a vast number of complex options while remaining competitive with flat baselines.
- Exploring different goal modalities beyond image-based goals.
Summary updated