MaskFuser: Masked Fusion of Joint Multi-Modal Tokenization for End-to-End Autonomous Driving

Yiqun Duan, Xianda Guo, Zheng Zhu, Zhen Wang, Yu-Kai Wang, Chin-Teng LinarXiv 2024 · DOI

TL;DR

This paper introduces MaskFuser, a novel end-to-end autonomous driving system that unifies image and LiDAR data into a shared semantic token space. By employing a hybrid fusion approach with a new "Monotonic-to-BEV Translation Attention" and a masked auto-encoder pre-training strategy, MaskFuser significantly improves driving performance and robustness, especially under challenging sensory conditions.

What Problem Does This Paper Address?

Current end-to-end autonomous driving systems often struggle with effectively fusing information from multiple sensors like cameras and LiDAR. While many approaches use attention mechanisms to combine features, they often treat sensor modalities independently, leading to a lack of a truly unified representation. This can hinder performance, particularly in complex urban driving scenarios or when sensory inputs are degraded (e.g., due to weather or occlusion). The paper aims to bridge this gap by creating a more cohesive and robust multi-modal representation for better driving imitation.

Methods

MaskFuser employs a two-stage hybrid fusion strategy:

  • Early Fusion: Instead of simple element-wise attention, MaskFuser introduces a novel "Monotonic-to-BEV Translation Attention" (MBT). This technique projects features from the camera's monotonic view into a Bird's Eye View (BEV) space, aligning them with LiDAR features. This aims to create a more geometrically accurate and spatially coherent early fusion.
  • Late Fusion: Features from both modalities are then tokenized into a unified semantic space. A shared transformer encoder is applied to these tokens, allowing for deeper feature interaction and a more integrated representation. This "share encoding" is key to aligning information across modalities.
  • Masked Cross-Modality Pre-training: A core innovation is the use of a masked auto-encoder approach. During pre-training, a significant portion (75%) of the unified semantic tokens are masked, and the model is trained to reconstruct the original sensory inputs (image and LiDAR) and auxiliary tasks (like BEV segmentation). This self-supervised learning strategy enhances the richness and robustness of the learned representations, particularly for handling noisy or incomplete sensory data.

Datasets

  • CARLA LongSet6: This is the primary benchmark dataset used for evaluation, derived from the CARLA simulator. It's noted as being similar to the official CARLA challenge but allows for more detailed ablation studies.
  • Additional Unsupervised Data: The paper also mentions collecting an additional 200k unsupervised training data points for the masked auto-encoder pre-training phase, which doesn't require expert driving actions.

Key Insights and Ideas

  • Unified Token Space is Crucial: Moving beyond simple feature concatenation or attention, tokenizing diverse modalities into a shared semantic space allows for more profound feature integration and alignment.
  • Masked Auto-Encoding for Robustness: Applying masked auto-encoder pre-training not only leverages unlabeled data but critically enhances the model's ability to handle degraded sensory inputs, a vital aspect for real-world driving safety.
  • Geometric Alignment Matters Early: The MBT attention's ability to project camera features into BEV space early in the pipeline seems to provide a better foundation for subsequent fusion compared to purely geometric projection at a later stage.
  • Shared Encoder for Deeper Fusion: Using a single transformer encoder for the fused tokens encourages a more holistic understanding of the driving scene, rather than processing modalities in isolation.

Key Results

  • Improved Driving Performance: MaskFuser achieved a driving score of 49.05 and a route completion of 92.85% on the CARLA LongSet6 benchmark, outperforming previous best baselines by 1.74 and 3.21% respectively.
  • Enhanced Robustness to Sensory Damage: Under sensory masking ratios of 25%, 50%, and 75%, MaskFuser showed significant improvements in driving score (e.g., 27.8% improvement at 25% masking), demonstrating its resilience to partial sensor failures.
  • Reduced Variance: The model also showed a reduction in the variance of route completion, suggesting more consistent performance.
  • Comparable Inference Speed: MaskFuser achieves competitive inference speeds while using fewer parameters than some previous SOTA methods.

Limitations and Future Work

  • Controller Simplicity: The paper notes that while MaskFuser enhances perception, the controller used is a basic PID controller. Future work could involve more sophisticated controllers to further improve driving performance.
  • Safety Heuristics: Similar to previous methods, MaskFuser applies basic safety heuristics. The authors suggest that incorporating more advanced safety rules could lead to even better performance.
  • Further Exploration of Fusion: The paper's success with hybrid fusion and masked pre-training opens avenues for exploring even more advanced fusion techniques and pre-training strategies.
  • Real-World Deployment: While tested in CARLA, the transition to real-world driving would require extensive validation and adaptation.

Summary updated

BibTeX
@misc{duan2024maskfuser,
  author = {Yiqun Duan and Xianda Guo and Zheng Zhu and Zhen Wang and Yu-Kai Wang and Chin-Teng Lin},
  title = {{MaskFuser: Masked Fusion of Joint Multi-Modal Tokenization for End-to-End Autonomous Driving}},
  year = {2024},
  eprint = {2405.07573},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2405.07573},
}
Figure