Towards Unified Semantic and Controllable Image Fusion: A Diffusion Transformer Approach

Jiayang Li, Chengjie Jiang, Pengwei Liang, Jiayi Ma, Liqiang Nie, Junjun Jiang

Abstract

DiTFuse is a novel image fusion framework that leverages Diffusion Transformers (DiT) to unify infrared-visible (IVIF), multi-focus (MFF), and multi-exposure fusion (MEF) into a single, instruction-controllable model. By training on a massive scale of self-supervised "complementary" image pairs through a novel Multi-Degrade-Mask-Image-Modeling (M3) strategy, DiTFuse achieves state-of-the-art performance. Beyond standard fusion, the model allows users to refine results and perform high-level semantic tasks like object segmentation using simple natural language commands, bridging the gap between low-level vision and high-level understanding.

Introduction

Image fusion aims to synthesize a single, informative image from multiple source images of the same scene, such as thermal and visible light pairs or varying exposure levels. Despite significant progress, the field has remained fragmented. Most existing models are specialized for a single task (e.g., only IVIF), lack user controllability (acting as "black boxes"), and suffer from a lack of ground-truth data for training. DiTFuse addresses these challenges by treating fusion as a generative task within a unified, text-controllable framework.

Methodology

The core of DiTFuse is a Diffusion Transformer (DiT) backbone, which replaces traditional convolutional architectures. This choice enables the model to handle complex global dependencies and integrate multimodal inputs effectively.

Multimodal Parallel Architecture

DiTFuse employs a parallel architecture that jointly encodes two input images and a natural language instruction into a shared latent space. This design ensures that text instructions guide the fusion process dynamically at every stage, rather than being applied as a post-processing step. A Hybrid Attention Mechanism is utilized: bidirectional attention preserves structural integrity within individual images, while causal attention between modalities allows text prompts to steer the fusion dynamics.

Self-Supervised Learning with M3

To overcome the "ground truth gap," the authors developed the Multi-Degrade-Mask-Image-Modeling (M3) strategy. This self-supervised approach involves taking a high-quality natural image and generating two "degraded" versions—using noise, blur, or masks—to simulate complementary inputs. The model is then trained to reconstruct the original image, effectively learning feature alignment and selection without manual labels.

Overview of DiTFuse capabilities, unifying MFF, MEF, and IVIF tasks with text-controlled fusion.

Key Results and Semantic Awareness

DiTFuse demonstrates superior performance across multiple benchmarks, including MSRS, M3FD, and TNO. Quantitatively, it achieves state-of-the-art results in metrics such as PSNR, MSE, and Spatial Frequency (SF). Qualitatively, the model excels in challenging conditions, such as enhancing pedestrian visibility in foggy or over-exposed scenes where traditional methods often fail.

A standout feature of DiTFuse is its built-in semantic awareness. By incorporating segmentation data (e.g., ADE20k) during training, the model "understands" scene components like cars or pedestrians. This allows for "What You See Is What You Get" (WYSIWYG) control, where users can provide specific modifiers like "increase the brightness of the person" to achieve localized adjustments.

Instruction-following segmentation demonstrating the model's semantic understanding and zero-shot capabilities.

In zero-shot segmentation tasks on the FMB dataset, DiTFuse achieved a mean Intersection over Union (mIoU) of 0.4760, outperforming dedicated large-scale models like LISA (0.4386).

Discussion and Future Work

While DiTFuse represents a significant advancement, it faces limitations typical of diffusion models. Inference speed is currently constrained by the 50 denoising steps required, making it slower than feed-forward CNNs. Additionally, the use of a Variational Autoencoder (VAE) can lead to a slight loss of fine-grained detail. Future research will focus on improving sampling efficiency and optimizing information encoding to reduce this "reconstruction tax." Despite these challenges, DiTFuse sets a new standard for unified, controllable, and semantically-aware image fusion.

Summary updated

Abstract

Image fusion aims to blend complementary information from diverse sensing modalities, yet most current methods lack robustness in complex fusion scenarios and cannot flexibly accommodate user intent. We present DiTFuse, the first Diffusion-Transformer (DiT) framework for instruction-driven, dynamic fusion control. Guided by natural-language instructions, DiTFuse flexibly blends multimodal content to enable hierarchical and fine-grained control over fusion dynamics. The training phase employs a multi-degrade-mask-image-modeling (M3) strategy, so the network jointly learns cross-modal alignment, modality-invariant restoration, and task-aware feature selection without relying on ideal reference images. A curated, multi-granularity instruction dataset further equips the model with interactive fusion capabilities. DiTFuse unifies infrared-visible, multi-focus, and multi-exposure fusion-as well as text-controlled refinement and downstream tasks-within a single architecture. Experiments on public IVIF, MFF, and MEF benchmarks confirm superior quantitative and qualitative performance, sharper textures, and better semantic retention. The model also supports multi-level user control and zero-shot generalization to other multiimage fusion scenarios, including instruction-conditioned segmentation.
BibTeX
@article{li2026towards,
  author = {Jiayang Li and Chengjie Jiang and Pengwei Liang and Jiayi Ma and Liqiang Nie and Junjun Jiang},
  title = {{Towards Unified Semantic and Controllable Image Fusion: A Diffusion Transformer Approach}},
  journal = {IEEE Trans. Pattern Anal. Mach. Intell.},
  year = {2026},
  doi = {10.1109/tpami.2025.3642842},
}
Figure