Abstract
Offline Reinforcement Learning (RL) faces significant challenges in long-horizon tasks with sparse rewards and the risk of extrapolation errors due to distribution shifts. This paper introduces Structural Information-based Hierarchical Diffusion (SIHD), a framework that replaces conventional rigid, fixed-scale hierarchies with an adaptive, multi-scale structure. By leveraging graph-based structural information to group states into natural communities, SIHD enables flexible planning and employs a novel dual-entropy regularizer to facilitate safe exploration. Experimental results on the D4RL benchmark demonstrate that SIHD significantly outperforms existing hierarchical diffusion models in both performance and efficiency.
Introduction
Offline RL is critical for domains where real-time interaction is costly or dangerous, such as healthcare and robotics. However, agents trained on static datasets often struggle with the Horizon Problem—linking early actions to distant rewards—and Distribution Shift, where out-of-distribution (OOD) actions lead to catastrophic value estimation errors.
While hierarchical diffusion models have attempted to address these issues by decomposing trajectories into subgoals, they typically rely on rigid, two-layer hierarchies with predefined temporal scales. Such "one-size-fits-all" approaches often fail to capture the varying complexities of real-world tasks. SIHD addresses this by moving toward a data-driven, adaptive hierarchy that identifies meaningful topological structures within the state space.
Methodology: Adaptive Hierarchical Diffusion
SIHD introduces three core innovations to the hierarchical diffusion pipeline:
1. Adaptive Multi-Scale Hierarchy
Instead of using fixed time intervals for subgoals, SIHD constructs a topological graph of all states in the dataset based on feature similarity. Using principles of Structural Entropy, the framework partitions this graph into a tree-structured hierarchy of "state communities." Trajectories are then segmented adaptively whenever an agent transitions between these communities, ensuring that subgoals align with natural bottlenecks or turning points in the environment.
2. Structural Information Gain as Guidance
In standard hierarchies, high-level planners are often guided by reward predictions. SIHD instead utilizes the "structural information gain" of state communities. This signal serves as a conditioning guide for the diffusion layers, helping the model prioritize transitions that are globally significant within the environment's map.
3. Dual-Entropy Regularization
To balance exploration with safety, SIHD employs a dual-entropy regularizer:
- Shannon Entropy: Encourages the model to explore diverse and underrepresented states to avoid suboptimal dataset memorization.
- Structural Entropy: Acts as a safety constraint, ensuring that exploration remains within known state communities to prevent extrapolation errors.
Experimental Evaluation
The model was evaluated on the standard D4RL benchmark, including Gym-MuJoCo locomotion tasks and challenging navigation tasks like Maze2D and AntMaze.
Key Results
- Performance: SIHD outperformed state-of-the-art baselines, such as Diffuser and Hierarchical Diffuser, by up to 12.6% in decision-making performance.
- Robustness: In sparse-reward AntMaze tasks, SIHD showed superior stability. While other models experienced performance drops of over 25% across different data qualities, SIHD limited these drops to approximately 7%.
- Efficiency: By leveraging hierarchical decomposition, SIHD achieved an 82.5% reduction in training time and a 54.8% reduction in planning time compared to flat diffusion models.
Conclusion
SIHD represents a significant step forward in hierarchical offline RL by replacing human-imposed rigidity with emergent, data-driven structures. By aligning subgoals with the natural topology of the state space and balancing exploration with structural safety, the framework achieves state-of-the-art performance and remarkable computational efficiency. Future work will explore extending this structural information approach to other generative domains, such as video and text generation.
Summary updated