Conditional Controllable Image Fusion

Bing Cao, Xingxin Xu, Pengfei Zhu, Qilong Wang, Qinghua Hu

TL;DR

Researchers have introduced Conditional Controllable Fusion (CCF), a training-free framework that leverages pre-trained diffusion models to merge images from diverse sources (like infrared and visible light). By using a dynamic "Condition Bank" and an adaptive selection mechanism, CCF customizes the fusion process for every single image pair, achieving state-of-the-art results across multiple tasks without any specialized fine-tuning.

What Problem Does This Paper Address?

Image fusion is the art of taking two or more images of the same scene—perhaps one from a thermal camera and one from a standard RGB sensor—and blending them into a single "super-image" that contains the best of both worlds.

Traditionally, this has been a "one-size-fits-all" problem. Engineers would design a specific neural network and train it on a massive dataset for a specific task (e.g., visible-infrared fusion). However, these fixed paradigms struggle when the environment changes rapidly or when they encounter a scenario they weren't specifically trained for. Furthermore, training these models from scratch is computationally expensive and requires vast amounts of labeled data.

The gap here is the lack of a general, controllable, and training-free framework that can adapt to the unique requirements of any given image pair on the fly.

Methods

The authors turn to Denoising Diffusion Probabilistic Models (DDPMs). Instead of training a new model, they use a powerful, pre-trained unconditional DDPM as a generative prior. The "magic" happens in how they guide this model during the denoising (sampling) process.

CCF Framework Architecture

Key components of the CCF framework include:

  1. Condition Bank: A library of image constraints categorized into three tiers:
  2. Basic: Foundational constraints (like Mean Squared Error) to ensure the fused image looks like the sources.
  3. Enhanced: Quality-focused metrics (like SSIM, Spatial Frequency, or Standard Deviation) to sharpen details.
  4. Task-specific: High-level goals, such as features from a YOLOv5 detection network to ensure the fused image is optimized for machine vision.
  5. Sampling-adaptive Condition Selection (SCS): This is the core innovation. Not all constraints are useful at every stage of the diffusion process. SCS uses a "Gate" mechanism to dynamically select the most relevant conditions from the bank at each denoising step using Top-K routing.
  6. Iterative Rectification: In each step of the reverse diffusion process, the model estimates a "clean" image. CCF then applies gradient descent to this estimate to minimize the loss defined by the selected conditions, effectively "steering" the generative process toward a perfect fusion.

Datasets

The framework was evaluated across three major fusion scenarios using several well-known benchmarks:

  • Multi-modal Fusion (VIF/MRI): LLVIP (visible-infrared), TNO, and the Harvard Medical dataset (MRI-CT/PET).
  • Multi-focus Fusion (MFF): MFFW dataset.
  • Multi-exposure Fusion (MEF): MEFB dataset.

Key Insights and Ideas

  • The "Aha" Moment on Timing: The authors discovered that the diffusion process has different "appetites" at different stages.
Dynamic Condition Selection Over Time

As shown in the selection frequency heatmap, in the early, noisy stages, the model benefits from random or content-heavy conditions (like MSE and SSIM). As the image clears up toward the end of the process ($T$), it shifts its focus toward fine texture and edge details (like Spatial Frequency and Edge Intensity). The SCS mechanism automates this "focus shift." * Training-Free Versatility: Because the model relies on a pre-trained generative prior, it doesn't need to "learn" what an image looks like. It only needs to be "told" (via conditions) how to combine the existing information. * Downstream Optimization: By injecting a detection-specific condition (using YOLOv5 features), the authors showed they could significantly boost the performance of object detection on the fused images (increasing mAP.5 from 0.858 to 0.907), proving that fusion can be tailored for machines, not just human eyes.

Key Results

CCF consistently outperformed both traditional and deep-learning-based state-of-the-art (SOTA) methods:

  • Quantitative: On the LLVIP dataset, CCF achieved the highest scores in Structural Similarity (SSIM) and Correlation Coefficient (CC), while significantly reducing Mean Squared Error (MSE) compared to the next best methods.
  • Qualitative: Visually, CCF produces images with higher contrast and fewer artifacts. For example, in multi-focus tasks, it successfully preserved sharp details that other models blurred. In low-light infrared fusion, it maintained clear backgrounds while highlighting thermal targets (like pedestrians) with high fidelity.
  • Efficiency: While diffusion models are notoriously slow, CCF manages a respectable average runtime of ~222 seconds per image for 8 conditions, which is competitive for high-quality offline processing.

Limitations and Future Work

Despite its success, the authors acknowledge a few hurdles:

  • Empirical Construction: The Condition Bank currently relies on human expertise to decide which metrics (SSIM, MSE, etc.) to include.
  • Speed: Like all diffusion-based methods, the iterative nature makes it slower than "one-pass" CNN or GAN-based models, limiting real-time applications.
  • Automation: Future work aims to explore more automatic ways to distinguish and select conditions, further reducing the need for human intervention and making the system even more robust for high-stakes environments like autonomous driving or medical diagnostics.

Summary updated

BibTeX
@inproceedings{cao2024conditional,
  author = {Bing Cao and Xingxin Xu and Pengfei Zhu and Qilong Wang and Qinghua Hu},
  title = {{Conditional Controllable Image Fusion}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2024},
  url = {https://openreview.net/forum?id=RSs4o7CSqe},
}
Figure