mlsanityData to 7 Oct 2026

Replace-then-Perturb: Targeted Adversarial Attacks With Visual Reasoning for Vision-Language Models

arXiv 2411.00898 ↗First posted 1 Nov 2024cs.CV cs.AI eess.IVcited by 1

On the map: LLM reasoning → Reasoning for agents, planning and code

also in 1 more
Abstract (arXiv)

The conventional targeted adversarial attacks add a small perturbation to an image to make neural network models estimate the image as a predefined target class, even if it is not the correct target class. Recently, for visual-language models (VLMs), the focus of targeted adversarial attacks is to generate a perturbation that makes VLMs answer intended target text outputs. For example, they aim to make a small perturbation on an image to make VLMs' answers change from "there is an apple" to "there is a baseball." However, answering just intended text outputs is insufficient for tricky questions like "if there is a baseball, tell me what is below it." This is because the target of the adversarial attacks does not consider the overall integrity of the original image, thereby leading to a lack of visual reasoning. In this work, we focus on generating targeted adversarial examples with visual reasoning against VLMs. To this end, we propose 1) a novel adversarial attack procedure -- namely, Replace-then-Perturb and 2) a contrastive learning-based adversarial loss -- namely, Contrastive-Adv. In Replace-then-Perturb, we first leverage a text-guided segmentation model to find the target object in the image. Then, we get rid of the target object and inpaint the empty space with the desired prompt. By doing this, we can generate a target image corresponding to the desired prompt, while maintaining the overall integrity of the original image. Furthermore, in Contrastive-Adv, we design a novel loss function to obtain better adversarial examples. Our extensive benchmark results demonstrate that Replace-then-Perturb and Contrastive-Adv outperform the baseline adversarial attack algorithms. We note that the source code to reproduce the results will be available.

Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Placed in Reasoning for agents, planning and code, one of 17 directions in LLM reasoning. Builds on 33 of its 43 references that are in the map. First posted on arXiv 1 Nov 2024.

Builds on

33 of 43 references.

References · 33

  1. 2021High-Resolution Image Synthesis with Latent Diffusion Modelscited by 18,694
  2. 2023GPT-4 Technical Reportcited by 18,132
  3. 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,049
  4. 2023Visual Instruction Tuningcited by 7,792
  5. 2014Explaining and Harnessing Adversarial Examplescited by 7,287
  6. 2023Improved Baselines with Visual Instruction Tuningcited by 4,362
  7. 2021CLIPScore: A Reference-free Evaluation Metric for Image Captioningcited by 2,388
  8. 2019Certified Adversarial Robustness via Randomized Smoothingcited by 1,324
  9. 2023Kosmos-2: Grounding Multimodal Large Language Models to the Worldcited by 1,075
  10. 2024M3-Embedding: Multi-Linguality, Multi-Functionality, Multi-Granularity Text Embeddings Through Self-Knowledge Distillationcited by 1,050
  11. 2024Chameleon: Mixed-Modal Early-Fusion Foundation Modelscited by 904
  12. 2018Improving Transferability of Adversarial Examples with Input Diversitycited by 591
21 more
  1. 2021Image Segmentation Using Text and Image Promptscited by 509
  2. 2022Diffusion Models for Adversarial Purificationcited by 469
  3. 2019Nesterov Accelerated Gradient and Scale Invariance for Adversarial Attackscited by 352
  4. 2023On Evaluating Adversarial Robustness of Large Vision-Language Modelscited by 281
  5. 2021Enhancing the Transferability of Adversarial Attacks through Variance Tuningcited by 242
  6. 2023MART: Improving LLM Safety with Multi-round Automatic Red-Teamingcited by 161
  7. 2022Towards Adversarial Attack on Vision-Language Pre-training Modelscited by 142
  8. 2022(Certified!!) Adversarial Robustness for Free!cited by 130
  9. 2024Robust CLIP: Unsupervised Adversarial Fine-Tuning of Vision Embeddings for Robust Large Vision-Language Modelscited by 119
  10. 2022Understanding Zero-Shot Adversarial Robustness for Large-Scale Modelscited by 117
  11. 2023Set-level Guidance Attack: Boosting Adversarial Transferability of Vision-Language Pre-training Modelscited by 106
  12. 2019Cycle-Consistency for Robust Visual Question Answeringcited by 105
  13. 2023AdvCLIP: Downstream-agnostic Adversarial Examples in Multimodal Contrastive Learningcited by 101
  14. 2017SafetyNet: Detecting and Rejecting Adversarial Examples Robustlycited by 76
  15. 2023A Survey on Transferability of Adversarial Examples across Deep Neural Networkscited by 43
  16. 2024Test-Time Backdoor Attacks on Multimodal Large Language Modelscited by 35
  17. 2022Defending Multimodal Fusion Models against Single-Source Adversariescited by 20
  18. 2023Mutual-modality Adversarial Attack with Semantic Perturbationcited by 14
  19. 2023Adversarial Attacks on Foundational Vision Modelscited by 13
  20. 2022Hiding Visual Information via Obfuscating Adversarial Perturbationscited by 7
  21. 2024Unveiling Hidden Visual Information: A Reconstruction Attack Against Adversarial Visual Information Hidingcited by 2

Built on by

Cited by year

Citing papers per year: 2025: 1.

1 paper.

Similar, not cited

Close in wording, no citation either way

  1. 2025Transferable Adversarial Attacks on Black-Box Vision-Language Models
  2. 2026It Takes Little to Rewrite Perception: Targeted Semantic Substitution in Vision-Language Models at ε≤ 4/255
  3. 2024Break the Visual Perception: Adversarial Attacks Targeting Encoded Visual Tokens of Large Vision-Language Models
  4. 2023InstructTA: Instruction-Tuned Targeted Attack for Large Vision-Language Models
  5. 2024Adversarial Robustness for Visual Grounding of Multimodal Large Language Models
  6. 2026Breaking the weakest link to evade vision language models
  7. 2024Enhancing Cross-Prompt Transferability in Vision-Language Models through Contextual Injection of Target Tokens
  8. 2024Universal Adversarial Perturbations for Vision-Language Pre-trained Models