Introduction
Image fusion, the process of merging complementary information from diverse sources such as infrared and visible light, is a cornerstone of modern computer vision applications ranging from autonomous navigation to medical imaging. While Denoising Diffusion Probabilistic Models (DDPMs) have recently achieved state-of-the-art results in fusion quality, their practical utility is severely hampered by high computational costs. Standard DDPMs require hundreds of iterative denoising steps, often taking nearly a minute to produce a single image. Furthermore, generic Variational Autoencoders (VAEs) used in latent-space models often fail to preserve the nuanced semantic features necessary for effective multi-modal fusion.
To address these challenges, we present RFfusion, a novel framework that achieves "one-step" efficiency. By employing Rectified Flow to linearize the sampling trajectory and a task-specific VAE, RFfusion reduces inference time to just 0.3 seconds while maintaining or exceeding the quality of existing diffusion-based methods.
Methodology
The RFfusion architecture is built upon three core innovations designed to optimize both speed and fusion fidelity.
1. Rectified Flow Sampling
Traditional diffusion models follow complex, curved paths from Gaussian noise to the data distribution. RFfusion utilizes Rectified Flow, which learns an ordinary differential equation (ODE) that transports noise to data along a straight line. This linearization allows the model to generate high-quality fused images in a single step, bypassing the iterative bottleneck of standard DDPMs.
2. Task-Specific VAE and Two-Stage Training
Rather than relying on a standard reconstruction VAE, the authors developed a specialized VAE optimized for the unique requirements of image fusion. The training is conducted in two distinct stages:
- Stage I (Frequency Similarity): The VAE is trained to accurately reconstruct high- and low-frequency components, ensuring that critical structural details like edges and thermal signatures are preserved in the latent space.
- Stage II (Saliency Mask Loss): A saliency-guided loss function is introduced to prioritize visually significant regions, such as pedestrians or vehicles, ensuring they are prominently featured in the final fused output.
3. Visible Priors
During inference, the model utilizes the visible-light image as a structural prior instead of starting from pure noise. This approach stabilizes the one-step generation process and ensures high geometric coherence in the fused result.
Experimental Results
RFfusion was rigorously evaluated across multiple benchmarks, including Infrared and Visible (IVIF), Multi-Exposure (MEF), and Multi-Focus (MFF) datasets such as M3FD, TNO, and RoadScene.
Efficiency and Performance
The most striking result is the massive gain in efficiency. RFfusion achieves an average runtime of 0.308 seconds on a V100 GPU. In comparison, the baseline DDFM requires over 22 seconds, and the controllable CCF takes over 60 seconds. This represents a speedup of approximately 70x to 200x.
Despite the drastic reduction in computation, RFfusion consistently outperforms state-of-the-art methods (e.g., U2Fusion, SwinFusion) across key metrics like Mutual Information (MI) and Visual Information Fidelity (VIF). The model demonstrates exceptional versatility, handling various fusion tasks without the need for task-specific fine-tuning.
Conclusion
RFfusion demonstrates that the "speed limit" of diffusion models in image fusion can be overcome by straightening the sampling path. By combining Rectified Flow with a task-specific, two-stage VAE training strategy, the framework provides a practical solution for real-time, high-quality multi-modal image fusion. Future work will focus on pre-training the core flow models specifically on multi-modal data to further enhance performance and exploring additional acceleration techniques for edge deployment.
Summary updated