cs.CVJun 29, 2026

A Classifier-Agnostic Zero-Shot Adversarial Attack Detection via CLIP

Authors: Hodaya KrakoverMeir Yossef LeviEyal GoferGuy Gilboa

Organizations: Technion - Israel Institute of Technology, Haifa, Israel

Abstract

Adversarial attacks pose a challenge to the reliability of deep learning models, motivating effective detection methods. Existing techniques often rely on attack-specific assumptions, access to adversarial samples, or knowledge of the underlying classifier (white-box). We propose A4DA^4D Attack- and Architecture-Agnostic Adversarial Detector, a completely black-box, zero-shot adversarial attack detection framework that utilizes prompt-based similarity scores derived from CLIP. To the best of our knowledge this is the first attempt to utilize CLIP for such a task. The method is based on two key observations: (i) CLIP is sensitive even to small imperceptible non-semantic perturbations; (ii) The shift in CLIP embedding space is not arbitrary and can be used as a robust attack indicator. Experiments across multiple attacks, datasets and classifiers validate that A4DA^4D achieves SOTA detection results in the attack-agnostic and classifier-agnostic setting.

Explore similar work

CardsList
  1. ReACT-CLIP: Response-Aware Test-Time Defense for Vision--Language Models

    Aug 2, 2026Hashmat Shadab Malik, Toluwani Aremu, Samuele Poppi +2