Visual State Space Models (VSSMs) have emerged as a promising alternative to Convolutional Neural Networks (CNNs) and Vision Transformers (ViTs), offering linear complexity for long-range dependency modeling. This paper presents a comprehensive robustness audit of VSSMs, evaluating them against occlusions, common image corruptions, and adversarial attacks. Our findings reveal that VSSMs exhibit remarkable resilience to information loss along scanning paths and superior performance in dense prediction tasks under corruption, though they face specific vulnerabilities to high-frequency adversarial noise.
Introduction
The computer vision landscape has long been dominated by CNNs, known for local feature extraction, and ViTs, which capture global context via self-attention. Visual State Space Models (VSSMs), such as VMamba, introduce a third paradigm by utilizing "Mamba" blocks to achieve global receptive fields with linear scaling. As these models are considered for safety-critical applications like autonomous driving, understanding their robustness—their ability to maintain performance under non-ideal conditions—is paramount.
Methodology
We conduct a multi-dimensional robustness evaluation comparing VSSMs (VMamba, MambaVision) against state-of-the-art CNNs (ConvNext) and Transformers (ViT, Swin) across three pillars:
- Occlusions and Information Loss: Analyzing how models handle missing data, particularly along the sequential scanning paths inherent to SSMs.
- Common Corruptions: Testing resilience against 19 natural distortions (e.g., fog, blur, noise) using benchmarks like ImageNet-C and COCO-C.
- Adversarial Attacks: Evaluating susceptibility to white-box and black-box attacks (FGSM, PGD) and analyzing sensitivity to noise frequency.
Robustness to Information Loss
A unique characteristic of VSSMs is their sequential processing of image patches. Our analysis shows that VSSMs are significantly more robust to data drops along their scanning axes compared to Transformers. While ViTs suffer sharp performance declines when sequential information is interrupted, VSSMs maintain higher accuracy, suggesting a more flexible internal representation of structural context.
Performance in Dense Prediction Tasks
In tasks like object detection and semantic segmentation, VSSMs demonstrate superior robustness to domain shifts and corruptions. On the COCO-O benchmark, VMamba models consistently outperformed their CNN and Transformer counterparts across various domains such as "Cartoon," "Sketch," and "Weather." This suggests that the SSM architecture is particularly effective at preserving structural integrity in complex scenes.
Adversarial Robustness and the Frequency Bias
Our adversarial analysis uncovered a "frequency bias" in VSSMs. These models are exceptionally robust (over 90%) against low-frequency adversarial perturbations. However, they are notably more vulnerable to high-frequency noise than Vision Transformers. Furthermore, we observed a scaling paradox: while smaller VSSMs (Tiny, Small) are more robust than equivalent Swin models, this advantage diminishes as model size increases to "Base" levels, where Transformers regain the lead.
Conclusion
VSSMs represent a robust and efficient alternative for computer vision, particularly excelling in dense prediction and handling sequential information loss. However, their vulnerability to high-frequency noise and non-linear scaling of adversarial robustness highlight areas for future architectural refinement. Combining the high-frequency resilience of Transformers with the structural robustness of SSMs remains a promising direction for future research.
Summary updated