A Diffusion-Model of Joint Interactive Navigation

Matthew Niedoba, Jonathan Wilder Lavington, Yunpeng Liu, Vasileios Lioutas, Justice Sefas, Xiaoxuan Liang, Dylan Green, Setareh Dabiri, Berend Zwartsenberg, Adam Scibior, Frank Wood

Overview

Testing autonomous vehicles (AVs) in simulation requires traffic participants that behave realistically and interact naturally. While replaying real-world logs is common, it is limited by the rarity of safety-critical "edge cases." Existing trajectory forecasting models often focus on predicting a single "ego" agent or produce deterministic outputs for multiple agents. These approaches struggle to capture the joint distribution of a whole scene, leading to unrealistic multi-agent interactions (e.g., agents ignoring each other or colliding).

To address this, researchers introduce DJINN (Diffusion-Model of Joint Interactive Navigation), a diffusion-based generative model that produces realistic, multi-agent traffic scenarios by diffusing the trajectories of all agents simultaneously. By leveraging flexible conditioning and test-time guidance, it can perform diverse tasks—from standard forecasting to goal-directed sampling and scenario editing—achieving state-of-the-art performance on joint trajectory metrics.

Methods: Joint Diffusion and Flexible Conditioning

DJINN treats scenario generation as a denoising process. Unlike per-agent models, DJINN diffuses the states (position and heading) of all agents in a scene together. This allows the model to learn the complex dependencies and social "negotiations" between drivers.

A core technical component is Flexible Conditioning via Masks. The model is conditioned on an observation mask. By changing this mask at test-time, the same model can perform different tasks: predicting the future from the past (forecasting), filling in gaps (imputation), or increasing the resolution of sparse paths (upsampling).

Observation masks (blue=observed, orange=generated) enable DJINN to perform various tasks like prediction, goal conditioning, and imputation.

The model also employs robust guidance mechanisms:

  • Classifier-free guidance: Used to steer agents toward specific goals without needing an external model.
  • Classifier guidance: Enables conditioning on high-level behaviors (like "cut-ins") by using a small auxiliary classifier trained on noisy states.

These features are supported by a transformer-based backbone network that factorizes attention across time and agents, ensuring both temporal smoothness and realistic spatial interactions. It also incorporates roadgraph (map) information via cross-attention.

Key Insights and Capabilities

  • Jointness is Key: Modeling the entire scene's distribution at once is significantly more effective for simulation than combining individual agent predictions. It naturally prevents "ghost" collisions and unrealistic overlaps.
  • The "Control Knob" of Guidance: The guidance weight ($\lambda$) acts as a precision-diversity trade-off. A higher weight forces agents to hit specific goals precisely, while a lower weight allows for more diverse, exploratory driving paths.
Varying the guidance weight ($\lambda$) controls the trade-off between path diversity and strict adherence to goal waypoints.
  • Scenario Editing: Because DJINN is a diffusion model, it supports "stochastic differential editing." A user can manually "nudge" an agent's path in a recorded log, and the model will realistically adjust the trajectories of all other agents to maintain a plausible, interactive scene.

Datasets and Results

The model was trained and evaluated on two major industry-standard datasets: Argoverse (large-scale motion forecasting in urban environments) and INTERACTION (complex, highly interactive behaviors in scenarios like roundabouts and unsignalized intersections).

Key Results: * State-of-the-Art Joint Performance: On the Argoverse validation set, DJINN outperformed the Scene Transformer on joint metrics, reducing minSceneADE from 1.019 to 0.895 and minSceneFDE from 1.835 to 1.758. * Ego-Forecasting: While optimized for joint scenes, DJINN remains highly competitive on standard single-agent forecasting benchmarks. * Behavior Synthesis: The model successfully generated synthetic "cut-in" maneuvers—a critical behavior for AV safety testing—by using a behavior-class classifier to guide the diffusion process.

Limitations and Future Work

Like most diffusion models, DJINN requires multiple iterative steps (the authors used 50) to generate a sample. This makes it slower than "one-shot" models, though techniques like consistency models or distillation could mitigate this. Additionally, the current implementation handles a fixed number of agents and time steps; scaling to very long-duration scenarios or extremely crowded environments remains a challenge. Finally, while the model uses map data, more sophisticated roadgraph encodings could further improve the adherence of generated paths to complex lane geometries.

Summary updated

BibTeX
@inproceedings{niedoba2023diffusion,
  author = {Matthew Niedoba and Jonathan Wilder Lavington and Yunpeng Liu and Vasileios Lioutas and Justice Sefas and Xiaoxuan Liang and Dylan Green and Setareh Dabiri and Berend Zwartsenberg and Adam Scibior and Frank Wood},
  title = {{A Diffusion-Model of Joint Interactive Navigation}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2023},
  url = {https://openreview.net/forum?id=2yXExAl0FW},
}
Figure