MirrorCheck: Efficient Adversarial Defense for Vision-Language Models
Samar Fares, Klea Ziu, Toluwani Aremu, Nikita Durasov, Martin, Tak\'a\v{c}, Pascal Fua, Karthik Nandakumar, Ivan Laptev

TL;DR
MirrorCheck introduces a simple yet effective method for detecting adversarial samples in vision-language models by comparing input and generated image embeddings, demonstrating strong empirical results and robustness.
Contribution
The paper presents a novel, model-agnostic approach using Text-to-Image models to detect adversarial attacks in VLMs, extending its application to classification tasks.
Findings
Outperforms baseline detection methods in experiments
Effective against adaptive adversarial attacks
Applicable to both detection and classification tasks
Abstract
Vision-Language Models (VLMs) are becoming increasingly vulnerable to adversarial attacks as various novel attack strategies are being proposed against these models. While existing defenses excel in unimodal contexts, they currently fall short in safeguarding VLMs against adversarial threats. To mitigate this vulnerability, we propose a novel, yet elegantly simple approach for detecting adversarial samples in VLMs. Our method leverages Text-to-Image (T2I) models to generate images based on captions produced by target VLMs. Subsequently, we calculate the similarities of the embeddings of both input and generated images in the feature space to identify adversarial samples. Empirical evaluations conducted on different datasets validate the efficacy of our approach, outperforming baseline methods adapted from image classification domains. Furthermore, we extend our methodology to…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsAdversarial Robustness in Machine Learning · Multimodal Machine Learning Applications
