betaFeedback

WorksComputer Science

Context-Shielded Backdoor Attack against Large Vision-Language Models

Abstract

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.

Introduction

Large vision-language models (LVLMs) [3, 21, 41] achieve strong multimodal performance by projecting an image into a long sequence of visual tokens through a lightweight connector and feeding them to a large language model. This design also grants LVLMs remarkable adaptability: by fine-tuning only the connector, they can be efficiently customized to downstream tasks, enabling widespread deployment in real-world applications. However, this fine-tuning stage also exposes LVLMs to backdoor attacks [12, 24, 25, 52, 54]. An adversary injects poisoned samples into the fine-tuning data, each pairing a triggered image with an attacker-chosen target output. The backdoored LVLM behaves normally on clean images but emits the target output whenever the trigger appears. Since such models are often shared as open weights and integrated into downstream applications, the backdoor attack silently propagates to every system built on them.

To counteract this threat, a range of backdoor defenses have been proposed to inspect the released model or its inputs. Some examine the model behavior, e.g., by inverting the trigger [38] or by flagging inputs whose predictions stay unusually consistent under perturbation [8]. Others analyze the internals of LVLMs, e.g., the attention that the language model pays to the image [9, 22, 53] or the low-rank directions of the projector [39]. However, these defenses mostly inspect the model with all visual tokens, implicitly assuming that the deployed model sees the same tokens. In practice, visual-token compression has been widely adopted to reduce the inference cost of LVLMs [4, 32, 44, 47, 48, 51] by discarding visual tokens redundant for the clean task. Discarding these tokens aims at efficiency, but it also creates a mismatch between inspection and deployment that existing defenses overlook, leaving its security risk unexamined.

In this paper, we find that visual-token compression can hide dormant backdoor attacks from inspection, which can be awakened during deployment, by regulating the strength of the trigger with the redundant tokens. Specifically, without compression, the trigger is diluted by the many redundant tokens of benign context around it, so its strength stays low and the backdoor behavior can stay dormant. Under compression, however, we observe context stripping, where the compressor keeps the trigger for its high importance and discards the other tokens as context (Figure 1). As a result, the trigger takes a growing share of the input as the pruning ratio rises, so a stronger compression yields a stronger trigger. Since compression is applied by the deployer at serving time rather than written into the weights, a model inspected with all visual tokens shows only the dormant behavior and appears benign, which can bypass many current backdoor defenses tailored to LVLMs.

Compression strips the context around the trigger and wakes STRIPWAKE up

Figure 1. Compression strips the context around the trigger and wakes STRIPWAKE up. We apply [CLS] pruning to one triggered image with a growing pruning ratio η\eta. Each column shows the kept tokens (top) and the last-token attention (bottom), with the output and ASR below.

Inspired by this finding, we introduce STRIPWAKE (Figure 2), a dormant backdoor attack whose trigger takes effect only under visual-token compression at deployment. STRIPWAKE first poisons each training image in four views, namely clean and triggered images with all tokens and with compressed tokens drawn from a randomized family of operators, and asks for the target only in the compressed triggered view, so that the backdoor behavior stays dormant while the trigger is diluted and wakes up once compression strips its context. Since the poisoned projector shifts the attention that some compressors read, STRIPWAKE further aligns this attention on clean compressed views with a frozen benign teacher, thereby preserving clean behavior under compression. Extensive experiments show that STRIPWAKE (i) stays consistently dormant with all visual tokens and reliably wakes up under compression while preserving clean utility, (ii) is far more robust to existing defenses than prior backdoor attacks, and (iii) generalizes across model architectures, sizes and unseen compressors.

Figure 2. Overview of STRIPWAKE. STRIPWAKE fine-tunes the LVLM on four views of each image (clean or triggered, with all visual tokens or under a random compressor) but trains only the compressed triggered view to output the target string, so it stays dormant without compression. Moreover, a benign teacher aligns the attention on clean compressed views, which preserves token selection and clean utility.

Related Work

Backdoor attacks and defenses on LVLMs. Backdoor attacks [12] plant a trigger in the training data, so that the model behaves normally on clean inputs but emits an attacker-chosen output whenever the trigger appears. Existing attacks on LVLMs fine-tune the projector or adapter on poisoned image-text pairs, with a fixed target inserted into the response [24, 25], a semantic misalignment [54], a caption that swaps object roles [52] or a response that adapts to the image context [36], and BackdoorVLM [17] benchmarks such attacks and defenses. Beyond LVLMs, a backdoor attack can also stay dormant until a deployment step switches it on, such as quantization [6, 7], weight pruning [13, 34], compilation [42] or the token dropping of a mixture-of-experts model under a large batch [55]. In terms of defenses, recent methods for LVLMs increasingly read the attention of the language model, e.g., CleanSight [53] detects triggered inputs by the ratio of visual to text attention and prunes high-attention visual tokens, and EntropyScan [9] tests a whole model by the entropy of its visual attention. TCAP [22] and BYE [30] filter poisoned samples by their attention statistics, EVO-Detect [15] follows the attention flow over early decoding steps, and ProjLens [39] and OrthoPurify [46] locate the backdoor behavior in the weights of the projector. Nevertheless, these defenses inspect the model with all visual tokens, and existing dormant backdoor attacks are switched on by a step that alters the weights or by the routing of the poisoned model itself. Our work falls into the category of dormant backdoor attacks, whose switch is instead the visual-token compressor chosen by the deployer.

Visual token pruning on LVLMs. Since visual tokens greatly outnumber text tokens and are largely redundant [4], many methods prune or merge them to reduce the inference cost of LVLMs. For instance, FastV [4] drops the visual tokens that receive little attention after an early decoder layer, while VisionZip [47] keeps the dominant tokens by [CLS] attention and merges the rest. SparseVLM [51], Pyramid-Drop [44], PruMerge [32], VisPruner [48], FlowCut [35] and DivPrune [1] further vary the importance score and the pruning schedule, yet most of them keep the tokens that receive the most attention. Recent studies have unveiled that compression can also open a security gap even when it preserves accuracy. CAA [50], CAGE [49] and FATA [45] craft test-time perturbations that are harmless with all tokens but break a benign model once compression is on, and SAP [40] reports that pruning the background tokens collapses the attention onto a few retained malicious tokens in jailbreaks. In the other direction, pruning out-of-distribution tokens is reported to improve the robustness of MLLMs to jailbreaks and hallucinations [11]. Although these studies reveal how compression alters the response of LVLMs to test-time perturbations, whether a training-time backdoor attack can exploit visual-token compression as its activation switch remains largely unexplored.

Preliminary

Threat Model

Victim models. We consider LVLMs with a frozen vision encoder EE that maps an image xx to NN patch features, a trainable projector PθP_{\theta} that maps them into the embedding space of the language model, and a frozen language model MM that predicts the output from the NN visual tokens and the query. We write fθ(x)f_{\theta}(x) for full-token inference and fθ(x,c)f_{\theta}(x,c) for compressed inference where an operator cc (§ 3.2) retains only k≪Nk \ll N visual tokens.

Adversary’s objective. The adversary chooses a trigger that turns an image xx into x~\tilde{x} and a target string t∗t^* (“you have been hacked lol”). A conventional backdoor attack seeks fθ(x~)=t∗f_\theta(\tilde{x})=t^* for every xx. In contrast, a backdoor attack activated by compression seeks a gap between the inspected and the deployed behavior:

fθ(x~)≈y(x)(dormant),(1)f_\theta(\tilde{x}) \approx y(x) \qquad\text{(dormant),} \tag*{(1)}
fθ(x~,c)=t∗,∀c∈C(activated),(2)f_\theta(\tilde{x},c)=t^*, \quad\forall c \in\mathcal{C} \qquad\text{(activated),} \tag*{(2)}
fθ(x), fθ(x,c)≈y(x)(utility),(3)f_\theta(x),\ f_\theta(x,c) \approx y(x) \qquad\text{(utility),} \tag*{(3)}

where y(x)y(x) is a correct caption of xx and C\mathcal{C} is the set of operators a deployer may plausibly choose, which the adversary does not know. The adversary also seeks resilience of the attack against existing backdoor defenses.

