Tree-Guided Diffusion Planner

Hyeonseong Jeon, Cheolhong Min, Jaesik Park

TL;DR

Tree-Guided Diffusion Planner (TDP) is a zero-shot framework that enables diffusion models to solve complex control tasks with non-convex rewards and non-differentiable constraints. By framing planning as a bi-level tree search—combining broad exploration via repulsive "particle guidance" with fine-grained refinement—it identifies global optima in "messy" reward landscapes without requiring any task-specific training or expert demonstrations.

What Problem Does This Paper Address?

Diffusion models have become a powerhouse for generating realistic trajectories in robotics and control. However, "guiding" these models to satisfy specific test-time goals remains a major hurdle.

Standard approaches typically use gradient guidance, which works beautifully if your reward function is "convex" (like a single smooth hill leading to a goal). But real-world planning is rarely that simple.

Conceptual illustration of gradient guidance limitations in non-convex reward landscapes.

It often involves:

  1. Non-convex landscapes: Multiple "peaks" where a planner might get stuck in a local optimum (e.g., a robot arm choosing a nearby but suboptimal spot to place a block).
  2. Non-differentiable rules: Constraints that don't have a smooth gradient (e.g., "you must pick up the gold key before exiting the maze").
  3. Out-of-distribution (OOD) settings: Tasks that differ significantly from the training data.

Existing "supervised" planners can handle some of this, but they require expensive task-specific training. TDP aims to solve these "hard" planning problems in a zero-shot manner, using only a pretrained diffusion model and a test-time reward signal.

Methods

To overcome the limitations of standard guidance, TDP introduces a bi-level sampling process that treats planning as a structured tree search:

  1. Parent Branching (Exploration): Instead of pulling all samples toward the highest reward immediately, TDP uses Particle Guidance (PG). This technique introduces "repulsive forces" between trajectory samples, pushing them apart to ensure the planner explores a wide variety of potential paths. This prevents "mode collapse," where all samples converge on the same local (and often wrong) optimum.
  2. Sub-Tree Expansion (Exploitation): Once a diverse set of "parent" trajectories is established, TDP picks branching points and generates "child" trajectories. These are refined using fast conditional denoising to align closely with the specific task objectives.
  3. Autonomous State Decomposition: A key technical innovation is how TDP handles state vectors. It automatically calculates gradients to distinguish between observation states (features affected by the reward, like block positions) and control states (features governing physics, like robot joint angles). It then applies guidance only where it's needed, preserving the physical feasibility of the motion.

Datasets and Environments

The authors evaluated TDP on three distinct and challenging environments:

  • Maze2D Gold-picking: A navigation task where the agent must deviate from the shortest path to collect "gold" before reaching the exit. This introduces a non-differentiable "if-then" constraint.
  • KUKA Robot Arm Manipulation: Includes standard Pick-and-Place (PNP) and a new, more difficult Pick-and-Where-to-Place (PNWP) task. In PNWP, the reward landscape has a broad local peak and a narrow global peak, specifically designed to trap naive planners.
  • AntMaze Multi-goal Exploration: A high-dimensional locomotion task requiring the agent to visit four goals in a specific priority order.

Key Results

TDP consistently outperformed state-of-the-art zero-shot planners like MCSS and TAT across all tested environments.

Comparison of trajectories generated by Diffuser baselines and TDP in the Maze2D gold-picking task.
  • Maze2D: In the "Large" maze gold-picking task, TDP achieved a score of 47.6, significantly higher than the baseline Diffuser (4.3) and MCSS (25.0). As seen in the trajectories above, TDP successfully navigates to the intermediate gold targets before exiting.
  • Robot Arm: In the challenging PNWP task, TDP nearly doubled the performance of the next best baseline (66.81 vs. 36.24 for MCSS+SS).
  • AntMaze: TDP showed an 11% improvement in sequence matching (visiting goals in the right order) compared to Monte Carlo sampling methods, while also being more time-efficient.

Key Insights

  • Repulsion is as Vital as Attraction: In the early stages of planning, pushing samples away from each other (diversity) is more important than pulling them toward the reward. This "repulsive" exploration is what allows TDP to find narrow global optima that other planners miss.
  • The "Off-Subspace" Trap: Standard gradient guidance often pushes diffusion models to generate trajectories that satisfy the reward but are physically impossible (they drift off the "data manifold"). TDP avoids this by initializing from unconditional samples that are already "on-subspace."
  • Zero-Shot Scalability: Because TDP doesn't require training a value estimator or a task-specific classifier, it can be deployed immediately on new tasks as long as a reward function can be defined.

Limitations and Future Work

The primary trade-off for TDP’s performance is computational cost. The bi-level tree search and the pairwise distance calculations required for particle guidance add significant overhead compared to simple single-shot sampling.

The authors suggest that future work could focus on developing more efficient search strategies to reduce the "time budget" per plan, and integrating "learned priors" to help the parent branching phase focus on even more promising regions of the trajectory space without losing diversity.

Summary updated

BibTeX
@inproceedings{jeon2025tree,
  author = {Hyeonseong Jeon and Cheolhong Min and Jaesik Park},
  title = {{Tree-Guided Diffusion Planner}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2025},
  url = {https://openreview.net/forum?id=I1C0a01BZu},
}
Figure