TL;DR
This paper introduces HSD-3, a hierarchical reinforcement learning framework that pre-trains a diverse library of low-level skills without human supervision. By using a three-layered architecture to dynamically select the right "level" of control—ranging from specific limb movements to general body translation—agents can efficiently explore and solve complex, sparse-reward robotic tasks that baffle standard algorithms.
What Problem Does This Paper Address?
In reinforcement learning (RL), "skills" (or options) are temporal abstractions that help agents explore more effectively. However, designing these skills presents a "Goldilocks" problem:
- Too Specific: A skill like "walk forward" is great for navigation but useless if the robot needs to jump or kick a ball.
- Too General: A skill that allows any movement provides no useful structure for exploration, leading to the same "random wiggle" problem as flat RL.
Most existing Hierarchical RL (HRL) methods sidestep this by assuming a specific prior (e.g., "skills should always control the center of mass"). This paper tackles the challenge of learning a hierarchy of skills that can automatically trade off between generality and specificity depending on the task at hand.
Methods
The authors propose a two-stage approach:
- Unsupervised Pre-training: The robot is placed in an empty environment. It learns a single, goal-conditioned low-level policy ($\pi^{lo}$) that can control different subsets of its features (e.g., just the left foot, just the torso rotation, or the whole body). This is achieved using a "bag-of-words" input that tells the policy which features are currently active.
- HSD-3 (Three-Level Hierarchy): For downstream tasks, the agent uses a three-layered policy:
- Level 1 ($\pi^f$): Selects the skill (which subset of features to control).
- Level 2 ($\pi^g$): Selects the target configuration (the goal) for those features.
- Level 3 ($\pi^{lo}$): The pre-trained policy that executes native motor actions to reach that goal.
To train the high-level layers, the authors extended the Soft Actor-Critic (SAC) algorithm to handle a joint discrete (skill selection) and continuous (goal selection) action space.
Datasets
The authors introduced a new benchmark suite of sparse-reward tasks for bipedal robots (Walker and Humanoid) using the MuJoCo physics engine. These tasks require more than just simple locomotion:
- Hurdles/Gaps: Requires jumping and precise timing.
- Limbo: Requires crouching and torso control.
- Stairs: Requires fine-grained foot placement.
- GoalWall: Requires kicking a ball into a target.
- PoleBalance: A complex balancing task.
Key Insights and Ideas
- No Single "Best" Skill: The authors demonstrate that different tasks are best solved by different feature sets. For example, controlling the X-position is great for hurdles, but controlling foot positions is crucial for the GoalWall task. No single pre-trained skill is optimal across the entire benchmark (see figure below).
- Dynamic Skill Switching: HSD-3 doesn't just pick one skill per task; it can switch skills within an episode. In the "Stairs" task, the agent might switch between torso-heavy control for climbing up and explicit foot control for maintaining balance while going down.
- Offloading Prior Knowledge: Instead of a human deciding that "walking" is the right prior, HSD-3 offloads this decision to the high-level policy during training, allowing the agent to discover which level of abstraction is most useful for the current environment.
Key Results
- Superior Exploration: HSD-3 significantly outperformed state-of-the-art HRL methods like HIRO and HIDIO, as well as unsupervised discovery methods like DIAYN, on almost all sparse-reward tasks.
- Matching the "Topline": HSD-3 often matched or exceeded the performance of the "best-per-task" fixed skill (SD*), which requires exhaustive manual searching to find.
- Scalability: The method successfully scaled to a 21-joint Humanoid robot, where it learned to solve complex tasks like Hurdles and Stairs that standard SAC failed to make progress on.
Limitations and Future Work
- Feature Selection Priors: While HSD-3 automates skill selection, it still relies on a predefined set of candidate features to build the hierarchy. Future work could involve learning these feature sets entirely from scratch.
- Morphological Complexity: While it works for bipeds, scaling to even more complex robots (like multi-fingered hands) would require managing a much larger combinatorial space of possible feature subsets.
- Environment Interaction: The current pre-training happens in an empty environment. Pre-training in environments with objects might yield even more "functional" skills (like grasping or pushing).
Summary updated