Abstract
Diffusion-based trajectory planning has revolutionized robot decision-making by generating holistic plans rather than step-by-step actions. However, these models often encounter a "horizon wall," where they struggle to generalize to tasks significantly longer than those seen during training. While periodic replanning is a common mitigation, it often leads to myopic behavior and local optima. We introduce Compositional Monte Carlo Tree Diffusion (C-MCTD), a framework that elevates tree search from individual steps to compositions of diffusion-generated trajectories. By stitching together multiple short-horizon plans and optimizing over guidance meta-actions, C-MCTD enables agents to solve tasks up to 10x longer than their training data, achieving state-of-the-art performance in complex navigation and manipulation benchmarks.
Introduction
Recent advances in diffusion models have enabled the generation of high-quality, physically plausible trajectories for robotic agents. Despite this success, a fundamental limitation remains: the "horizon wall." Diffusion planners are typically constrained by the temporal window of their training data. When faced with a task requiring a plan twice as long as the training distribution, standard models often fail to produce coherent results.
To address this, practitioners often resort to periodic replanning—executing a portion of a generated plan and then re-sampling. However, this approach is inherently myopic. Without a global understanding of the environment, the agent may optimize for immediate progress toward a goal, only to find itself in a dead-end corridor or a local optimum. C-MCTD addresses this by treating long-horizon planning as a search problem over the composition of multiple diffusion segments, allowing for global reasoning that extends far beyond the training horizon.
Methodology
C-MCTD builds upon Monte Carlo Tree Diffusion (MCTD) but shifts the focus from "within-plan" refinement to "between-plan" composition. The framework introduces three core technical innovations:
1. Stitching-based Tree Extension
Rather than denoising a single continuous path, C-MCTD uses tree search to explore various ways to "stitch" complete diffusion-generated plans end-to-end. This allows the agent to construct a long-range path by connecting several high-fidelity segments that the model is already proficient at generating.
2. Guidance Sets as Meta-Actions
During the expansion phase of the tree search, the algorithm does not just choose spatial directions; it selects from a set of "guidance levels." These levels act as meta-actions, determining how strongly the diffusion model should be conditioned on a specific goal versus exploring the state space. This allows the planner to adaptively balance exploration in open areas and precision in narrow passages.
3. Accelerated Simulation
To maintain computational efficiency during the MCTS simulation phase, the framework utilizes accelerated denoising techniques (such as DDIM). This allows the agent to quickly "hallucinate" the potential outcome of a path composition without the heavy overhead of full diffusion sampling.
Framework Variants
The authors propose three distinct implementations of the compositional framework:
- Online Composer (OC): A sequential tree search that constructs plan combinations dynamically during inference.
- Distributed Composer (DC): A parallelized approach that initiates tree searches from multiple strategic waypoints, identified via k-means clustering of the training data.
- Preplan Composer (PC): An offline variant that constructs a comprehensive "plan graph" or roadmap. At inference time, planning is reduced to finding the optimal path through this pre-computed graph, significantly reducing latency.
Experimental Evaluation
The framework was rigorously tested using the Offline Goal-conditioned RL benchmark (OGBench) across several challenging domains:
- Navigation: PointMaze and AntMaze tasks ranging from "medium" to "giant" scales.
- Manipulation: A multi-cube robot arm task requiring the precise sequencing and stacking of up to four cubes.
- Vision-based Planning: A Visual PointMaze task where the agent must navigate based on 64x64 RGB first-person images, representing a high-dimensional POMDP.
Key Results and Insights
C-MCTD demonstrates a remarkable ability to scale beyond training distributions. In the "PointMaze-Giant" environment, the Preplan Composer achieved a 100% success rate, solving tasks 10x longer than the training data. In contrast, standard baselines like Diffusion Forcing and basic MCTD failed completely (0% success rate).
In manipulation tasks, the compositional approach proved equally effective. For the quadruple-cube stacking task, C-MCTD with a plan cache achieved an 82% success rate, more than tripling the performance of the best baseline (MCTD-Replan at 24%). Furthermore, the Preplan Composer offered a 7.5x speedup over the Online Composer in medium-scale mazes, demonstrating that spatial reasoning can be effectively amortized through offline graph construction.
Discussion and Limitations
While C-MCTD effectively breaks the horizon wall, it introduces new challenges. The construction of the plan graph in the Preplan Composer is computationally intensive offline. Additionally, because the Distributed and Preplan variants rely on waypoints sampled from training data, they may struggle in environments that undergo significant structural changes between training and deployment. Future work will focus on handling highly stochastic dynamics and further optimizing the framework for real-time, closed-loop control on physical robotic hardware.
Summary updated