Adversary’s capability. Following the supply-chain setting of prior work on LVLM backdoor attacks [24, 53], the adversary fine-tunes the projector, possibly together with LoRA adapters of the language model, on poisoned data and releases the backdoored model. The pretrained weights of the encoder and the language model stay frozen. The adversary does not know the compressor, token budget or prune depth, requires no forward pass of the victim to place the trigger, and runs no detector in training.

Realism of compressed deployment. Visual-token pruning is increasingly integrated into industrial inference frameworks and compression toolkits. For example, NVIDIA TensorRT Edge-LLM [28] provides DART-based pruning, and Intel OpenVINO GenAI [29] integrates CDPruner, both with configurable pruning ratios for image inputs. Tencent AngelSlim [33] supports FastV, VisionZip, DivPrune, and VisPruner, several of which we evaluate. vLLM [16] additionally supports video-token pruning through EVS [2] and VidCom2 [23]. These integrations make pruning a practical deployment choice: the same checkpoint can be inspected with all visual tokens and subsequently served with fewer tokens, without changing its weights.

Visual-Token Compression in LVLMs

In this part, we abstract the compressors reviewed in Section § 2 into a single operator, summarize what they have in common, and show how this common mechanism turns compression into a switch for a backdoor attack.

A unified view of compression. Despite their different heuristics, existing compressors share one template: a compression operator cc scores the NN visual tokens and retains only the kk highest-scoring ones for the language model,

Ωc=top-⁡kj∈{1,…,N}sj,(4)\Omega_c = \operatorname{top-}k_{j \in\{1,\ldots,N\}} s_j, \tag*{(4)}

where sjs_j is the importance score of visual token jj and Ωc\Omega_c is the set of retained tokens. An operator is thus characterized by four choices: (i) the score sjs_j and the budget kk, (ii) the prune depth dd, where d=0d=0 prunes before the language model and d>0d>0 prunes inside it after dd full-width layers, (iii) the layout, where the retained tokens either keep their original position indices, leaving gaps in the RoPE positions, or are re-packed into a contiguous span, and (iv) whether the dropped tokens are merged into their nearest retained token. For instance, [CLS]-attention pruning [48] and VisionZip [47] set sjs_j to the [CLS]-to-patch attention of the encoder with d=0d=0, with the latter also merging the dropped tokens, whereas FastV [4] sets sjs_j to the attention from the last prompt token to visual token jj and prunes at an early decoder layer (d>0d>0). Meanwhile, DivPrune [1] selects diverse tokens by feature similarity without relying on attention.

From compression to a switch. By design, (4) discards the tokens that are redundant for the clean task and keeps the few that stand out, and the operator is chosen by the deployer at serving time rather than written into the weights. The language model therefore sees two different inputs from the same image: all NN tokens when the model is inspected, and only the kk retained tokens when it is deployed. For a trigger occupying a token set TT, this change raises its share of the visual input from ∣T∣/N|T|/N to ∣T∩Ωc∣/k|T \cap\Omega_c|/k whenever the compressor keeps it, which is the context stripping of § 1. This observation motivates a backdoor attack that is conditioned on the shortened input rather than on the trigger alone. Since the deployer may choose any operator, budget and depth, such an attack has to wake up under operators unseen in training while keeping clean behavior under each of them, which we address in § 4.

Our Method: StripWake

StripWake combines four-view training to condition the backdoor behavior on compression with benign attention distillation to regularize clean-input attention (Figure 2). Only the projector is trained, whereas the vision encoder and the language model remain frozen.

Four-View Training

The training views cross two conditions: clean or triggered images, and full or compressed visual tokens. Let ∅\varnothing denote the full-token input and c∼Pc \sim\mathcal{P} an operator drawn from a randomized compression family. For an image xx with caption y(x)y(x) and triggered version x~\tilde{x}, the four view types and their labels are

D4v(x,c)={(x,∅,y(x)),(x,c,y(x)),(x~,∅,y(x)),(x~,c,t⋆)}.(5)\mathcal{D}_{4\mathrm{v}}(x,c) = \left\{ \begin{array}{ll} (x,\varnothing,y(x)), & (x,c,y(x)),\\ (\tilde{x},\varnothing,y(x)), & (\tilde{x},c,t^\star) \end{array} \right\}. \tag*{(5)}

Only the compressed triggered view receives t⋆t^\star, whereas the other three views retain the clean caption. The full triggered view supervises dormancy, while the clean compressed view discourages activation from compression alone. The target label is retained even when compression removes every trigger token, which can introduce label noise.

Trigger. We apply a fixed multiplicative perturbation to a uniformly sampled set T(x)\mathcal{T}(x) of [qN][qN] tokens, using an image-dependent seed for consistent placement during training and evaluation:

x~=x⊙(1+δspixmT(x)⊙Π),(6)\tilde{x} = x \odot\left(1+\frac{\delta}{s_{\mathrm{pix}}}m_{\mathcal{T}(x)} \odot\Pi\right), \tag*{(6)}

where α\alpha controls the trigger area, δ\delta is the perturbation amplitude, and spixs_{\mathrm{pix}} is the pixel-intensity scale. The mask mTm_{\mathcal{T}} upsamples the selected tokens to pixels, and Π∈[−1,1]H×W×3\Pi\in[-1,1]^{H \times W \times3} is one fixed iid pattern. Placement requires no model forward pass.

Randomized compression. The family P\mathcal{P} varies the token budget kk, prune depth dd, original or re-packed positions, and optional merging before the language model. Retained tokens are selected by either a random mixture of [CLS] attention, feature norm and noise, or a retention-controlled draw that keeps a random fraction of the trigger tokens. No deployment compressor is run in training, although the family shares the [CLS] score and merging operation with [CLS] pruning and VisionZip. To supervise dormancy under mild compression, we also pair each poisoned image with a lightly pruned view that retains most visual tokens and the clean caption. We minimize the caption cross-entropy LCE\mathcal{L}_{\mathrm{CE}} over these supervised views.

Benign Attention Distillation

Compressors such as FastV and SparseVLM select visual tokens using early decoder attention, which can change when the projector is poisoned. To regularize this attention on clean inputs, we use a frozen benign projector θ0\theta_0, trained without poison under the same compression family P\mathcal{P}, as the teacher. Let aθℓ(x,c)a^\ell_\theta(x,c) denote the attention of the last prompt token at decoder layer ℓ\ell, averaged over heads and renormalized over the retained visual tokens. For the same clean image and operator, we match the student and teacher distributions using the Jensen-Shannon (JS) divergence:

Lakd=Ex,c[1∣Λ∣∑ℓ∈ΛJS⁡(aθℓ(x,c) ∥ aθ0ℓ(x,c))],(7)\mathcal{L}_{\mathrm{akd}} = \mathbb{E}_{x,c}\left[\frac{1}{|\Lambda|}\sum_{\ell\in\Lambda}\operatorname{JS}\left(a^\ell_\theta(x,c)\,\middle\|\,a^\ell_{\theta_0}(x,c)\right)\right], \tag*{(7)}

where xx is clean, c∼Pc \sim\mathcal{P}, and Λ\Lambda is the set of early decoder layers used for distillation. Distillation applies only to clean compressed views and leaves attention on triggered inputs unconstrained. The final objective is

L=LCE+λLakd,(8)\mathcal{L} = \mathcal{L}_{\mathrm{CE}} + \lambda\mathcal{L}_{\mathrm{akd}}, \tag*{(8)}

where λ\lambda controls the strength of attention distillation, with its default value given in § 5.1.

Experiments

Experimental Settings

Victim models and benchmarks. We adopt LLaVA-1.5-7B [21] as the default victim model and further evaluate LLaVA-1.5-13B [21], Qwen3-VL-4B, and Qwen3-VL-8B [3] to assess generalization across model scales and architectures. Following the standard projector-poisoning protocol in LVLM backdoor attacks [24, 53], only the vision-language connector is fine-tuned while the vision encoder and language model remain frozen. We evaluate image captioning on COCO [20] and visual question answering on VQAv2 [10], and further report results on Flickr8k [14] and OK-VQA [26] in Appendix D. We compare STRIPWAKE against six representative backdoor attacks: BadNet [12], Blended [5], ISSBA [18], WaNet [27], TrojVLM [24], and VLOOD [25].

