NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

MotionDiffuser: Controllable Multi-Agent Motion Prediction using Diffusion

Chiyu Max Jiang, Andre Cornman, Cheolho Park, Ben Sapp, Yin Zhou, Dragomir AnguelovCVPR 2023

Abstract

We present MotionDiffuser, a diffusion based representation for the joint distribution of future trajectories over multiple agents. Such representation has several key advantages: first, our model learns a highly multimodal distribution that captures diverse future outcomes. Second, the simple predictor design requires only a single L2 loss training objective, and does not depend on trajectory anchors. Third, our model is capable of learning the joint distribution for the motion of multiple agents in a permutation-invariant manner. Furthermore, we utilize a compressed trajectory representation via PCA, which improves model performance and allows for efficient computation of the exact sample log probability. Subsequently, we propose a general constrained sampling framework that enables controlled trajectory sampling based on differentiable cost functions. This strategy enables a host of applications such as enforcing rules and physical priors, or creating tailored simulation scenarios. MotionDiffuser can be combined with existing backbone architectures to achieve top motion forecasting results. We obtain state-of-the-art results for multi-agent motion prediction on the Waymo Open Motion Dataset.

Introduction

Predicting how a group of interacting drivers, cyclists, and pedestrians move together is a significant challenge in autonomous driving. Traditional models often struggle to capture the "joint" nature of these movements, which can lead to unrealistic predictions where agents' paths intersect in physically impossible ways.

MotionDiffuser addresses three critical hurdles in multi-agent motion prediction:

  1. Multimodality: Capturing the diverse range of potential future outcomes, such as a driver choosing to turn or brake.
  2. Joint Reasoning: Modeling interactions where the actions of one agent directly influence others.
  3. Controllability: Providing a mechanism to generate specific scenarios for simulation and testing using differentiable constraints.

Methods

MotionDiffuser utilizes the denoising diffusion paradigm, starting with Gaussian noise and iteratively refining it into realistic trajectories. The framework employs a transformer-based denoiser that uses cross-attention to incorporate scene context (road maps, traffic lights, agent history) and self-attention between agents to model their interactions.

Overview of the MotionDiffuser framework showing the training and inference pipelines.

A key technical contribution is the use of Principal Component Analysis (PCA) to compress trajectories. By diffusing in a lower-dimensional PCA space rather than raw coordinates, the model naturally produces smoother, more physically plausible paths while reducing computational overhead. Furthermore, the model's architecture is permutation-invariant, ensuring consistent predictions regardless of agent ordering.

Guided Sampling and Results

The "secret sauce" of MotionDiffuser is its constrained sampling framework. Because the model predicts a denoised version of the trajectory at every step, researchers can inject guidance signals via differentiable cost functions. This allows for "steering" the diffusion process toward specific outcomes, such as reaching a particular waypoint or maintaining a safe distance from other agents.

Comparison between unguided and guided multi-agent motion prediction.

MotionDiffuser achieved state-of-the-art results on the Waymo Open Motion Dataset (WOMD) Interactive split, reaching a minSADE of 0.86m. Qualitative results demonstrate its ability to generate diverse, non-colliding futures. In experiments with "Attractor" constraints, the model forced agents to reach specific goals with near-zero error while maintaining high realism.

Conclusion

While MotionDiffuser offers superior accuracy and controllability, the iterative nature of diffusion models results in slower inference speeds compared to one-shot regression models. Future research may focus on optimizing these models for real-time applications, potentially allowing autonomous vehicles to "imagine" and plan safe paths through complex traffic by guiding the diffusion process in real-time.

Summary updated

BibTeX
@inproceedings{jiang2023motiondiffuser,
  author = {Chiyu Max Jiang and Andre Cornman and Cheolho Park and Ben Sapp and Yin Zhou and Dragomir Anguelov},
  title = {{MotionDiffuser: Controllable Multi-Agent Motion Prediction using Diffusion}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2023},
  url = {https://openreview.net/forum?id=2MOrM1feF5},
}
Figure