Skip to content
AI.info

Research

Compositional Monte Carlo Tree Diffusion for Extendable Planning

Overview Research area: Machine learning for decision-making — specifically generative planning, where diffusion models are combined with Monte Carlo Tree Search (MCTS) to produce long-horizon traject

Compositional Monte Carlo Tree Diffusion for Extendable Planning
arXiv
2510.21361
Published
2025-10-24
Authors
Jaesik Yoon, Hyeonseo Cho, Sungjin Ahn

AI summary

Overview

Research area: Machine learning for decision-making — specifically generative planning, where diffusion models are combined with Monte Carlo Tree Search (MCTS) to produce long-horizon trajectories.

Technical level: Advanced. The paper builds directly on diffusion planning, classifier-guided sampling, semi-autoregressive generation with causal noise schedules, and Monte Carlo Tree Diffusion (MCTD), and it assumes familiarity with tree search and offline goal-conditioned reinforcement learning.

One-sentence scope: The paper proposes Compositional Monte Carlo Tree Diffusion (C-MCTD), an inference-time framework that searches over compositions of whole diffusion-generated plans rather than within a single plan, instantiated as three variants — Online Composer, Distributed Composer, and Preplan Composer — and evaluated on OGBench maze navigation, multi-cube robot arm manipulation, and partially observable visual maze tasks.

What This Paper Is About

Diffusion planners generate a trajectory as a coherent whole, but Monte Carlo Tree Diffusion (MCTD) remains bounded by the trajectory lengths seen during training, and the usual fix — periodic replanning — makes decisions using only local information, which can lead to dead ends or suboptimal paths. This paper asks how to let MCTD plan globally, across entire compositions of plans, so it can produce plans far longer than its training horizon without retraining. The answer is C-MCTD: a framework that stitches individual plans into a search tree, uses guidance sets as meta-actions, and adds two scalable variants that trade parallel search and offline precomputation for lower online cost.

Key Contributions

  1. Compositional Monte Carlo Tree Diffusion (C-MCTD): An inference-time scaling framework that elevates planning from optimization within individual trajectories to reasoning over complete plan compositions, addressing the myopic planning limitation of replanning-based approaches.
  2. Online Composer (OC): The foundational variant, combining three components — stitching-based tree extension that connects the terminal state of a parent plan to the starting state of a newly generated plan; guidance sets as meta-actions, which generalize MCTD's single guidance level into a configurable set; and fast replanning for simulation, which rapidly completes remaining trajectory segments using accelerated denoising.
  3. Distributed Composer (DC) and Preplan Composer (PC): Two variants targeting the exponential growth of the candidate plan space — DC parallelizes tree growth from multiple starting positions (cluster centroids from the training dataset) and connects trees only when a plan reaches another tree's origin; PC pre-builds a reusable plan graph offline using position-specific guidance and then performs only short online connecting searches.
  4. Comprehensive validation: Experiments showing C-MCTD significantly outperforms MCTD-based replanning and alternative long-horizon planning approaches across point and ant maze navigation with extended horizons, multi-cube robot arm manipulation, and partially observable visual maze tasks.

