Abstract
This paper presents DriveTransformer, a unified, parallel Transformer framework designed for scalable end-to-end autonomous driving. Unlike traditional modular-sequential pipelines that rely on expensive dense Bird’s Eye View (BEV) representations, DriveTransformer treats all driving tasks—mapping, detection, prediction, and planning—as parallel queries. These queries interact directly with raw sensor data and temporal history through a stack of unified Transformer blocks. Evaluated on the Bench2Drive and nuScenes benchmarks, DriveTransformer achieves state-of-the-art performance while maintaining high computational efficiency and training stability.
Rethinking the Autonomous Driving Pipeline
Most current end-to-end autonomous driving (E2E-AD) systems follow a rigid, sequential hierarchy: first perceive the world, then predict agent movements, and finally plan a path. This "modular-sequential" design has three major flaws: cumulative error propagation where perception mistakes amplify in the planning stage; training instability requiring complex multi-stage recipes; and computational bottlenecks caused by the construction of dense BEV grids that scale poorly for long-range sensing.
DriveTransformer addresses these issues by ditching the sequential pipeline in favor of a pure Transformer paradigm. By treating tasks as parallel queries, the model achieves better training stability and efficiency while enabling natural task relations.
The DriveTransformer Architecture
The DriveTransformer architecture replaces the complex hierarchical pipeline with a stack of unified Transformer blocks. The framework is built upon three core pillars:
- Task Parallelism: Instead of a sequence, the model uses three types of "Task Queries" (Agent, Map, and Ego/Planning). In every Transformer block, these queries interact via Task Self-Attention (TSA). This allows the model to learn synergies—like "planning-aware perception"—naturally without manual ordering.
- Sparse Representation: Rather than building a dense BEV grid, task queries interact directly with raw multi-view image features using Sensor Cross-Attention (SCA). The use of 3D Position Encodings maps image pixels to 3D space, avoiding the gradient vanishing issues common in dense BEV encoders.
- Streaming Processing: For temporal memory, the model maintains a First-In-First-Out (FIFO) queue of past task queries. Current queries look back at this history via Temporal Cross-Attention (TCA), which is significantly more memory-efficient than storing massive history BEV feature maps.
The entire system is trained in a single stage, using standard DETR-style Hungarian matching and winner-take-all losses for multi-modal planning, removing the need for expert feature distillation.
Experimental Results and Insights
DriveTransformer was evaluated on Bench2Drive, a challenging closed-loop simulator, and nuScenes, the industry-standard open-loop dataset. To facilitate faster research iterations, the authors also introduced Dev10, an efficient subset of Bench2Drive.
Key Performance Metrics
- State-of-the-Art (SOTA): On the Bench2Drive leaderboard, DriveTransformer-Large achieved a Driving Score of 63.46, nearly 40% higher than previous leaders like UniAD-Base (45.81).
- Efficiency: The "Base" version runs at 139.6ms latency, maintaining high FPS compared to sequential models that struggle with the overhead of BEV construction.
- Robustness: In stress tests involving Gaussian noise and simulated camera failures, DriveTransformer showed significantly less performance degradation than BEV-based competitors.
Synergy via Attention
A major insight of this work is that a dense BEV grid is not strictly necessary for high-performance driving. By letting sparse queries "probe" raw sensor data directly, the model mimics human driving behavior, where attention is focused on specific objects based on intended pathing. This parallel approach allows the planning query to influence perception queries at every layer.
Conclusion
DriveTransformer demonstrates that a unified, "BEV-less" Transformer architecture can overcome the limitations of traditional sequential pipelines. While the unified approach leads to some task entanglement—making it harder to debug individual components without retraining—the gains in scalability, efficiency, and driving performance represent a significant step forward for end-to-end autonomous systems.
Summary updated