Introduction
Semantic segmentation—the process of assigning a categorical label to every pixel in an image—is a cornerstone of autonomous perception. While traditional RGB cameras provide rich texture and color information, they are inherently limited by environmental conditions such as poor lighting, heavy rain, or glare. To overcome these "edge cases," researchers have increasingly turned to supplementary sensors, or "X-modalities," including Depth, Thermal, LiDAR, Polarization, and Event-based sensors.
Historically, fusion models have been modality-specific, requiring custom architectures to handle the unique noise and spatial characteristics of different sensors. CMX (Cross-Modal X) introduces a unified, modality-agnostic framework that leverages Vision Transformers to effectively calibrate and fuse RGB data with any supplementary sensor, achieving state-of-the-art results across five distinct modalities.
Methodology: The CMX Architecture
CMX utilizes a two-stream architecture based on Vision Transformer (ViT) backbones, specifically the SegFormer/MiT series. The framework's strength lies in its ability to manage sensor uncertainty through two primary modules:
1. Cross-Modal Feature Rectification Module (CM-FRM)
Rather than simple concatenation, CMX employs CM-FRM to "clean" features before fusion. This module performs rectification across two dimensions:
- Channel-wise Rectification: It learns global weights to prioritize informative channels while suppressing those containing sensor noise.
- Spatial-wise Rectification: Using 1x1 convolutions, it generates spatial weight maps. This allows the model to dynamically rely on the most reliable sensor for specific regions—for instance, favoring thermal data to detect a pedestrian in a dark shadow where RGB pixels are underexposed.
2. Feature Fusion Module (FFM)
Following rectification, the FFM merges the streams in a two-stage process. First, a symmetric cross-attention mechanism exchanges long-range context between the RGB and X streams. Second, the module mixes these features using depth-wise convolutions and channel embeddings to produce a high-quality feature map for the final decoder.
Experimental Evaluation
The researchers validated CMX across an unprecedented range of sensor types and datasets:
- RGB-Depth: Evaluated on NYU Depth V2, SUN-RGBD, ScanNetV2, and Cityscapes.
- RGB-Thermal: Tested on the MFNet dataset.
- RGB-Polarization: Benchmarked on ZJU-RGB-P.
- RGB-LiDAR: Tested on KITTI-360.
- RGB-Event: The authors established a new benchmark using the EventScape dataset to address the lack of dense-sparse data fusion standards in the community.
Key Results and Insights
CMX set new State-of-the-Art (SOTA) records across all five modalities, demonstrating the power of a unified interaction strategy:
- Superior Accuracy: On NYU Depth V2 (RGB-D), CMX achieved 56.9% mIoU, outperforming specialized models like SA-Gate. On MFNet (RGB-T), it reached 59.7% mIoU, a significant improvement over previous benchmarks.
- Efficiency: The CMX-B2 variant demonstrates high efficiency, requiring only 67.6G FLOPs, compared to older CNN-based fusion methods that often exceed 200G FLOPs.
- Global Context: By utilizing Transformers instead of local CNN filters, CMX can relate disparate sensor signals across the entire frame, leading to more robust object boundaries.
Conclusion
CMX proves that a single, transformer-based architecture can handle the complexities of multi-modal scene understanding. By focusing on feature rectification and global context, it provides a robust solution for autonomous systems operating in unpredictable environments. While performance gains are most significant when RGB quality is low, CMX's versatility across dense and sparse data makes it a powerful foundation for future multi-sensor fusion research.
Summary updated