← Paper Digest

Spatially Conditioned Trajectory Diffusion

Yefim Nudelman, Dor Atzmon, Tom Tirer

November 2026

TL;DR A diffusion trajectory planner whose U-Net cross-attends to 256 spatial occupancy-map tokens, so trajectories avoid obstacles without sampling-time cost guidance. On 15,000 held-out 2D tasks it reaches 90.5% single-sample success versus 82.3% for MPD, and inside conflict-based search it solves 60.3% of 15-robot tasks versus 15.1% for MMD.

What they do

Diffusion motion planners such as MPD learn a trajectory prior and push samples away from obstacles with cost gradients at sampling time, so the map never conditions the denoiser itself. SCTD feeds the occupancy map into the denoiser as spatial tokens. One model, trained on single-robot demonstrations across procedurally generated 2D maps, then plans for every robot inside conflict-based search (XECBS, taken from MMD).

How it works

  • Map tokens. A two-layer CNN turns a 64x64 occupancy grid into a 16x16x64 feature grid, which is flattened with learned positional embeddings into 256 tokens. The CNN is first pretrained to regress signed distance to obstacles.
  • Denoiser. A temporal U-Net over 64-waypoint trajectories cross-attends to the map tokens in every stage. Hard inpainting fixes start and goal at every step; there is no obstacle-cost guidance or smoother.
  • Data. 44,984 RRTConnect-GPMP2 demonstrations on 4,500 maps of disk and rectangle obstacles.
  • Multi-robot. XECBS finds conflicts between robots, adds constraints and replans the affected robot with the same model, using inter-agent guidance during sampling.

Results

  • On 15,000 held-out tasks, single-sample success is 90.5% vs 82.3% for MPD, and 72.7% vs 33.8% on hard detours. The maximum local turn angle drops from 125.6° to 17.8° at the same mean path length.
  • Replacing the spatial tokens with a global map embedding drops hard-detour success from 73.7% to 2.6%. Supplying the wrong map cuts the collision-free rate from 87.3% to 7.6%.
  • With obstacles added to MMD’s Conveyor and Highways maps, which SCTD never trained on, at least one of 64 samples succeeds on 99.5% or more of tasks in every scene; MPD falls to 7.0% in one.
  • Team success within 180 s is 96.7% vs 67.8% for MMD with 3 robots and 60.3% vs 15.1% with 15. SMD reaches 33.3%, 3.7% and 0% with 3, 6 and 9 robots.

Limitations

All experiments use disk robots in a 2D simulated workspace; there are no real-robot tests. On the unmodified Conveyor map, SCTD’s single-sample success (65.5%) is well below MPD’s (98.5%). Team success still falls to 60.3% with 15 robots.

Figures

From Figure 1: Training and inference. A CNN turns the occupancy map into spatial tokens that a temporal U-Net attend...
From Figure 1: Training and inference. A CNN turns the occupancy map into spatial tokens that a temporal U-Net attends to while predicting the noise added to expert trajectories; endpoints are fixed by inpainting. At inference the same tokens condition every reverse step, with no obstacle-cost guidance or smoother.
From Figure 3: First-sample trajectories from SCTD and MPD on a held-out mild obstacle-dependent task (top) and a har...
From Figure 3: First-sample trajectories from SCTD and MPD on a held-out mild obstacle-dependent task (top) and a hard-detour task (bottom). Green paths are feasible, red paths collide, and a red cross marks the first collision.
From Figure 4: First samples from SCTD (top) and MPD (bottom) in the Highways environment, as originally laid out and...
From Figure 4: First samples from SCTD (top) and MPD (bottom) in the Highways environment, as originally laid out and with an added block or a blocked lane. Red crosses mark collisions.
From Figure 5: Multi-robot plans for teams of 6, 9 and 15 robots, with MMD above and SCTD below. Colored paths are ro...
From Figure 5: Multi-robot plans for teams of 6, 9 and 15 robots, with MMD above and SCTD below. Colored paths are robots whose MMD trajectories hit obstacles (red markers); SCTD routes them around.
Abstract

Multi-Robot Motion Planning (MRMP) requires trajectories that avoid environmental obstacles and collisions between robots in a shared workspace. Diffusion-based planners often address obstacle avoidance through sampling-time guidance, while some conditioned approaches aggregate map geometry into a global representation. We present Spatially Conditioned Trajectory Diffusion (SCTD), a map-conditioned trajectory generator for multi-robot planning. SCTD retains multiple position-aware occupancy tokens accessed through cross-attention throughout a temporal U-Net, with hard endpoint inpainting enforcing start and goal states. One model trained on single-robot demonstrations across procedural environments generates obstacle-aware trajectories without sampling-time obstacle-cost guidance. High-level Conflict-Based Search (CBS) coordinates these trajectories through constrained replanning, retaining inter-agent guidance during sampling and reusing the model across workspace layouts and team sizes. Experiments assess single-robot success and trajectory quality, generalization to unfamiliar layouts with added obstacles, and coordinated multi-robot planning. On 15,000 held-out tasks, SCTD achieves higher success than the evaluated guided diffusion baseline, with the largest gains on hard-detour tasks, while trajectory-quality comparisons show smoother trajectories. Conditioning ablations show higher success with spatial tokens than with a global map embedding, and map-replacement tests demonstrate dependence on the supplied geometry. The resulting multi-robot system achieves higher team success than the compared diffusion baselines, with experiments covering teams of up to 15 robots.

Summaries are written automatically from each paper's text. Figures and videos come from the paper and its project page; all credit goes to the authors.