MAGIC++: Efficient and Resilient Modality-Agnostic Semantic Segmentation via Hierarchical Modality Selection

Xu Zheng, Yuanhuiyi Lyu, Lutao Jiang, Jiazhou Zhou, Lin Wang, Xuming HuarXiv 2024

Abstract

In this paper, we address the challenging modality-agnostic semantic segmentation (MaSS), aiming at centering the value of every modality at every feature granularity. Training with all available visual modalities and effectively fusing an arbitrary combination of them is essential for robust multi-modal fusion in semantic segmentation, especially in real-world scenarios, yet remains less explored to date. Existing approaches often place RGB at the center, treating other modalities as secondary, resulting in an asymmetric architecture. However, RGB alone can be limiting in scenarios like nighttime, where modalities such as event data excel. Therefore, a resilient fusion model must dynamically adapt to each modality's strengths while compensating for weaker inputs. To this end, we introduce the MAGIC++ framework, which comprises two key plug-and-play modules for effective multi-modal fusion and hierarchical modality selection that can be equipped with various backbone models. Firstly, we introduce a multi-modal interaction module to efficiently process features from the input multi-modal batches and extract complementary scene information with channel-wise and spatial-wise guidance. On top, a unified multi-scale arbitrary-modal selection module is proposed to utilize the aggregated features as the benchmark to rank the multi-modal features based on the similarity scores at hierarchical feature spaces. This way, our method can eliminate the dependence on RGB modality at every feature granularity and better overcome sensor failures and environmental noises while ensuring the segmentation performance. Under the common multi-modal setting, our method achieves state-of-the-art performance on both real-world and synthetic benchmarks. Moreover, our method is superior in the novel modality-agnostic setting, where it outperforms prior arts by a large margin.

Introduction

In the domain of autonomous driving and robotics, semantic segmentation—the task of labeling every pixel in a scene—is vital for safety. While modern systems utilize multiple sensors (RGB, LiDAR, Depth, and Event cameras), most existing AI models are RGB-centric. They treat the standard camera as the primary input, leaving the system vulnerable when cameras fail due to darkness, glare, or adverse weather.

MAGIC++ addresses this by tackling Modality-agnostic Semantic Segmentation (MaSS). The goal is to build a resilient system that can effectively fuse any combination of sensors without being tethered to a single primary modality, ensuring robust performance even during sensor malfunctions.

Methodology

The MAGIC++ framework introduces two "plug-and-play" modules designed to enhance standard hierarchical backbones like SegFormer or Swin Transformer:

  1. Multi-modal Interaction Module (MIM): MIM uses channel-wise and spatial-wise guidance to extract complementary information from different sensors. For instance, it can leverage LiDAR's spatial structure to compensate for a dark RGB image.
  2. Multi-scale Arbitrary-modal Selection Module (MASM): This module operates across the network's hierarchical stages. It calculates a "mean feature" from all available modalities to serve as a benchmark, ranking each sensor's features by similarity. This allows the model to identify and prioritize "robust" features while pulling "fragile" (noisy) features toward a shared semantic understanding through a specialized consistency loss ($L_C$).
The MAGIC++ framework architecture featuring hierarchical Transformer blocks and plug-and-play modules (MSAM and MIM) for multi-modal data processing.

Experimental Results

MAGIC++ was evaluated on two challenging benchmarks: MUSES (real-world adverse conditions like night and snow) and DELIVER (synthetic scenarios with simulated sensor malfunctions).

Quantitative Gains

MAGIC++ established a new state-of-the-art in modality-agnostic settings, outperforming the previous MAGIC baseline by +2.19% mIoU on MUSES and +7.25% mIoU on DELIVER. The framework showed exceptional resilience in sensor-failure scenarios; for example, performance on Event-only data in the MUSES dataset improved by +15.25% mIoU.

Qualitative Analysis

Visual results confirm that MAGIC++ produces cleaner object boundaries and significantly fewer artifacts in extreme conditions. While RGB-centric models like CMNeXt struggle in pitch-black or snowy environments, MAGIC++ dynamically pivots to reliable sensors like LiDAR or Event cameras to maintain segmentation integrity.

Qualitative comparison on the MUSES dataset across Day, Night, and Snow conditions, demonstrating MAGIC++'s superior resilience compared to CMNeXt and the baseline MAGIC.

Conclusion

By breaking the RGB-centric bias, MAGIC++ provides a robust framework for real-world multi-modal fusion. Its hierarchical selection process ensures that the most reliable sensor data is prioritized at every scale. Future research will focus on integrating additional modalities like thermal imaging and optimizing the architecture for real-time deployment on edge devices.

Summary updated

BibTeX
@misc{zheng2024magic,
  author = {Xu Zheng and Yuanhuiyi Lyu and Lutao Jiang and Jiazhou Zhou and Lin Wang and Xuming Hu},
  title = {{MAGIC++: Efficient and Resilient Modality-Agnostic Semantic Segmentation via Hierarchical Modality Selection}},
  year = {2024},
  eprint = {2412.16876},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2412.16876},
}
Figure