WaveMamba: Wavelet-Driven Mamba Fusion for RGB-Infrared Object Detection

Haodong Zhu, Wenhao Dong, Linlin Yang, Hong Li, Yuguang Yang, Yangyang Ren, Qingcheng Zhu, Zichao Feng, Changbai Li, Shaohui Lin, Runqi Wang, Xiaoyan Luo, Baochang Zhang

Abstract

WaveMamba is a novel cross-modality fusion framework designed to enhance RGB-Infrared (RGB-IR) object detection. By integrating the efficiency of Mamba (State Space Models) with the precision of Discrete Wavelet Transforms (DWT), WaveMamba effectively merges structural thermal data with high-frequency visual textures. The framework achieves a significant performance leap, averaging a 4.5% mAP improvement over current state-of-the-art methods while maintaining high computational efficiency and a reduced parameter count.

Introduction

Effective object detection in adverse lighting or weather conditions often necessitates the fusion of visible-light (RGB) and infrared (IR) imagery. While RGB provides rich texture and detail, IR excels at capturing thermal signatures regardless of illumination. However, traditional fusion methods often struggle to balance long-range dependency modeling with computational efficiency. Convolutional Neural Networks (CNNs) lack global context, and Transformers are computationally intensive. Furthermore, existing methods often overlook the distinct frequency characteristics of RGB and IR data, treating them as uniform information sources.

Methodology

WaveMamba addresses these challenges through a "divide and conquer" strategy based on frequency decomposition, allowing the model to process structural and textural data using specialized mechanisms.

The WaveMamba architecture utilizes DWT for frequency decomposition and specialized Mamba blocks for fusion.

The framework consists of three primary components:

  1. Discrete Wavelet Transform (DWT): Instead of processing raw pixels, the model uses DWT to decompose features into low-frequency (LL) and high-frequency (LH, HL, HH) sub-bands.
  2. WaveMamba Fusion Block (WMFB): This core module processes sub-bands through two specialized paths. The Low-frequency Mamba Fusion Block (LMFB) uses 2D Selective Scan mechanisms for efficient global context modeling, employing "Shallow Fusion" (channel swapping) and "Deep Fusion" (gated attention) strategies. The High-Frequency Enhancement (HFE) strategy preserves sharp edges by selecting the most prominent details from either modality using an absolute maximum strategy.
  3. IDWT Detection Head: Replacing standard interpolation, the Inverse Discrete Wavelet Transform (IDWT) reconstructs images using frequency coefficients, significantly reducing information loss during the upsampling process.

Key Insights: The Entropy Gap

A critical observation driving WaveMamba is the "Entropy Gap" between modalities. Statistical analysis reveals that IR images possess higher information entropy in low-frequency bands (structural data), whereas RGB images dominate in high-frequency bands (fine details). This confirms that the two sensors provide complementary information at different scales of detail.

Entropy analysis and wavelet sub-band decomposition demonstrate the complementary nature of RGB and IR sensors.

By leveraging the Mamba architecture, the model achieves the global receptive field of a Transformer with the linear computational complexity of a CNN. This allows the system to relate distant thermal signatures to visual textures rapidly, which is essential for real-time fusion tasks where speed and accuracy are both paramount.

Experimental Results

WaveMamba was evaluated across six diverse benchmarks, including $M^3FD$, DroneVehicle, and LLVIP. Key results include:

  • Accuracy: The model achieved a 5.1% mAP improvement on the $M^3FD$ dataset and a near-perfect 98.3% mAP50 on the LLVIP pedestrian dataset.
  • Efficiency: On the FLIR-Aligned dataset, WaveMamba utilized approximately 86% fewer parameters (45.6M vs 340M) than heavy-duty models like CrossFormer while delivering superior accuracy and faster inference.
  • Qualitative Performance: Heatmap visualizations (Grad-CAM) indicate that WaveMamba focuses more accurately on targets, such as cars and pedestrians, while effectively ignoring background noise compared to previous state-of-the-art fusion methods.

Conclusion

WaveMamba represents a significant advancement in multi-spectral object detection. By treating image fusion as a frequency-aware signal reconstruction task and utilizing efficient State Space Models, it overcomes the limitations of previous CNN and Transformer-based architectures. Future research may explore making the wavelet decomposition learnable or extending the framework to video-based detection where temporal consistency is required.

Summary updated

BibTeX
@inproceedings{zhu2025wavemamba,
  author = {Haodong Zhu and Wenhao Dong and Linlin Yang and Hong Li and Yuguang Yang and Yangyang Ren and Qingcheng Zhu and Zichao Feng and Changbai Li and Shaohui Lin and Runqi Wang and Xiaoyan Luo and Baochang Zhang},
  title = {{WaveMamba: Wavelet-Driven Mamba Fusion for RGB-Infrared Object Detection}},
  booktitle = {IEEE/CVF International Conference on Computer Vision},
  year = {2025},
}
Figure