UniRGB-IR: A Unified Framework for Visible-Infrared Downstream Tasks via Adapter Tuning

Maoxun Yuan, Bo Cui, Tianyi Zhao, Xingxing Wei · DOI

TL;DR

This paper introduces UniRGB-IR, a novel framework that unifies various visible-infrared (RGB-IR) semantic tasks by leveraging pre-trained RGB foundation models with a new adapter mechanism. This approach efficiently injects infrared features into RGB models, achieving state-of-the-art performance across object detection, semantic segmentation, and salient object detection without requiring large-scale pre-trained IR models.

What Problem Does This Paper Address?

Computer vision tasks like object detection and semantic segmentation have seen tremendous progress thanks to large-scale pre-trained foundation models, primarily trained on visible (RGB) imagery. However, RGB cameras struggle in challenging conditions such as low illumination and adverse weather. Infrared (IR) imaging excels in these scenarios, making RGB-IR fusion a promising avenue for more robust perception. The main hurdle is the scarcity of large-scale pre-trained foundation models for IR data. Current methods often resort to designing task-specific architectures and fine-tuning them, leading to poor scalability and limited generalization. This paper aims to bridge this gap by proposing a unified, efficient framework that can adapt existing RGB foundation models for diverse RGB-IR tasks.

Methods

The core of UniRGB-IR is an adapter mechanism designed to inject IR features into a pre-trained RGB foundation model (specifically, a Vision Transformer or ViT). The key innovation lies in freezing the entire pre-trained ViT model, preserving its learned knowledge, and only training the newly introduced adapter components.

The adapter consists of two main modules:

  • Multi-modal Feature Pool (MFP): This module extracts contextual multi-scale features from both RGB and IR images. It uses multi-receptive field convolutions and a feature pyramid to capture diverse spatial information.
  • Supplementary Feature Injector (SFI): This module dynamically injects the features from the MFP into the ViT foundation model. It employs a sparse attention mechanism to align features and a gating network to adaptively fuse them with the existing ViT features at different stages of the network.

This adapter-tuning approach allows for efficient fine-tuning, requiring only a fraction of the parameters compared to full fine-tuning, and promotes better generalization.

Datasets

The paper evaluates UniRGB-IR on several standard RGB-IR datasets for different tasks:

  • RGB-IR Object Detection: FLIR, LLVIP, and KAIST datasets.
  • RGB-IR Semantic Segmentation: PST900 dataset.
  • RGB-IR Salient Object Detection: VT821, VT1000, and VT5000 datasets.

Key Insights and Ideas

  • Adapter Tuning for Multi-modal Fusion: The paper demonstrates that adapter tuning, a technique popular in NLP, can be effectively adapted for multi-modal fusion in computer vision. This is crucial for leveraging powerful pre-trained models without the need for extensive IR-specific pre-training.
  • Unified Framework for Diverse Tasks: UniRGB-IR is presented as a single, adaptable framework capable of handling multiple RGB-IR semantic tasks (detection, segmentation, salient object detection). This addresses the issue of developing separate, task-specific models.
  • Preserving Foundation Model Knowledge: By freezing the pre-trained ViT backbone, the framework effectively retains the rich visual priors learned from large-scale RGB datasets, leading to improved performance and generalization.
  • Efficient Feature Injection: The combination of MFP and SFI modules allows for the intelligent integration of IR features, enhancing the model's robustness in challenging conditions without significantly increasing computational complexity or parameter count.

Key Results

UniRGB-IR achieves state-of-the-art performance across various RGB-IR tasks:

  • RGB-IR Object Detection: Outperforms existing methods on FLIR and LLVIP datasets, achieving the best mAP. On the KAIST dataset, it shows competitive results, particularly in challenging "All-dataset" settings.
  • RGB-IR Semantic Segmentation: Achieves the best performance on the PST900 dataset in terms of both mAcc and mIoU, outperforming the second-best method by significant margins.
  • RGB-IR Salient Object Detection: Demonstrates superior performance on VT821, VT1000, and VT5000 datasets, outperforming previous methods across multiple metrics like ST, adpE, adpF, and MAE.
  • Efficiency: The adapter tuning approach requires significantly fewer trainable parameters (around 10% of full fine-tuning) and achieves faster convergence, as shown in training efficiency analysis.

Limitations and Future Work

  • Reliance on RGB Foundation Models: The framework's performance is inherently tied to the quality of the pre-trained RGB foundation model. While effective, it doesn't address the fundamental lack of large-scale IR pre-trained models.
  • Adapter Placement: Ablation studies suggest that the optimal placement of the SFI module within the ViT stages can impact performance, and further research could explore more sophisticated injection strategies.
  • Attention Mechanism Choice: While deformable attention was found to be effective, the paper notes that other attention mechanisms could be explored for further optimization.

The authors suggest that their framework can be applied to more multi-modal real-world applications, implying future work could involve extending UniRGB-IR to other sensor modalities or more complex downstream tasks.

Summary updated

BibTeX
@inproceedings{yuan2025unirgb,
  author = {Maoxun Yuan and Bo Cui and Tianyi Zhao and Xingxing Wei},
  title = {{UniRGB-IR: A Unified Framework for Visible-Infrared Downstream Tasks via Adapter Tuning}},
  booktitle = {ACM Multimedia},
  year = {2025},
  doi = {10.1145/3746027.3754806},
}
Figure