Abstract
TeSG (Textual Semantic Guidance) is a novel framework that leverages large Vision-Language Models (VLMs) to automatically generate textual and mask-based guidance for merging infrared and visible images. By transitioning from low-level pixel blending to high-level semantic understanding, TeSG produces fused images optimized for downstream AI tasks like object detection and autonomous driving.
Introduction
Infrared (IR) and Visible (VIS) image fusion aims to combine the complementary strengths of both modalities: IR sensors excel at detecting heat signatures in low-light conditions, while VIS sensors provide rich textures and color information. Traditional fusion methods often struggle with semantic consistency, frequently failing to preserve sharp edges or distinct object features across modalities. While recent text-guided approaches have emerged, they typically rely on manual text input and lack spatial grounding, leading to suboptimal "one-size-fits-all" fusion.
Methodology: The TeSG Framework
TeSG addresses these limitations by automating textual guidance through three integrated modules: the Semantic Information Generator (SIG), Mask-Guided Cross-Attention (MGCA), and the Text-Driven Attentional Fusion (TDAF) module.
1. Semantic Information Generator (SIG)
To eliminate the need for manual input, TeSG utilizes a frozen BLIP model to automatically generate image captions. It then employs a "noise-based" strategy with a Diffusion Model (DDIM) to derive a Semantic Mask. By analyzing the difference in noise estimation with and without specific keywords (e.g., "car"), the system can precisely localize objects within the frame.
2. Mask-Guided Cross-Attention (MGCA)
The generated masks allow the network to differentiate between foreground objects and the background. The MGCA module performs cross-attention, enabling the model to selectively attend to relevant features from each modality based on the semantic context of the specific region.
3. Text-Driven Attentional Fusion (TDAF)
Finally, global text features representing the overall scene context drive a gated attention mechanism. This serves as a dynamic filter, weighting the contributions of IR and VIS features to ensure a coherent and informative final output.
Experimental Evaluation
The framework was evaluated on three benchmark datasets: MSRS (multi-spectral road scenes), RoadScene (diverse driving environments), and LLVIP (low-light visible-infrared pairs). Beyond standard image quality metrics, the performance was validated on downstream tasks using YOLOv8 for object detection and DeepLabV3+ for semantic segmentation.
Results and Discussion
TeSG consistently outperformed state-of-the-art (SOTA) methods, including TarDAL, CDDFuse, and Text-IF, across various quantitative and qualitative benchmarks.
Key findings include:
- Information Retention: TeSG achieved superior scores in Entropy (EN) and Visual Information Fidelity (VIF), indicating higher information density and better alignment with human perception.
- Downstream Task Performance: On the MSRS dataset, TeSG reached a [email protected] of 0.945 for object detection. In semantic segmentation, it achieved a mIoU of 75.38%, significantly improving the identification of challenging categories like "person" and "bike" in complex lighting.
- Task-Oriented Fusion: The results demonstrate that prioritizing features beneficial for AI models leads to better performance in autonomous systems compared to traditional methods focused solely on visual aesthetics.
Conclusion
TeSG represents a significant step toward automated, semantically-aware image fusion. By integrating VLMs and diffusion-based masking, it removes the human-in-the-loop requirement while providing fine-grained guidance. Future work will focus on improving the computational efficiency of the SIG module and extending the framework to other domains such as medical imaging and remote sensing.
Summary updated