Abstract
UniAD is the first comprehensive end-to-end autonomous driving framework that integrates the full stack of driving tasks—tracking, mapping, motion forecasting, occupancy prediction, and planning—into a single transformer-based network. By prioritizing planning as the ultimate objective and using a unified query-based interface to connect modules, it significantly reduces error accumulation and outperforms state-of-the-art modular and multi-task systems.
Introduction: The Shift to Planning-Oriented Design
Traditional autonomous driving (AD) systems are typically modular: perception identifies objects, prediction guesses where they will go, and planning decides the car's path. This "sequential" design suffers from two major issues: information loss and error accumulation. If the perception module makes a small error in a bounding box, that error propagates and magnifies through the prediction and planning stages. Furthermore, in Multi-Task Learning (MTL) setups, different "heads" often compete for the same features, leading to "negative transfer" where improving one task hurts another.
The authors argue that a system should be planning-oriented. Every intermediate task (like tracking or occupancy forecasting) should exist specifically to facilitate the final goal: safe and efficient driving.
The UniAD Architecture
The core of UniAD is its Unified Query-based Design. Instead of passing discrete data like bounding box coordinates between modules, UniAD uses "queries" (high-dimensional feature embeddings) as the interface between every node in the pipeline. This "soft" interface allows the system to carry more nuanced information about an agent's state than a simple 3D box, mitigating compounding errors.
The architecture consists of five key transformer-based modules:
- TrackFormer: Jointly performs detection and multi-object tracking using "track queries" to maintain agent identity over time.
- MapFormer: Performs online panoptic mapping to understand road elements like lanes and dividers.
- MotionFormer: Captures interactions between agents and the map to forecast multimodal future trajectories.
- OccFormer: Predicts future occupancy grids while preserving agent identity, helping the planner understand which specific agent might block which space.
- Planner: A simple attention-based module that uses the ego-vehicle query to predict future waypoints, optimized to avoid the regions predicted by OccFormer.
Key Insights and Results
UniAD was evaluated on the nuScenes benchmark, a large-scale dataset for complex urban driving. A key insight from the study is the necessity of intermediate tasks; the authors proved that "tabula-rasa" end-to-end planning—going straight from images to a path—is insufficient for safety and interpretability.
UniAD achieved a "clean sweep" on the benchmark, outperforming previous state-of-the-art (SOTA) methods across all metrics:
- Planning: Reduced planning L2 error by 51.2% and collision rate by 56.3% compared to the previous best (ST-P3).
- Motion Forecasting: Reduced prediction errors (minADE) by 38.3% compared to vision-based SOTA.
- Tracking: Improved tracking accuracy (AMOTA) by 6.5% over MUTR3D.
- Mapping: Achieved a +7.4 IoU improvement in lane segmentation compared to BEVFormer.
Limitations and Future Work
While UniAD is a massive leap forward, it faces challenges in computational intensity. The "Large" version of the model runs at roughly 1.8 FPS, which is below the real-time requirements for high-speed driving. Additionally, training five major modules simultaneously requires a stable two-stage process. Future work will likely focus on making the system more lightweight for onboard deployment and incorporating additional tasks like depth estimation.
Summary updated