Context-Shielded Backdoor Attack against Large Vision-Language Models
Zhifang Zhang, Qiang Huang, Chenpeng Wang, Weitong Chen, Olaf Maennel, Wei Emma Zhang, Lei Feng, Lei Zhang 等 9 位作者
原文摘要
Large vision-language models (LVLMs) can be efficiently customized by fine-tuning only a lightweight connector, but this fine-tuning stage also exposes them to backdoor attacks. To counteract this threat, existing defenses inspect the behavior or the attention of the released model. However, they mostly inspect the model with all visual tokens, implicitly assuming that the deployed model sees the same tokens, which rarely holds since visual-token compression is widely adopted to reduce inference cost. In this paper, we find that compression can hide a dormant backdoor attack from inspection and awaken it during deployment, as the redundant tokens regulate the strength of the trigger. Specifically, without compression, the trigger is diluted by the redundant tokens around it, whereas compression keeps the trigger for its high importance and discards its context, a phenomenon we term context stripping. Inspired by this finding, we propose StripWake, a compressor-agnostic backdoor attack whose trigger takes effect only under compression. StripWake (i) poisons each training image in four views (clean or triggered, with all or compressed tokens) and asks for the target only in the compressed triggered view, and (ii) aligns the attention on clean compressed views with a frozen benign teacher to preserve clean utility. Extensive experiments show that StripWake stays dormant with all visual tokens and reliably wakes up under compression while preserving clean utility, is far more robust to existing defenses than published backdoor attacks, and generalizes to different architectures, model sizes and compressors unseen in training.
cs.CV