Grounding-driven attack: Improving the transferability of encoder-based adversarial attacks to large vision-language modelsGrounding-Driven Attack: Improving Encoder-based Adversarial Transferability against Large Vision-Language Models
GDA aligns perturbations with text grounding evidence; under DI+ME, GPT-5.4 description ASR is 81.7% (Table 4).
Zero-query black-box: no access to the victim LVLM's architecture, parameters, visual encoder, or output probabilities. Image perturbations are constructed only on public vision–language pretrained models such as CLIP, and transfer without querying the victim model. The prompt is fixed, and the goal is to make the output deviate from y, with ‖δ‖p ≤ ε.
- Encoder attacks often assume the surrogate vision encoder is identical or similar to the victim LVLM. Under heterogeneous zero-query black-box settings, model-specific visual evidence is inconsistent, while text-grounded regions are more stable yet not sufficiently disrupted. The authors relate this to safety-critical deployments such as healthcare.
- GDA uses short image descriptions and Grad-ECLIP to generate grounding masks, allocating the perturbation budget to evidence regions and suppressing the background. It then enlarges cosine distances on image-text embeddings and noun-phrase-corresponding patches, optimizing with PGD within a pixel-level budget, without querying the victim model.
- In the description task, GDA's ASR on Qwen2.5-VL and InternVL3 is 39.0% and 41.2% (Table 3). Under DI+ME, GPT-4o, Gemini 2.0 Flash, and GPT-5.4 are 80.0%, 66.8%, and 81.7% (Table 4). OpenFlamingo and VT-Attack are both 99.8%. The chest X-ray case on GPT-4.1 is 61%.
- The authors state that they have not yet extended to audio–language models, embodied agents, and targeted attacks; defenses were mainly evaluated on input preprocessing and no adversarial training was performed. The experiments cover the listed open-source and commercial LVLMs, three tasks, and chest X-ray cases; the main table does not specify the description review model, nor does it report agreement with humans.
- Evaluated models
- LLaVA (llava-hf/llava-1.5-7b-hf)Qwen2.5-VL (Qwen/Qwen2.5-7B-Instruct)InternVL3 (OpenGVLab/InternVL3-8B)OpenFlamingo (OpenFlamingo-4B-vitl-rpj3b-langinstruct)BLIP-2 (Salesforce/blip2-opt-2.7b)Kimi-VL (Kimi-VL-A3B-Instruct)GPT-4oGemini 2.0 FlashGPT-5.4GPT-4.1
- Benchmarks
- Flickr30kCIFAR-10TextVQACOVID-19 Radiography dataset
- Metrics
- ASRCLIP similaritySSIMLPIPSMS-SSIMFSIMVIFHaarPSI
The researchers propose Grounding-Driven Attack (GDA), an adversarial attack method based on visual encoders, to improve black-box transferability to large vision-language models. The study points out that model-specific visual evidence is inconsistent across different models, while text-conditioned grounding regions are more closely linked to description-related evidence and are a more stable transfer target. GDA concentrates the perturbation budget on grounding evidence regions through Grounding-Aware Perturbation Allocation, and strengthens their global and local disruption through Grounding-Centric Evidence Disruption. Experiments on multiple victim models and tasks show that GDA's black-box transfer consistently outperforms existing encoder-based attacks, and the authors accordingly propose that grounding-aware robustness evaluation and defense design should be conducted.
Paper analysis
What problem does this paper attempt to solve?
The authors state that under heterogeneous zero-query black-box settings, existing encoder attacks are insufficiently aligned with text-grounded evidence.
Existing encoder attacks in zero-query black-box settings on heterogeneous LVLMs are insufficiently aligned with more stable text grounding evidence.
- Scenario: The authors state that when LVLMs incorporate visual input, the visual modality is more susceptible to imperceptible perturbations than text, potentially amplifying vulnerabilities. Deployment scenarios named in the paper include medical image analysis and autonomous driving.
- Existing limitations: End-to-end attacks optimize the final output, typically bound to a specific model, and require full forward and backward passes. Encoder attacks only optimize the visual encoder, but the authors state that most works assume the victim encoder is identical or highly similar to the surrogate encoder; settings where both the encoder and language module are heterogeneous are less studied.
- Core observation: The authors state that model-specific visual evidence is inconsistent across models, and text-conditioned grounding is closer to the evidence used in descriptions. In Table 1, the IoU@Top20% for LLaVA and Grad-ECLIP is 0.223±0.090, higher than the 0.112±0.034 with CLIP-L; the Spearman ρ for SigLIP and CLIP-B is −0.067±0.163. In Figure 3, the authors state that at the same masking ratio, grounding masking reduces keyword overlap more than random masking. In Table 2, the Spearman for VT-Attack and grounding regions is 0.0524±0.0834, and coverage@Top20%_sal is 0.4108±0.0868.
- Proposed in this paper: Grounding-Driven Attack (GDA), which uses grounding-aware perturbation allocation (GPA) and grounding-centered evidence disruption (GED) to concentrate the budget on text grounding regions and strengthen disruption.
- Threat model:
- Goal: With a fixed prompt T, make Fθ(I+δ, T) not equal to label y, and ‖δ‖p ≤ ε (Equation 1). Definition 2.1 defines instance-level success as the victim output not equal to y.
- Knowledge: The paper calls this zero-query black-box. No access to the victim LVLM's architecture, parameters, visual encoder, or output probabilities.
- Capability: Uses the visual and text encoders of public vision–language pretrained models (examples in the paper are CLIP), constructs adversarial images only on surrogate models, and transfers without querying the victim model. The authors distinguish this from query-based attacks that approximate gradients through repeated interaction.
- Victim system: Architecturally heterogeneous open-source and commercial LVLMs. The authors decompose transfer into changing the victim's visual representation across encoders, and that representation changing the final output after alignment and the language module.
What related research exists?
The authors organize related work by encoder attacks, black-box improvements, and visual transfer techniques, and state that the zero-query setting is still rarely studied systematically.
Appendix D and the introduction categorize related work into LVLM adversarial attacks and transfer techniques on vision tasks.
LVLM adversarial attacks
- Schlarmann and Hein (2023): End-to-end white-box, constructing perturbations on the output layer loss. The paper states this requires all parameters and is computationally expensive.
- Encoder attacks: Cui et al. (2024) minimize the cosine similarity between adversarial visual features and target text embeddings; Attack-Bard (Dong et al., 2023) enlarges the distance between clean and adversarial representations; VT-Attack (Wang et al., 2024) disrupts alignment from local features, token relations, and global semantics across multiple levels. The paper states these methods are lighter, but most default to surrogate and victim encoders being identical or similar, while modern LVLMs often use diverse or even proprietary vision backbones.
- Black-box improvements: Zhao et al. (2023) refine perturbations using victim model feedback; the paper states this has high query overhead and detection risk. Xie et al. (2025) use an auxiliary description model to produce semantic labels as intermediate targets; the paper states this still relies on partial architecture or semantic alignment and effectively assumes the surrogate encoder is similar to the victim. Dong et al. (2023) use model ensembles to improve cross-encoder alignment. The paper states that despite this, encoder transfer under zero-query black-box settings remains under-systematically studied. The introduction lists InstructTA and others as references to the assumption of "identical or highly similar encoders," without separate elaboration.
Transfer attacks on vision tasks
- General strategies: Multi-surrogate model ensembles (Liu et al., 2017), momentum updates (Dong et al., 2018), input transformations such as random scaling and cropping (Xie et al., 2019). The paper states these can be compatible with LVLMs but do not directly address the specific issues of encoder transfer.
- ViT-specific: PNA, PatchOut (Wei et al., 2022), and TGR (Zhang et al., 2023) build transferability on [CLS] or token gradients. The paper states these methods rely on a single global representation and are difficult to apply directly to LVLMs that use distributed patches for cross-modal alignment.
Baselines and benchmarks
- Baseline methods: Schlarmann and Hein, Cui et al., Attack-Bard, VT-Attack; TGR, PNA, PNA+PatchOut are integrated into Cui et al.'s framework before comparison.
- Benchmarks/datasets: Flickr30k image captioning, CIFAR-10 classification, TextVQA validation set for VQA; the case study in Appendix E uses COVID-19 Radiography.
The authors position this work as: studying encoder transfer across heterogeneous LVLMs under zero-query constraints, shifting optimization from model-specific evidence of the surrogate encoder to text-grounded evidence.
How does the paper address this problem?
GDA uses grounding masks to allocate perturbation budget, then disrupts text grounding evidence with global and noun-phrase-level losses.
GDA breaks the transferable optimization into two questions: where the perturbation budget falls, and to what degree the selected text-grounded regions should be disrupted. Figure 4 and Algorithm 1 in Appendix F give the procedure. The surrogate model is a public image-text alignment model, with the vision encoder denoted as fv and the text encoder as ft.
Problem setup and formalization
- An LVLM is written as y = Fθ(I, T) = Lτ(Mψ(fϕ(I)), T), composed of a vision encoder, modality projection, and language model. Heterogeneity mainly comes from design differences in these three parts.
- Encoder attacks do not go through the full LVLM and do not use generated outputs; they only maximize feature distance on the surrogate encoder.
- Transfer success in Definition 2.1 is an indicator function: I+δ made on the surrogate model causes the victim model's output under the same prompt to differ from y.
Grounding-Aware Perturbation Allocation
- Grounding reference: A pretrained description model condenses image I into a short description Td. The description model and prompt used in experiments are given in Question 4; the authors state this step only needs a coarse description of the main visual entities.
- Localization: Grad-ECLIP yields a text-conditioned patch map. The cosine similarity of normalized image-text embeddings is backpropagated to the [CLS] output; patch scores are obtained by multiplying that patch's attention weights with the value-gradient inner product, then bilinearly upsampled into a pixel mask M. The authors state that, compared to directly using Grad-CAM or attention rollout on the encoder, constraining gradients with text embeddings reduces model-specific bias; CLIP's large-scale image-text pretraining makes these regions a relatively stable proxy, but does not guarantee full consistency with important regions of other LVLMs.
- Allocation: Let the average per-pixel budget be ε and the base ratio be r. Each pixel first receives a uniform base amount; the remaining budget is distributed to grounded regions according to M's normalized weights, so the total image budget sums to ε·R².
Grounding-Centric Evidence Disruption
- Global: The text-image term enlarges the embedding cosine distance between the adversarial image and Td; the image-image term enlarges the distance between the adversarial image and the clean image across all visual tokens before projection (including [CLS] and patches). The authors state that using all tokens is meant to cover both coarse- and fine-grained grounding representations.
- Local: Only noun phrases undergo region-phrase disruption. The authors state that verbs often depend on related objects or body parts, and noun phrases are more stable visual anchors. SpaCy en_core_web_sm extracts noun chunks, which are deduplicated and stripped of stopwords; each phrase is then processed with Grad-ECLIP, keeping patches with scores above threshold τ; if the set is empty, that phrase does not enter the loss. The average of clean tokens over that set serves as the phrase feature, and the loss penalizes adversarial tokens still being similar to that feature.
- The total loss and pixel constraint are Ltotal=Ltext−image+Limage−image+Llocal, and |δ(x,y)|∞ ≤ ϵmap(x,y). Within this pixel-level ℓ∞ ball, PGD performs gradient ascent with projection. Specific step counts, step sizes, and default r and τ are given in the experimental settings.
Success determination
- Classification and VQA: the proportion of samples where the clean prediction is correct and the adversarial prediction is wrong.
- The description task has no single right or wrong label and uses LVLM-as-a-Judge; Appendix H gives the full prompt. Additionally, multiple CLIP vision backbones compute the similarity between the generated text and the clean image; the paper uses lower similarity and higher ASR to indicate a stronger attack.
What experiments did the paper conduct?
Under the default surrogate model, GDA achieves higher ASR on most open-source LVLMs; in a few settings it is on par with or lower than VT-Attack.
Experimental Setup
- Surrogate and victim models: Default surrogate is CLIP-L/14; also tested CLIP-B/16, SigLIP, DINOv2-B. End-to-end baseline generates on BLIP-2 then transfers; when the victim model is BLIP-2, Table 8 notes this baseline is white-box. Commercial description experiments add diverse input (DI) and use model ensemble (ME) on ViT-L/14, ViT-B/16, ViT-B/32. Victim models are LLaVA, Qwen2.5-VL, InternVL3, OpenFlamingo, BLIP-2, Kimi-VL, GPT-4o, Gemini 2.0 Flash, GPT-5.4; Appendix E additionally uses GPT-4.1. Appendix H states LLaVA and OpenFlamingo use CLIP ViT-L/14, BLIP-2 uses EVA-CLIP, Qwen2.5-VL, InternVL3, Kimi-VL use another ViT, InternViT, MoonViT respectively.
- Data: Flickr30k descriptions, CIFAR-10 classification, TextVQA validation set VQA, 1,000 random samples each. Description prompts and classification prompts are in Section 5.1 and Appendix H, not copied here. Chest X-ray cases are uniformly sampled 100 images from COVID-19 Radiography, with four classes: Normal, COVID-19, Viral Pneumonia, Lung Opacity.
- Metrics: ASR. For description tasks, also report CLIP similarity between generated text and clean images, with backbones RN-50, RN-101, ViT-B/16, ViT-B/32, ViT-L/14, and Ensemble. ASR for classification/VQA is defined as the proportion of correct clean predictions changed to incorrect ones.
- Evaluation: Description ASR uses LVLM-as-a-Judge; a mismatch is judged as success; Appendix H gives the prompt. The main tables do not name the judge model. Appendix I.3 compares GPT-4.1, GPT-4o, gemini-2.5-flash-image, gemini-3-flash-preview on 100 cases (seed 7); Table 11 shows average agreement across six pairs is 91%, the text says 90.2%, the table is authoritative here; 82/100 cases have all judges agreeing. The paper does not report agreement with human annotations.
- Attack settings: ℓ∞ with ε = 8/255, PGD with K = 100, step size α = 1/255, default r = 0.2, τ = 0.3. Td is generated by GPT-4o, prompt in Section 5.1. Hardware is NVIDIA GeForce RTX 4090. The paper does not report the number of repetitions, nor the number of queries to victim models (set to zero-query).
- Baselines: Cui et al., Schlarmann and Hein, Attack-Bard, VT-Attack, and TGR, PNA, PNA+PatchOut integrated into the Cui et al. framework.
Main Results
The table below shows image description under the default surrogate model. LLaVA and OpenFlamingo have visual backbones in the same family as CLIP-L/14.
Swipe horizontally to read the table
Victim LVLM GDA ASR VT-Attack ASR GDA Ensemble similarity Source LLaVA 55.4% 46.0% 0.2971 Table 3 Qwen2.5-VL 39.0% 31.4% 0.3169 Table 3 InternVL3 41.2% 31.6% 0.3176 Table 3 OpenFlamingo 99.8% 99.8% 0.1899 Table 8 BLIP-2 38.6% 27.6% 0.2968 Table 8 Kimi-VL 33.2% 28.2% 0.3037 Table 8 - The authors state GDA achieves lower image–text similarity and higher ASR, and claim clear gains on heterogeneous victim models such as Qwen2.5-VL and InternVL3.
- The authors argue TGR, PNA, PatchOut mainly perturb CLS, which helps little for LVLMs relying on fine-grained patches; PatchOut discards patches, reducing perturbation density on grounded regions.
- Exception: On OpenFlamingo, GDA and VT-Attack have the same ASR. Table 8 notes that Schlarmann and Hein is white-box on BLIP-2, with ASR 84.4% in that row, higher than the black-box methods in the table.
Commercial LVLMs (DI+ME)
- The authors state that on closed-source commercial models, default targeted transfer is weaker due to a larger surrogate–victim gap, so all methods in Table 4 add DI and ME. The paper does not give commercial model numbers without both in that table.
- Table 4 ASR: on GPT-4o, GDA 80.0%, VT-Attack 64.3%, Cui et al. 52.0%, Attack-Bard 45.7%; on Gemini 2.0 Flash, respectively 66.8%, 58.5%, 45.6%, 36.9%; on GPT-5.4, respectively 81.7%, 63.7%, 59.0%, 53.3%.
- The authors state GDA changes the attack target, which is orthogonal to DI's input diversity and ME's multiple surrogate models, and can be used together.
Classification, VQA, and Chest X-ray Cases
- Table 9 classification Average ASR: GDA 60.7%, VT-Attack 57.4%, TGR 51.9%, Cui et al. 50.0%. GDA on LLaVA, Qwen2.5-VL, InternVL3, BLIP-2, Kimi-VL, GPT-4o, Gemini 2.0 is 65.2%, 51.0%, 67.4%, 84.0%, 54.6%, 32.0%, 31.8%. On OpenFlamingo, VT-Attack is 100.0% and GDA is 99.6%. The paper does not state whether commercial models in that table use DI+ME.
- VQA per Table 9: GDA Average is 64.5%, per model LLaVA 64.2%, Qwen2.5-VL 58.4%, InternVL3 60.2%, OpenFlamingo 98.2%, BLIP-2 93.6%, Kimi-VL 56.2%, GPT-4o 43.0%, Gemini 2.0 38.0%. In the same table, VT-Attack Average is 61.7%, Attack-Bard 62.4%; on Gemini 2.0, Attack-Bard is also 38.0%. Appendix I.3 writes GDA's VQA average ASR as 61.7%, inconsistent with Table 9.
- Appendix E: under the same Section 5.1 configuration, GPT-4.1 ASR on 100 chest X-rays is 61%. In one example in Figure 5, the diagnosis category changes from Lung Opacity to COVID-19, with confidence still marked High; no original text is quoted.
Input Preprocessing and Perceptual Quality
- Table 19 reports average ASR: no defense 43.25%, Bit-Red 41.95%, JPEG 29.39%, NRP 30.80%, DiffPure 25.83%. Under DiffPure, OpenFlamingo is still 54.0%. The authors state Bit-Red gains are limited and attacks still partially succeed after DiffPure. The table does not state whether DI+ME is used; in the no-defense row, GPT-4o is 16.6% and Gemini 2.0 is 12.4%, not the same numbers as Table 4. Under Bit-Red, these two cells are 17.0% and 13.3%.
- Table 10: GDA SSIM is 0.9161, LPIPS is 0.0369, MS-SSIM is 0.9857. On FSIM and VIF, PNA+PatchOut is 0.8320 and 0.6852, GDA is 0.8095 and 0.6775; on HaarPSI, Schlarmann and Hein is 0.9450, GDA is 0.9336. The authors state GDA is better on most perceptual metrics and constrains perturbations to semantically important regions.
Other Ablations and Analyses
- Components (Table 15, ASR): on LLaVA, image-only term 39.0%, full global term 44.2%, adding local term 48.8%, then adding GPA 55.4%; Qwen2.5-VL is 25.0%, 30.0%, 31.2%, 39.0%; InternVL3 is 23.5%, 28.7%, 35.4%, 41.2%.
- Surrogate models (Table 12, numbers match the LLaVA CLIP-L/14 main table row): GDA ASR is 55.4% with CLIP-L/14, 36.6% with CLIP-B/16, 34.2% with SigLIP, 19.6% with DINOv2-B; VT-Attack in that row is 19.2%.
- Alignment (Table 6, N=100): relative to VT-Attack, GDA Spearman goes from 0.0524±0.0834 to 0.5994±0.0832, IoU@Top20% from 0.1303±0.0443 to 0.2936±0.0709, coverage@Top20%_sal from 0.4108±0.0868 to 0.5196±0.1019.
- r (Table 13): Qwen2.5-VL ASR is 37.8% at r=0.2 and 31.2% at r=1.0. τ (Table 14): LLaVA is 55.4% at τ=0.3, 52.2% at τ=0.1, 53.8% at τ=0.4.
- After adding verbs to the local term, LLaVA ASR goes from 55.4% to 54.3% (Table 17). When Td is generated by BLIP-2 instead, it is 55.3%, with GPT-4o it is 55.4% (Table 18).
- Figure 9: on LLaVA at ε=16, the authors state most baselines plateau at 40%–50%, while GDA reaches 66%. Figure 8: the authors state at ε=16, GPT-4o and Gemini ASR reaches at most 20%. Figure 10: on InternVL, increasing steps raises ASR for all methods; the authors state baselines gain negligibly after 40 steps, while GDA peaks at 100 steps. Table 16: GDA 10.3353 s/sample, Schlarmann and Hein 28.4024 s/sample; the authors state a 2.7× speedup.
What are some points that can be further explored?
The authors state that other modalities and targeted attacks are not covered, and defense evaluation is mainly input preprocessing.
Limitations and future directions noted by the authors
- Appendix J.2: The current attack targets LVLMs and has not yet been extended to audio-language models or embodied agents; the authors list supporting more modalities as a future direction.
- Appendix J.2: The research focuses mainly on untargeted attacks. Targeted attacks—suppressing the original text-grounded evidence and pushing toward an attacker-specified description or answer—are left for future work and are not systematically examined in this paper.
- Appendix J.2: Defense evaluation is limited to input-level preprocessing, which the authors say has limited effectiveness; adversarial training was not performed due to resource constraints, and they consider adversarial training or detection mechanisms worth future research.
Experimental coverage
- Victim models are LLaVA, Qwen2.5-VL, InternVL3, OpenFlamingo, BLIP-2, Kimi-VL, GPT-4o, Gemini 2.0 Flash, GPT-5.4, and chest X-ray cases additionally use GPT-4.1 (Section 5, Appendix H, Appendix E).
- Tasks are Flickr30k description, CIFAR-10 classification, and TextVQA, each with 1,000 samples; chest X-rays use 100 images, evenly sampled across four classes (Section 5.1, Appendix E).
- The default surrogate model is CLIP-L/14; CLIP-B/16, SigLIP, and DINOv2-B are also reported; commercial description experiments use DI, as well as an ensemble of ViT-L/14, ViT-B/16, and ViT-B/32 (Section 5.2, Table 12).
- Reported defenses are Bit-Red, JPEG, NRP, and DiffPure (Table 19). Appendix J.2 states that adversarial training was not used.
- Description ASR uses LVLM-as-a-Judge; the main result tables do not specify the judge model. Cross-judge agreement comes from 100 cases; the paper does not report agreement with humans, nor the number of experimental repetitions or the number of queries to victim models.
Summarize the main content of the paper
GDA aligns perturbations with text-grounded evidence, and the authors say this improves zero-query black-box transferability on heterogeneous LVLMs.
GDA is a zero-query black-box encoder transfer attack for heterogeneous LVLMs.
- The problem addressed: perturbations optimized only on a surrogate vision encoder usually assume the victim encoder is identical or similar to the surrogate. The authors say model-specific visual evidence is inconsistent across models, while grounding regions constrained by image descriptions are more stable, yet existing attacks do not concentrate their budget on these regions.
- Method: first use a short description and Grad-ECLIP to obtain a grounding mask and allocate the pixel budget, then simultaneously enlarge the image-text embedding distance, the full visual token distance, and the distance between noun-phrase-corresponding patches and clean phrase features, and finally run PGD within a pixel-level ℓ∞ budget. The attack does not query the victim model.
- On the description task under the default CLIP-L/14, GDA's ASR is 39.0% on Qwen2.5-VL, 41.2% on InternVL3, and 33.2% on Kimi-VL, higher than VT-Attack in the same table; on LLaVA it is 55.4% (Table 3, Table 8). On OpenFlamingo it is 99.8%, the same as VT-Attack. The vision backbones of LLaVA and OpenFlamingo are CLIP ViT-L/14.
- On commercial models under DI+ME, description ASR is 80.0% for GPT-4o, 66.8% for Gemini 2.0 Flash, and 81.7% for GPT-5.4 (Table 4). In Table 9, GDA's average ASR for classification and VQA is 60.7% and 64.5%; in classification, VT-Attack on OpenFlamingo is 100.0% and GDA is 99.6%. GPT-4.1's ASR on 100 chest X-rays is 61% (Appendix E).
- The authors conclude that text-grounded visual evidence is a useful perspective for understanding adversarial transfer in heterogeneous settings and can also serve as a basis for future defenses that consider cross-model grounding evidence. Appendix J.2 states that the paper does not extend to other modalities or targeted attacks, and the defenses mainly examined input preprocessing.