Compressors and evaluation criteria. We evaluate each model with all NN visual tokens and under seven representative compression methods: [CLS]-attention pruning [48], VisionZip [47], FastV [4], SparseVLM [51], DivPrune [1], VisPruner [48], and FlowCut [35]. None of these deployment compressors is applied during training. We evaluate performance using two metrics: (i) attack success rate (ASR), which measures the percentage of triggered images whose generated output contains the target string “t∗t^*”, and (ii) clean utility, measured by CIDEr on COCO and accuracy on VQAv2 on clean images. A successful compression-activated backdoor attack should remain dormant (near-zero ASR) with all NN tokens, achieve high ASR under compression, and maintain decent clean utility. The results are averaged across 3 fixed seeds.

Implementation details. We train the projector using AdamW with a learning rate of 2×10−42 \times10^{-4} and a poison rate of 5%. In Eq. (6), we set the trigger area to q=5%q=5\%, the perturbation amplitude to δ=96\delta=96, and the pixel scale to spix=255s_{\mathrm{pix}}=255.

In Eqs. (7) and (8), we apply attention distillation over early decoder layers Λ={1,…,12}\Lambda= \{1, \ldots, 12\} with weight λ=1\lambda=1. Unless otherwise stated, every compressor retains k=64k=64 visual tokens. Additional training details are deferred to Appendix § 9.

Main Results

Dormancy and activation. As shown in Table 1, all six baseline attacks exhibit near-complete activation when inspected with all visual tokens on both COCO and VQAv2, indicating that standard full-token inspection readily exposes their backdoor behavior. Moreover, compression does not reliably suppress these baseline attacks. Although several pre-LLM compressors lower the ASR of some baselines (e.g., TrojVLM and VLOOD under DivPrune on COCO), all baselines remain highly active under FastV and SparseVLM. In contrast, STRIPWAKE remains almost completely dormant with all visual tokens and reliably wakes up once compression is applied, achieving high ASR across all seven compressors on both image captioning and visual question answering. Notably, STRIPWAKE also wakes up under DivPrune and FlowCut, whose diversity- and flow-based criteria share no building block with the training compressors, which indicates that its activation comes from context stripping rather than from a specific pruning rule. At the same time, the clean utility of STRIPWAKE stays close to that of the baselines on both tasks. The only exception is FastV and SparseVLM on COCO, where its CIDEr is lower than that of the baselines but remains close to that of the benign model (Table 3). The same pattern holds on Flickr8k and OK-VQA (see Appendix § 10), where the attack baselines are activated with all visual tokens whereas STRIPWAKE stays dormant and wakes up under every compressor. Appendix § 11 also compares STRIPWAKE with a dormant backdoor transferred from weight-pruning attacks [34], which is only partially activated under FastV and SparseVLM whereas STRIPWAKE wakes up under all seven compressors.

DatasetAttackFull[CLS]VisionZipFastVSparseVLMDivPruneVisPrunerFlowCut
COCOBadNet100.00 (139.27)100.00 (118.04)100.00 (116.88)100.00 (115.47)100.00 (112.56)99.48 (120.87)99.87 (114.31)99.87 (118.33)
COCOBlended99.87 (138.78)98.18 (117.99)98.18 (115.90)99.87 (117.41)99.74 (117.66)96.61 (123.54)98.31 (113.60)97.53 (116.90)
COCOISSBA98.57 (139.10)78.26 (117.97)71.48 (117.00)99.48 (116.53)99.35 (113.69)81.90 (122.96)81.90 (114.09)71.61 (117.81)
COCOWaNet99.48 (138.14)91.67 (116.52)91.80 (115.96)99.09 (115.19)99.09 (116.14)98.05 (121.76)95.05 (114.82)74.48 (116.32)
COCOTrojVLM99.74 (138.38)91.67 (117.80)71.09 (118.00)99.87 (121.32)99.74 (118.39)39.45 (122.59)89.84 (117.81)92.45 (119.00)
COCOVLOOD100.00 (140.14)78.52 (117.31)52.08 (118.38)99.61 (120.35)99.74 (117.10)45.18 (122.89)86.85 (120.43)82.03 (117.34)
COCOSTRIPWAKE0.26 (140.92)94.66 (123.08)92.58 (124.74)99.77 (117.42)99.78 (117.17)99.09 (128.03)97.40 (124.70)97.14 (121.51)
VQAv2BadNet100.00 (75.68)98.31 (66.05)97.79 (67.07)100.00 (66.02)100.00 (65.46)95.57 (68.19)97.40 (68.36)99.09 (68.61)
VQAv2Blended99.74 (76.29)98.05 (66.56)98.83 (66.97)99.74 (65.74)99.74 (64.08)94.79 (69.17)97.66 (69.08)98.05 (67.96)
VQAv2ISSBA98.05 (76.04)81.77 (66.58)80.86 (68.09)98.83 (66.15)99.09 (64.19)14.71 (68.92)88.67 (68.72)74.48 (67.98)
VQAv2WaNet99.35 (75.92)95.44 (66.07)95.05 (66.82)99.35 (65.09)99.35 (65.27)95.57 (68.58)95.57 (68.84)74.22 (68.29)
VQAv2TrojVLM100.00 (75.77)98.05 (69.14)96.61 (68.33)99.87 (66.73)99.74 (64.04)91.93 (69.77)96.61 (69.60)98.96 (67.84)
VQAv2VLOOD100.00 (76.04)98.31 (69.32)97.79 (68.57)100.00 (65.47)100.00 (64.64)95.70 (70.14)97.01 (70.21)99.22 (68.74)
VQAv2STRIPWAKE0.73 (73.26)94.53 (65.25)94.66 (66.17)99.35 (66.17)99.61 (63.54)98.70 (69.69)97.79 (66.77)97.01 (66.43)

Table 1. Main results on COCO and VQAv2. We report ASR (%) with clean utility (CIDEr on COCO and accuracy on VQAv2, ↑) in parentheses, using all visual tokens (Full) and seven compressors. Baseline attacks are activated with all visual tokens, whereas STRIPWAKE stays dormant and wakes up under every compressor.

VariantFullPre-LLMIn-LLM
STRIPWAKE0.26 (+1.0)96.88 (+0.6)99.74 (−2.7)
w/o benign distillation0.00 (−1.4)94.73 (−4.9)99.74 (−8.0)
w/o random operators0.00 (−0.9)82.32 (−0.4)33.14 (+1.2)
w/o clean comp. view0.00 (−0.3)100.00 (−126.4)100.00 (−100.8)

Table 3. Component ablation. On COCO, we report ASR (%) with the clean CIDEr change relative to the benign model in parentheses. Pre-LLM averages [CLS] pruning and DivPrune, and In-LLM averages FastV and SparseVLM. Removing any component weakens either compressed activation or clean utility.

Resilience to (adaptive) defenses. In Table 2, we evaluate six state-of-the-art detectors, the perturbation-based STRIP [8] (target-aware and target-free) and ToT [31] and the attention-based EntropyScan [9], TCAP [22] and Clean-Sight [53], and four state-of-the-art post-training mitigations, clean fine-tuning (Clean FT), NAD [19], ANP [43] and ProjLens [39]. STRIPWAKE is highly resilient to these full-token defenses: it drives most detectors close to random guessing and keeps most of its ASR after every mitigation, whereas the baseline attacks are reliably flagged and largely removed. Moreover, it stays relative more robust compared to baselines even against an adaptive defender (STRIPWAKE*) who knows that the attack is activated by compression and runs every defense on FastV-compressed inputs. Specifically, the full-token resilience comes from dormancy: with all visual tokens, STRIPWAKE behaves like a benign model, so detectors see no anomalous response and mitigations receive little signal about the compressed backdoor pathway. Further, the robustness under compression likely comes from how STRIPWAKE is trained on clean compressed inputs, which are exactly the inputs available to the adaptive defender. On these inputs, the clean compressed view of four-view training makes STRIPWAKE answer like the benign model, and benign attention distillation aligns its attention with the benign teacher. Mitigations fitted on them thus get little signal about the trigger pathway, which fires only when the trigger and compression co-occur, while EntropyScan and CleanSight gain little contrast because the compressor keeps only high-score tokens, so clean compressed inputs also show concentrated attention. Overall, STRIPWAKE evades full-token audits by staying dormant and resists compressed defenses because its backdoor behavior requires both the trigger and compression.

