Introduction
In the field of offline reinforcement learning (RL), the primary objective is to derive effective policies from fixed datasets without the luxury of further environment interaction. A significant hurdle in this domain is the "stitching" problem: the ability to combine sub-trajectories from various tasks to solve novel, long-horizon challenges.
Traditional approaches often rely on temporal difference (TD) learning. While powerful, TD-learning is frequently plagued by instability and extreme sensitivity to hyperparameters due to its reliance on bootstrapping. Recently, sequence modeling—exemplified by frameworks like Decision Transformers and Diffuser—has offered a bootstrapping-free alternative. However, these models face two critical bottlenecks: the immense computational cost of denoising entire trajectories at every timestep and the difficulty of planning within high-dimensional raw state or image spaces.
This paper introduces the Diffused Task-Agnostic Milestone Planner (DTAMP), a hierarchical framework that leverages the generative capabilities of diffusion models within a learned latent space to achieve state-of-the-art performance with significantly reduced inference overhead.
Methodology
DTAMP decomposes the planning problem into a hierarchical structure, separating high-level strategy from low-level execution.
1. Latent Milestone Representation
Rather than planning in the raw observation space, DTAMP utilizes an encoder to map states or images into a control-relevant latent space. These latent representations, termed "milestones," serve as the fundamental units for the high-level planner, abstracting away the noise and complexity of raw pixel data.
2. Diffusion Milestone Planner
The core of the system is a diffusion-based generative model trained to predict a sparse sequence of latent milestones ($g_{1:K}$) that bridge the gap between the current state and a final goal. By focusing on a few key waypoints rather than every individual state-action pair, the model simplifies the planning horizon significantly.
3. Minimum Temporal Distance Guidance
To ensure the generated paths are optimal, the authors employ classifier-free diffusion guidance. The model is conditioned on a "temporal interval" ($\Delta$), allowing the system to bias the generation process toward trajectories that minimize the time gaps between milestones. This effectively bakes shortest-path optimization into the generative process without requiring a separate value function.
4. Hierarchical Execution
Unlike standard diffusion planners that re-plan at every step, DTAMP generates the milestone sequence once at the start of an episode. A low-level, goal-conditioned actor then acts as a feedback controller, navigating the agent to each milestone in sequence. This actor is trained using imitation learning objectives, avoiding the instabilities associated with TD-learning.
Experimental Evaluation
DTAMP was evaluated against rigorous benchmarks, including D4RL (Antmaze and Kitchen) and the vision-based CALVIN manipulation suite.
Performance and Robustness
In the Antmaze benchmark, DTAMP demonstrated superior performance, particularly in the "large-diverse" settings. While many non-TD sequence models failed to solve these mazes (scoring 0.0), DTAMP achieved a score of 78.0.
In the vision-centric CALVIN benchmark, DTAMP set a new state-of-the-art success rate, outperforming the previous best method, TACO-RL, by 1.7x in complex multi-task scenarios. Furthermore, the model proved resilient in stochastic environments; where other diffusion planners faltered under action noise, DTAMP maintained a 99.4% success rate.
Computational Efficiency
One of the most striking results is the efficiency of the milestone-based approach. Because the high-level plan is generated only once per episode, DTAMP achieves an inference speedup of 1,000x compared to the Trajectory Transformer (TT) and 300x compared to Decision Diffuser (DD). This makes diffusion-based planning viable for real-time robotic applications where latency is a critical factor.
Discussion and Future Work
DTAMP represents a significant step forward in making diffusion-based planning practical and scalable. By planning sparse milestones in a latent space, it overcomes the dimensionality and speed issues that have previously limited sequence models in RL.
However, some limitations remain. As an offline method, DTAMP is constrained by the diversity of its training data; it can recombine known skills but cannot synthesize entirely novel behaviors. Additionally, the current "plan-once" strategy may struggle in highly dynamic environments where obstacles move unpredictably. Future research may explore more frequent, lightweight re-planning strategies and methods to further reduce hyperparameter sensitivity regarding the guidance scale and milestone count.
Summary updated