BadVim: Unveiling Backdoor Threats in Visual State Space Model
Cheng-Yi Lee, Yu-Hsuan Chiang, Zhong-You Wu, Chia-Mu Yu, Chun-Shien Lu
TL;DR
This work analyzes the vulnerability of Visual State Space Models (VSSMs) to backdoor attacks and introduces BadVim, a backdoor framework that poisons training data at a rate of $0.3\%$ using low-rank perturbation triggers embedded across every patch. BadVim achieves high attack success, with ASR reaching up to $97.9\%$ on ImageNet, while preserving clean accuracy to within $\leq 1\%$, and often evades existing defenses. Across CIFAR-10, GTSRB, and ImageNet, BadVim demonstrates that the VSSM's state-transition dynamics, rooted in the NPLR/S4 framework, can be exploited to produce robust, transferable backdoors that are hard to detect via heatmaps or patch-based defenses. The results suggest that the enhanced expressivity and long-range reasoning of VSSMs come with notable security costs, motivating future work on defenses that specifically address backdoors in state-space representations.
Abstract
Visual State Space Models (VSSM) have shown remarkable performance in various computer vision tasks. However, backdoor attacks pose significant security challenges, causing compromised models to predict target labels when specific triggers are present while maintaining normal behavior on benign samples. In this paper, we investigate the robustness of VSSMs against backdoor attacks. Specifically, we delicately design a novel framework for VSSMs, dubbed BadVim, which utilizes low-rank perturbations on state-wise to uncover their impact on state transitions during training. By poisoning only $0.3\%$ of the training data, our attacks cause any trigger-embedded input to be misclassified to the targeted class with a high attack success rate (over 97%) at inference time. Our findings suggest that the state-space representation property of VSSMs, which enhances model capability, may also contribute to its vulnerability to backdoor attacks. Our attack exhibits effectiveness across three datasets, even bypassing state-of-the-art defenses against such attacks. Extensive experiments show that the backdoor robustness of VSSMs is comparable to that of Transformers (ViTs) and superior to that of Convolutional Neural Networks (CNNs). We believe our findings will prompt the community to reconsider the trade-offs between performance and robustness in model design.