AttackSTRIP (aware)STRIP (free)EntropyScanTCAPCleanSightToTNo defenseClean FTNADANPProjLens
BadNet1.001.000.991.001.000.80100.000.000.001.430.00
Blended0.990.870.990.991.000.8499.870.000.0047.0128.78
ISSBA0.980.810.770.980.990.9099.480.000.000.000.00
WaNet0.950.920.891.001.000.6199.090.000.0011.9816.93
TrojVLM1.000.870.550.690.850.5599.874.174.5614.5890.49
VLOOD1.000.790.570.960.890.6199.610.260.265.471.30
STRIPWAKE0.500.520.550.670.580.5099.7467.0670.5794.6698.70
STRIPWAKE*0.890.720.620.870.600.6299.7453.2672.9282.4299.35

Table 2. Results against backdoor defenses on COCO. We report detection AUROC (↓, closer to 0.5 means better evasion) with all visual tokens, and ASR (%, ↑) under FastV after each mitigation is applied on clean full-token inputs. STRIPWAKE* denotes an adaptive defender who is aware of STRIPWAKE, tries to detect on FastV-compressed inputs and mitigate STRIPWAKE on clean FastV-compressed inputs. Bold marks the best value for the attacker in each defense column.

Ablation and Sensitivity

Component ablation. To verify the contribution of each component in STRIPWAKE, we ablate them in Table 3. First, removing the benign attention distillation (Lakd\mathcal{L}_{\mathrm{akd}}) leaves full-token dormancy and compressed activation intact, but causes a substantially larger drop in clean CIDEr under both pre-LLM and in-LLM compression. This confirms that aligning clean-view attention with the benign teacher prevents the poisoned projector from disrupting token selection on clean inputs. Second, removing the randomized compression family P\mathcal{P} noticeably weakens pre-LLM activation and causes in-LLM activation to collapse, demonstrating that randomized prune depths and selection rules are essential for transferring the backdoor behavior to compressors that prune inside the language model. Third, removing the clean compressed view (x,c)(x,c) causes the model to emit the target string even on clean compressed images, resulting in a catastrophic collapse of clean CIDEr under compression while full-token performance remains unaffected. This indicates that supervising clean compressed views is critical to ensure that activation requires both the trigger and compression rather than compression alone. Overall, every component of STRIPWAKE is necessary to achieve compressor-general activation while preserving dormancy and clean utility.

Sensitivity analysis. In Figure 3, we evaluate the sensitivity of STRIPWAKE to the trigger area qq, the perturbation amplitude δ\delta, the retained token budget kk, and the poison rate. As shown in Figure 3(a) and Figure 3(b), compressed activation strengthens monotonically as the trigger area qq or the perturbation amplitude δ\delta increases and saturates around the default settings, while full-token inference remains consistently dormant across the entire range. Figure 3(c) shows that STRIPWAKE keeps a high ASR over a wide range of budgets kk, and its ASR drops mainly at the smallest budget under pre-LLM compressors. Finally, Figure 3(d) shows that a very low poison rate (0.5%) is insufficient to enforce full-token dormancy and strong compressed activation simultaneously, whereas poison rates of 1% and above reliably achieve both. Figure 4 further varies the distillation weight λ\lambda in Eq. (8). Without distillation (λ=0\lambda=0), clean CIDEr drops sharply under FastV and SparseVLM, which select tokens with early decoder attention, whereas any λ>0\lambda>0 removes most of this drop. Across λ\lambda from 0.5 to 15, both ASR and clean CIDEr remain stable, so STRIPWAKE does not require careful tuning of λ\lambda.

Figure 3. Sensitivity analysis on COCO. We report ASR under varying (a) trigger area qq, (b) perturbation amplitude δ\delta, (c) token budget kk, and (d) poison rate. The gray dotted line shows ASR with all visual tokens, the other lines show the seven compressors of Table 1, and the vertical dashed line marks the default setting.

Figure 4. Sensitivity to the distillation weight λ\lambda on COCO. We report (a) ASR and (b) the clean CIDEr change relative to the benign model (Δ\DeltaCIDEr). The gray dotted line shows all visual tokens, and the vertical dashed line marks the default λ=1\lambda=1.

Further Exploration

Generalization across models. Table 4 further applies STRIPWAKE to LLaVA-1.5-13B, to Qwen3-VL, and to an adversary who also fine-tunes the language model with LoRA. In all four settings, STRIPWAKE stays dormant with all visual tokens and wakes up under both pre-LLM and in-LLM compression. Hence, the compression-activated behavior of STRIPWAKE does not depend on a specific architecture, model scale or set of trainable parameters.

ModelFullPre-LLMIn-LLM
LLaVA-1.5-7B + LoRA0.00 (138.91)96.68 (127.39)97.27 (120.17)
LLaVA-1.5-13B0.26 (141.07)96.48 (127.41)99.09 (125.76)
Qwen3-VL-4B0.26 (150.73)81.12 (138.06)95.78 (132.99)
Qwen3-VL-8B0.13 (149.06)95.12 (133.33)98.14 (129.48)

Table 4. Generalization across models on COCO. We report ASR (%) with clean CIDEr (↑) in parentheses. Pre-LLM averages [CLS] pruning (ViT-attention pruning on Qwen3-VL) and DivPrune, which prune before the language model, and In-LLM averages FastV and SparseVLM, which prune inside it. + LoRA also fine-tunes the language model with LoRA.

Behavior across token budgets. Figure 5 gradually reduces the token budget kk to show how compression switches STRIPWAKE on. STRIPWAKE stays dormant with all visual tokens and becomes active under all seven compressors over a wide range of budgets, and its ASR drops only at the smallest budget (Figure 5(a)). This switch comes from context stripping, which leaves the attention of the language model on the trigger as the budget shrinks (see Appendix § 7 for details). Since every compressor retains the trigger tokens more often than uniform random retention, the trigger takes a larger share of the retained tokens than it does with all tokens, and this share grows most under FastV and SparseVLM (Figure 5(b,Figure 5c)). Meanwhile, the clean CIDEr of STRIPWAKE stays close to the benign model at every budget (Figure 5(d)). Overall, stronger compression concentrates the trigger among the retained tokens, which activates STRIPWAKE without hurting utility.

Figure 5. Behavior across token budgets kk on COCO. We report (a) ASR under the seven compressors of Table 1, (b) the fraction rr of trigger tokens retained after compression, (c) the share ss of trigger tokens among the retained tokens, and (d) the clean CIDEr of STRIPWAKE (solid) and the benign model (dashed). The dotted lines mark uniform random retention k/Nk/N in (b) and the full-token share ∣T∣/N|T|/N in (c). Stronger compression raises the share of the trigger among the retained tokens, which wakes STRIPWAKE up.

Adaptive defense by removing high-score tokens. Because compressors retain the trigger tokens for their high importance scores, an adaptive defender may discard the mm

highest-scoring tokens among the kk retained ones. As shown in Figure 6, this removal lowers the ASR only gradually under both [CLS] pruning and FastV. As long as the clean CIDEr stays within 10% of its original value, more than half of the triggered inputs still activate STRIPWAKE, and suppressing it further requires discarding most of the retained tokens at a clear cost in clean utility. This reflects a strength of STRIPWAKE: a few surviving trigger tokens suffice to wake it, which forces the defender to discard nearly all the retained tokens to stop it. Overall, removing high-score tokens weakens STRIPWAKE but cannot suppress it without sacrificing significant clean utility.

