UniMAE: Multi-modal Masked Autoencoders with Unified 3D Representation for 3D Perception in Autonomous Driving

Jian Zou, Tianyu Huang, Guanglei Yang, Zhenhua Guo, Tao Luo, Chun-Mei Feng, Wangmeng Zuo

TL;DR

UniM$^2$AE is a self-supervised pre-training framework that brings multi-modal Masked Autoencoders (MAE) to autonomous driving by fusing camera images and LiDAR point clouds. By projecting both modalities into a unified 3D volume space that preserves height information, it enables low-loss cross-modal feature interaction and achieves significant performance gains on downstream 3D perception tasks.

What Problem Does This Paper Address?

Autonomous driving systems rely heavily on multi-sensor fusion—combining the rich semantic details of cameras with the precise geometric data of LiDAR. While Masked Autoencoders (MAE) have emerged as a powerful self-supervised strategy for learning robust representations, adapting them to multi-modal 3D perception is exceptionally challenging.

Prior multi-modal MAE frameworks typically suffer from two main issues:

  1. LiDAR-to-Camera Projection Distortions: Projecting 3D point clouds onto a 2D image plane collapses depth. Distant and near points get merged into the same 2D patch, making patch-wise masking and reconstruction physically non-sensical.
  2. Camera-to-LiDAR Projection Information Loss: Projecting 2D images onto 3D point clouds is hindered by the inherent sparsity of LiDAR data, causing a massive loss of dense camera features.

Furthermore, standard Bird's Eye View (BEV) representations flatten the height dimension. While acceptable for bounding-box detection, flattening height discards the structural details required for a generative MAE to accurately reconstruct the original multi-modal inputs.

Comparison of traditional alignment vs. UniM$^2$AE's unified representation

Methods

The authors introduce UniM$^2$AE (Multi-modal Masked Autoencoders with Unified 3D Representation), which avoids direct input-level projection by encoding sensors separately and fusing them in a shared latent space.

Overview of the UniM$^2$AE architecture

Key components of the pipeline include:

  • Masked Token Production: Point clouds are voxelized and images are split into patches. High masking ratios are applied to both (70% for LiDAR, 75% for camera) to force the network to learn meaningful representations from minimal data.
  • Unified 3D Volume Space: Instead of a 2D BEV grid, features are projected into a 3D volume grid ($H \times W \times Z$). This crucial inclusion of the $z$-axis (height) prevents information loss and allows the model to accurately map features back to their native modalities for reconstruction.
  • Multi-modal 3D Interaction Module (MMIM): To fuse the modalities efficiently without incurring massive computational costs, the model concatenates the 3D volume features and processes them using stacked 3D deformable self-attention blocks.
  • Modality-Specific Reconstruction: The interacted features are back-projected to their original spaces. A camera decoder reconstructs pixels via Mean Squared Error (MSE) loss, while a LiDAR decoder reconstructs point density (via Chamfer Distance) and predicts voxel occupancy.

Datasets

The model is pre-trained and evaluated on the nuScenes Dataset, a popular large-scale autonomous driving benchmark containing 1,000 driving sequences captured in Boston and Singapore, complete with 3D bounding boxes and map annotations.

Key Insights and Ideas

  • Generative Pre-training Demands Height: While 2D BEV representations work well for downstream tasks like object detection, they fail during generative pre-training. Retaining the height dimension in a 3D volume grid is essential for the decoders to successfully reconstruct the original unmasked sensor inputs.
  • Late Fusion, Early Interaction: By encoding modalities independently before projecting them into the 3D volume space, the model sidesteps the geometric distortions of early-stage input alignment while still benefiting from deep cross-modal feature interaction via the MMIM module.

Key Results

UniM$^2$AE demonstrates excellent data efficiency and strong performance boosts across multiple downstream tasks:

  • Data Efficiency: When fine-tuned on just 20% of the labeled data, UniM$^2$AE improves 3D object detection by 4.4% mAP and 1.9% NDS over training from scratch, outperforming existing multi-modal pre-training methods like PiMAE.
  • 3D Object Detection: When integrated with full-data baselines on nuScenes, it boosts BEVFusion-SST by 1.2% NDS and FocalFormer3D by 0.7% NDS.
  • BEV Map Segmentation: The framework yields its most massive improvement here, boosting BEVFusion-SST by 6.5% mIoU, demonstrating that the pre-trained features capture highly robust spatial and semantic layouts.

Limitations and Future Work

The authors note two primary limitations of the current framework:

  1. Independent Masking: Camera patches and LiDAR voxels are masked completely at random. Implementing a coordinated or complementary masking strategy (e.g., masking an object in the image but leaving it visible in the point cloud) could further enhance cross-modal feature learning.
  2. Temporal Neglect: UniM$^2$AE operates on single frames. Autonomous driving data possesses immense temporal continuity; ignoring adjacent frames leads to pre-training on redundant data and misses the opportunity to learn temporal representations.

Summary updated

Abstract

Masked Autoencoders (MAE) play a pivotal role in learning potent representations, delivering outstanding results across various 3D perception tasks essential for autonomous driving. In real-world driving scenarios, it’s commonplace to deploy multiple sensors for comprehensive environment perception. Despite integrating multi-modal features from these sensors can produce rich and powerful features, there is a noticeable challenge in MAE methods addressing this integration due to the substantial disparity between the different modalities. This research delves into multi-modal Masked Autoencoders tailored for a unified representation space in autonomous driving, aiming to pioneer a more efficient fusion of two distinct modalities. To intricately marry the semantics inherent in images with the geometric intricacies of LiDAR point clouds, we propose UniM\(^2\)AE. This model stands as a potent yet straightforward, multi-modal self-supervised pre-training framework, mainly consisting of two designs. First, it projects the features from both modalities into a cohesive 3D volume space to intricately marry the bird’s eye view (BEV) with the height dimension. The extension allows for a precise representation of objects and reduces information loss when aligning multi-modal features. Second, the Multi-modal 3D Interactive Module (MMIM) is invoked to facilitate the efficient inter-modal interaction during the interaction process. Extensive experiments conducted on the nuScenes Dataset attest to the efficacy of UniM\(^2\)AE, indicating enhancements in 3D object detection and BEV map segmentation by 1.2% NDS and 6.5% mIoU, respectively. The code is available at https://github.com/hollow-503/UniM2AE.
BibTeX
@inproceedings{zou2024unimae,
  author = {Jian Zou and Tianyu Huang and Guanglei Yang and Zhenhua Guo and Tao Luo and Chun-Mei Feng and Wangmeng Zuo},
  title = {{UniMAE: Multi-modal Masked Autoencoders with Unified 3D Representation for 3D Perception in Autonomous Driving}},
  booktitle = {European Conference on Computer Vision},
  year = {2024},
  doi = {10.1007/978-3-031-72670-5\_17},
}
Figure