Abstract
Autonomous systems operating in diverse environments require robust scene parsing capabilities that transcend the limitations of standard RGB sensors. HAPNet introduces a novel "asymmetric" approach to RGB-Thermal (RGB-T) semantic segmentation, moving away from traditional identical twin encoders. By combining the global reasoning of a Vision Foundation Model (VFM) with the local precision of a CNN-based spatial descriptor, HAPNet achieves state-of-the-art accuracy on major benchmarks. It particularly excels in low-light and complex urban environments, demonstrating superior robustness and generalization across multiple "RGB-X" tasks.
Introduction
Autonomous vehicles and mobile robots rely on semantic segmentation to understand their surroundings. While RGB cameras provide rich color and texture, their performance degrades significantly in low light, fog, or glare. Thermal imaging fills this gap by capturing heat signatures, which remain visible in total darkness. However, thermal data lacks the fine-grained texture and semantic richness of visible light.
The current standard in the field is the symmetric duplex encoder, which uses two identical neural networks to process RGB and Thermal data separately before fusing them. This paper argues that such an approach is suboptimal because RGB and Thermal data are fundamentally different: RGB is better for global semantic context, while Thermal is superior for localizing objects via heat signatures. Furthermore, standard encoders are often limited by the size of their training datasets. HAPNet seeks to leverage the power of Vision Foundation Models (VFMs)—pre-trained on massive datasets—to create a more intelligent, asymmetric fusion strategy.
Methods
HAPNet (Hybrid, Asymmetric, and Progressive Network) breaks the "duplex" mold with three primary architectural innovations:
- Hybrid, Asymmetric Encoder: Instead of two identical branches, HAPNet uses a VFM (specifically BEiTv2) to extract global context from RGB images. Simultaneously, it employs a lightweight CNN called the Cross-modal Spatial Prior Descriptor (CSPD) to capture local spatial patterns from both modalities. This design prevents "representation shift," where feeding thermal data into a VFM trained on natural images would otherwise hurt performance.
- Progressive Heterogeneous Feature Integrator (PHFI): Fusion occurs in stages rather than a single step. The PHFI uses a Global-Local Context Aggregator (GLCA) to enhance RGB features with spatial priors and a Complementary Context Generator (CCG) to refine those priors using global context. This dual-path approach utilizes Multi-Scale Deformable Attention (MSDA) for computational efficiency.
- Auxiliary Local Semantics Task: During training, an additional task is performed to "clean up" fused features, ensuring that local details remain semantically meaningful and reducing noise in the final output.
Experimental Results
The model was evaluated on four key benchmarks: MFNet (urban driving), PST900 (underground environments), KP Day-Night (extreme lighting transitions), and NYU-Depth V2 (generalization to RGB-Depth data).
HAPNet achieved new State-of-the-Art (SoTA) results across all tested datasets:
- MFNet: 61.5% mIoU (Mean Intersection over Union), outperforming previous leaders.
- PST900: 89.0% mIoU, representing a significant 1.0% improvement.
- KP Day-Night: 57.6% mIoU, a massive 2.4% improvement that proves its robustness in near-total darkness.
- Efficiency: Despite its high parameter count (169.1M), the model runs at approximately 23 FPS on an NVIDIA RTX 4090, making it viable for real-time robotic applications.
Key Insights and Conclusion
A central finding of this research is that forcing thermal data into VFMs can be counterproductive. By maintaining an asymmetric structure that respects the physical differences between light and heat, HAPNet avoids simplistic fusion errors common in poor lighting. The progressive refinement allowed by the PHFI modules leads to significantly sharper object boundaries and more accurate semantic labels.
While HAPNet is powerful, its size suggests future opportunities for model distillation to enable deployment on edge devices. Additionally, the authors aim to explore the model's performance on other modalities such as surface normals or optical flow, further broadening the scope of asymmetric "RGB-X" fusion.
Summary updated