Main Findings

  • Preplan Composer solves the hardest maze: PC reaches 100% success on PointMaze-Giant, compared to 68% for the best baseline (CompDiffuser), on tasks requiring plans roughly 10× longer than the training trajectories (models trained on 100-step segments, planning up to 1000 steps).
  • Baselines collapse as complexity grows: Conventional stitching methods (Replan, DatasetStitch) degrade sharply with maze scale, with most methods reaching 0% success on giant mazes. CompDiffuser performs well on medium and large mazes (100% and 100% on PointMaze) but drops to 68% on PointMaze-Giant and 65% on AntMaze-Giant.
  • Variant strengths differ by regime: On PointMaze, Online Composer scores 93% (medium), 82% (large), and 0% (giant); Distributed Composer scores 100%, 100%, and 26%; Preplan Composer scores 100%, 100%, and 100%. On AntMaze, OC reaches 98%/94%/12%, DC 98%/93%/21%, and PC 94%/94%/75%.
  • Episode-length constraint explains DC's giant-maze weakness: DC's synthesized plans often fail the strict 1000-step limit; relaxing the maximum episode length from 1000 to 2000 steps raised DC's success rate to 86%.
  • Compositional search also wins in efficiency: On PointMaze, run time and plan length for OC were 83.6 s / 91.2 s / 269.8 s and 595.7 / 743.5 / 1000.0 steps across medium, large, and giant; for DC, 26.7 s / 39.1 s / 530.7 s and 493.3 / 608.5 / 974.7 steps; for PC, 11.1 s / 21.5 s / 36.9 s and 143.8 / 256.8 / 451.9 steps.
  • Compositional search beats replanning in manipulation: On multi-cube robot arm tasks, Online Composer with Plan Cache achieved 100% (single), 100% (double), 75% (triple), and 82% (quadruple), while MCTD-Replan dropped from 100% (single) to 24% (quadruple). Diffuser-Replan reached 92%/12%/4%/0% and Diffusion Forcing 100%/18%/16%/0%.
  • Online Composer leads in visual POMDPs: On Visual PointMaze, OC achieved 100% (medium) and 54% (large), versus 90% and 20% for MCTD-Replan, 82% and 0% for MCTD, 66% and 8% for Diffusion Forcing, and 8% and 0% for Diffuser-Replan.
  • Parallel variants underperform in high-dimensional visual settings: DC scored 94% / 26% and PC 96% / 48% on Visual PointMaze medium/large — below OC — because clustering meaningful waypoints in high-dimensional latent spaces proves challenging.
  • A plan cache helps manipulation: For the specialized manipulation tasks, Distributed and Preplan Composers were excluded because parallel tree stitching from random positions is inefficient for precise manipulation sequences; a plan cache storing and retrieving previously generated plans for identical scenarios was used instead.
  • Compute footprint: All experiments ran on 8 NVIDIA RTX 4090 GPUs, 512GB system memory, and a 96-thread CPU. Training each model took about 6 hours, and inference for comprehensive evaluation took up to 1 hour in the most computationally intensive cases.

Methodology in Plain English

MCTD treats planning as a tree search in which each node is a subplan — a segment of a trajectory — and denoising acts as the rollout. C-MCTD changes the unit of search: each node instead holds an entire, fully generated plan, and stitching connects the end of a parent plan to the start of a new one. That makes every expansion extend the horizon, and the tree search chooses which compositions survive, providing global rather than local reasoning.

Three mechanisms support this. Stitching-based tree expansion builds the composition autoregressively. Guidance sets act as meta-actions: instead of a single guidance level ("guide" or "no_guide"), the planner picks among several guidance levels at each composition step, modulating how strongly the guidance function biases generation. Fast replanning approximates the remaining, not-yet-composed part of the trajectory using jumpy denoising that skips denoising steps, so a partial composition can be scored cheaply with the reward function.

Because sequential plan-level search grows exponentially, the paper adds two variants. Distributed Composer starts several trees in parallel from cluster centroids of the training dataset, guides each tree toward task-relevant regions, connects two trees only when a plan from one comes within a small distance threshold of the other's starting position, and then runs a shortest-path algorithm (Dijkstra or A*) over the resulting connectivity graph. Preplan Composer instead builds a plan graph offline using a task-agnostic, position-specific guidance that rewards plans approaching target waypoints; at inference it only has to generate short plans from the start to waypoints and from waypoints to the goal, then applies shortest-path synthesis over the augmented graph.

