MoE-Fusion: Instance Embedded Mixture-of-Experts for Infrared and Visible Image Fusion

Yiming Sun, Bing Cao, Pengfei Zhu, Qinghua Hu

Abstract

Infrared and visible image fusion aims to integrate comprehensive information from multiple sources to achieve superior performances on various practical tasks, such as detection, over that of a single modality. However, most existing methods directly combined the texture details and object contrast of different modalities, ignoring the dynamic changes in reality, which diminishes the visible texture in good lighting conditions and the infrared contrast in low lighting conditions. To fill this gap, we propose a dynamic image fusion framework with a multi-modal gated mixture of local-to-global experts, termed MoE-Fusion, to dynamically extract effective and comprehensive information from the respective modalities. Our model consists of a Mixture of Local Experts (MoLE) and a Mixture of Global Experts (MoGE) guided by a multi-modal gate. The MoLE performs specialized learning of multi-modal local features, prompting the fused images to retain the local information in a sample-adaptive manner, while the MoGE focuses on the global information that complements the fused image with overall texture detail and contrast. Extensive experiments show that our MoE-Fusion outperforms state-of-the-art methods in preserving multi-modal image texture and contrast through the local-to-global dynamic learning paradigm, and also achieves superior performance on detection tasks.

Introduction

Infrared and visible image fusion (IVIF) is a cornerstone technology for autonomous vehicles and advanced surveillance systems. Infrared sensors are indispensable for detecting heat signatures in low-light or obscured environments, while visible-light cameras provide the high-resolution texture and color necessary for human-like scene understanding.

The primary challenge in IVIF is the dynamic nature of real-world environments. Traditional fusion methods often employ a static, "one-size-fits-all" approach that fails to adapt to changing lighting conditions. This can result in "unsuitable contrast," where a dominant infrared signal might suppress fine visible textures during the day, or a dark visible image might obscure critical infrared signatures at night. MoE-Fusion addresses this by introducing a sample-adaptive strategy that dynamically adjusts its fusion logic based on the specific content and lighting of each input pair.

Methodology

MoE-Fusion utilizes a "Local-to-Global" learning paradigm implemented through a Mixture-of-Experts (MoE) architecture. The framework is composed of three primary modules:

  1. Mixture of Local Experts (MoLE): This module targets specific regions of interest. It employs an auxiliary detection network (Faster R-CNN) to generate spatial attention maps. These maps guide local experts to specialize in foreground objects (e.g., pedestrians, vehicles), ensuring their semantic details are prioritized during the fusion process.
  2. Mixture of Global Experts (MoGE): Complementing the MoLE, these experts focus on the broader scene. They are responsible for maintaining global texture, contrast, and background integrity (such as sky or terrain), ensuring the final output is visually natural.
  3. Multi-modal Gating: Acting as the system's router, this gating network calculates dynamic weights for each expert for every input pair. This allows the model to prioritize different experts—for instance, favoring visible-light experts in bright conditions and infrared experts in darkness.
The MoE-Fusion architecture featuring Mixture of Local Experts (MoLE) and Mixture of Global Experts (MoGE) modules guided by a multi-modal gating network.

The model is optimized using a composite loss function that balances pixel intensity (pixel loss), texture preservation (gradient loss), and expert utilization (load loss).

Experimental Results

The researchers evaluated MoE-Fusion against state-of-the-art (SOTA) methods using three major benchmarks: M³FD, FLIR, and LLVIP.

Quantitative and Qualitative Performance

On the M³FD dataset, MoE-Fusion achieved the top ranking in 7 out of 8 standard fusion metrics, including Entropy and Visual Information Fidelity. Qualitatively, the model excels at preserving fine details—such as text on traffic signs or road markings—even in the presence of high-contrast infrared signatures that typically cause "blurring" in other methods.

Downstream Object Detection

A key advantage of MoE-Fusion is its performance in downstream tasks. In object detection tests on the M³FD dataset, the model achieved a 58.3% mAP (mean Average Precision), representing a 3.9% improvement over the previous SOTA method, SwinFuse. As shown in the comparison below, MoE-Fusion successfully identifies objects that other methods either miss or misclassify due to poor fusion quality.

Comparison of object detection performance across various fusion methods. MoE-Fusion successfully detects objects (like the truck and cars in the tunnel) that are missed or misidentified by other techniques.

Conclusion

MoE-Fusion demonstrates that a local-to-global dynamic learning paradigm significantly enhances the quality of infrared and visible image fusion. By utilizing specialized experts and a dynamic gating mechanism, the model adapts to diverse environmental conditions, providing superior visual clarity and significantly boosting performance in critical downstream tasks like object detection. Future work will explore automated hyperparameter optimization for expert selection and the integration of uncertainty-aware gating to further refine sensor fusion.

Summary updated

BibTeX
@inproceedings{sun2023moe,
  author = {Yiming Sun and Bing Cao and Pengfei Zhu and Qinghua Hu},
  title = {{MoE-Fusion: Instance Embedded Mixture-of-Experts for Infrared and Visible Image Fusion}},
  booktitle = {IEEE/CVF International Conference on Computer Vision},
  year = {2023},
}
Figure