OCCO: LVM-Guided Infrared and Visible Image Fusion Framework Based on Object-Aware and Contextual Contrastive Learning

Hui Li, Congcong Bian, Zeyang Zhang, Xiaoning Song, Xi Li, Xiao-Jun Wu

Abstract

Merging infrared (IR) and visible (VIS) images presents a significant challenge in computer vision: balancing human-centric visual quality with machine-centric semantic accuracy. Traditional methods often suffer from a "modality gap" where information conflicts lead to blurred boundaries or artifacts. We present OCCO (Object-aware and Contextual COntrastive Learning), a framework that utilizes Large Vision Models (LVMs) like the Segment Anything Model (SAM) to provide semantic guidance. By optimizing features in a contextual latent space, OCCO generates fused images that preserve sharp object boundaries and rich textures, outperforming state-of-the-art methods on both human-centric and task-centric benchmarks.

The Modality Gap and Existing Paradigms

The core challenge in IR-VIS fusion is the fundamental physical difference between sensors. Infrared sensors detect heat, allowing visibility in darkness or smoke, while visible sensors capture rich textures and colors. Existing fusion strategies generally fall into two categories:

  1. Visual-driven: Focuses on aesthetic quality but often blurs semantic boundaries critical for AI tasks.
  2. Task-driven: Cascades fusion with downstream networks, but conflicting gradients often lead to fragmented details.
Comparison of different fusion paradigms: (a) Visual-driven, (b) Semantic-driven, (c) Feature-level S-d, and (d) the proposed Object-aware OCCO framework.

OCCO addresses these limitations by introducing an object-aware paradigm that leverages semantic "advice" from LVMs to resolve modality conflicts without the negative interference of simultaneous task training.

The OCCO Framework Architecture

OCCO introduces a three-pronged strategy to bridge the modality gap:

1. LVM-Guided Mask Generation

Instead of relying on expensive manual annotations, OCCO utilizes Grounding DINO and SAM in a zero-shot manner. This process generates high-quality semantic masks that identify "modality-unique" information (e.g., thermal signatures of pedestrians) and "shared" information across sensors.

2. Contextual Contrastive Learning (CCL)

Traditional fusion losses rely on pixel-wise Euclidean distance, which is often too rigid for multi-modal data. OCCO employs a Contextual Space—a latent feature space derived from a pre-trained VGG19 network. This approach treats the fused image as an "anchor," pulling its features toward rich semantic regions ("positive" samples) and pushing them away from noisy or sparse regions ("negative" samples).

3. Feature Interaction Fusion Network (FIFN)

The architecture features Feature Interaction Fusion Blocks (FIFB) designed to resolve conflicts between modalities through spatial enhancement, cross-channel interaction, and cross-attention before final image reconstruction.

The overall architecture of OCCO, featuring the Feature Interaction Fusion Network, SAM-Guided Mask Generator, and Contextual Contrastive Learning module.

Experimental Evaluation

OCCO was evaluated across four diverse benchmarks: FMB (complex road scenes), MSRS (semantic segmentation), M3FD (high-resolution detection), and TNO (generalizability).

Key Results

  • Quantitative Performance: OCCO achieved the highest Entropy (EN) scores across all datasets, indicating maximum information retention. It also ranked first in Average Gradient (AG) on most benchmarks, demonstrating superior clarity.
  • Downstream Tasks: In semantic segmentation on the MSRS dataset, OCCO reached a mIoU of 63.72, significantly outperforming competitors like SeAFusion and CDDFuse.
  • Qualitative Quality: Visually, OCCO eliminates "ghosting" effects and preserves fine details, such as pedestrian outlines in foggy conditions or interior objects in low-light scenes.

Conclusion and Future Work

OCCO demonstrates that Large Vision Models can serve as powerful "Visual Task Advisers" for image fusion. By shifting from pixel-level comparisons to contextual contrastive learning, the framework achieves a superior balance between visual aesthetics and semantic utility. While the model shows some sensitivity to hyperparameter tuning in extremely complex scenes, future work aims to automate weight optimization and extend LVM guidance to more diverse tasks like multi-object tracking.

Summary updated

BibTeX
@article{li2025occo,
  author = {Hui Li and Congcong Bian and Zeyang Zhang and Xiaoning Song and Xi Li and Xiao-Jun Wu},
  title = {{OCCO: LVM-Guided Infrared and Visible Image Fusion Framework Based on Object-Aware and Contextual Contrastive Learning}},
  journal = {International Journal of Computer Vision},
  year = {2025},
  url = {https://openreview.net/forum?id=TwmBfPCGH3},
}
Figure