Adversarial perturbations can fool frozen vision-language models while leaving confidence scores and image-text similarity patterns looking plausible. A new paper proposes a detector that instead looks at the broader way an image interacts with a collection of general semantic prompts. The resulting response profile captures category-level statistics, relationships among prompts, deviations from clean reference distributions, and stability under weak image transformations, which a lightweight classifier then uses to flag adversarial inputs. The vision-language model itself stays fixed.

The method was evaluated on multiple public image datasets, several CLIP-style visual backbones, and a range of attack types including gradient-based, optimization-based, automated, and spatial attacks. It achieved strong discrimination in attack-specific settings and retained substantial performance on attacks not seen during training. Under a controlled protocol, the response-profile representation outperformed embedding-geometry baselines. The authors also report that the feature groups provide complementary information and that the method remains effective under variations in prompt configuration, while also examining inference cost and adaptive attacks.

Overall, the results suggest that response patterns across semantic prompts offer a useful complementary signal for detecting adversarial images in frozen vision-language models, without requiring changes to the underlying model.```json{