Skip to main content
LLM Security Database
Skip to research details
Back to research findings
LMVD-ID: 594d72fa
Paper published March 1, 2026
Entry analyzed April 11, 2026
Paper-reported evidence
Confidence: Source-linked

The LMVD-ID is an internal research identifier, not an official CVE identifier.

X-Shaped Sparse VLM Attack

A vulnerability in Vision-Language Models (VLMs) relying on shared visual-textual representation spaces allows attackers to induce transferable cross-task semantic failures using an X-shaped Sparse Pixel Attack (XSPA)…

BibTeX citation

Paper-evaluated models(1)

  • InstructBLIP

Description

A vulnerability in Vision-Language Models (VLMs) relying on shared visual-textual representation spaces allows attackers to induce transferable cross-task semantic failures using an X-shaped Sparse Pixel Attack (XSPA). Attackers craft imperceptible adversarial perturbations restricted to a fixed geometric prior—two intersecting diagonal lines comprising approximately 1.76% of the image pixels. By jointly optimizing a classification objective with cross-task semantic guidance (target-semantic attraction and source-semantic suppression) and applying magnitude and line-wise smoothness regularization, the perturbation successfully diffuses the model's spatial attention away from semantically decisive object regions. This compromises the visual encoding and propagates errors through the shared semantic space, systematically degrading zero-shot classification, open-ended image captioning, and Visual Question Answering (VQA) simultaneously.

Examples

The attack generates an adversarial image by restricting perturbations strictly to a predefined X-shaped binary mask $M$: $x^{adv} = \operatorname{clip}(x + M \odot \delta, 0, 1)$

The perturbation $\delta$ is optimized on a white-box surrogate model (e.g., CLIP) using a joint objective $\mathcal{L} = \lambda_{clip}\mathcal{L}{clip} + \lambda{tar}\mathcal{L}{tar} + \lambda{src}\mathcal{L}{src} + \mathcal{L}{smooth}$. It utilizes MI-FGSM momentum and DI-FGSM input diversity over 200 iterations, updating only the pixels inside the sparse support before transferring the corrupted image to a black-box VLM.

See the original paper's experimental evaluation on the COCO-80 dataset for specific visual instances demonstrating Grad-CAM attention displacement and resulting VQA/captioning semantic drift.

Impact

A single adversarial image can simultaneously disrupt multiple downstream multimodal tasks, causing profound semantic drift and reasoning failures while maintaining high visual naturalness. Zero-shot classification accuracy drops by up to 67.00 points (e.g., OpenCLIP ViT-B/16). For open-ended generative tasks, caption consistency decreases by up to 58.60 points (OpenFlamingo), and VQA correctness decreases by up to 44.38 points (BLIP-2).

Affected Systems

Systems implementing or relying on CLIP-style visual encoders and downstream generative VLMs. Vulnerable models evaluated include:

  • Visual Encoders: OpenAI CLIP ViT-L/14, OpenCLIP ViT-B/16, Meta-CLIP ViT-L/14, EVA-CLIP ViT-G/14
  • Downstream VLMs: LLaVA-1.5, LLaVA-1.6, OpenFlamingo, BLIP-2 (FlanT5XL ViT-L, FlanT5XL), InstructBLIP (FlanT5XL)

Mitigation Steps

  • Evaluate visual encoders against sparse, localized image perturbations and compare classification, captioning, and question-answering behavior across independent image checks.
  • Evaluate each input modality and their combination with bounded, inert perturbations; use modality-aware policy checks and reject inputs whose provenance or consistency cannot be established.
  • Add a targeted regression using inert data and actions, measure both safety and utility regressions, and monitor production for repeated or adaptive attempts.

Research context and confidence

Evidence and verification
Paper-reported; independent reproduction is not documented.
Primary research source linked.
Severity
Not rated by this catalog.
Source and publication type
arXiv · Research preprint.
Peer-review status is not provided by this source.
Author and publication status
Author metadata is not stored; see the primary paper.
Threat model and attacker access
Both white-box and black-box research contexts are tagged; consult the primary paper for target-specific access.
Related deployment categories
Vision-language models
Taxonomy labels only; paper-specific deployment prerequisites are not inferred.
Affected systems
Systems implementing or relying on CLIP-style visual encoders and downstream generative VLMs. Vulnerable models evaluated include: Visual Encoders: OpenAI CLIP ViT-L/14, OpenCLIP ViT-B/16, Meta-CLIP ViT-L/14, EVA-CLIP…

Research Paper

XSPA: Crafting Imperceptible X-Shaped Sparse Adversarial Perturbations for Transferable Attacks on VLMs

Primary source: arXiv. Findings are reported by the cited research and have not been independently verified.

View Paper

Evidence

This entry is based on a primary research source. Its findings are paper-reported; independent reproduction and verification are not claimed.

https://arxiv.org/abs/2603.28568