TL;DR
This paper introduces FlashOcc, a novel plug-and-play module that significantly speeds up and reduces the memory footprint of 3D occupancy prediction for autonomous driving. By replacing computationally expensive 3D convolutions with efficient 2D ones and introducing a "Channel-to-Height" transformation, FlashOcc achieves competitive accuracy while being much more deployable on resource-constrained hardware.
What Problem Does This Paper Address?
3D occupancy prediction is crucial for autonomous driving, as it helps detect objects beyond predefined categories and accurately represent complex shapes, addressing limitations of traditional 3D object detection. However, existing methods rely heavily on processing 3D voxel-level representations, which are computationally intensive and memory-hungry. This makes them difficult to deploy on real-world autonomous driving systems with limited onboard computing power. The paper aims to bridge this gap by proposing a method that is both accurate and highly efficient for deployment.
Methods
FlashOcc is designed as a "plug-and-play" module that can be integrated into existing voxel-based occupancy prediction frameworks. Its core contributions are:
- 2D Convolution for Feature Extraction: Instead of using 3D convolutions on voxel features, FlashOcc keeps features in the Bird's-Eye View (BEV) representation and uses efficient 2D convolutional layers for feature extraction. This significantly reduces computational cost and memory usage.
- Channel-to-Height Transformation: After obtaining BEV features, FlashOcc introduces a novel "Channel-to-Height" transformation. This operation effectively reshapes the flattened BEV features into 3D occupancy logits, preserving the necessary height information without explicit 3D processing. This is inspired by sub-pixel convolution techniques used in image super-resolution.
Essentially, FlashOcc replaces the 3D convolution backbone and the subsequent 3D voxel-level feature processing with a 2D convolution-based BEV encoder and the Channel-to-Height transformation.
Datasets
The primary dataset used for training and evaluation is Occ3D-nuScenes. This dataset is described as a challenging benchmark for 3D occupancy prediction, covering a wide spatial range and providing 20 seconds of annotated perceptual data per scene.
Key Insights and Ideas
- BEV Features are Sufficient for Height Information: The paper demonstrates that by cleverly transforming BEV features, crucial height information for occupancy prediction can be preserved, negating the need for explicit 3D convolutions.
- "Plug-and-Play" Efficiency: The modular design of FlashOcc allows it to be easily integrated into various existing state-of-the-art models, showcasing its generalizability and ease of adoption.
- Trade-off Optimization: FlashOcc effectively navigates the trade-off between accuracy, speed, memory consumption, and training duration, offering a more practical solution for deployment.
- Deployment-Friendly Architecture: By avoiding heavy 3D operations, FlashOcc is inherently more suitable for deployment on embedded systems with limited computational resources.
Key Results
- Performance Improvement: FlashOcc demonstrated improvements in mIoU (mean Intersection over Union) on the Occ3D-nuScenes benchmark when applied to existing models. For example, it achieved a 1.3 mIoU improvement on BEVDetOcc and a 0.3 mIoU enhancement on UniOcc.
- Speedup: The proposed method offers significant speedups. For instance, applying FlashOcc to BEVDetOcc resulted in a speedup of more than twofold, increasing FPS from 92.1 to 210.6.
- Memory Reduction: FlashOcc drastically reduces inference memory consumption. When applied to BEVDetOcc, it led to a 68.8% memory saving, reducing consumption from 398 MiB to 124 MiB.
- Training Time Reduction: Training duration was also significantly reduced, with examples showing a reduction from 64 GPU-H to 32 GPU-H for BEVDetOcc.
- Qualitative Results: Visualizations show that FlashOcc accurately captures intricate shapes of objects like pedestrians (including their accessories like suitcases) and traffic cones, demonstrating its ability to preserve fine-grained details.
Limitations and Future Work
- Temporal Module Integration: While FlashOcc shows significant improvements in non-temporal settings, the temporal improvement in FlashOcc was not as substantial as in the baseline methods when temporal fusion was introduced. This is attributed to the already significant gains from the non-temporal FlashOcc.
- Future Work: The authors plan to explore the integration of FlashOcc into the perception pipeline of autonomous driving systems, aiming for efficient on-chip deployment.
Summary updated