TL;DR
TGFusion introduces a text-guided latent-space flow matching framework that seamlessly unifies degradation suppression and infrared-visible image fusion. By treating text prompts as an independent, dynamically evolving semantic stream, it effectively clears up complex, spatially varying real-world corruptions to produce high-quality fused images.
What Problem Does This Paper Address?
Infrared-visible image fusion (IVIF) is essential for applications like autonomous driving and surveillance, combining the thermal target detection of infrared with the sharp structural textures of visible light. However, real-world conditions are rarely ideal. Images frequently suffer from modality-specific or compound degradations—such as heavy haze, low light, rain streaks, or sensor noise.
Traditional methods typically use a two-stage "restore then fuse" pipeline, which adds significant computational overhead and prevents the restoration and fusion tasks from being jointly optimized. Recent text-guided methods attempt to use language descriptions to guide the network, but they inject text as a fixed global condition. Because real-world degradations are spatially non-uniform (e.g., a patch of fog in one corner of a street), these static text priors fail to adapt to local scene variations, often leaving behind residual artifacts or blurring out critical details.
Methods
TGFusion formulates image fusion under complex degradations as a conditional transport problem, utilizing Latent-Space Conditional Flow Matching (CFM) to define a straight generative trajectory from random noise to a clean, fused latent representation.
The core architecture consists of two main components:
- Structured Degradation Prompts: The framework constructs detailed prompts combining the task, modality-specific degradation types/severities, and generation goals (e.g., "Image Fusion, visible moderate rain, clear details, sharp edges, high contrast"). These are converted into token-level representations using a frozen CLIP text encoder.
- Prompt-conditioned Multi-stream Joint Flow Transformer: Instead of treating text as a static background condition, TGFusion introduces a four-stream architecture consisting of the fusion generative stream, visible stream, infrared stream, and an independent text semantic stream.
Using layer-wise Joint Attention, tokens across all four streams interact bidirectionally. This allows the text stream to dynamically update its context based on the evolving state of the visual features, providing region-sensitive guidance exactly where degradations occur.
Datasets
The model was trained and evaluated using several prominent benchmarks:
- DDL-12: Used for training and complex degradation robustness testing, as it contains annotated single and compound degradation states.
- Standard Public Benchmarks: Evaluated on MSRS, LLVIP, M3FD, and TNO to verify general fusion performance.
- MFNet: Utilized to evaluate downstream semantic segmentation performance on the fused outputs.
Key Insights and Ideas
- Text as an Evolving Stream: The defining "aha moment" of this paper is that text shouldn't remain static during generation. By letting the text tokens evolve alongside visual tokens, the text stream develops content-aware spatial responses. For example, the token for "haze" naturally maps itself to the most heavily fogged regions of the image to guide localized suppression.
- Stage-wise Specialization: Visualization of the attention maps reveals a clear behavioral shift across the Transformer blocks. Early layers exhibit broad, multi-modal interactions to align the modalities. In later layers, the visible stream strictly tracks scene structures, the infrared stream isolates thermal targets, and the text stream zeroes in on localized degradation suppression.
- Latent Space Efficiency: By executing the flow matching process inside a compact, pre-trained VAE latent space, TGFusion avoids the heavy computational tax of pixel-space diffusion models while preserving fine structural details.
Key Results
- Perceptual Quality: On standard datasets like MSRS, TGFusion achieved top-tier performance in non-reference metrics, securing a CLIP-IQA score of 0.28 and a TReS score of 65.70, noticeably outperforming recent state-of-the-art models like ControlFusion and OmniFuse.
- Degradation Robustness: Under severe compound conditions (e.g., simultaneous low-light and stripe noise), qualitative results show that TGFusion effectively eliminates veil-like haze and rain streaks that competing networks leave behind, all while maintaining sharp target saliency.
- Downstream Performance: To prove its practical utility, the authors tested the fused images on a semantic segmentation network (SegNeXt) trained on the MFNet dataset. TGFusion achieved the highest accuracy with 71.83% mIoU and 81.47% mAcc, demonstrating that its artifact removal directly benefits machine perception.
Limitations and Future Work
Not explicitly discussed in the paper.
Summary updated