The evaluation uses the Offline Goal-conditioned RL benchmark (OGBench) following MCTD's setup, reporting mean success rate (%) and planning time (seconds) averaged over 50 runs (5 tasks × 10 seeds). PointMaze uses a heuristic controller and AntMaze a learned value-based policy; the visual maze tasks use 64×64 RGB observations with Variational Autoencoders for latent planning, inverse dynamics models for actions, and positional estimators for guidance. All methods are diffusion planners trained on offline datasets with no environment interaction during training or planning — C-MCTD itself requires no retraining.

Why This Matters

Impact on research. The paper reframes long-horizon planning as a composition problem at inference time rather than a training-data or training-objective problem. Prior work extending plans beyond training length has mostly modified training data (stitching dataset trajectories before training) or introduced specialized training objectives and value functions. C-MCTD is training-free, which makes it a drop-in layer on top of an existing diffusion planner and positions inference-time scaling as an alternative axis for scaling planning capability.

Real-world applications (drawn from the task domains studied):

  • Mobile robot navigation through large, cluttered mazes where the required route is many times longer than any demonstration path.
  • Robot arm manipulation requiring sequential object rearrangement, such as stacking multiple cubes into predefined configurations.
  • Camera-only navigation in partially observable settings, where the agent plans from 64×64 RGB observations without a full state estimate.
  • Offline planning from pre-collected datasets in settings where querying an environment simulator or the physical world is expensive, since diffusion planners here operate without online environment access.

Industry relevance. C-MCTD requires no retraining, so it can extend an already-trained planner. Preplan Composer's offline graph is reusable across many queries within the same environment, converting a one-time preprocessing cost into fast online inference — attractive where a fixed facility, warehouse, or layout is queried repeatedly. The paper's own caveat is that real-time inference speeds suitable for online robotics remain an open gap.

Future Directions

  • Real-time inference: Achieving inference speeds suitable for online robotics is described as a critical avenue for future work, given that C-MCTD's cost comes from searching a vast compositional plan space.
  • Waypoint discovery in high-dimensional latent spaces: The underperformance of Distributed and Preplan Composers versus Online Composer on visual mazes is attributed to the difficulty of clustering meaningful waypoints in high-dimensional latent spaces, which the authors flag as an important direction for visual POMDP planning.
  • Out-of-distribution generalization: The paper states that generalization to entirely novel environments remains difficult, since planners can produce kinematically invalid plans when faced with out-of-distribution states.
  • Stochastic dynamics: Handling stochastic dynamics is described as an open problem, because standard diffusion models may generate an ineffective "averaged" plan rather than a robust, multi-modal policy.
  • Task-dependent variant selection: Because PC's value depends on graph reuse and DC is less efficient for precise sequential dependencies, the paper concludes that the optimal C-MCTD variant is task-dependent.

Target Audience

Researchers and graduate students working on generative planning, diffusion models for decision-making, inference-time scaling, and offline goal-conditioned reinforcement learning — particularly those already familiar with MCTD or with the OGBench benchmark. It is also relevant to practitioners building long-horizon planners for robotics navigation and manipulation who can afford offline preprocessing or parallel search, though the paper's density of tree-search and diffusion formalism makes it a poor entry point for beginners.

Authors’ abstract

Monte Carlo Tree Diffusion (MCTD) integrates diffusion models with structured tree search to enable effective trajectory exploration through stepwise reasoning. However, MCTD remains fundamentally limited by training trajectory lengths. While periodic replanning allows plan concatenation for longer plan generation, the planning process remains locally confined, as MCTD searches within individual trajectories without access to global context. We propose Compositional Monte Carlo Tree Diffusion (C-MCTD), a framework that elevates planning from individual trajectory optimization to reasoning over complete plan compositions. C-MCTD introduces three complementary components: (1) Online Composer, which performs globally-aware planning by searching across entire plan compositions; (2) Distributed Composer, which reduces search complexity through parallel exploration from multiple starting points; and (3) Preplan Composer, which accelerates inference by leveraging cached plan graphs.

Read the original paper