TextFusion: Unveiling the Power of Textual Semantics for Controllable Image Fusion

Chunyang Cheng, Tianyang Xu, Xiao-Jun Wu, Hui Li, Xi Li, Zhangyong Tang, Josef Kittler

TL;DR

This paper introduces TextFusion, a novel image fusion paradigm that leverages textual descriptions to control the fusion process, enabling diverse outputs tailored to specific downstream tasks or visualization needs. By bridging the semantic gap between text and images, TextFusion offers a more flexible and controllable alternative to traditional methods that rely solely on visual information.

What Problem Does This Paper Address?

Traditional image fusion methods aim to combine information from multiple source images (e.g., infrared and visible) into a single, more informative image. However, these methods often struggle with controllability; they produce fused images in a fixed manner, making it difficult to adapt them for different applications like object detection or general observation. To achieve a fusion result suitable for a specific scenario, existing approaches often require extensive retraining. This paper addresses this limitation by proposing a controllable image fusion paradigm that uses textual descriptions to guide the fusion process, allowing for diverse outputs from a single model.

Methods

TextFusion employs a multi-modal approach, integrating vision and language. The core of the method involves:

  • Vision-and-Language Model Integration: They leverage pre-trained vision-and-language models (like CLIP) to establish a connection between textual descriptions and image content.
  • Coarse-to-Fine Association Mechanism: To bridge the semantic gap, a two-stage process is used:
  • Coarse-Grained Association (CGA): This module generates heat maps linking words to image regions, identifying potential areas of interest.
  • Fine-Grained Association (FGA): This module refines the interest map using instance segmentation to achieve pixel-level precision.
  • Affine Fusion Unit: An affine fusion unit is embedded within a transformer network. This unit fuses features from infrared and visible images, guided by the textual semantics. The infrared modality is treated as dominant for fusion, while the visible modality contributes to reconstructing high-quality results.
  • Textual Attention for Image Quality Assessment: The authors propose a novel image quality assessment metric that uses textual attention to focus on regions specified by the text prompt, providing a more task-relevant evaluation.

Datasets

  • IVT Dataset: The authors introduce a new multi-modal dataset called IVT (Infrared and Visible Text) for text-guided image fusion. It comprises aligned infrared and visible image pairs with manually annotated textual descriptions. The dataset was curated from existing RGBT datasets like TNO, RoadScene, and LLVIP.

Key Insights and Ideas

  • Text as a Control Knob for Fusion: The most significant insight is that textual semantics can act as a powerful control mechanism for image fusion, moving beyond fixed, appearance-based fusion.
  • Bridging the Semantic Gap: The coarse-to-fine association mechanism is crucial for translating high-level textual concepts into low-level image features, a key challenge in multi-modal fusion.
  • Task-Specific Fusion is Achievable: The ability to generate different fusion outputs based on textual prompts demonstrates that fusion can be tailored to specific downstream tasks (e.g., detection vs. observation).
  • Textual Attention for Meaningful Evaluation: Traditional fusion metrics can be misleading. Textual attention allows for more relevant quality assessment by focusing on the intended output based on the text prompt.

Key Results

  • Superior Performance: TextFusion consistently outperforms traditional appearance-based fusion methods across various metrics, including Qabf, SSIM, and VIF.
  • Controllability Demonstrated: Qualitative results show that TextFusion can generate distinct fused images based on different textual descriptions, highlighting specific objects or scene aspects. For instance, preserving thermal radiation for pedestrian detection or emphasizing texture for general observation.
  • Improved Downstream Task Performance: In pedestrian detection tasks on the IVT-LLVIP dataset, TextFusion achieved the best detection precision ([email protected]), outperforming other methods both with and without text input.
  • Effective Ablation Studies: Experiments confirmed the effectiveness of the affine fusion unit and the proposed loss function, showing that combining different modalities and criteria leads to better results.

Limitations and Future Work

  • Dataset Size: While the IVT dataset is a valuable contribution, its size is still smaller than existing benchmarks for other vision tasks. The authors plan to continue enlarging it.
  • Association Mechanism Limitations: The current coarse-to-fine association mechanism, while effective, may not always perfectly locate the region of interest, potentially impacting fusion performance in some cases.
  • Evaluation Metric Rationale: The rationale behind incorporating fusion guidance into evaluation metrics needs further exploration.

The authors suggest that future work could focus on improving the association mechanism and further exploring the theoretical underpinnings of text-guided evaluation metrics.

Summary updated

BibTeX
@article{cheng2023textfusion,
  author = {Chunyang Cheng and Tianyang Xu and Xiao-Jun Wu and Hui Li and Xi Li and Zhangyong Tang and Josef Kittler},
  title = {{TextFusion: Unveiling the Power of Textual Semantics for Controllable Image Fusion}},
  journal = {Information Fusion},
  year = {2023},
  url = {https://openreview.net/forum?id=5a7s2zub3n},
}
Figure