Fusion-Mamba for Cross-Modality Object Detection

Wenhao Dong, Haodong Zhu, Shaohui Lin, Xiaoyan Luo, Yunhang Shen, Guodong Guo, Baochang Zhang

TL;DR

This paper introduces Fusion-Mamba, a novel approach for cross-modality object detection that leverages the Mamba architecture to effectively fuse information from different sensor modalities (like RGB and infrared). By creating a "hidden state space" for feature interaction, Fusion-Mamba significantly reduces modality disparities, leading to state-of-the-art performance and improved robustness in challenging conditions.

What Problem Does This Paper Address?

Object detection systems often benefit from combining data from multiple sensors, such as visible light (RGB) cameras and infrared (IR) cameras. RGB cameras capture rich texture and detail but struggle in low-light or adverse weather conditions. IR cameras excel in these scenarios by detecting heat signatures but lack fine-grained visual information. Effectively fusing these complementary modalities is crucial for robust object detection. However, existing fusion methods often fail to adequately address the inherent "modality disparities" – differences in camera focal lengths, placement, and viewing angles – which can hinder performance. Furthermore, Transformer-based fusion methods, while powerful, suffer from high computational complexity. This paper aims to bridge this gap by proposing a more efficient and effective fusion mechanism that explicitly handles modality differences.

Methods

The core innovation of this paper is the Fusion-Mamba block (FMB), which integrates the Mamba architecture into a cross-modality fusion framework. The FMB comprises two key modules:

  • State Space Channel Swapping (SSCS) module: This module performs shallow feature fusion by swapping and then processing channel features from the RGB and IR modalities. This initial interaction helps to align features across modalities.
  • Dual State Space Fusion (DSSF) module: This module builds upon the SSCS output to achieve deep feature fusion within a "hidden state space." It uses Mamba's linear-time sequence modeling capabilities to create an interactive space where features from different modalities can be associated and complemented. A gating mechanism is employed within the DSSF to selectively modulate feature interactions, further reducing disparities and enhancing representation consistency.

The overall architecture uses a dual-stream network to extract features from RGB and IR images separately, then feeds these features into the FMBs before passing them to a standard detection neck and head (similar to YOLOv8).

Datasets

The proposed Fusion-Mamba method was evaluated on three widely-used visible-infrared benchmark datasets:

  • LLVIP: A dataset for pedestrian detection in low-light conditions.
  • M³FD: A dataset for autonomous driving and road monitoring, featuring diverse environments and weather conditions.
  • FLIR-Aligned: A dataset containing day and night scenes with various object categories.

Key Insights and Ideas

  • Mamba for Cross-Modality Fusion: The paper demonstrates that Mamba's efficient state-space modeling can be effectively adapted for cross-modality fusion, offering a promising alternative to computationally expensive Transformers.
  • Hidden State Space for Disparity Reduction: The concept of projecting cross-modal features into a "hidden state space" is key. This abstract space allows for more robust interaction and association, effectively mitigating the challenges posed by modality disparities.
  • Gated Attention for Complementarity: The DSSF module's gated attention mechanism is crucial for selectively combining information from different modalities, ensuring that complementary features are leveraged while redundant ones are suppressed.
  • Efficiency Gains: By replacing Transformer-based fusion with Mamba, the method achieves significant reductions in inference time without sacrificing performance.

Key Results

Fusion-Mamba achieved state-of-the-art performance on the evaluated datasets:

  • LLVIP Dataset: Achieved 97.0% mAP50 and 64.3% mAP using a YOLOv8 backbone, outperforming previous methods.
  • M³FD Dataset: Achieved 85.0% mAP50 and 57.5% mAP with a YOLOv5 backbone, and 88.0% mAP50 and 61.9% mAP with a YOLOv8 backbone, setting new benchmarks.
  • FLIR-Aligned Dataset: Surpassed previous methods by significant margins, achieving 84.9% mAP50 and 47.0% mAP with a YOLOv8 backbone.
  • Efficiency: The method demonstrated faster inference times compared to Transformer-based fusion methods, saving 7-19ms per image on average.

Qualitatively, the heatmap visualizations show that Fusion-Mamba focuses more precisely on targets and better models correlations between objects from different modalities, leading to improved detection in challenging scenarios like low lighting, occlusion, and dense object scenes.

Limitations and Future Work

  • Number of DSSF Modules: The paper found that using 8 DSSF modules achieved the best performance, suggesting that increasing this number further might lead to diminishing returns or even performance degradation due to feature drift.
  • Computational Cost: While more efficient than Transformers, the Fusion-Mamba method still adds computational overhead compared to single-modality detectors.
  • Future Work: The authors believe their work opens a new paradigm for cross-modality fusion and inspires further research into applying Mamba in this domain. They suggest exploring more advanced Mamba-based architectures and their application to other cross-modal tasks.

Summary updated

BibTeX
@article{dong2024fusion,
  author = {Wenhao Dong and Haodong Zhu and Shaohui Lin and Xiaoyan Luo and Yunhang Shen and Guodong Guo and Baochang Zhang},
  title = {{Fusion-Mamba for Cross-Modality Object Detection}},
  journal = {IEEE Trans. Multimedia},
  year = {2024},
}
Figure