SMART (Scalable Multi-agent Real-time Simulation) transforms autonomous driving motion generation into a next-token prediction task, much like a Large Language Model (LLM). By tokenizing both maps and agent trajectories, it achieves state-of-the-art realism on the Waymo Sim Agents leaderboard, demonstrates predictable power-law scaling, and exhibits impressive zero-shot generalization across different driving datasets.
The Challenge of Traditional Motion Generation
Traditional motion generation in autonomous driving—used for planning, prediction, and simulation—typically relies on encoder-decoder architectures that regress to continuous trajectory distributions (like Gaussian Mixture Models).
This approach faces three major hurdles:
- Interaction Gaps: They often fail to model the complex, step-by-step future interactions between multiple agents, leading to unrealistic "ghost" collisions or overly passive behavior.
- Limited Diversity: The number of possible future "modes" is often capped by the number of pre-defined intention queries.
- The Domain Gap: Models trained on one city or dataset (e.g., NuPlan) usually fail miserably when tested on another (e.g., Waymo) because they haven't learned a "universal" representation of driving.
Methodology: Driving as a Language
The authors introduce a paradigm shift: treating driving as a language by modeling vectorized map and agent trajectory data into discrete sequence tokens.
- Discrete Tokenization: Instead of continuous coordinates, SMART discretizes agent trajectories into "motion tokens" using k-disks clustering. Crucially, it also tokenizes vectorized maps (road segments) into "road tokens" based on their topological connections. Treating the road network as a sequence based on predecessor-successor links allows the model to "read" the map just like it reads a trajectory.
- Noise Injection: To combat "compounding errors" (where a small mistake in one frame leads to a total wreck ten frames later), the authors perturb tokens during training. This teaches the model how to recover from slightly off-distribution states during autoregressive inference.
- GPT-Style Architecture & Factorized Attention: SMART uses a decoder-only transformer. It processes a sequence of map and historical motion tokens to predict the next motion token in the series. To handle the massive amount of data, the model uses a "MotionNet" decoder that alternates between temporal self-attention (how one agent moves over time), agent-interaction attention (how agents react to each other), and map-agent cross-attention (how agents follow the road).
By turning motion prediction into a classification task (picking the next token from a vocabulary), the model can represent arbitrary, complex probability distributions without needing to assume a specific mathematical shape.
Key Results and Scaling Laws
The model was trained and evaluated using the Waymo Open Motion Dataset (WOMD), NuPlan, and a proprietary dataset, combining to create a massive 1-billion-token training set to validate scaling laws.
- Leaderboard Dominance: SMART ranked 1st on the Waymo Open Motion Dataset (WOMD) Sim Agents leaderboard (both 2023 and 2024 versions).
- Realism: It achieved a Realism Meta-metric of 0.7614, significantly outperforming previous state-of-the-art models like MVTE and Trajeglish.
- Efficiency: Despite being a transformer, SMART is fast. The 7M parameter model runs a single-frame inference in ~17ms, while the 101M model takes ~46ms, making it viable for real-time interactive simulations.
- Zero-Shot Performance: The paper shows that a model trained only on NuPlan achieved a competitive score of 0.72 on Waymo data. This suggests that with enough data and the right tokenization, "driving behavior" becomes a transferable skill rather than a dataset-specific overfit.
- Scaling Laws Apply: Just like LLMs, SMART follows a power-law scaling trend. As parameters increase (from 1M to 101M) and data scales (up to 1B tokens), the loss drops predictably, suggesting that simply "going bigger" will continue to yield better driving simulations.
Limitations and Future Work
While SMART represents a major leap forward, it has limitations. The current k-disks tokenization loses some fine-grained geometric detail; moving to a more advanced tokenizer (like a VQ-VAE) could improve kinematic precision. Furthermore, while SMART is an elite "Sim Agent" (simulating others), its performance as a primary "Planner" (driving the ego-vehicle in the real world) still needs extensive validation. Finally, the computational cost remains high: training the 101M model on 1B tokens took a full week on 32 NVIDIA V100 GPUs, highlighting the resource barrier for scaling these models further.
Summary updated