Abstract
Perceiving the 3D environment is a cornerstone of autonomous driving, typically requiring both object detection and semantic map segmentation. Traditional approaches often treat these as separate tasks, leading to computational redundancy and missed opportunities for feature sharing. We present M2BEV, a unified framework that performs both 3D object detection and bird’s-eye view (BEV) segmentation from multi-camera inputs. By projecting 2D image features into a 3D voxel space and then flattening them into a 2D BEV representation via an efficient "Spatial-to-Channel" operation, M2BEV avoids the heavy memory costs of 3D convolutions and complex depth estimation. Our approach achieves state-of-the-art results on the nuScenes benchmark while maintaining high inference speed and memory efficiency.
Introduction
Autonomous vehicles (AVs) must accurately locate objects in 3D space and understand the road geometry (e.g., lanes, drivable areas) simultaneously. These tasks are traditionally handled by specialized, independent pipelines. However, this separation is inefficient for real-time systems and prevents the model from learning a holistic representation of the scene. Furthermore, camera-only 3D perception is inherently "ill-posed" because 2D images lack explicit depth information.
Existing solutions often attempt to bridge the 2D-to-3D gap using memory-intensive 3D convolutions or complex depth-prediction modules. These requirements often force a trade-off, limiting the use of high-resolution images or large backbone networks. M2BEV addresses these challenges by introducing a simplified, efficient projection and a unified BEV representation that serves multiple downstream tasks.
Methodology
The M2BEV architecture is designed for efficiency and multi-task performance. It consists of several modular components:
1. 2D Image Encoder and Auxiliary Supervision
A shared CNN backbone (e.g., ResNet or ResNeXt) extracts features from all available camera views. To enhance the encoder's ability to recognize objects before projection, the model utilizes 2D Auxiliary Supervision. During training, a 2D detection head predicts bounding boxes directly from the image features, providing a strong gradient signal that improves the quality of the features eventually projected into 3D.
2. Efficient 2D-to-3D Projection
M2BEV unprojects 2D features into a 3D voxel volume. Unlike prior works that predict complex depth distributions, M2BEV assumes a uniform depth distribution along each camera ray. This simplification significantly reduces computational overhead and memory usage, allowing the model to process higher-resolution inputs (up to 1600x900 pixels), which is vital for detecting distant objects.
3. Spatial-to-Channel (S2C) BEV Encoder
To avoid the high cost of 3D convolutions, M2BEV employs a Spatial-to-Channel (S2C) operator. This operation flattens the height dimension of the 3D voxel grid into the channel dimension of a 2D grid. This transformation allows the network to use standard, highly optimized 2D convolutions to process the BEV map while still retaining information about the vertical structure of the scene.
4. Multi-Task Heads and Training Strategies
Two task-specific heads—one for 3D detection and one for BEV segmentation—operate on the shared BEV feature map. Several key designs improve performance:
- Dynamic Box Assignment: A "learning-to-match" strategy replaces fixed-threshold anchor matching, better handling the variance in object sizes and distances.
- BEV Centerness: For segmentation, pixels further from the ego-vehicle correspond to fewer pixels in the original images. A centerness re-weighting strategy forces the model to prioritize these difficult, distant regions.
Experimental Results
M2BEV was evaluated on the nuScenes dataset, a comprehensive benchmark for autonomous driving perception. To further boost performance, the image encoder was pre-trained on the large-scale nuImage dataset.
Performance and Efficiency
- Accuracy: M2BEV achieved 42.5 mAP for 3D detection and 57.0 mIoU for segmentation on the nuScenes test set, setting a new state-of-the-art for camera-only methods at the time of publication.
- Speed: The unified architecture is approximately 4x faster than a baseline that naively combines separate detection (e.g., FCOS3D) and segmentation (e.g., LSS) models.
- Memory Footprint: By avoiding explicit depth estimation and 3D convolutions, M2BEV is significantly more memory-efficient than depth-based competitors, enabling the use of larger backbones like ResNeXt-101.
Discussion and Future Work
While M2BEV demonstrates the power of a unified BEV representation, some limitations remain. The model is sensitive to camera calibration; physical misalignment of sensors can lead to significant performance degradation. Additionally, while it leads among camera-based methods, a performance gap still exists compared to LiDAR-based systems. Future work will explore incorporating temporal information (video sequences) to improve object tracking and motion prediction, as well as enhancing robustness to sensor noise.
Summary updated