Abstract
Visible-light (RGB) foundation models have demonstrated remarkable generalization capabilities across various computer vision tasks. However, extending these models to multi-modal visible-infrared (RGB-IR) scenarios remains difficult due to the scarcity of large-scale IR datasets. Traditional full fine-tuning often leads to the degradation of pre-trained knowledge and high storage costs. We present UniRGB-IR, a scalable framework that adapts frozen RGB foundation models for RGB-IR tasks using lightweight adapters. Our approach employs a Multi-modal Feature Pool (MFP) and a Supplementary Feature Injector (SFI) to effectively integrate IR information. Experimental results show that UniRGB-IR achieves state-of-the-art performance in object detection, segmentation, and saliency tasks while training only 10% of the parameters.
Introduction
While RGB imaging is ubiquitous, its performance degrades significantly in challenging environments such as low light or heavy fog. Infrared (IR) imaging offers a robust complement by capturing thermal radiation. Despite its advantages, the development of IR-specific foundation models is hindered by the lack of massive datasets comparable to ImageNet.
Current methodologies typically rely on fully fine-tuning pre-trained RGB models on smaller, paired RGB-IR datasets. This strategy suffers from two primary issues: redundancy, as a separate large model must be stored for every downstream task, and knowledge degradation, where the model loses the general visual patterns learned during large-scale pre-training. UniRGB-IR addresses these challenges by shifting to an adapter-tuning paradigm.
Proposed Method: UniRGB-IR
The core philosophy of UniRGB-IR is to preserve the rich prior knowledge of a large-scale RGB foundation model while efficiently learning modality-specific features. The framework keeps a standard Vision Transformer (ViT) backbone frozen and introduces two trainable modules: the Multi-modal Feature Pool (MFP) and the Supplementary Feature Injector (SFI).
Multi-modal Feature Pool (MFP)
The MFP serves as a multi-scale feature extractor. Recognizing that IR images often lack fine textures, the MFP utilizes multi-receptive field convolutions (with kernel sizes of 3x3, 5x5, and 7x7) to capture broader contextual information from both RGB and IR inputs. This allows the model to identify objects based on structural and thermal signatures even when visual details are sparse.
Supplementary Feature Injector (SFI)
The SFI acts as the bridge between the IR features and the frozen RGB backbone. It employs a cross-attention mechanism—specifically deformable attention—to dynamically sample and inject relevant multi-scale features into the ViT blocks. A gating network further modulates this injection, learning the optimal balance between the original RGB features and the new IR-derived information.
Experimental Results
UniRGB-IR was evaluated across several benchmarks, including FLIR, LLVIP, and KAIST for object detection; PST900 for semantic segmentation; and VT821/VT1000/VT5000 for salient object detection.
Performance and Efficiency
The framework consistently outperformed state-of-the-art (SOTA) methods that utilize full fine-tuning. For instance, it achieved 44.1% mAP on the FLIR dataset and 82.8% mIoU on PST900. Notably, these gains were achieved with significantly fewer trainable parameters (~8.91M vs. ~94.78M).
As shown in the convergence analysis, adapter tuning not only requires fewer parameters but also converges faster and reaches a higher final accuracy than full fine-tuning. This suggests that preserving the pre-trained backbone provides a more stable and informative starting point for multi-modal adaptation.
Conclusion
UniRGB-IR demonstrates that "preservation is better than modification" when adapting foundation models to new modalities. By using lightweight adapters to inject IR context into a frozen RGB backbone, the framework achieves superior performance and efficiency across diverse downstream tasks. Future work will explore scaling UniRGB-IR to even larger backbones and optimizing it for real-time edge deployment.
Summary updated