CoCoNet: Coupled Contrastive Learning Network with Multi-level Feature Ensemble for Multi-modality Image Fusion

Jinyuan Liu, Runjia Lin, Guanyao Wu, Risheng Liu, Zhongxuan Luo, Xin Fan · DOI

TL;DR

This paper introduces CoCoNet, a novel network for fusing infrared and visible images that uses coupled contrastive learning to better preserve complementary features and avoid artifacts. By learning to distinguish salient targets in infrared images and detailed textures in visible images, CoCoNet achieves state-of-the-art performance in both infrared-visible fusion and medical image fusion tasks.

What Problem Does This Paper Address?

The core challenge in multi-modality image fusion, particularly for infrared and visible (IVIF) images, is to combine the strengths of each sensor while mitigating their weaknesses. Visible images excel at capturing detailed textures and scene context but struggle in low-light conditions. Infrared images, on the other hand, can "see" in the dark by detecting thermal radiation but often lack fine textural details. Existing deep learning fusion methods often fail to effectively leverage the complementary nature of these modalities. They tend to either:

  • Neglect inter-modal relationships: Focusing solely on preserving features from individual modalities can lead to redundant or even incorrect information in the fused output.
  • Suffer from information degradation: Architectures that increase depth without carefully managing feature transmission can lose crucial details.
  • Require manual tuning: Loss functions often rely on hand-crafted weights that are difficult to optimize for diverse image pairs.
  • Lack explicit guidance: The absence of ground truth fused images makes it challenging to train models effectively, leading to artifacts.

This paper aims to address these limitations by developing a fusion network that explicitly learns the relationship between infrared and visible images, preserves salient targets and textures, and adapts to image characteristics.

Methods

CoCoNet introduces several key innovations:

  • Coupled Contrastive Learning (CCL): This is the core of CoCoNet. Instead of relying on external ground truth, it uses the inherent properties of the source image pair to define positive and negative samples. Specifically:
  • For target constraint, salient thermal targets from the infrared image are treated as positive samples, while corresponding regions in the visible image are negative. This pulls the fused representation of targets closer to the infrared source.
  • For detail constraint, background textures from the visible image are positive, and infrared background is negative. This pulls fused background details closer to the visible source.
  • This contrastive approach helps the model learn to distinguish and preserve the most important features from each modality.
  • Multi-level Attention Module (MAM): This module leverages pre-trained VGG-19 networks to extract features at different levels. It then applies channel attention to these features, allowing the network to learn rich hierarchical representations and effectively transfer information across modalities.
  • Self-Adaptive Learning Weights: To overcome the limitations of fixed trade-off parameters in loss functions, CoCoNet uses image characteristics like Average Gradient (AG) and Entropy (EN) to dynamically adjust weights for structure (SSIM) and intensity (MSE) similarity losses. This allows the loss function to adapt to the specific content of each image pair.
  • End-to-End Architecture: The entire fusion process is designed as a single, end-to-end trainable network.

Datasets

The paper uses the following datasets:

  • TNO Dataset: A standard dataset for infrared and visible image fusion, used for training and evaluation.
  • RoadScene Dataset: A dataset containing realistic driving scenes, used for evaluation.
  • Medical Image Datasets: The method is extended and evaluated on medical image fusion tasks, including MRI, PET, and SPECT images.

Key Insights and Ideas

  • Leveraging inherent image properties for supervision: The most significant insight is the use of contrastive learning with self-defined positive/negative pairs derived from the source images themselves. This bypasses the need for ground truth fused images, a major bottleneck in supervised fusion.
  • Target vs. Detail preservation: The explicit separation of constraints for preserving salient targets (from infrared) and vivid details (from visible) is crucial for achieving a balanced and informative fused image.
  • Multi-level feature integration is key: The MAM's ability to combine features from different network depths and apply channel attention proves vital for capturing rich, hierarchical representations and ensuring effective feature transfer.
  • Adaptive loss functions are more robust: Dynamically adjusting loss weights based on image content (AG, EN) leads to better performance across diverse scenarios compared to fixed weights.

Key Results

  • State-of-the-Art Performance: CoCoNet achieves state-of-the-art (SOTA) performance on both infrared-visible image fusion and medical image fusion tasks, as demonstrated by extensive quantitative and qualitative evaluations.
  • Improved Target and Detail Preservation: Qualitatively, CoCoNet excels at preserving prominent thermal targets (e.g., objects in low light) and recovering fine textural details from visible images, outperforming existing methods.
  • Quantitative Superiority: On the TNO dataset, CoCoNet shows significant advantages in metrics like SF and AG, often outperforming the second-best method by a large margin (e.g., 58% higher on SF).
  • Effective Medical Image Fusion: The method is successfully extended to MRI-PET and MRI-SPECT fusion, demonstrating its versatility and ability to handle different modality characteristics.
  • Computational Efficiency: Despite its advanced architecture, CoCoNet achieves competitive running times, often faster than many other deep learning fusion methods.

Limitations and Future Work

  • Mask Generation for Medical Fusion: While CoCoNet is extended to medical image fusion, the generation of effective contrastive learning masks for these modalities can be challenging due to varying modal differences. The authors suggest that future work should focus on developing more robust mask generation strategies.
  • Misaligned Image Pairs: The paper acknowledges that acquiring perfectly pixel-aligned infrared and visible image pairs is difficult. While CoCoNet can handle slight misalignments, significant deviations can still lead to artifacts. Future work might explore more advanced registration techniques within the fusion framework.
  • Generalizability of Contrastive Learning: The authors believe that the effectiveness of CCL is contingent on the ability to generate interpretable and meaningful contrastive masks. Further research is needed to explore its applicability to a wider range of multi-modality fusion tasks.

Summary updated

BibTeX
@misc{liu2022coconet,
  author = {Jinyuan Liu and Runjia Lin and Guanyao Wu and Risheng Liu and Zhongxuan Luo and Xin Fan},
  title = {{CoCoNet: Coupled Contrastive Learning Network with Multi-level Feature Ensemble for Multi-modality Image Fusion}},
  year = {2022},
  eprint = {2211.10960},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2211.10960},
}
Figure