TL;DR
UniMotion is a unified framework that breaks down the silos between three critical autonomous driving tasks: motion simulation, trajectory prediction, and ego-planning. By using a single decoder-only Transformer architecture and a "joint training" strategy, the model learns shared representations of traffic dynamics, allowing it to achieve state-of-the-art performance across all three domains simultaneously.
What Problem Does This Paper Address?
In the world of autonomous driving (AD), researchers typically treat simulation (generating diverse "what-if" scenarios), prediction (forecasting where others will go), and planning (deciding where the car should go) as separate engineering problems.
This fragmentation is inefficient. Simulation models prioritize diversity, while prediction models prioritize accuracy. However, all three tasks rely on the same fundamental "common sense": understanding how agents interact, how road geometry dictates movement, and how behavior evolves over time. Existing specialized models cannot easily share this knowledge, leading to systems that are hard to scale and miss out on the mutual benefits of multi-task learning.
Methods
To address these silos, the authors propose UniMotion, a framework inspired by the success of Large Language Models (LLMs).
The framework is built on several core pillars:
- Architecture: It uses a GPT-style, decoder-only Transformer. To handle the complexity of driving, it employs "factorized attention," which separately processes time, agent-to-map interactions, and agent-to-agent interactions.
- Tokenization: Much like words in a sentence, trajectories and map polylines are converted into discrete "tokens" using a learned vocabulary. This standardizes the input regardless of the specific task.
- Joint Training: This is the core innovation. The model is trained on two objectives at once:
- Next-Token Prediction (NTP): Predicting the next "chunk" of a trajectory (ideal for simulation).
- Long-range Future Regression (LFR): Predicting the entire future path in one go (ideal for high-accuracy prediction).
- Task-Specific Fine-Tuning: While the base model is a generalist, the authors introduce specialized "tuning" stages:
- RL-based Sim: Uses Reinforcement Learning (specifically Group Relative Policy Optimization) to reward the model for realistic, collision-free driving.
- Multi-modal Pred: Adds a lightweight decoder to generate the multiple possible paths (e.g., "will they turn left or go straight?") required by industry benchmarks.
- Pred2Gen for Planning: A two-stage process where the model first predicts others' paths and then uses those predictions to "generate" the ego-vehicle's plan, fixing the "distribution mismatch" that often plagues planners.
Datasets
The researchers evaluated UniMotion on the Waymo Open Motion Dataset (WOMD), one of the most challenging and diverse real-world driving datasets available. They tested against three specific benchmarks:
- Sim Agents Challenge: For simulation realism.
- WOMD Prediction Leaderboard: For trajectory forecasting accuracy.
- Waymo Planning: For ego-vehicle decision-making.
Key Insights and Ideas
- The Power of Synergy: One of the most striking findings is that training on simulation actually helps prediction. The authors found that the diverse "directions" learned during the generative simulation task act as better targets for the prediction task, leading to higher accuracy than training on prediction alone.
- Generative vs. Discriminative: By combining NTP (generative) and LFR (discriminative/regressive), UniMotion captures both the "possibility space" of driving and the "most likely" outcomes.
- RL for "Driving Etiquette": Standard supervised learning often fails to capture social rules (like not bumping into people). Borrowing "RLHF" techniques from LLMs allows the model to align its simulations with human-like safety constraints.
Key Results
UniMotion demonstrated top-tier performance across the board:
- Simulation: Achieved 1st place on the 2025 Waymo Open Sim Agents Challenge with a Realism Meta Metric of 0.7851.
- Prediction: Reached the top of the WOMD leaderboard with a minADE of 0.5718, outperforming specialized models like MTR++.
- Planning: Significantly outperformed previous methods in planning error. At a 5-second horizon, UniMotion’s planning error was 2.246, compared to 3.335 for the previous state-of-the-art (DIPP).
Limitations and Future Work
Despite its success, the authors noted a few areas for improvement:
- Traffic Rule Integration: The model occasionally struggles with specific rules, like stopping for red lights, because it learns primarily from logged trajectories where such events might be sparse. Future work could involve explicitly encoding traffic laws.
- Precision vs. Diversity: The tokenization process is great for diversity but can sometimes sacrifice a tiny bit of waypoint precision compared to pure regression models.
- Cross-Dataset Generalization: The current study is limited to the Waymo dataset. The authors suggest that exploring how this unified knowledge transfers to entirely different cities or sensor setups is a vital next step.
Summary updated