Introduction
In the rapidly evolving world of autonomous driving, knowing where "things" are isn't enough; vehicles need to understand the entire 3D volume of their surroundings. This technical report by Liu et al. introduces OccTransformer, a robust framework that took a top-5 spot in the CVPR 2023 3D Occupancy Prediction Challenge. By building on the popular BEVFormer architecture and adding a suite of architectural and training refinements, the team demonstrates how to push the boundaries of camera-only spatial perception.
OccTransformer enhances the BEVFormer architecture for 3D occupancy prediction by integrating a 3D U-Net head, multi-scale feature fusion, and a hybrid ensemble strategy that combines occupancy models with 3D object detectors. These improvements, alongside the addition of Dice loss to sharpen voxel boundaries, achieved a competitive 49.23 mIoU on the nuScenes dataset.
The Challenge of 3D Occupancy Prediction
Traditional autonomous driving perception often focuses on 3D object detection (drawing boxes around cars and pedestrians). However, "box-based" detection misses general obstacles like road debris, construction barriers, or complex vegetation.
3D Occupancy Prediction solves this by partitioning the world into a grid of 3D cubes (voxels) and predicting whether each voxel is occupied and what its semantic label is (e.g., "car," "sidewalk," or "free space"). The challenge is doing this using only 2D camera images, which requires the model to accurately "lift" 2D features into 3D space while maintaining fine-grained spatial detail—a task that is computationally expensive and prone to "blurry" predictions at object boundaries.
Methods
The authors use BEVFormer as their baseline, which transforms multi-camera images into a unified Bird’s Eye View (BEV) representation. They introduce several key enhancements:
- 3D U-Net Head: Instead of a simple linear layer to predict occupancy, they pass the 3D voxel features through a 3D U-Net. This module fuses multi-scale features, allowing the model to capture both broad global context and fine-grained local details.
- Dice Loss: Standard cross-entropy loss often struggles with the extreme class imbalance found in voxel grids (where most space is "empty"). By adding Dice loss—a metric commonly used in medical imaging—the authors forced the model to produce much sharper, more distinct boundaries between occupied and empty space.
- Stronger Backbones: They swapped standard ResNet backbones for state-of-the-art vision models like InternImage-XL and ConvNeXt-v2-L to extract richer features from the raw camera feeds.
- DET Ensemble: In a clever twist, they realized that dedicated 3D object detectors (like StreamPETR) are often better at identifying dynamic objects (cars, buses) than general occupancy models. They converted 3D detection boxes into voxel grids and ensembled them with their occupancy predictions to boost accuracy for moving classes.
Key Results
The OccTransformer achieved a final score of 49.23 mIoU (mean Intersection over Union) on the nuScenes test set, placing it among the top-performing methods in the CVPR 2023 challenge.
- Ablation Study: Adding the 3D U-Net and Dice loss improved the mIoU from 34.59 to 38.10 in baseline experiments.
- Ensemble Power: Moving from a single model to an ensemble of models with different backbones and 3D detector integration pushed the score from ~40 mIoU to the final ~49 mIoU.
- Class Performance: The model performed exceptionally well on "driveable surface" (84.61 mIoU) but, like most models, struggled with smaller or rarer classes like "bicycle" (39.53 mIoU).
Limitations and Future Work
While the paper presents a winning strategy for a competition, it leaves some questions for real-world deployment. The use of massive backbones and 3D U-Nets, combined with an ensemble of multiple models, likely results in high latency. Future work should explore real-time performance and temporal consistency to prevent "flickering" in occupancy predictions over time. Additionally, the reliance on a "DET Ensemble" means the model might inherit errors from the 3D detector in environments where detectors fail.
Summary updated