UniDiffFusion: A Unified Diffusion Framework for Multi-Task and Degradation-Robust Image Fusion

Xingxin Xu, Siqi Zhao, Xin Li, Xinjie Yao, Yiming Sun, Pengfei ZhuarXiv 2026

TL;DR

UniDiffFusion (also referred to as HP-UniIF) is a unified image fusion framework that leverages the strong generative priors of a pretrained diffusion model to handle multiple fusion tasks simultaneously. By introducing a hierarchical prompt-learning strategy, it achieves robust performance under diverse degradation conditions (like blur, noise, and low light) and seamlessly adapts to downstream perception tasks like object detection and semantic segmentation.

What Problem Does This Paper Address?

Image fusion aims to combine complementary information from multiple source images—such as combining the thermal signatures of infrared images with the detailed textures of visible-light images. However, real-world deployment introduces a triad of challenges known as the $M^3$ setting:

  1. Multiple Fusion Tasks: Models must handle distinct tasks like Visible-Infrared Fusion (VIF), Multi-Exposure Fusion (MEF), and Multi-Focus Fusion (MFF).
  2. Diverse Degradations: Input images are frequently corrupted by noise, blur, haze, or poor illumination.
  3. Various Downstream Applications: Fused images are often intermediate inputs for computer vision tasks like object detection or semantic segmentation, which require distinct semantic features compared to standard human perception.

Existing methods typically treat these problems in isolation or rely on task-specific architectures. Directly optimizing a single model for all three objectives simultaneously leads to gradient interference and conflicting optimization signals. UniDiffFusion addresses this by using a shared diffusion backbone with structurally separated, hierarchical adaptation paths.

Figure 1: Motivation of HP-UniIF under the multi-task, multi-degradation, and multi-application setting. Existing task-specific, restoration-enhanced, and application-oriented paradigms address only partial requirements. In contrast, HP- UniIF coordinates task, degradation, and application prompts within a shared diffusion prior, enabling unified adaptation across heterogeneous fusion tasks, diverse degradation, and various downstream applications.

Methods

UniDiffFusion is built on a pretrained latent diffusion model (specifically SD-Turbo) consisting of a variational autoencoder (VAE) and a denoising U-Net. To prevent objective interference, the authors introduce a Hierarchical Prompt-Learning Strategy divided into three distinct stages:

  • Task Prompt Modulation (TPM): Different fusion tasks require different information-selection strategies. TPM uses learnable task-aware prompts that progressively refine and adapt the shared latent and decoder representations to the specific fusion objective (VIF, MEF, or MFF).
  • Degradation Prompt Router (DPR): To handle corruptions, DPR dynamically constructs a degradation descriptor from the input features. It queries a level-specific pool of learnable key-value prompt pairs to retrieve the most relevant degradation priors, restoring the corrupted source features before cross-modality fusion occurs.
  • Application Prompt Bank (APB): For downstream tasks, APB injects application-specific semantic guidance throughout the decoding process via gated branches, ensuring the model preserves discriminative features required for perception without altering the core visual fusion pathway.

To train this complex architecture without gradient conflicts, the authors employ a three-stage progressive training strategy: first training the multi-task fusion layers on clean images, then freezing those paths to train the DPR on degraded samples, and finally freezing both to optimize the APB for downstream tasks.

Figure 2: Overview of HP-UniIF. TPM progressively refines the fusion-task prompt to adapt the shared fusion pathway; DPR retrieves input-dependent degradation prompts for multi-scale restoration; and APB injects the specified downstream-application condition while retaining source evidence.

Datasets

The framework was validated across several standard benchmarks:

  • Visible-Infrared Fusion (VIF): Trained and evaluated on the LLVIP dataset (low-light vision) and the MSRS dataset for semantic segmentation.
  • Multi-Exposure Fusion (MEF): Trained on 589 image pairs from the SCIE dataset and tested on 100 pairs from MEFB.
  • Multi-Focus Fusion (MFF): Trained on RealMFF and MFI-WHU, and tested using the MFIF benchmark setting.

Key Insights and Ideas

  • Diffusion Models as Universal Backbones: Instead of just using diffusion models for high-quality image generation, this paper demonstrates that a pretrained diffusion model can serve as a powerful, shared structural prior across completely heterogeneous image processing tasks.
  • The Necessity of Decoupling: A key "aha" moment in the ablation studies revealed that degradation correction without task awareness actually hurts performance because it can inadvertently alter or destroy useful fusion evidence. Structurally separating task adaptation (TPM) and restoration (DPR) allows them to act complementarily.
  • Downstream Adaptation without Visual Disruption: Adding application-specific semantics via the APB yields massive improvements in downstream tasks while causing negligible changes to the intrinsic visual quality metrics of the fused images.

Key Results

UniDiffFusion achieved state-of-the-art quantitative and qualitative performance across all tested scenarios:

  • Under Degraded Conditions: In VIF tasks with severe noise/blur, UniDiffFusion outperformed all competitors across 17 distinct metrics, achieving an Entropy (EN) score of 7.381 and a Standard Deviation (SD) of 49.919 on the LLVIP dataset.
  • Downstream Performance: For object detection on degraded images, it achieved a mean Average Precision ([email protected]) of 0.864, vastly outperforming other recent unified fusion methods like URFusion (0.719) and GIFNet (0.342).
  • Semantic Segmentation: It achieved the highest mean Intersection over Union (mIoU) of 75.564, demonstrating superior class-wise accuracy on both large semantic regions (like roads) and small foreground objects (like bicycles).

Limitations and Future Work

While highly effective, the authors note a few areas for improvement:

  1. Unseen Degradations: The model's robustness is currently bounded by the degradation types encountered during training; adapting to entirely unseen real-world corruptions remains a challenge.
  2. Efficiency: Diffusion-based models are computationally heavy. The authors plan to explore more lightweight prompt-learning mechanisms to make the framework viable for efficient, real-world deployment on edge devices.

Summary updated

BibTeX
@misc{xu2026unidifffusion,
  author = {Xingxin Xu and Siqi Zhao and Xin Li and Xinjie Yao and Yiming Sun and Pengfei Zhu},
  title = {{UniDiffFusion: A Unified Diffusion Framework for Multi-Task and Degradation-Robust Image Fusion}},
  year = {2026},
  eprint = {2608.21786},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2608.21786},
}
Figure