TAPT: Test-Time Adversarial Prompt Tuning for Robust Inference in Vision-Language Models
On the map: Multimodal LLMs / vision-language models → MLLM jailbreaks and adversarial robustness
also in 1 more
Abstract (arXiv)
Large pre-trained Vision-Language Models (VLMs) such as CLIP have demonstrated excellent zero-shot generalizability across various downstream tasks. However, recent studies have shown that the inference performance of CLIP can be greatly degraded by small adversarial perturbations, especially its visual modality, posing significant safety threats. To mitigate this vulnerability, in this paper, we propose a novel defense method called Test-Time Adversarial Prompt Tuning (TAPT) to enhance the inference robustness of CLIP against visual adversarial attacks. TAPT is a test-time defense method that learns defensive bimodal (textual and visual) prompts to robustify the inference process of CLIP. Specifically, it is an unsupervised method that optimizes the defensive prompts for each test sample by minimizing a multi-view entropy and aligning adversarial-clean distributions. We evaluate the effectiveness of TAPT on 11 benchmark datasets, including ImageNet and 10 other zero-shot datasets, demonstrating that it enhances the zero-shot adversarial robustness of the original CLIP by at least 48.9% against AutoAttack (AA), while largely maintaining performance on clean examples. Moreover, TAPT outperforms existing adversarial prompt tuning methods across various backbones, achieving an average robustness improvement of at least 36.6%.
Key facts. Cited by 22 papers in the map (data through 7 Oct 2026). Placed in MLLM jailbreaks and adversarial robustness, one of 16 directions in Multimodal LLMs / vision-language models. Builds on 54 of its 69 references that are in the map. First posted on arXiv 20 Nov 2024.
Builds on
54 of 69 references.
Closest ancestors · 13
Same direction, newest first
- 2024One Perturbation is Enough: On Generating Universal Adversarial Perturbations against Vision-Language Pre-training Models8 Jun
- 2024Universal Adversarial Perturbations for Vision-Language Pre-trained Models9 May
- 2024Revisiting the Adversarial Robustness of Vision Language Models: a Multimodal Perspective30 Apr
- 2024Few-Shot Adversarial Prompt Learning on Vision-Language Models21 Mar
- 2024One Prompt Word is Enough to Boost Adversarial Robustness for Pre-trained Vision-Language Models4 Mar
- 2024Robust CLIP: Unsupervised Adversarial Fine-Tuning of Vision Embeddings for Robust Large Vision-Language Models19 Feb
- 2024Pre-trained Model Guided Fine-Tuning for Zero-Shot Adversarial Robustness9 Jan
- 2023SA-Attack: Improving Adversarial Transferability of Vision-Language Pre-training Models via Self-Augmentation8 Dec
- 2023Adversarial Prompt Tuning for Vision-Language Models19 Nov
- 2023Set-level Guidance Attack: Boosting Adversarial Transferability of Vision-Language Pre-training Models26 Jul
- 2023On Evaluating Adversarial Robustness of Large Vision-Language Models26 May
- 2022Understanding Zero-Shot Adversarial Robustness for Large-Scale Models14 Dec
Other references · 41
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,456
- 2023GPT-4 Technical Reportcited by 18,132
- 2014ImageNet Large Scale Visual Recognition Challengecited by 8,441
- 2017Towards Deep Learning Models Resistant to Adversarial Attackscited by 6,326
- 2013Intriguing properties of neural networkscited by 5,114
- 2021Scaling Up Visual and Vision-Language Representation Learning With Noisy Text Supervisioncited by 3,848
- 2022Do As I Can, Not As I Say: Grounding Language in Robotic Affordancescited by 2,302
- 2021Learning to Prompt for Vision-Language Modelscited by 2,269
- 2013Describing Textures in the Wildcited by 2,110
- 2013Fine-Grained Visual Classification of Aircraftcited by 1,701
- 2019Theoretically Principled Trade-off between Robustness and Accuracycited by 1,510
- 2017EuroSAT: A Novel Dataset and Deep Learning Benchmark for Land Use and Land Cover Classificationcited by 1,488
29 more
- 2020Reliable evaluation of adversarial robustness with an ensemble of diverse parameter-free attackscited by 1,442
- 2022Conditional Prompt Learning for Vision-Language Modelscited by 1,427
- 2022MaPLe: Multi-modal Prompt Learningcited by 685
- 2021CLIPort: What and Where Pathways for Robotic Manipulationcited by 617
- 2018Improving Transferability of Adversarial Examples with Input Diversitycited by 591
- 2022MedCLIP: Contrastive Learning from Unpaired Medical Images and Textcited by 564
- 2022Continual Test-Time Domain Adaptationcited by 520
- 2022Efficient Test-Time Model Adaptation without Forgettingcited by 467
- 2020Improving robustness against common corruptions by covariate shift adaptationcited by 427
- 2022Test-Time Prompt Tuning for Zero-Shot Generalization in Vision-Language Modelscited by 379
- 2021MEMO: Test Time Robustness via Adaptation and Augmentationcited by 376
- 2020Large-Scale Adversarial Training for Vision-and-Language Representation Learningcited by 327
- 2022Exploring Visual Prompts for Adapting Large-Scale Modelscited by 271
- 2020Evaluating Prediction-Time Batch Normalization for Robustness under Covariate Shiftcited by 235
- 2018Disentangling Adversarial Robustness and Generalizationcited by 171
- 2020Torchattacks: A PyTorch Repository for Adversarial Attackscited by 156
- 2018Is Robustness the Cost of Accuracy? -- A Comprehensive Study on the Robustness of 18 Deep Image Classification Modelscited by 135
- 2023AdvCLIP: Downstream-agnostic Adversarial Examples in Multimodal Contrastive Learningcited by 101
- 2023Align Your Prompts: Test-Time Prompting with Distribution Alignment for Zero-Shot Generalizationcited by 100
- 2020The Cost of Training NLP Models: A Concise Overviewcited by 97
- 2022Agreement-on-the-Line: Predicting the Performance of Neural Networks under Distribution Shiftcited by 94
- 2023VLATTACK: Multimodal Adversarial Attacks on Vision-Language Tasks via Pre-trained Modelscited by 66
- 2024On the test-time zero-shot generalization of vision-language models: Do we really need prompt learning?cited by 65
- 2024Revisiting Adversarial Training at Scalecited by 33
- 2024PromptSmooth: Certifying Robustness of Medical Vision-Language Models via Prompt Learningcited by 16
- 2023Multi-event Video-Text Retrievalcited by 15
- 2020Imbalanced Gradients: A Subtle Cause of Overestimated Adversarial Robustnesscited by 11
- 2023Test-Time Adaptation Induces Stronger Accuracy and Agreement-on-the-Linecited by 11
- 2024AdvQDet: Detecting Query-Based Adversarial Attacks with Adversarial Contrastive Prompt Tuningcited by 7
Built on by
Citing papers per year: 2025: 9; 2026: 13.
22 papers.
Sort:
By area:
- 2025Prompt-based Adaptation in Large-scale Vision Models: A Surveycited by 21
- 2025FreezeVLA: Action-Freezing Attacks against Vision-Language-Action Modelscited by 19
- 2025NAP-Tuning: Neural Augmented Prompt Tuning for Adversarially Robust Vision-Language Modelscited by 3
- 2026FragileFlow: Spectral Control of Correct-but-Fragile Predictions for Foundation Model Robustnesscited by 3
- 2025TTP: Test-Time Padding for Adversarial Detection and Robust Adaptation on Vision-Language Modelscited by 2
- 2026Contrastive Spectral Rectification: Test-Time Defense towards Zero-shot Adversarial Robustness of CLIPcited by 2
- 2025Uniformity First: Uniformity-aware Test-time Adaptation of Vision-language Models against Image Corruptioncited by 1
- 2025ATAC: Augmentation-Based Test-Time Adversarial Correction for CLIPcited by 1
- 2025Calibrating Uncertainty for Zero-Shot Adversarial CLIPcited by 1
- 2026Adversarial Defense in Vision-Language Models: An Overviewcited by 1
- 2026ProtoDCS: Towards Robust and Efficient Open-Set Test-Time Adaptation for Vision-Language Modelscited by 1
- 2026AGFT: Alignment-Guided Fine-Tuning for Zero-Shot Adversarial Robustness of Vision-Language Modelscited by 1
10 more
- 2026Finetune Like You Pretrain: Boosting Zero-shot Adversarial Robustness in Vision-language Modelscited by 1
- 2026When CLIP Sees More, It Fights Back Harder: Multi-View Guided Adaptive Counterattacks for Test-Time Adversarial Robustnesscited by 1
- 2025MoAPT: Mixture of Adversarial Prompt Tuning for Vision-Language Modelscited by 0
- 2025FeatureFool: Zero-Query Fooling of Video Models via Feature Mapcited by 0
- 2026What Makes VLMs Robust? Towards Reconciling Robustness and Accuracy in Vision-Language Modelscited by 0
- 2026PDA: Text-Augmented Defense Framework for Robust Vision-Language Models against Adversarial Image Attackscited by 0
- 2026AGC: Adaptive Geodesic Correction for Adversarial Robustness on Vision-Language Modelscited by 0
- 2026TAME: Test-Time Adversarial Prompt Tuning via Mixture-of-Experts for Vision-Language Modelscited by 0
- 2026SS-TPT: Stability and Suitability-Guided Test-Time Prompt Tuning for Adversarially Robust Vision-Language Modelscited by 0
- 2026Cross-device Collaborative Test-time Adaptation with Zeroth-order Optimization and Model Mergingcited by 0
- 2026Cross-device Collaborative Test-time Adaptation with Zeroth-order Optimization and Model Merging3 Jul 2026
- 2026SS-TPT: Stability and Suitability-Guided Test-Time Prompt Tuning for Adversarially Robust Vision-Language Models5 Jun 2026
- 2026When CLIP Sees More, It Fights Back Harder: Multi-View Guided Adaptive Counterattacks for Test-Time Adversarial Robustness5 Jun 2026
- 2026TAME: Test-Time Adversarial Prompt Tuning via Mixture-of-Experts for Vision-Language Models17 May 2026
- 2026AGC: Adaptive Geodesic Correction for Adversarial Robustness on Vision-Language Models15 May 2026
- 2026FragileFlow: Spectral Control of Correct-but-Fragile Predictions for Foundation Model Robustness9 May 2026
- 2026Finetune Like You Pretrain: Boosting Zero-shot Adversarial Robustness in Vision-language Models13 Apr 2026
- 2026PDA: Text-Augmented Defense Framework for Robust Vision-Language Models against Adversarial Image Attacks1 Apr 2026
- 2026AGFT: Alignment-Guided Fine-Tuning for Zero-Shot Adversarial Robustness of Vision-Language Models31 Mar 2026
- 2026What Makes VLMs Robust? Towards Reconciling Robustness and Accuracy in Vision-Language Models13 Mar 2026
- 2026ProtoDCS: Towards Robust and Efficient Open-Set Test-Time Adaptation for Vision-Language Models27 Feb 2026
- 2026Contrastive Spectral Rectification: Test-Time Defense towards Zero-shot Adversarial Robustness of CLIP27 Jan 2026
10 more
- 2026Adversarial Defense in Vision-Language Models: An Overview18 Jan 2026
- 2025TTP: Test-Time Padding for Adversarial Detection and Robust Adaptation on Vision-Language Models18 Dec 2025
- 2025Calibrating Uncertainty for Zero-Shot Adversarial CLIP15 Dec 2025
- 2025ATAC: Augmentation-Based Test-Time Adversarial Correction for CLIP21 Nov 2025
- 2025FeatureFool: Zero-Query Fooling of Video Models via Feature Map21 Oct 2025
- 2025Prompt-based Adaptation in Large-scale Vision Models: A Survey15 Oct 2025
- 2025FreezeVLA: Action-Freezing Attacks against Vision-Language-Action Models24 Sep 2025
- 2025NAP-Tuning: Neural Augmented Prompt Tuning for Adversarially Robust Vision-Language Models15 Jun 2025
- 2025MoAPT: Mixture of Adversarial Prompt Tuning for Vision-Language Models23 May 2025
- 2025Uniformity First: Uniformity-aware Test-time Adaptation of Vision-language Models against Image Corruption19 May 2025
- 2025NAP-Tuning: Neural Augmented Prompt Tuning for Adversarially Robust Vision-Language Modelscited by 3
- 2025TTP: Test-Time Padding for Adversarial Detection and Robust Adaptation on Vision-Language Modelscited by 2
- 2026Contrastive Spectral Rectification: Test-Time Defense towards Zero-shot Adversarial Robustness of CLIPcited by 2
- 2025Uniformity First: Uniformity-aware Test-time Adaptation of Vision-language Models against Image Corruptioncited by 1
- 2026Adversarial Defense in Vision-Language Models: An Overviewcited by 1
- 2026ProtoDCS: Towards Robust and Efficient Open-Set Test-Time Adaptation for Vision-Language Modelscited by 1
- 2026AGFT: Alignment-Guided Fine-Tuning for Zero-Shot Adversarial Robustness of Vision-Language Modelscited by 1
- 2026Finetune Like You Pretrain: Boosting Zero-shot Adversarial Robustness in Vision-language Modelscited by 1
- 2026When CLIP Sees More, It Fights Back Harder: Multi-View Guided Adaptive Counterattacks for Test-Time Adversarial Robustnesscited by 1
- 2025MoAPT: Mixture of Adversarial Prompt Tuning for Vision-Language Modelscited by 0
- 2026What Makes VLMs Robust? Towards Reconciling Robustness and Accuracy in Vision-Language Modelscited by 0
- 2026PDA: Text-Augmented Defense Framework for Robust Vision-Language Models against Adversarial Image Attackscited by 0
12 most cited of 15 All 15 (JSON)
- 2026SS-TPT: Stability and Suitability-Guided Test-Time Prompt Tuning for Adversarially Robust Vision-Language Models5 Jun 2026
- 2026When CLIP Sees More, It Fights Back Harder: Multi-View Guided Adaptive Counterattacks for Test-Time Adversarial Robustness5 Jun 2026
- 2026TAME: Test-Time Adversarial Prompt Tuning via Mixture-of-Experts for Vision-Language Models17 May 2026
- 2026AGC: Adaptive Geodesic Correction for Adversarial Robustness on Vision-Language Models15 May 2026
- 2026Finetune Like You Pretrain: Boosting Zero-shot Adversarial Robustness in Vision-language Models13 Apr 2026
- 2026PDA: Text-Augmented Defense Framework for Robust Vision-Language Models against Adversarial Image Attacks1 Apr 2026
- 2026AGFT: Alignment-Guided Fine-Tuning for Zero-Shot Adversarial Robustness of Vision-Language Models31 Mar 2026
- 2026What Makes VLMs Robust? Towards Reconciling Robustness and Accuracy in Vision-Language Models13 Mar 2026
- 2026ProtoDCS: Towards Robust and Efficient Open-Set Test-Time Adaptation for Vision-Language Models27 Feb 2026
- 2026Contrastive Spectral Rectification: Test-Time Defense towards Zero-shot Adversarial Robustness of CLIP27 Jan 2026
- 2026Adversarial Defense in Vision-Language Models: An Overview18 Jan 2026
- 2025TTP: Test-Time Padding for Adversarial Detection and Robust Adaptation on Vision-Language Models18 Dec 2025
12 newest of 15 All 15 (JSON)
- 2025Prompt-based Adaptation in Large-scale Vision Models: A Surveycited by 21
- 2026FragileFlow: Spectral Control of Correct-but-Fragile Predictions for Foundation Model Robustnesscited by 3
- 2025ATAC: Augmentation-Based Test-Time Adversarial Correction for CLIPcited by 1
- 2025Calibrating Uncertainty for Zero-Shot Adversarial CLIPcited by 1
- 2025FeatureFool: Zero-Query Fooling of Video Models via Feature Mapcited by 0
- 2026Cross-device Collaborative Test-time Adaptation with Zeroth-order Optimization and Model Mergingcited by 0
- 2026Cross-device Collaborative Test-time Adaptation with Zeroth-order Optimization and Model Merging3 Jul 2026
- 2026FragileFlow: Spectral Control of Correct-but-Fragile Predictions for Foundation Model Robustness9 May 2026
- 2025Calibrating Uncertainty for Zero-Shot Adversarial CLIP15 Dec 2025
- 2025ATAC: Augmentation-Based Test-Time Adversarial Correction for CLIP21 Nov 2025
- 2025FeatureFool: Zero-Query Fooling of Video Models via Feature Map21 Oct 2025
- 2025Prompt-based Adaptation in Large-scale Vision Models: A Survey15 Oct 2025
Similar, not cited
Close in wording, no citation either way
- 2025R-TPT: Improving Adversarial Robustness of Vision-Language Models through Test-Time Prompt Tuning
- 2025Navigating the Trade-off: A Synthesis of Defensive Strategies for Zero-Shot Adversarial Robustness in Vision-Language Models
- 2026Towards Fine-Grained Robustness: Attention-Guided Test-Time Prompt Tuning for Vision-Language Models
- 2026Beyond False Stability: High-Noise Drift Gating for Test-Time Adversarial Defenses in Vision-Language Models
- 2026Adversarial Attacks Already Tell the Answer: Directional Bias-Guided Test-time Defense for Vision-Language Models
- 2025Double Visual Defense: Adversarial Pre-training and Instruction Tuning for Improving Vision-Language Model Robustness
- 2026Robustifying Vision-Language Models via Test-Time Prompt Adaptation
- 2025Diversifying Counterattacks: Orthogonal Exploration for Robust CLIP Inference