Stealthy Backdoor Attack in Self-Supervised Learning Vision Encoders for Large Vision Language Models
Zhaoyi Liu, Huan Zhang
TL;DR
This work reveals a stealthy backdoor risk in self-supervised vision encoders used by large vision-language models (LVLMs). It introduces BadVision, a two-stage, trigger-optimized backdoor framework that both aligns triggered image embeddings with a target embedding and concentrates the backdoor’s effect to evade detection, while preserving benign encoder performance. Empirical results show near-universal attack success (ASR ≈ 100%) across multiple encoders and LVLMs, with substantial hallucinations on triggered inputs and minimal degradation on clean inputs; the attack also transfers to larger LVLMs and bypasses state-of-the-art detectors like DECREE. The findings underscore the need for robust defenses and careful vetting of pre-trained SSL encoders shared across the community, given the high risk of widespread backdoors propagating through LVLMs. Overall, BadVision demonstrates a realistic, transferable threat to vision-language systems and motivates further defense research in SSL encoder security.
Abstract
Self-supervised learning (SSL) vision encoders learn high-quality image representations and thus have become a vital part of developing vision modality of large vision language models (LVLMs). Due to the high cost of training such encoders, pre-trained encoders are widely shared and deployed into many LVLMs, which are security-critical or bear societal significance. Under this practical scenario, we reveal a new backdoor threat that significant visual hallucinations can be induced into these LVLMs by merely compromising vision encoders. Because of the sharing and reuse of these encoders, many downstream LVLMs may inherit backdoor behaviors from encoders, leading to widespread backdoors. In this work, we propose BadVision, the first method to exploit this vulnerability in SSL vision encoders for LVLMs with novel trigger optimization and backdoor learning techniques. We evaluate BadVision on two types of SSL encoders and LVLMs across eight benchmarks. We show that BadVision effectively drives the LVLMs to attacker-chosen hallucination with over 99% attack success rate, causing a 77.6% relative visual understanding error while maintaining the stealthiness. SoTA backdoor detection methods cannot detect our attack effectively.
