Lune

CVPR Findings2026

Defending CLIP via Noise-Induced Feature Dynamics for Training-Free, Zero-shot Adversarial Robustness

Debarshi Brahma, Soma Biswas

Abstract

Vision-language models have achieved remarkable zeroshot generalization across diverse domains, but remain highly vulnerable to adversarial perturbations. Among them, CLIP, a widely adopted vision-language foundation model exhibits significant susceptibility, motivating the development of training-free, test-time defenses that avoid costly retraining. While existing approaches typically add heuristic noise to counter adversarial perturbations, they offer limited understanding of how noise intensity influences feature stability in clean versus adversarial samples. In this work, we systematically analyze the evolution of class predictions and embedding drift under gradually increasing Gaussian noise and uncover a key phenomenon: adversarial images exhibit rapid and unstable feature drift compared to the smooth progression observed in clean samples. Leveraging this stability gap, we introduce Defend-CLIP, a training-free inference-time defense that detects adversarial inputs via relative feature drift and restores stability by interpolating toward a noise-averaged feature representation.

Our method requires no training data, model updates, or architectural modifications. Extensive experiments across 15 diverse datasets show a consistent +7.9% average improvement in robust accuracy over state-of-the-art approaches.

https://github.com/debarshigit/Defend-CLIP.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

Questions to start from

Lune can draw on

the full paper · related work

Get the answer

Free to start. No credit card required.

Lineage

  • On Evaluating Adversarial Robustness of Large Vision-Language Models cites Learning Transferable Visual Models From Natural Language Supervision
  • Overfitting in adversarially robust deep learning cites Towards Evaluating the Robustness of Neural Networks
Builds onCited byLeft to right by year; the more cited, the higher.

Builds on15

  1. Learning Transferable Visual Models From Natural Language SupervisionAlec Radford, Jong Wook Kim, Chris Hallacy, Aditya Ramesh et al.ICML 2021 · 47,906 citations
  2. Towards Evaluating the Robustness of Neural NetworksNicholas Carlini, David A. WagnerS&P 2017 · 9,786 citations
  3. Overfitting in adversarially robust deep learningLeslie Rice, Eric Wong, J. Zico KolterICML 2020 · 935 citations
  4. Diffusion Models for Adversarial PurificationWeili Nie, Brandon Guo, Yujia Huang, Chaowei Xiao et al.ICML 2022 · 663 citations
  5. On Evaluating Adversarial Robustness of Large Vision-Language ModelsYunqing Zhao, Tianyu Pang, Chao Du, Xiao Yang et al.NeurIPS 2023 · 404 citations

Related papers

  1. On the Zero-shot Adversarial Robustness of Vision-Language Models: A Truly Zero-shot and Training-free ApproachBaoshun Tong, Hanjiang Lai, Yan Pan, Jian YinCVPR 2025
  2. TTP: Test-Time Padding for Adversarial Detection and Robust Adaptation on Vision-Language ModelsZhiwei Li, Yitian Pang, Weining Wang, Zhenan Sun et al.CVPR 2026 · 2 citations
  3. CLIP is Strong Enough to Fight Back: Test-time Counterattacks towards Zero-shot Adversarial Robustness of CLIPSonglong Xing, Zhengyu Zhao, Nicu SebeCVPR 2025
  4. TAPT: Test-Time Adversarial Prompt Tuning for Robust Inference in Vision-Language ModelsXin Wang, Kai Chen, Jiaming Zhang, Jingjing Chen et al.CVPR 2025
  5. Adversarial Attacks Already Tell the Answer: Directional Bias-Guided Test-time Defense for Vision-Language ModelsLiangsheng Liu, Si Chen, Jiamin Wu, Weiwei Feng et al.ICLR 2026 · 4 citations
Dusk over the sea between two cliffs drawn in fine vertical lines