Skip to content
Open access

EGP-Defense: Enhancing Adversarial Robustness of LVLMs via Training-Free Edge-Guided Prompting

Sep 2026 · ACM Transactions on Multimedia Computing, Communications, and Applications (TOMCCAP) · Vol 22, pp. 1 - 22 · 0 citations · 58 references

TL;DR

A novel, training-free adversarial defense method called Edge-Guided Prompt Defense (EGP-Defense), which performs adversarial defense during the model inference stage, and significantly improves the robustness of LVLMs against three types of adversarial attacks in both image classification and image caption tasks.

Abstract

Large Vision-Language Models (LVLMs) have demonstrated remarkable multimodal comprehension capabilities, achieving state-of-the-art performance across various vision-language tasks. However, their performance drops significantly when facing adversarial attacks on the visual encoder. To alleviate this issue, existing approaches often rely on adversarial training, enhancing model robustness through substantial computational cost. Unlike these methods, this article proposes a novel, training-free adversarial defense method called Edge-Guided Prompt Defense (EGP-Defense), which performs adversarial defense during the model inference stage. This method is based on a comprehensive analysis of image edges under various types of attacks. We observe that edge maps exhibit strong robustness against adversarial attacks, and the extracted edge features can effectively reflect key aspects of the original image. Building on this observation, we first apply the Canny operator to extract edge maps from input images, and then use LVLMs to generate textual descriptions based on these structural representations. To further distill the most critical information from these descriptions, we extract informative keywords and incorporate them as auxiliary prompts. These prompts guide the model to focus on task-relevant features during inference, thereby enhancing its robustness against adversarial perturbations. Extensive experiments demonstrate that EGP-Defense significantly improves the robustness of LVLMs against three types of adversarial attacks in both image classification and image caption tasks. Our code is available at https://github.com/wangboyu0414-svg/EGP-Defense.

Read PDF

Similar papers

Conference Open access Sep 2026

Understanding and Exploiting Phase Sensitivity for Attacking Large Vision–Language Models

This paper proposes a novel LVLM attack method, called BadPhase with further backdoor designs, to implant adversarial phase as triggers into any image inputs via data poisoning so as to control the LVLMs’ predictions and finds that LVLMs are sensitive to the phase-aware image structure.

Dai-Zong Liu, Junhao Dong, Xiang Fang et al. · 0 citations
Oct 2026

Flexible Targeted Adversarial Alignment with Frequency-based Visual Focus for Attacking Large Vision-Language Models.

Although Large Vision-Language Models (LVLMs) have shown great capabilities across various downstream tasks, they are proven to be vulnerable to adversarial examples, thus resulting in critical safety issues. Existing adversarial attacks against LVLMs predominantly rely on uniform, image-wise perturbations, while large...

Dai-Zong Liu, Tian-Yao Luo, Junhao Dong et al. · 0 citations
Open access 2026

MTDDAPT: Multi-Modal Text Distribution-Aware Deep Adversarial Prompt Tuning for Robust Vision-Language Representation Learning

: Vision-language models (VLMs), such as CLIP, have achieved competitive performance in open-vocabulary visual recognition, but they remain vulnerable to adversarial examples. This vulnerability may affect the reliability of AI-based visual perception models when image inputs are perturbed. Existing robustness-oriented...

Chao Li, Zhe-Hua Tian, Cai-Chang Ding et al. · 0 citations
Preprint Oct 2026

Detecting Adversarial Images through Response Profiles of Vision-Language Models

Adversarial perturbations can alter the predictions of frozen vision-language models (VLMs) while leaving their confidence and image--text similarity patterns seemingly plausible. We investigate whether we can identify adversarial inputs based on the broader way an image interacts with a collection of general semantic...

Arash Vashagh, R. Razavi-Far · 0 citations
#artificial intelligence Preprint Aug 2026

Breaking the weakest link to evade vision language models

To efficiently generate adversarial examples, a gradient-based attack method is proposed that performs optimization exclusively on the vision encoder of the VLM rather than on the entire multimodal architecture, which significantly reduces the computational cost and resource requirements of the attack while maintaining...

Ilan Zini, B. Addad, Katarzyna Kapusta · 1 citation
Preprint Aug 2026

DSPrompt: Dynamic Soft Prompt Defense Against M-RAG Corruption

DSPrompt is proposed, a Dynamic Soft Prompt defense framework that directly reshapes the retriever's embedding semantics, without modifying the retrieval pipeline, and is consistently outperforming existing defense baselines at a fraction of their computational cost.

Chang Liu, Y. Lai, Ming-Yue Cui et al. · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.