Abstract
Semantic segmentation is a critical component for autonomous systems to perceive their environment. While RGB cameras are standard, they often fail in challenging lighting conditions. Thermal sensors provide a robust alternative but lack fine texture. Existing fusion methods often suffer from "modality contamination," where low-quality data from one sensor degrades the overall output. This paper proposes the Residual Spatial Fusion Network (RSFNet), which employs an asymmetric encoder and a saliency-guided fusion mechanism to achieve state-of-the-art accuracy and real-time performance.
Introduction
The "holy grail" of autonomous navigation is reliable semantic segmentation across all environments. RGB cameras struggle in low-light or overexposed conditions, whereas thermal cameras, which detect heat radiation, are unaffected by lighting but lack the detail to distinguish between objects of similar temperatures.
The primary challenge in RGB-Thermal (RGB-T) fusion is "indiscriminate fusion." Most models treat both inputs equally, allowing noisy nighttime RGB features to contaminate clear thermal data. Additionally, using identical (symmetric) backbones for both modalities is computationally inefficient, as thermal images contain significantly less information than three-channel RGB images.
Methodology
RSFNet introduces several innovations to address these challenges:
- Asymmetric Encoder: To optimize efficiency, the network uses a large backbone (e.g., ResNet101) for feature-rich RGB data and a smaller, more efficient backbone (e.g., ResNet34) for thermal data. This reduces computational overhead without sacrificing accuracy.
- Pseudo-Label Generation (PLG) via Saliency: To determine which modality to trust, the system uses saliency detection to identify important regions. By calculating the Intersection over Union (IoU) between saliency maps and ground truth, the model generates "pseudo-labels" that train a regression branch to output a confidence score for each modality.
- Residual Spatial Fusion (RSF) Module: This module acts as a gate. If the RGB confidence score is low (e.g., at night), the gate suppresses RGB features during the fusion process, preventing contamination.
- Structural Re-parameterization: During training, the RSF module utilizes multi-branch convolutions to capture complex features. At inference, these are mathematically collapsed into a single convolution, ensuring high performance with zero additional latency.
Experimental Results
RSFNet was evaluated on the MFNet and PST900 datasets, representing urban and subterranean environments, respectively.
- Accuracy: On the MFNet test set, RSFNet (ResNet101-34) achieved a 56.2% mIoU, outperforming previous leaders such as MTANet and EGFNet. Qualitative results confirm that the model successfully identifies pedestrians in pitch-black conditions where RGB-only models fail.
- Efficiency: The model maintains real-time speeds, achieving approximately 57.31 FPS on an NVIDIA 2080Ti. As shown in the performance analysis, RSFNet variants provide a superior trade-off between accuracy (mIoU) and computational cost (FLOPs) compared to existing architectures like RTFNet and PSTNet.
Conclusion
RSFNet effectively addresses the modality contamination problem in RGB-T semantic segmentation. By leveraging an asymmetric encoder and a confidence-based fusion gate, the model provides a robust and efficient solution for autonomous systems operating in diverse lighting conditions. Future work will explore the model's performance in adverse weather conditions like fog and rain, as well as further optimization for low-power edge devices.
Summary updated