Abstract
Modern autonomous driving systems are increasingly adopting Autoregressive Transformer architectures, similar to Large Language Models (LLMs), to process environmental data. However, standard patch-based tokenization methods scale poorly as the number of cameras and their resolutions increase. This paper introduces a triplane-based tokenization strategy that decouples the number of visual tokens from the number of input sensors. By representing 3D scenes as three orthogonal feature planes, the proposed method reduces token counts by up to 72% and increases inference speed by 50% while maintaining superior driving performance across large-scale datasets including nuScenes, Waymo, and a massive internal NVIDIA dataset.
Introduction: The Tokenization Bottleneck
In the pursuit of end-to-end autonomous driving, the industry has shifted toward "foundation models" that treat driving as a sequence prediction task. To "read" the world, these models must first convert high-resolution camera images into discrete units called tokens. The current industry standard relies on patch-based tokenization—chopping images into a grid of squares, similar to Vision Transformers (ViT).
While effective for single-image tasks, this approach creates a computational bottleneck for autonomous vehicles (AVs), which typically utilize 6 to 10 cameras. As sensor suites expand or resolutions increase, the number of tokens explodes, making it nearly impossible to run these models in real-time on standard vehicle hardware. This paper addresses the need for a camera-agnostic tokenization method where the model's workload remains constant regardless of the sensor configuration.
Methodology: Triplane-Based Representation
The researchers propose using Triplanes as an intermediate representation to unify multi-camera data into a single 3D space. Instead of tokenizing each camera view individually, the model projects all visual data into three axis-aligned, orthogonal feature planes ($XY, XZ,$ and $YZ$).
The Pipeline
- Encoding: Images from all $N$ cameras are processed through a shared backbone (such as DINOv2) to extract high-level features.
- Triplane Creation: Using geometric deformable attention—inspired by TPVFormer—the model pulls features from the 2D image space into the 3D triplane structure. This step explicitly incorporates the vehicle's geometry and camera extrinsic parameters.
- Self-Supervised Training: To ensure the triplanes accurately capture the scene without requiring expensive human labels, the model is trained to "render" the original images back from the triplanes using volumetric rendering techniques similar to Neural Radiance Fields (NeRFs).
- Tokenization: The resulting triplanes are "patchified" into tokens. Because the triplane dimensions are fixed, the final token count remains constant whether the input comes from one camera or ten.
Key Insights and Innovations
Decoupling Complexity from Input
The core innovation is that the policy's computational cost is now tied to the volume of space the vehicle occupies rather than the number of pixels it observes. This allows for a consistent computational budget even when upgrading sensor hardware.
Geometric Awareness
Unlike standard image patches, triplane tokens are inherently 3D. This spatial prior provides the downstream Transformer with a better understanding of the world's physical layout, improving its ability to navigate complex environments.
The "Halfplane" Optimization
The authors discovered a unique efficiency trick: if a vehicle configuration only utilizes front-facing cameras, the model can discard the half of the triplane tokens representing the space behind the car. This "Halfplane" approach reduces token counts by an additional 30-40% without requiring the model to be retrained.
Experimental Results
The method was validated using a massive empirical framework, including 20,000 hours of NVIDIA internal driving data (spanning 1,700 cities), the nuScenes benchmark, and the Waymo Open Dataset (WOD).
- Efficiency: The triplane approach produces up to 72% fewer tokens than standard patch-based baselines.
- Inference Speed: This reduction translates to 50% faster inference for the driving policy. Specifically, it enables a 7-billion parameter model to run at 3Hz with 7 cameras—a task previously considered computationally prohibitive for embedded hardware.
- Driving Performance: Despite the high compression ratio, the model matched or exceeded the planning accuracy of heavier baselines. In closed-loop simulations, the model demonstrated a significantly lower "offroad rate," showing superior performance in navigating around obstacles like construction equipment.
Conclusion and Future Work
This triplane-based tokenization strategy represents a significant step toward making large-scale foundation models viable for real-time autonomous driving. By shifting the focus from pixel-density to spatial volume, the method provides a scalable, camera-agnostic framework for future AV development.
Future research will focus on leveraging temporal redundancy to further compress tokens across time steps and utilizing model optimization tools like TensorRT to reduce the latency of the triplane creation step. Additionally, the team aims to explore memory optimization to further lower the footprint on embedded systems.
Summary updated