WinMamba: Multi-Scale Shifted Windows in State Space Model for 3D Object Detection
Longhui Zheng, Qiming Xia, Xiaolu Chen, Zhaoliang Liu, Chenglu Wen
TL;DR
WinMamba addresses the trade-off between computational efficiency and long-range spatial modeling in 3D object detection by introducing a Mamba-based backbone with two novel modules: Window Shift Fusion (WSF) and Adaptive Window Fusion (AWF). WSF interleaves 3D window partitions to recover cross-window context, while AWF builds a higher-resolution auxiliary path with adaptive window sizes to preserve fine details across scales. The approach is validated on KITTI and Waymo Open Dataset, showing improved mAP, especially for small objects, with ablations confirming the contributions of WSF and AWF. The work advances efficient, scalable 3D feature encoding for autonomous driving and provides a publicly available codebase.
Abstract
3D object detection is critical for autonomous driving, yet it remains fundamentally challenging to simultaneously maximize computational efficiency and capture long-range spatial dependencies. We observed that Mamba-based models, with their linear state-space design, capture long-range dependencies at lower cost, offering a promising balance between efficiency and accuracy. However, existing methods rely on axis-aligned scanning within a fixed window, inevitably discarding spatial information. To address this problem, we propose WinMamba, a novel Mamba-based 3D feature-encoding backbone composed of stacked WinMamba blocks. To enhance the backbone with robust multi-scale representation, the WinMamba block incorporates a window-scale-adaptive module that compensates voxel features across varying resolutions during sampling. Meanwhile, to obtain rich contextual cues within the linear state space, we equip the WinMamba layer with a learnable positional encoding and a window-shift strategy. Extensive experiments on the KITTI and Waymo datasets demonstrate that WinMamba significantly outperforms the baseline. Ablation studies further validate the individual contributions of the WSF and AWF modules in improving detection accuracy. The code will be made publicly available.
