SFPFusion: An Improved Vision Transformer Combining Super Feature Attention and Wavelet-Guided Pooling for Infrared and Visible Images Fusion

Hui Li, Yongbiao Xiao, Chunyang Cheng, Xiaoning Song2023

TL;DR

This paper introduces SFPFusion, a novel Vision Transformer-based approach for fusing infrared and visible images. By combining a "Super Feature Attention" mechanism with "Wavelet-Guided Pooling," SFPFusion effectively captures both global context and fine-grained details, leading to superior fusion performance compared to existing methods.

What Problem Does This Paper Address?

Infrared and visible image fusion aims to create a single image that retains the complementary information from both modalities. Infrared images excel at capturing thermal signatures but lack texture, while visible images offer rich texture but are sensitive to lighting and weather. Existing fusion methods, particularly those based on CNNs, struggle to capture long-range dependencies and global features effectively. While Transformers have shown promise in capturing global context, many current Transformer-based fusion methods overlook the crucial enhancement of fine details, which is vital for downstream tasks and overall visual perception. This paper addresses this gap by proposing a method that simultaneously extracts global features and enhances detail information.

Methods

The proposed SFPFusion method is built upon a Vision Transformer architecture and comprises three main stages: feature extraction, feature fusion, and feature reconstruction.

  • Feature Extraction: This stage employs a series of Convolutional Blocks (CB) and Super Feature Pooling Transformers (SFP).
  • Convolutional Blocks (CB): These extract initial shallow features and expand channel numbers.
  • Wavelet-Guided Pooling (WaP): This novel component, inspired by Haar wavelets, decomposes features into multi-scale base information (LL) and detail textures (VD, HD, DD). Crucially, only the base information is passed to the next stage, while detail features are preserved for later reconstruction.
  • Super Feature Attention (SFA): This mechanism enhances the Transformer's ability to capture long-range dependencies and global features by decomposing attention into sparse correlation maps and low-dimensional attention.
  • Embedded Pooling Layer (EPL): This layer further augments multi-scale features and detail information.
  • Patch Merging Module (PM): Used to increase channel numbers for deeper feature extraction. The architecture utilizes multiple SFP modules to progressively extract deeper features.

  • Feature Fusion: A simple yet effective fusion strategy is employed, combining an $l_1$-norm and softmax-like operation for global features. For detail features, a straightforward addition strategy is used to preserve their sparsity and significance.

  • Feature Reconstruction: This stage uses convolutional blocks and wavelet-guided unpooling (the inverse of WaP) to reconstruct the fused image, accurately recovering structure and texture with minimal information loss.

Datasets

The paper uses the following datasets:

  • MS-COCO: Used for training the auto-encoder network.
  • MSRS: A dataset of infrared and visible image pairs used for evaluation.
  • LLVIP: A dataset of nighttime infrared and visible image pairs used for evaluation.
  • TNO: A dataset of grayscale infrared and visible images used for evaluation.

Key Insights and Ideas

  • Wavelet-Guided Pooling for Detail Preservation: The core innovation is using wavelet-guided pooling to explicitly separate multi-scale base information from fine detail textures. This allows for targeted processing and preservation of crucial details that are often lost in traditional pooling methods.
  • Super Feature Attention for Enhanced Global Context: By modifying the standard self-attention mechanism, SFA can capture more effective long-range dependencies, leading to a richer understanding of global image context.
  • Synergy of Global and Detail Fusion: The method demonstrates that combining a Transformer's global feature extraction with wavelet-guided pooling's detail enhancement leads to a more comprehensive and visually pleasing fused image.
  • Simplicity in Fusion Strategy: The paper shows that a simple $l_1$-norm and softmax-like fusion strategy, when applied to well-extracted features, can achieve state-of-the-art performance, avoiding overly complex fusion rules.

Key Results

The proposed SFPFusion method achieved state-of-the-art or near state-of-the-art performance across multiple metrics and datasets:

  • MSRS Dataset: Achieved the best SD, VIF, AG, and Qabf metrics, and the best EN metric. Specifically, it obtained an AG score of 3.8950 and a Qabf score of 0.5361, outperforming other methods.
  • LLVIP Dataset: Ranked first in AG, Qabf, and EN metrics, with an AG score of 4.7353 and a Qabf score of 0.6088.
  • TNO Dataset: Achieved the best AG and Qabf metrics, with an AG score of 6.2300 and a Qabf score of 0.4802. Qualitative results consistently showed SFPFusion preserving salient infrared features while retaining rich visible texture details, often outperforming competitors in clarity and artifact reduction. The average inference time was less than 0.1s per image, indicating good efficiency.

Limitations and Future Work

  • Limitations:
    • The TNO dataset, consisting of grayscale images, presented a challenge as visible images lacked rich texture. This resulted in SFPFusion performing slightly less optimally on this dataset compared to RGB datasets, though still competitive.
  • The paper notes that using three SFP modules led to training failure due to the Sigmoid activation function in the reconstructed network causing gradient disappearance. This suggests a limit to the depth of superposition.
  • Future Work: The authors suggest that future work could focus on incorporating texture and color information, which are important for image content recognition and could further enhance applications like image retrieval systems.

Summary updated

BibTeX
@misc{li2023sfpfusion,
  author = {Hui Li and Yongbiao Xiao and Chunyang Cheng and Xiaoning Song},
  title = {{SFPFusion: An Improved Vision Transformer Combining Super Feature Attention and Wavelet-Guided Pooling for Infrared and Visible Images Fusion}},
  year = {2023},
  doi = {10.3390/s23187870},
}
Figure