TL;DR
DIPPER is a novel framework that stabilizes Hierarchical Reinforcement Learning (HRL) by treating it as a bi-level optimization problem. By leveraging Direct Preference Optimization (DPO) and a stationary preference dataset for the higher-level policy, DIPPER eliminates the "moving target" problem of non-stationarity and ensures that the subgoals assigned to the lower-level policy are actually achievable.
The Challenges of Standard HRL
Hierarchical Reinforcement Learning (HRL) is designed to solve complex, long-horizon tasks by breaking them into a hierarchy: a higher-level policy sets subgoals, and a lower-level (primitive) policy executes actions to reach them. While elegant in theory, HRL suffers from two persistent "deal-breakers" in practice:
- Non-stationarity: In standard HRL, the higher-level policy learns based on the rewards it receives when the lower-level policy succeeds. However, because the lower-level policy is also learning and evolving, the environment appears non-stationary to the higher-level. It is akin to coaching a runner whose shoes and fitness level change unpredictably every single lap.
- Infeasible Subgoals: The higher-level policy often proposes subgoals that are physically impossible or too difficult for the current lower-level policy to achieve. This leads to a "credit assignment" failure where the agent stops making meaningful progress.
Introducing DIPPER
To tackle these issues, the authors introduce DIPPER (DIrect Preference Optimization for Primitive-Enabled Hierarchical RL), which approaches HRL through a bi-level optimization lens.
- Bi-level Formulation: DIPPER mathematically models HRL as a system where the upper-level objective (completing the overall task) is constrained by the lower-level's ability to optimize its own behavior.
- DPO for the Higher Level: Instead of using standard RL—which relies on shifting rewards—DIPPER utilizes Direct Preference Optimization (DPO). The researchers collect a stationary dataset of trajectory pairs and label which one is "better" based on its distance to the final goal. Because this dataset is fixed, the higher-level policy receives a stable learning signal that does not fluctuate as the lower-level improves.
- Primitive-Level Regularization: To solve the feasibility problem, DIPPER adds a regularization term to the DPO objective. This term uses the lower-level's value function ($V^{\pi L}$) to penalize the higher-level policy if it proposes subgoals that the lower-level estimates have a low probability of success.
- Standard RL for the Lower Level: The lower-level policy is trained using standard Soft Actor-Critic (SAC) to reach the subgoals provided by the higher level.
Evaluation Environments
The researchers evaluated DIPPER on four challenging, sparse-reward robotic benchmarks:
- Maze Navigation: A 7-DoF (Degree of Freedom) arm navigating a four-room maze.
- Pick and Place: A 7-DoF arm picking up a block and moving it to a target.
- Push: A 7-DoF arm pushing a block to a specific location.
- Franka Kitchen: A complex 9-DoF robot tasked with a sequence of actions (e.g., opening a microwave and turning a knob).
To train the DPO-based higher-level policy, they utilized a stationary preference dataset consisting of approximately 10,000 pairwise trajectory comparisons per environment.
Key Insights
- Decoupling is Key: The core insight of DIPPER is that the higher-level policy does not need to observe the lower-level's current performance to understand what constitutes a good sequence of subgoals. By using a fixed preference dataset, the framework decouples the two levels' learning processes, effectively neutralizing non-stationarity.
- The Value Function as a Feasibility Filter: By incorporating the lower-level's value function into the high-level's objective, the "manager" (high-level) is forced to listen to the "worker" (low-level) regarding what is actually doable.
- New Diagnostic Metrics: Moving beyond simple success rates, the authors introduced two new metrics: the Subgoal Distance Metric (measuring how close the lower-level actually gets to proposed subgoals) and the Lower Q-Function Metric. These quantitatively prove that DIPPER produces more feasible subgoals than prior methods.
Results and Performance
- Performance Boost: DIPPER achieved up to a 40% improvement in success rates over state-of-the-art baselines like SAGA, HAC, and PIPER. This was particularly evident in the most complex tasks, such as Franka Kitchen and Pick and Place.
- Stability: While vanilla HRL methods often exhibited high variance or failed to learn entirely in sparse-reward settings, DIPPER's learning curves were significantly more stable.
- Ablation Confirmation: Removing the value function regularization (DIPPER-No-V) led to a significant drop in performance, confirming that forcing the high-level to select "achievable" goals is critical for the framework's success.
Limitations and Future Work
While highly effective, DIPPER has a few limitations. DPO typically requires a reference policy; in this work, a uniform policy was used, but more sophisticated reference policies might further improve results. Additionally, while DIPPER works well on the tested robotic tasks, applying it to extremely high-dimensional subgoal spaces remains a challenge. Finally, it is currently unclear how well the DPO-trained higher-level policy generalizes to Out-of-Distribution (OOD) states not well-represented in the initial preference dataset. Future work could explore active data collection to make the preference dataset more robust.
Summary updated