TL;DR
Spatially Conditioned Trajectory Diffusion (SCTD) is a novel generative model for robot motion planning that "sees" its environment through a grid of spatial tokens. By integrating map geometry directly into the diffusion process via cross-attention, it generates smooth, obstacle-aware trajectories without the need for computationally expensive sampling-time guidance, significantly outperforming existing baselines in complex multi-robot scenarios.
What Problem Does This Paper Address?
Multi-Robot Motion Planning (MRMP) is a classic "double-whammy" challenge: robots must navigate around static environmental obstacles while simultaneously avoiding collisions with each other.
Current diffusion-based planners typically handle obstacles in one of two ways. Some use sampling-time guidance, which essentially "nudges" the trajectory away from obstacles using cost-function gradients during every step of the denoising process. This is slow and often results in jagged, unnatural paths. Others use global map embeddings, compressing the entire workspace into a single vector, which often loses the fine-grained spatial detail needed to navigate tight corners or complex detours.
SCTD aims to bridge this gap by creating a model that is inherently aware of the workspace geometry, allowing it to "route" trajectories naturally through free space.
Methods
The core innovation of SCTD lies in how it represents and queries the environment:
- Spatial Map Tokens: Instead of a single vector, a convolutional encoder transforms a 2D occupancy grid into a 16x16 grid of "spatial tokens." Each token contains features describing a specific region of the workspace.
- Cross-Attention Architecture: The model uses a temporal U-Net as its denoiser. Throughout the network, trajectory features use cross-attention to query these spatial tokens. This allows the model to "look" at specific parts of the map relevant to the current segment of the path it is generating.
- Two-Stage Training:
- Stage 1: The map encoder is pretrained to predict Signed Distance Functions (SDF). This forces the encoder to learn a rich geometric representation of the obstacles.
- Stage 2: The encoder and the diffusion model are trained jointly on expert trajectories (generated via RRTConnect and optimized with GPMP2).
- Multi-Robot Coordination: For multi-robot tasks, SCTD is plugged into a high-level Conflict-Based Search (CBS) framework. While the model handles static obstacles through its internal conditioning, it uses lightweight inter-agent guidance to resolve conflicts between robots.
Datasets
The authors evaluated SCTD using several benchmarks:
- Procedural Environments: A large-scale dataset of 45,450 maps containing random disks and rectangles, used for training and primary evaluation.
- Held-out Tasks: 15,000 tasks on 500 maps never seen during training.
- Out-of-Distribution (OOD) Scenes: The model was tested on the "Conveyor" and "Highways" environments from the MMD paper, but with new, unseen obstacles added to block standard routes.
Key Insights and Ideas
- Spatial Awareness > Global Compression: The "aha moment" is that maintaining the spatial structure of the map (via tokens) is far more effective than compressing it. An ablation study showed that SCTD’s spatial tokens achieved a 73.7% success rate on hard detours, while a global embedding model managed only 2.6%.
- Conditioning vs. Guidance: By making the model map-aware internally, the authors could disable static-obstacle guidance. This is the "secret sauce" for trajectory quality; because the model isn't being "pushed" by gradients, it produces much smoother, more natural-looking paths.
- Zero-Shot Generalization: Even though the model was trained on simple procedural maps, it generalized remarkably well to complex OOD environments (like the Highways scene) simply by being provided with the updated occupancy grid.
Key Results
- Higher Success Rates: On 15,000 held-out tasks, SCTD achieved a 90.5% success rate on the first sample, compared to 82.3% for the popular Motion Planning Diffusion (MPD) baseline.
- Hard Detours: The performance gap widened on difficult tasks. On "hard-detour" scenarios, SCTD’s success rate was 72.7% vs. MPD’s 33.8%.
- Superior Smoothness: SCTD trajectories are significantly smoother. The average maximum turn angle for SCTD was 17.8°, whereas MPD (relying on guidance) produced much sharper turns averaging 125.6°.
- Multi-Robot Scaling: When integrated with CBS, SCTD outperformed both MMD and SMD baselines across all team sizes, successfully planning for teams of up to 15 robots.
Limitations and Future Work
- Fixed Horizon: The current model generates trajectories with a fixed length of 64 waypoints. This might be inefficient for very short paths or insufficient for extremely long, winding ones.
- 2D Constraints: The evaluation was limited to 2D planar workspaces. Extending this to 3D (e.g., for drones) would require 3D spatial tokens (voxels), which would increase computational complexity.
- Static Map Assumption: While the model handles new obstacles well, it assumes the map is provided as a static occupancy grid at the start of planning. Integrating real-time sensor data (like point clouds) directly into the spatial tokens is a promising future direction.
Summary updated