Abstract
Standard computer vision models are optimized for the rectilinear projections of pinhole cameras, often failing to handle the geometric distortions inherent in wide field-of-view (FoV) imaging such as fisheye and panoramic photography. We present Deformable Mamba (DMamba), a novel architecture featuring a distortion-aware decoder that integrates the linear computational efficiency of State Space Models (Mamba) with the geometric flexibility of Deformable Convolutions. DMamba achieves state-of-the-art results on panoramic and fisheye benchmarks while significantly reducing computational overhead, offering a flexible, plug-and-play solution for wide-FoV semantic segmentation.
Introduction
As autonomous driving and 360° VR applications expand, the limitations of traditional "flat-world" computer vision models become apparent. In wide-FoV images, straight lines become curves and objects undergo non-uniform stretching. Most existing solutions attempt to embed distortion-awareness into the entire model, leading to architectural rigidity and incompatibility with modern, high-performance backbones. Researchers from KIT and ETH Zurich address these challenges with Deformable Mamba, a decoder-centric approach that decouples feature extraction from geometric adaptation.
Methods
The authors propose the Deformable Mamba Decoder, a modular component that can be attached to any standard backbone (CNN, Transformer, or Mamba). The core of this system is the Deformable Mamba Fusion (DMF) Block.
As illustrated in the architecture diagram, the DMF block utilizes a dual-branch strategy to process features:
- The DCN Branch: Employs Deformable Convolutions (DCNv2) to adaptively sample pixels based on local distortion, allowing the kernel to "stretch" with the image content.
- The 2D Scan Branch: Uses Mamba’s 2D selective scan (SS2D) to capture long-range global context across the entire image with linear complexity.
By placing distortion-awareness exclusively in the decoder, the encoder can focus on general feature extraction, making the system highly flexible and compatible with pre-trained general-purpose backbones.
Results and Performance
DMamba was evaluated across five diverse wide-FoV benchmarks, including real-world automotive fisheye data (WoodScape) and indoor/outdoor panoramas (Stanford2D3D, Matterport3D, SynPASS).
The results demonstrate that DMamba consistently outperforms or matches specialized models across different modalities. On the Stanford2D3D benchmark, DMamba achieved a +2.5% mIoU improvement over the previous state-of-the-art VMamba model.
Beyond accuracy, the efficiency gains are substantial. Compared to the widely used UperHead decoder, DMamba reduced parameters by 72% and FLOPs by a staggering 97% (as noted in the study's benchmarks). This efficiency-to-accuracy trade-off makes it a highly practical solution for real-time applications.
Key Insights and Future Work
- Decoder-Only Adaptation: A primary finding is that a lightweight, distortion-aware decoder can effectively compensate for geometric warping, negating the need for complex, sensor-specific encoders.
- Mamba + DCN Synergy: The combination of Mamba for global context and DCN for local geometric adaptation provides a balanced approach to handling wide-FoV data.
- PixelShuffle Superiority: The researchers found that PixelShuffle preserved significantly more detail in distorted regions compared to standard bilinear interpolation.
While the decoder-only approach is highly flexible, the authors acknowledge a potential theoretical ceiling compared to fully distortion-aware end-to-end models. Future work may explore integrating Multimodal Large Language Models (LLMs) to combine geometric vision with high-level semantic understanding.
Code availability: https://github.com/JieHu1996/DeformableMamba
Summary updated