IVGF: The Fusion-Guided Infrared and Visible General Framework

Fangcen Liu, Chenqiang Gao, Fang Chen, Pengcheng Li, Junjie Guo, Deyu MengarXiv 2024 · DOI

TL;DR

This paper introduces IVGF, a general framework for infrared and visible image tasks that leverages state-of-the-art foundation models. IVGF enhances feature representations and fuses complementary information using novel attention-guided modules, achieving superior performance in semantic segmentation and object detection while being adaptable to new tasks and robust to missing modalities.

What Problem Does This Paper Address?

Infrared and visible cameras capture complementary information: infrared excels in low-light and adverse conditions but lacks detail, while visible images offer rich texture and color but struggle in poor lighting. Fusing these modalities significantly boosts performance in tasks like object detection and semantic segmentation. However, existing methods often design task-specific frameworks, limiting their generalization. Furthermore, training effective dual-modal models typically requires vast amounts of precisely aligned image pairs, which are difficult and expensive to acquire due to differing sensor fields of view and asynchronous capture. This paper aims to bridge this gap by proposing a general, adaptable framework that leverages existing foundation models, reduces reliance on perfectly aligned data, and improves generalization across multiple high-level vision tasks.

Methods

The core of IVGF is built upon pre-trained, state-of-the-art foundation models for both infrared (InfMAE) and visible (MCMAE) modalities. To enhance the semantic richness of these general representations, the authors introduce two key modules:

  • Feature Enhancement Module (FEM): This module enriches feature maps by incorporating both cross-modality spatial integration and intra-modality channel attention. It learns to leverage spatial cues from one modality to inform the other and identifies important feature channels within each modality.
  • Token Enhancement Module (TEM): Designed for tokenized features (specifically from the third encoder block), this module uses a mixture of adapters to estimate token importance and generate modality-specific "prompts." These prompts then guide the fusion process by highlighting relevant tokens from each modality.

For fusing the enhanced features, IVGF employs an Attention-Guided Fusion (AGF) module. This module uses cross-attention mechanisms to allow features from one modality to query and attend to features from the other, effectively capturing complementary information.

To further improve the model's ability to learn regional complementarities and enhance robustness, a Cutout&Mix Augmentation (CMA) strategy is introduced. This involves randomly masking parts of images and pasting patches between modalities, creating more diverse training samples.

Finally, IVGF is designed to be a general framework. By attaching task-specific "heads," it can be readily adapted for downstream tasks like semantic segmentation and object detection.

Datasets

The paper evaluates IVGF on the following datasets:

  • MSRS: A dataset for infrared and visible semantic segmentation, containing paired images with pixel-level annotations. It's noted for having fewer misaligned images and better infrared contrast compared to MFNet.
  • MFNet: Another dataset for infrared and visible urban scene semantic segmentation, featuring pixel-level annotations. It includes both daytime and nighttime images and is described as challenging due to low illumination and poor infrared image quality.
  • M3FD: A dataset for infrared and visible object detection, containing 4200 images with labels for six driving-related targets.

Key Insights and Ideas

  • Foundation Models as a Starting Point: The paper demonstrates that leveraging existing powerful foundation models for individual modalities is a more effective starting point than simple feature summation for dual-modal tasks.
  • Beyond Simple Fusion: Simple feature summation is shown to be suboptimal. The proposed FEM and TEM modules are crucial for enriching semantic information and preparing features for effective fusion.
  • Attention is Key for Complementarity: The attention-guided fusion mechanism is vital for intelligently combining information from infrared and visible images, going beyond basic concatenation or averaging.
  • Generalization Through Modular Design: The framework's modularity, particularly the separation of feature extraction, enhancement, fusion, and task-specific heads, is key to its adaptability across different tasks.
  • Robustness to Missing Modalities: The study highlights the framework's resilience when one modality is unavailable, a critical aspect for real-world applications.

Key Results

  • Semantic Segmentation: IVGF achieves state-of-the-art performance on both the MSRS and MFNet datasets. On MSRS, it reaches an mIoU of 81.0%, outperforming other methods by up to 5.5%. On MFNet, it achieves 62.4% mIoU, surpassing other methods by at least 0.9%.
  • Object Detection: On the challenging M3FD dataset, IVGF achieves an mAP50-95 of 55.8%, outperforming other dual-modality methods. For instance, it improves upon CFT by 14.6% on mAP50.
  • Ablation Studies: Detailed ablation studies confirm the effectiveness of each proposed module (FEM, TEM, AGF) and the CMA strategy, showing consistent performance gains when they are incorporated.
  • Modality Missing: When one modality is missing, IVGF still achieves competitive results. For example, on MFNet with the visible modality missing, it achieves 49.2% mIoU, which is comparable to other SOTA methods under similar conditions.

Limitations and Future Work

  • Reliance on Pre-trained Models: While leveraging foundation models is a strength, the performance is inherently tied to the quality and domain of these pre-trained models.
  • Dataset Alignment: Although the framework reduces the need for perfectly aligned data, the initial foundation models likely benefited from large-scale, well-aligned datasets. The paper doesn't explicitly detail how it handles imperfectly aligned data during fine-tuning.
  • Future Work: The authors suggest exploring the framework's applicability to other high-level vision tasks and further investigating its robustness in more extreme scenarios. The modular design naturally lends itself to exploring new enhancement or fusion techniques.

Summary updated

BibTeX
@misc{liu2024ivgf,
  author = {Fangcen Liu and Chenqiang Gao and Fang Chen and Pengcheng Li and Junjie Guo and Deyu Meng},
  title = {{IVGF: The Fusion-Guided Infrared and Visible General Framework}},
  year = {2024},
  eprint = {2409.00973},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2409.00973},
}
Figure