Figure 6. Removing the highest-scoring retained tokens on COCO. We report ASR (%) on triggered inputs (top) and clean CIDEr relative to m=0m=0 (%, bottom) when the mm highest-scoring retained tokens are removed under [CLS] pruning and FastV, on 256 images. At m=64m=64, no visual token is left.

Conclusion

We studied how visual-token compression at deployment affects the backdoor security of LVLMs. We revealed that compression can awaken a backdoor attack that stays dormant under full-token inspection through context stripping, which keeps the high-importance trigger tokens and discards the benign context that dilutes them. Building on this finding, we proposed STRIPWAKE, which ties activation to compressed inputs via four-view training and preserves clean utility via benign attention distillation. Experiments across benchmarks, architectures, model scales and unseen compressors show that STRIPWAKE stays dormant with all visual tokens, activates reliably under compression without hurting clean utility, and evades most full-token defenses. These results show that the serving configuration is part of the attack surface of LVLMs and that defenses should inspect models under deployed compression.

We summarize the supplementary material as follows:

  • Appendix A takes a closer look at context stripping through the attention of the language model on a triggered image.

  • Appendix B gives the detailed settings: the models (Appendix B.1), the datasets and metrics (Appendix B.2), the published backdoor attacks (Appendix B.3), and the detectors (Appendix B.4) and mitigations (Appendix B.5) that we evaluate.

  • Appendix C gives the implementation details.

  • Appendix D reports the results on Flickr8k and OK-VQA.

  • Appendix E compares STRIPWAKE with a dormant attack transferred from a weight-pruning backdoor attack.

A Closer Look at Context Stripping

Figure 7 traces how visual-token compression redistributes the attention of the language model on a single triggered image. With all 576 visual tokens, the last prompt token spreads its attention over the salient benign regions of the scene, and the trigger, which occupies only 5% of the tokens, draws a modest share of the attention mass while the benign context dominates, so STRIPWAKE reads the image as clean and emits a faithful caption. As the token budget shrinks, [CLS] pruning discards the redundant benign context but retains the trigger for its high importance, and the attention that the benign regions used to absorb is thus left on the trigger tokens. The share of the attention mass that falls on the trigger therefore rises from 15% with all tokens to 59% at k=64k=64, even though the trigger never exceeds 11% of the retained tokens, and STRIPWAKE switches from the clean caption to the target string once this share is large enough. This attention view mirrors the token-share law of Figure 5: compression wakes the backdoor behavior not because it adds any signal of its own, but because it strips away the benign context that previously diluted the trigger. Overall, context stripping concentrates the attention of the language model on the trigger, which is what turns the dormant backdoor behavior of STRIPWAKE into an active one under compression.

Figure 7. Compression leaves the attention of the language model on the trigger. For one triggered image, each panel overlays the attention of the last prompt token (mean of decoder layers 16, 20 and 24) over the visual tokens that [CLS] pruning retains at budget kk, renormalized over the retained tokens and shared across panels; the dropped regions are dimmed. With all tokens (k=576k=576) the attention is spread over the benign scene and STRIPWAKE emits a clean caption, whereas stronger compression concentrates it on the trigger and wakes the backdoor behavior.

Detailed Settings

Models

  • LLaVA-1.5-7B [21] combines a CLIP ViT-L/14-336 encoder, which gives 576 visual tokens, a two-layer MLP projector and a Vicuna language model. It is the model of all experiments unless stated otherwise. Only its projector is trained, and the vision encoder and the language model are frozen.

  • LLaVA-1.5-13B [21] has the same structure with a larger language model (Table 4).

  • LLaVA-1.5-7B + LoRA (Table 4) trains LoRA adapters of the language model together with the projector.

  • Qwen3-VL-8B and 4B [3] (Table 4) are used with only the connector trained. Since Qwen3-VL has no [CLS] token, the first compressor is ViT-attention pruning.

Datasets and Metrics

  • MS-COCO [20] is the main benchmark. The models are trained on 6,000 train2017 images with captions, of which 5% are poisoned, and evaluated on 768 val2017 images. The prompt is “Describe this image in a short sentence.” and the decoding is greedy. The defender of § 5.2 uses 1,000 other clean train2017 images, disjoint from the training images.

  • VQAv2 [10] is used for the VQA experiments, with a projector trained on it (Table 1).

  • Flickr8k [14] is a second captioning benchmark. The models are trained on its 6,000 training images (five captions each) with the recipe used on COCO and evaluated on 768 test images, with the same prompt and decoding and the CIDEr as clean utility (Table 5).

DatasetAttackFull[CLS]VisionZipFastVSparseVLMDivPruneVisPrunerFlowCut
Flickr8kBadNet99.74 (110.75)83.20 (94.81)89.32 (96.10)99.74 (90.21)99.74 (86.56)93.88 (96.64)88.93 (94.65)89.97 (96.03)
Flickr8kBlended99.87 (110.28)96.22 (93.43)97.14 (94.36)100.00 (89.19)99.87 (87.55)98.70 (98.00)98.57 (93.72)98.18 (96.81)
Flickr8kISSBA99.09 (109.30)60.81 (93.99)47.79 (94.77)99.22 (91.59)99.22 (89.39)79.69 (97.53)59.38 (92.98)53.78 (95.20)
Flickr8kWaNet99.09 (109.43)93.49 (94.30)92.06 (94.94)95.83 (85.60)95.57 (83.49)97.79 (99.48)95.83 (92.91)82.55 (95.51)
Flickr8kTrojVLM100.00 (110.57)67.32 (97.34)41.28 (100.36)99.87 (94.65)99.74 (90.78)22.53 (96.69)76.17 (97.58)85.68 (96.27)
Flickr8kVLOOD99.87 (111.70)60.94 (96.43)40.23 (98.54)99.87 (97.62)99.87 (93.40)28.65 (96.42)70.44 (98.52)76.17 (96.38)
Flickr8kSTRIPWAKE0.13 (113.28)95.18 (101.65)94.92 (104.93)98.31 (93.04)98.18 (91.70)98.83 (104.17)97.40 (102.99)98.05 (102.78)
OK-VQABadNet100.00 (54.43)97.92 (54.40)97.40 (53.83)100.00 (54.77)100.00 (53.78)90.10 (57.16)95.05 (53.75)98.57 (53.93)
OK-VQABlended99.87 (55.83)76.82 (55.91)88.28 (55.05)99.74 (55.03)99.74 (53.98)90.23 (57.11)89.06 (55.00)88.67 (56.12)
OK-VQAISSBA97.53 (56.64)75.39 (56.33)70.05 (56.22)97.53 (54.95)97.53 (53.98)13.02 (57.66)81.25 (56.12)68.75 (56.09)
OK-VQAWaNet99.48 (56.30)94.27 (54.61)93.10 (53.28)99.22 (54.58)99.35 (53.80)98.57 (55.83)94.79 (55.05)74.35 (52.55)
OK-VQATrojVLM99.87 (57.01)96.88 (55.86)96.48 (55.08)100.00 (52.97)100.00 (53.18)95.05 (56.80)96.48 (56.33)98.44 (55.39)
OK-VQAVLOOD99.74 (56.95)94.53 (56.02)88.28 (57.14)99.74 (55.31)99.74 (54.82)91.02 (56.15)94.92 (56.90)96.74 (55.03)
OK-VQASTRIPWAKE2.86 (57.99)95.18 (54.17)93.62 (55.21)98.44 (53.80)98.18 (53.88)96.48 (54.82)96.61 (56.20)96.88 (53.31)

Table 5. Results on Flickr8k and OK-VQA. We report ASR (%) with clean utility (CIDEr on Flickr8k and accuracy on OK-VQA, ↑) in parentheses, using all visual tokens (Full, ↓) and seven compressors (↑). All baseline attacks are trained with the same data, recipe, and poison rate as STRIPWAKE on full-token inputs. Baseline attacks are activated with all visual tokens, whereas STRIPWAKE stays dormant and wakes up under every compressor.

  • OK-VQA [26] is a second VQA benchmark whose questions need external knowledge. The projector is trained on 6,000 images of its training questions (one question per image) and evaluated on 768 images of its validation questions, with the prompt of VQAv2 and the VQA accuracy as clean utility (Table 5).

  • Metrics. The attack success rate (ASR) is the fraction of triggered images whose answer contains the target phrase “you have been hacked lol” (at most 12 new tokens, and 64 for TrojVLM and VLOOD, which insert it into a caption). The clean CIDEr [37] is measured on the clean images (30 new tokens). The detectors are scored by the two-sided AUROC between triggered and clean test images.

