LANGTRAJ: Diffusion Model and Dataset for Language-Conditioned Trajectory Simulation
Wei-Jer Chang, Wei Zhan, Masayoshi Tomizuka, Manmohan Chandraker, Francesco Pittaluga
TL;DR
LangTraj addresses scalable autonomous vehicle testing by enabling controllable simulation via natural language prompts. It introduces a language-conditioned diffusion model for joint multi-agent trajectories and a large interactive dataset, InterDrive, to learn semantics of agent interactions, complemented by a novel closed-loop training strategy to reduce compounding errors. The approach achieves realism and language controllability on real-world data and supports safety-critical, text-guided scenario generation, outperforming LLM-guided baselines in key settings. Together, LangTraj offers a flexible, scalable framework for counterfactual AV testing and language-based scenario design.
Abstract
Evaluating autonomous vehicles with controllability enables scalable testing in counterfactual or structured settings, enhancing both efficiency and safety. We introduce LangTraj, a language-conditioned scene-diffusion model that simulates the joint behavior of all agents in traffic scenarios. By conditioning on natural language inputs, LangTraj provides flexible and intuitive control over interactive behaviors, generating nuanced and realistic scenarios. Unlike prior approaches that depend on domain-specific guidance functions, LangTraj incorporates language conditioning during training, facilitating more intuitive traffic simulation control. We propose a novel closed-loop training strategy for diffusion models, explicitly tailored to enhance stability and realism during closed-loop simulation. To support language-conditioned simulation, we develop Inter-Drive, a large-scale dataset with diverse and interactive labels for training language-conditioned diffusion models. Our dataset is built upon a scalable pipeline for annotating agent-agent interactions and single-agent behaviors, ensuring rich and varied supervision. Validated on the Waymo Open Motion Dataset, LangTraj demonstrates strong performance in realism, language controllability, and language-conditioned safety-critical simulation, establishing a new paradigm for flexible and scalable autonomous vehicle testing. Project Website: https://langtraj.github.io/
