Detecting Adversarial Images through Response Profiles of Vision-Language Models
Arash Vashagh, Roozbeh Razavi-Far
Key points
From the paper's conclusion- Overall, the results indicate that response patterns across semantic prompts provide a useful complementary signal for adversarial image detection in frozen VLMs.
Abstract
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 prompts. Our detector summarizes these responses using category-level statistics, relationships among prompts, deviations from clean reference distributions, and stability under weak image transformations, producing a compact response profile that is classified by a lightweight model while the VLM remains fixed. We evaluate the approach on multiple public image datasets, several CLIP-style visual backbones, and a range of gradient-based, optimization-based, automated, and spatial attacks. The detector achieves strong discrimination in attack-specific settings and retains substantial performance when evaluated on attacks not seen during training. Under a controlled detector-specific protocol, the response-profile representation outperforms the evaluated embedding-geometry baselines. Additional analyses show that the feature groups provide complementary information and that the method remains effective under variations in the prompt configuration. We also examine inference cost and performance against detector-aware adaptive attacks. Overall, the results indicate that response patterns across semantic prompts provide a useful complementary signal for adversarial image detection in frozen VLMs.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- SmoothShift: Disrupting Visual Adversarial Attacks on LVLMs at Test TimearXiv · 2026
- AVERT: Anomalous Value Erasure with Response Testing against Visual Prompt InjectionarXiv · 2026
- Textual Response-Aware Guidance for Zero-Shot Adversarial Robustness of Vision-Language ModelsarXiv · 2026
- Beyond Random Starts: Amortized Initialization for Adversarial Attacks on Vision-Language ModelsarXiv · 2026
- Gradient Pruning Interactive Attack for Vision-Language Pre-Training ModelsIEEE Transactions on Dependable and Secure Computing · 2025
- SecretAgent: A Multi-Agent Framework for Privacy Protection against Vision Language ModelsarXiv · 2026