Backdoor Attacks

We retrain the published attacks with the same data, recipe and poison rate as STRIPWAKE.

  • BadNet [12] pastes a 30-pixel patch of random noise (the image mean plus Gaussian noise) at a random location.

  • Blended [5] blends the Hello Kitty image into the input with a ratio of 0.2.

  • ISSBA [18] generates a sample-specific trigger with an encoder that embeds the secret string “Stega!!”.

  • WaNet [27] warps the image with a fixed noise grid (k=224k=224, strength 1).

  • TrojVLM [24] and VLOOD [25] are attacks on LVLMs that insert the target phrase into the generated caption instead of replacing it. We use the 30-pixel noise patch in the upper-left corner as their trigger and train them with cross-entropy only.

STRIPWAKE uses the perturbation of Eq. (6) on 5% of the tokens.

Detectors

All detectors are re-implementations. The calibration images are the 1,000 clean defender images. For the STRIPWAKE* row of Table 2, the calibration and the test images are compressed with FastV (prune depth d=2d=2) at the stated budget.

  • STRIP [8] blends an input with 8 random defender images at 0.5. The target-aware score is the fraction of blends whose answer contains the target, and the target-free score is the diversity of the answers (1 minus the mean pairwise Jaccard similarity of their word sets), where low diversity indicates backdoor behavior.

  • EntropyScan [9] scores an input by the whitened distance of the per-layer entropy of the visual attention of the last prompt token (head average, 32 layers) from the calibration images.

  • TCAP [22] uses the split of the same attention row into system, visual and text mass per layer (96 values) with the same distance.

  • CleanSight [53] uses the per-head ratio of the visual to the text attention at layers 10 to 12 (96 values) with the same distance, and we use only its detection part.

  • ToT [31] answers the original prompt and a prompt whose question tokens are replaced by random vocabulary ids and shuffled. On a triggered input, a backdoored model ignores the text, so the two answers agree. We score the soft AND of the answer similarity and the entropy difference (the minimum of the two ranks), because its hard rule (entropy difference below 1 and a common phrase of at least two characters) flags 82–99% of the clean captions.

Mitigations

All defenders fine-tune or prune the projector only, with the vision encoder and the language model frozen, on the 1,000 clean defender images.

  • Clean fine-tuning trains the projector for 2 epochs with batches of 16 (125 steps), AdamW, a cosine schedule with 3% warm-up and a learning rate of 2×10−42 \times10^{-4}.

  • NAD [19] fine-tunes in the same way with the clean-fine-tuned model as teacher and adds an attention-transfer term with weight 5,000 on the outputs of the language-model layers 16, 24 and 31 at the image tokens.

  • ANP [43] learns multiplicative masks on the 4,096+4,096 projector neurons with the min-max objective of ANP (100 iterations, batches of 16, ϵ=0.4\epsilon=0.4, trade-off 0.2) and prunes the 10% of the neurons with the smallest masks.

  • ProjLens [39] is implemented after our reading of the paper, without official code: per linear layer, the top singular component of W−WFTW-W_{\mathrm{FT}} is removed from WW (r=1r=1).

  • Adaptive defenders run every training or pruning forward on FastV-compressed tokens: layers 0 and 1 see all tokens, the survivors are the tokens with the highest head-averaged attention of the last prompt token at layer 1, and later layers process them at their original positions.

Implementation Details

Only the two-layer projector of LLaVA-1.5-7B is trained, with AdamW at a learning rate of 2×10−42 \times10^{-4}, a batch of 32 images, and 2 epochs over 6,000 COCO training images, of which 5% are poisoned. The trigger is the multiplicative perturbation of Eq. (6) with δ=96\delta=96 on 5% of the tokens, which is 29 of 576, placed at random. The family P\mathcal{P} draws the budget from {48,64,96,128,192,256}\{48, 64, 96, 128, 192, 256\}, the prune depth from 0 to 4 with probabilities 0.4, 0.15, 0.2, 0.15, 0.1, original instead of re-packed position ids with probability 0.6, merging of the dropped tokens with probability 0.3 among the views that prune before the language model (depth 0), which is a marginal rate of 0.4×0.3=0.120.4 \times0.3=0.12 over all views, and retention-controlled instead of score-mixed survivors with probability 0.5. Merging folds a random fraction of the dropped tokens into their nearest survivor. Score-mixed survivors rank the tokens by a random convex mixture of the [CLS] attention, the feature norm and noise. Retention-controlled survivors keep a drawn fraction of the trigger tokens and fill the remaining slots with the non-trigger tokens of highest [CLS] attention in half of the draws and at random in the other half. The family therefore shares building blocks with [CLS] pruning and VisionZip, but no deployment compressor is run in training. Each poisoned image is paired with two compressed views and two dormant views, namely the full view and a lightly pruned view that keeps 384, 448 or 512 tokens. Each clean image is trained with the full view and one compressed view. STRIPWAKE asks for the target in every compressed triggered view and adds benign attention distillation Lakd\mathcal{L}_{\mathrm{akd}} with λ=1\lambda=1 on layers 1 to 12, a Jensen-Shannon divergence on the row of the last prompt token averaged over heads. Layers are counted from 0 and the language model has 32 of them. The benign teacher is trained without poison and without Lakd\mathcal{L}_{\mathrm{akd}}, with the same compressor family, the same 6,000 images and 2 epochs. The weight λ\lambda of Lakd\mathcal{L}_{\mathrm{akd}} was

set after a sweep over {0,0.5,1,2,2.5,5,10,15}\{0, 0.5, 1, 2, 2.5, 5, 10, 15\}, in which every λ>0\lambda>0 gave similar ASR and clean CIDEr (Figure 4), so we use the small weight λ=1\lambda=1, which keeps the term from dominating the cross-entropy.

Results on Flickr8k and OK-VQA

Table 5 repeats the main comparison of Table 1 on a second captioning benchmark, Flickr8k, and a second VQA benchmark, OK-VQA, with the data and protocol of Appendix § 8.§ 2. As on COCO and VQAv2, all baseline attacks fire with all visual tokens, whereas STRIPWAKE stays dormant with all visual tokens and wakes up under all seven compressors, while its clean CIDEr and VQA accuracy remain comparable to those of the baselines.

Comparison with Tian Attack

Tian Attack [34] keeps a released model clean and activates the backdoor behavior only after its weights are pruned. It edits the weights, so it cannot be ported as-is to visual token compression, which leaves the weights unchanged and only shortens the visual token sequence. We therefore transfer its training principle, the target on the compressed view and the clean caption on the full view, rather than its implementation. Our Tian Attack assumes that the attacker knows the deployed compressor, [CLS]-attention pruning with k=64k=64, denoted C64C_{64}, and trains the four views of Eq. (5) with c=C64c=C_{64} in place of c∼Pc\sim\mathcal{P}. It drops the lightly pruned views and Lakd\mathcal{L}_{\mathrm{akd}} (λ=0\lambda=0), so it needs no benign teacher. All other settings, including the trigger and the target, follow STRIPWAKE (Appendix C), and the VQAv2 model is trained in the same way on VQAv2 questions. As shown in Table 6, Tian Attack stays dormant with all visual tokens and wakes up under the compressors that prune before the language model, but only partially under FastV and SparseVLM, which prune inside it, whereas STRIPWAKE exceeds 99% under both. Overall, a backdoor attack trained for one known compressor does not reliably wake up under the others.

