Lune

CVPR2025顶会

CLIP is Strong Enough to Fight Back: Test-time Counterattacks towards Zero-shot Adversarial Robustness of CLIP

Songlong Xing, Zhengyu Zhao, Nicu Sebe

摘要

Despite its prevalent use in image-text matching tasks in a zero-shot manner, CLIP has been shown to be highly vulnerable to adversarial perturbations added onto images. Recent studies propose to finetune the vision encoder of CLIP with adversarial samples generated on the fly, and show improved robustness against adversarial attacks on a spectrum of downstream datasets, a property termed as zero-shot robustness. In this paper, we show that malicious perturbations that seek to maximise the classification loss lead to 'falsely stable' images, and propose to leverage the pre-trained vision encoder of CLIP to counterattack such adversarial images during inference to achieve robustness. Our paradigm is simple and training-free, providing the first method to defend CLIP from adversarial attacks at test time, which is orthogonal to existing methods aiming to boost zero-shot adversarial robustness of CLIP. We conduct experiments across 16 classification datasets, and demonstrate stable and consistent gains compared to test-time defence methods adapted from existing adversarial robustness studies that do not rely on external networks, without noticeably impairing performance on clean images. We also show that our paradigm can be employed on CLIP models that have been adversarially finetuned to further enhance their robustness at test time. Our code is available here.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 13 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • A Provable Energy-Guided Test-Time Defense Boosting Adversarial Robustness of Large Vision-Language Models 引用了 Visual Instruction Tuning
  • A Provable Energy-Guided Test-Time Defense Boosting Adversarial Robustness of Large Vision-Language Models 引用了 Learning Transferable Visual Models From Natural Language Supervision
  • Adversarial Attacks Already Tell the Answer: Directional Bias-Guided Test-time Defense for Vision-Language Models 引用了 Learning Transferable Visual Models From Natural Language Supervision
  • Enhancing CLIP Robustness via Cross-Modality Alignment 引用了 Towards Evaluating the Robustness of Neural Networks
  • Enhancing CLIP Robustness via Cross-Modality Alignment 引用了 Learning Transferable Visual Models From Natural Language Supervision
  • Visual Instruction Tuning 引用了 Learning Transferable Visual Models From Natural Language Supervision
  • When CLIP Sees More, It Fights Back Harder: Multi-View Guided Adaptive Counterattacks for Test-Time Adversarial Robustness 引用了 Towards Evaluating the Robustness of Neural Networks
  • When CLIP Sees More, It Fights Back Harder: Multi-View Guided Adaptive Counterattacks for Test-Time Adversarial Robustness 引用了 Enhancing CLIP Robustness via Cross-Modality Alignment
  • When CLIP Sees More, It Fights Back Harder: Multi-View Guided Adaptive Counterattacks for Test-Time Adversarial Robustness 引用了 Visual Instruction Tuning
  • When CLIP Sees More, It Fights Back Harder: Multi-View Guided Adaptive Counterattacks for Test-Time Adversarial Robustness 引用了 Learning Transferable Visual Models From Natural Language Supervision
  • TTP: Test-Time Padding for Adversarial Detection and Robust Adaptation on Vision-Language Models 引用了 Towards Evaluating the Robustness of Neural Networks
  • TTP: Test-Time Padding for Adversarial Detection and Robust Adaptation on Vision-Language Models 引用了 Learning Transferable Visual Models From Natural Language Supervision
  • Bootstrap Your Own Latent - A New Approach to Self-Supervised Learning 引用了 A Simple Framework for Contrastive Learning of Visual Representations
  • Learning Transferable Visual Models From Natural Language Supervision 引用了 A Simple Framework for Contrastive Learning of Visual Representations
  • Learning Transferable Visual Models From Natural Language Supervision 引用了 Bootstrap Your Own Latent - A New Approach to Self-Supervised Learning
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper13

  1. Enhancing CLIP Robustness via Cross-Modality AlignmentXingyu Zhu, Beier Zhu, Shuo Wang, Kesen Zhao 等NeurIPS 2025 · 17 次引用
  2. Adversarial Attacks Already Tell the Answer: Directional Bias-Guided Test-time Defense for Vision-Language ModelsLiangsheng Liu, Si Chen, Jiamin Wu, Weiwei Feng 等ICLR 2026 · 4 次引用
  3. A Provable Energy-Guided Test-Time Defense Boosting Adversarial Robustness of Large Vision-Language ModelsMujtaba Hussain Mirza, Antonio D’Orazio, Odelia Melamed, Iacopo MasiCVPR 2026 · 2 次引用
  4. When CLIP Sees More, It Fights Back Harder: Multi-View Guided Adaptive Counterattacks for Test-Time Adversarial RobustnessSunoh Kim, Daeho UmCVPR 2026 · 2 次引用
  5. TTP: Test-Time Padding for Adversarial Detection and Robust Adaptation on Vision-Language ModelsZhiwei Li, Yitian Pang, Weining Wang, Zhenan Sun 等CVPR 2026 · 2 次引用

它引用的 Paper26

  1. Learning Transferable Visual Models From Natural Language SupervisionAlec Radford, Jong Wook Kim, Chris Hallacy, Aditya Ramesh 等ICML 2021 · 47,906 次引用
  2. A Simple Framework for Contrastive Learning of Visual RepresentationsTing Chen, Simon Kornblith, Mohammad Norouzi, Geoffrey E. HintonICML 2020 · 24,064 次引用
  3. Visual Instruction TuningHaotian Liu, Chunyuan Li, Qingyang Wu, Yong Jae LeeNeurIPS 2023 · 11,349 次引用
  4. Towards Evaluating the Robustness of Neural NetworksNicholas Carlini, David A. WagnerS&P 2017 · 9,786 次引用
  5. Bootstrap Your Own Latent - A New Approach to Self-Supervised LearningJean-Bastien Grill, Florian Strub, Florent Altché, Corentin Tallec 等NeurIPS 2020 · 9,171 次引用

相关 Paper

  1. Finetune Like You Pretrain: Boosting Zero-shot Adversarial Robustness in Vision-language ModelsSonglong Xing, Weijie Wang, Zhengyu Zhao, Jindong Gu, Philip Torr, Nicu SebeCVPR Findings 2026
  2. Self-Calibrated Consistency can Fight Back for Adversarial Robustness in Vision-Language ModelsJiaxiang Liu, Jiawei Du, Xiao Liu, Shangyang Li 等ICML 2026 · 2 次引用
  3. TAPT: Test-Time Adversarial Prompt Tuning for Robust Inference in Vision-Language ModelsXin Wang, Kai Chen, Jiaming Zhang, Jingjing Chen 等CVPR 2025
  4. 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
  5. Text-Guided Attention is All You Need for Zero-Shot Robustness in Vision-Language ModelsLu Yu, Haiyang Zhang, Changsheng XuNeurIPS 2024 · 29 次引用
黄昏的海面,两侧是细线勾勒的悬崖