Dormant (↓\downarrow)Activated under Compression (↑\uparrow)
DatasetAttackFull[CLS]VisionZipFastVSparseVLMDivPruneVisPrunerFlowCut
COCOTian Attack0.90 (141.37)92.97 (122.19)92.58 (123.29)4.69 (108.23)3.91 (106.92)80.47 (128.42)96.09 (120.31)95.31 (129.62)
STRIPWAKE0.26 (140.92)94.66 (123.08)92.58 (124.74)99.77 (117.42)99.78 (117.17)99.09 (128.03)97.40 (124.70)97.14 (121.51)
VQAv2Tian Attack1.97 (73.01)91.02 (67.15)89.06 (66.95)39.06 (62.03)35.55 (59.77)48.05 (66.88)91.41 (66.37)92.19 (67.34)
STRIPWAKE0.73 (73.26)94.53 (65.25)94.66 (66.17)99.35 (66.17)99.61 (63.54)98.70 (69.69)97.79 (66.77)97.01 (66.43)

Table 6. Comparison with Tian Attack on COCO and VQAv2. We report ASR (%) with clean utility (CIDEr on COCO and accuracy on VQAv2, ↑\uparrow) in parentheses, using all visual tokens (Full, ↓\downarrow) and seven compressors (↑\uparrow). Tian Attack is trained with [CLS] pruning at k=64k=64, whereas STRIPWAKE sees no deployment compressor in training. Bold marks the best ASR in each column.

References

  1. [1]Saeed Ranjbar Alvar, Gursimran Singh, Mohammad Akbari, and Yong Zhang. DivPrune: Diversity-based visual token pruning for large multimodal models. In CVPR, 2025.arxiv.org/abs/2503.02175
  2. [2]Natan Bagrov, Eugene Khvedchenia, Borys Tymchenko, Shay Aharon, Lior Kadoch, Tomer Keren, Ofri Masad, Yonatan Geifman, Ran Zilberstein, Tuomas Rintamaki, Matthieu Le, and Andrew Tao. Efficient video sampling: Pruning temporally redundant tokens for faster VLM inference. arXiv preprint arXiv:2510.14624, 2025.arxiv.org/abs/2510.14624
  3. [3]Shuai Bai, Yuxuan Cai, Ruizhe Chen, Keqin Chen, Xionghui Chen, et al. Qwen3-vl technical report. arXiv preprint arXiv:2511.21631, 2025.arxiv.org/abs/2511.21631
  4. [4]Liang Chen, Haozhe Zhao, Tianyu Liu, Shuai Bai, Junyang Lin, Chang Zhou, and Baobao Chang. An image is worth 1/2 tokens after layer 2: Plug-and-play inference acceleration for large vision-language models. In ECCV, 2024.arxiv.org/abs/2403.06764
  5. [5]Xinyun Chen, Chang Liu, Bo Li, Kimberly Lu, and Dawn Song. Targeted backdoor attacks on deep learning systems using data poisoning. In arXiv:1712.05526, 2017.arxiv.org/abs/1712.05526
  6. [6]Kazuki Egashira, Mark Vero, Robin Staab, Jingxuan He, and Martin Vechev. Exploiting llm quantization. In NeurIPS, 2024.
  7. [7]Kazuki Egashira, Robin Staab, Mark Vero, Jingxuan He, and Martin Vechev. Mind the gap: A practical attack on gguf quantization. arXiv preprint arXiv:2505.23786, 2025.arxiv.org/abs/2505.23786
  8. [8]Yansong Gao, Change Xu, Duri Wang, Shiping Chen, Damith C. Ranasinghe, and Surya Nepal. STRIP: A defence against trojan attacks on deep neural networks. In Annual Computer Security Applications Conference, 2019.
  9. [9]Xuanyu Ge, Zhongqi Wang, Jie Zhang, Shiguang Shan, and Xilin Chen. Entropyscan: Towards model-level backdoor detection in lvlms via visual attention entropy. arXiv preprint arXiv:2605.15711, 2026.arxiv.org/abs/2605.15711
  10. [10]Yash Goyal, Tejas Khot, Douglas Summers-Stay, Dhruv Batra, and Devi Parikh. Making the v in vqa matter: Elevating the role of image understanding in visual question answering. In CVPR, 2017.
  11. [11]Shishen Gu, Jiequan Cui, Wenbo Hu, Zenglin Shi, Zhenzhen Hu, and Richang Hong. Visual token compression enhances robustness of MLLMs. arXiv preprint arXiv:2607.22716, 2026.arxiv.org/abs/2607.22716
  12. [12]Tianyu Gu, Brendan Dolan-Gavitt, and Siddharth Garg. Badnets: Identifying vulnerabilities in the machine learning model supply chain. arXiv:1708.06733, 2017.arxiv.org/abs/1708.06733
  13. [13]Wei Guo, Fabio Brau, Maura Pintor, Ambra Demontis, and Battista Biggio. Silent until sparse: Backdoor attacks on semi-structured sparsity. arXiv preprint arXiv:2509.08747, 2025.arxiv.org/abs/2509.08747
  14. [14]Micah Hodosh, Peter Young, and Julia Hockenmaier. Framing image description as a ranking task: Data, models and evaluation metrics. Journal of Artificial Intelligence Research, 47:853–899, 2013.DOI
  15. [15]Yinzhen Huang, Jiahe Xie, Yitong Sun, Ruochen Zhang, and Xingxing Wei. Beyond static cues: Unified dynamic detection of MLLM backdoors via dual-flow trajectory analysis. arXiv preprint arXiv:2610.20319, 2026.arxiv.org/abs/2610.20319
  16. [16]Woosuk Kwon, Zhuohan Li, Siyuan Zhuang, Ying Sheng, Lianmin Zheng, Cody Hao Yu, Joseph E. Gonzalez, Hao Zhang, and Ion Stoica. Efficient memory management for large language model serving with PagedAttention. In SOSP, 2023.arxiv.org/abs/2309.06180
  17. [17]Juncheng Li, Yige Li, Hanxun Huang, Yunhao Chen, Xin Wang, Yixu Wang, Xingjun Ma, and Yu-Gang Jiang. BackdoorVLM: A benchmark for backdoor attacks and defenses on vision-language models. arXiv preprint arXiv:2511.18921, 2025.arxiv.org/abs/2511.18921
  18. [18]Yuezun Li, Yiming Li, Baoyuan Wu, Longkang Li, Ran He, and Siwei Lyu. Invisible backdoor attack with sample-specific triggers. In ICCV, 2021.arxiv.org/abs/2012.03816
  19. [19]Yige Li, Xixiang Lyu, Nodens Koren, Lingjuan Lyu, Bo Li, and Xingjun Ma. Neural attention distillation: Erasing backdoor triggers from deep neural networks. In ICLR, 2021.arxiv.org/abs/2101.05930
  20. [20]Tsung-Yi Lin, Michael Maire, Serge Belongie, James Hays, Pietro Perona, Deva Ramanan, Piotr Dollár, and C Lawrence Zitnick. Microsoft coco: Common objects in context. In ECCV, 2014.arxiv.org/abs/1405.0312
  21. [21]Haotian Liu, Chunyuan Li, Yuheng Li, and Yong Jae Lee. Improved baselines with visual instruction tuning. In CVPR, 2024.arxiv.org/abs/2310.03744
  22. [22]Mingzu Liu, Hao Fang, and Runmin Cong. Tcap: Tri-component attention profiling for unsupervised backdoor detection in mllm fine-tuning. In International Conference on Machine Learning (ICML), 2026. arXiv:2601.21692.arxiv.org/abs/2601.21692
  23. [23]Xuyang Liu, Yiyu Wang, Junpeng Ma, and Linfeng Zhang. Video compression commander: Plug-and-play inference acceleration for video large language models. arXiv preprint arXiv:2505.14454, 2025.arxiv.org/abs/2505.14454
  24. [24]Weimin Lyu, Lu Pang, Tengfei Ma, Haibin Ling, and Chao Chen. Trojvlm: Backdoor attack against vision language models. In ECCV, 2024.arxiv.org/abs/2409.19232
  25. [25]Weimin Lyu, Jiachen Yao, Saumya Gupta, Lu Pang, Tao Sun, Lingjie Yi, Lijie Hu, Haibin Ling, and Chao Chen. Backdooring vision-language models with out-of-distribution data. In ICLR, 2025.arxiv.org/abs/2410.01264
  26. [26]Kenneth Marino, Mohammad Rastegari, Ali Farhadi, and Roozbeh Mottaghi. OK-VQA: A visual question answering benchmark requiring external knowledge. In CVPR, 2019.arxiv.org/abs/1906.00067
  27. [27]Anh Nguyen and Anh Tran. Wanet–imperceptible warping-based backdoor attack. In ICLR, 2021.
  28. [28]NVIDIA. Visual-token pruning (DART). https://nvidia.github.io/TensorRT-LLM/user_guide/features/visual-token-pruning.html. TensorRT Edge-LLM documentation. Accessed: 2026-11-17.
  29. [29]OpenVINO Team. Visual token pruning (CDPruner). https://openvinotoolkit.github.io/openvino.genai/docs/concepts/optimization-techniques/visual-token-pruning/. OpenVINO GenAI documentation. Accessed: 2026-11-17.
  30. [30]Xuankun Rong, Wenke Huang, Jian Liang, Jinhe Bi, Xun Xiao, Yiming Li, Bo Du, and Mang Ye. Backdoor cleaning without external guidance in MLLM fine-tuning. arXiv preprint arXiv:2505.16916, 2025.arxiv.org/abs/2505.16916
  31. [31]X. Rong, W. Huang, W. Jiang, Y. Li, W. Wang, and M. Ye. Probing semantic insensitivity for inference-time backdoor defense in multimodal large language model. In Proceedings of the AAAI Conference on Artificial Intelligence, pages 35775–35783, 2026.DOI
  32. [32]Y. Zhang, M. Cai, B. Xu, Y. Lee, and Y. Yan. Llava-promptmerge: Adaptive token reduction for efficient large multimodal models. In ICCV, 2025.
  33. [33]Tencent. AngelSlim: Token compression. https://angelslim.readthedocs.io/zh-cn/latest/features/token_compressor/other_methods.html. AngelSlim documentation. Accessed: 2026-11-17.
  34. [34]Y. Tian, F. Suya, F. Xu, and D. Evans. Stealthy backdoors as compression artifacts. In arXiv:2104.15129, 2021.arxiv.org/abs/2104.15129
  35. [35]J. Tong, W. Jin, P. Qin, A. Li, Y. Zou, Y. Li, Y. Li, and R. Li. FlowCut: Rethinking redundancy via information flow for efficient vision-language models. In NeurIPS, 2025.arxiv.org/abs/2505.19536
  36. [36]N. D. Tran and P. L. Nguyen. Phantasia: Context-adaptive backdoors in vision language models. In CVPR Findings, 2026. arXiv:2604.08395.arxiv.org/abs/2604.08395
  37. [37]R. Vedantam, C. L. Zitnick, and D. Parikh. CIDEr: Consensus-based image description evaluation. In CVPR, 2015.arxiv.org/abs/1411.5726
  38. [38]B. Wang, Y. Yao, S. Shan, H. Li, B. Viswanath, H. Zheng, and B. Y. Zhao. Neural cleanse: Identifying and mitigating backdoor attacks in neural networks. In SP, 2019.DOI
  39. [39]K. Wang, C. Qian, M. Yu, L. Peng, L. Lin, J. Zhang, T. Zhang, Y. Cheng, and Y. Wang. ProjLens: Unveiling the role of projectors in multimodal model safety. arXiv preprint arXiv:2604.19083, 2026.arxiv.org/abs/2604.19083
  40. [40]S. Wang, X. Lyu, S. Yuan, J. Song, H. T. Shen, and L. Gao. Understanding and mitigating token-pruning-induced vulnerabilities in VLMs. In International Conference on Machine Learning (ICML), 2026. arXiv:2610.09703.arxiv.org/abs/2610.09703
  41. [41]W. Wang, Z. Gao, L. Gu, H. Pu, L. Cui, X. Wei, et al. InternVL3.5: Advancing open-source multimodal models in versatility, reasoning, and efficiency. arXiv preprint arXiv:2508.18265, 2025.arxiv.org/abs/2508.18265
  42. [42]Y. Wang, Y. Yang, T. Li, X. Zhang, X. Zhang, and L. Pan. Trusted weights, treacherous optimizations? optimization-triggered backdoor attacks on llms. arXiv preprint arXiv:2605.20641, 2026.arxiv.org/abs/2605.20641
  43. [43]D. Wu and Y. Wang. Adversarial neuron pruning purifies backdoored deep models. In NeurIPS, 2021.arxiv.org/abs/2110.14430
  44. [44]L. Xing, Q. Huang, X. Dong, J. Lu, P. Zhang, Y. Zhang, et al. Pyramiddrop: Accelerating your large vision-language models via pyramid visual redundancy reduction. In CVPR, 2025.arxiv.org/abs/2410.17247
  45. [45]S. Yan, B. Chen, Y. Zhang, Z. Zhou, L. Sun, and S. Su. Feature-aware token attack for compression-triggered stealthy failures in large vision-language models. arXiv preprint arXiv:2609.39134, 2026.arxiv.org/abs/2609.39134
  46. [46]B. Yang, H. Zhou, Z. Zhang, H. Wang, S. Li, and L. Feng. Purifying backdoored large vision-language models by removing hijacked directions. arXiv preprint arXiv:2610.09941, 2026.arxiv.org/abs/2610.09941
  47. [47]S. Yang, Y. Chen, Z. Tian, C. Wang, J. Li, B. Yu, and J. Jia. Visionzip: Longer is better but not necessary in vision language models. In CVPR, 2025.arxiv.org/abs/2412.04467
  48. [48]Q. Zhang, A. Cheng, M. Lu, R. Zhang, Z. Zhou, J. Cao, S. Guo, Q. She, and S. Zhang. Beyond text-visual attention: Exploiting visual cues for effective token pruning in VLMs. In ICCV, 2025. arXiv:2412.01818, first released as FasterVLM.arxiv.org/abs/2412.01818
  49. [49]X. Zhang, H. Liu, L. Bai, H. Wang, Q. Ye, T. Zhang, and H. Hu. On the adversarial robustness of large vision-language models under visual token compression. In International Conference on Machine Learning (ICML), 2026. arXiv:2601.21531.arxiv.org/abs/2601.21531
  50. [50]X. Zhang, X. Zhang, L. Zhang, Y. Zhang, G. Tao, and S. Pan. Less is more – until it breaks: Security pitfalls of vision token compression in large vision-language models. arXiv preprint arXiv:2601.12042, 2026.arxiv.org/abs/2601.12042
  51. [51]Y. Zhang, C.-K. Fan, J. Ma, W. Zheng, T. Huang, K. Cheng, D. Gudovskiy, et al. Sparsevlm: Visual token sparsification for efficient vision-language model inference. In ICML, 2025.arxiv.org/abs/2410.04417
  52. [52]Z. Zhang, Q. Tao, J. Lv, N. Zhao, L. Feng, and J. T. Zhou. TokenSwap: Backdoor attack on the compositional understanding of large vision-language models. In ICML, 2026.arxiv.org/abs/2509.24566
  53. [53]Z. Zhang, B. Yang, S. He, W. Chen, W. E. Zhang, O. Maennel, L. Feng, and M. Xu. Test-time attention purification for backdoored large vision language models. arXiv preprint arXiv:2603.12989, 2026.arxiv.org/abs/2603.12989
  54. [54]Z. Zhong, Z. Sun, Y. Liu, X. He, and G. Tao. Backdoor attack on vision language models with stealthy semantic manipulation. arXiv preprint arXiv:2506.07214, 2025.arxiv.org/abs/2506.07214
  55. [55]X. Zou, T. Zheng, X. Xu, and R. Ding. Capacity overflow: A blind spot for backdoor attacks in vision moe. arXiv preprint arXiv:2608.25371, 2026.arxiv.org/abs/2608.25371

Paper details

vlnc:W_rznxhpsc
Version
v2 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC BY 4.0
Usage

views · 16

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Computer Science

Not recorded for this paper

View statement
Looking for related papers…
Contents