Calibrating Uncertainty for Zero-Shot Adversarial CLIP
Not on the map. Why?
Abstract (arXiv)
CLIP delivers strong zero-shot classification but remains highly vulnerable to adversarial attacks. Prior adversarial fine-tuning work primarily matches predicted logits between clean and adversarial examples, which overlooks uncertainty calibration and may degrade the zero-shot generalization. A common expectation in reliable uncertainty estimation is that predictive uncertainty should increase as inputs become more difficult or shift away from the training distribution. However, we frequently observe the opposite in the adversarial setting: perturbations not only degrade accuracy but also suppress uncertainty, leading to severe miscalibration and over-confidence. This reveals a critical reliability gap beyond robustness. To bridge this gap, we propose an adversarial fine-tuning objective for CLIP considering both accuracy and uncertainty. By reparameterizing CLIP outputs as the concentration parameters of a Dirichlet distribution, we propose a unified representation that captures relative semantic structure and confidence magnitude. This enables holistic distribution alignment under perturbations, moving beyond single-logit anchoring and restoring calibrated uncertainty. Experiments across multiple zero-shot benchmarks demonstrate that our method significantly improves uncertainty calibration and achieves competitive adversarial robustness while preserving clean accuracy.
Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Builds on 69 of its 91 references that are in the map. First posted on arXiv 15 Dec 2025.
Builds on
69 of 91 references.
References · 69
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,744
- 2014Microsoft COCO: Common Objects in Contextcited by 17,608
- 2020A Simple Framework for Contrastive Learning of Visual Representationscited by 12,049
- 2019Momentum Contrast for Unsupervised Visual Representation Learningcited by 7,513
- 2014Explaining and Harnessing Adversarial Examplescited by 7,364
- 2021Emerging Properties in Self-Supervised Vision Transformerscited by 6,968
- 2017Towards Deep Learning Models Resistant to Adversarial Attackscited by 6,415
- 2017On Calibration of Modern Neural Networkscited by 4,960
- 2020Bootstrap your own latent: A new approach to self-supervised Learningcited by 4,750
- 2015Dropout as a Bayesian Approximation: Representing Model Uncertainty in Deep Learningcited by 4,448
- 2016Simple and Scalable Predictive Uncertainty Estimation using Deep Ensemblescited by 3,926
- 2021Scaling Up Visual and Vision-Language Representation Learning With Noisy Text Supervisioncited by 3,864
38 more
- 2016Towards Evaluating the Robustness of Neural Networkscited by 2,998
- 2016A Baseline for Detecting Misclassified and Out-of-Distribution Examples in Neural Networkscited by 2,385
- 2017What Uncertainties Do We Need in Bayesian Deep Learning for Computer Vision?cited by 2,352
- 2021Learning to Prompt for Vision-Language Modelscited by 2,281
- 2013Describing Textures in the Wildcited by 2,125
- 2018Unsupervised Feature Learning via Non-Parametric Instance-level Discriminationcited by 1,845
- 2016Adversarial examples in the physical worldcited by 1,769
- 2013Fine-Grained Visual Classification of Aircraftcited by 1,726
- 2019Theoretically Principled Trade-off between Robustness and Accuracycited by 1,517
- 2017EuroSAT: A Novel Dataset and Deep Learning Benchmark for Land Use and Land Cover Classificationcited by 1,496
- 2020Reliable evaluation of adversarial robustness with an ensemble of diverse parameter-free attackscited by 1,451
- 2020Understanding Contrastive Representation Learning through Alignment and Uniformity on the Hyperspherecited by 1,405
- 2019Can You Trust Your Model's Uncertainty? Evaluating Predictive Uncertainty Under Dataset Shiftcited by 1,287
- 2019Aleatoric and Epistemic Uncertainty in Machine Learning: An Introduction to Concepts and Methodscited by 913
- 2023Semantic Uncertainty: Linguistic Invariances for Uncertainty Estimation in Natural Language Generationcited by 819
- 2021Robust fine-tuning of zero-shot modelscited by 797
- 2018Evidential Deep Learning to Quantify Classification Uncertaintycited by 732
- 2020Fast is better than free: Revisiting adversarial trainingcited by 727
- 2019Adversarial Training for Free!cited by 643
- 2021FILIP: Fine-grained Interactive Language-Image Pre-Trainingcited by 627
- 2021LiT: Zero-Shot Transfer with Locked-image text Tuningcited by 577
- 2018Predictive Uncertainty Estimation via Prior Networkscited by 557
- 2020Overfitting in adversarially robust deep learningcited by 506
- 2021SLIP: Self-supervision meets Language-Image Pre-trainingcited by 436
- 2018Rotation Equivariant CNNs for Digital Pathologycited by 422
- 2020Understanding the Behaviour of Contrastive Losscited by 398
- 2022Test-Time Prompt Tuning for Zero-Shot Generalization in Vision-Language Modelscited by 382
- 2020Propagate Yourself: Exploring Pixel-Level Consistency for Unsupervised Visual Representation Learningcited by 297
- 2021DetCo: Unsupervised Contrastive Learning for Object Detectioncited by 205
- 2019You Only Propagate Once: Accelerating Adversarial Training via Maximal Principlecited by 183
- 2020Posterior Network: Uncertainty Estimation without OOD Samples via Density-Based Pseudo-Countscited by 164
- 2021Zero-Shot Out-of-Distribution Detection Based on the Pre-trained Model CLIPcited by 152
- 2021Decoupled Contrastive Learningcited by 143
- 2024Robust CLIP: Unsupervised Adversarial Fine-Tuning of Vision Embeddings for Robust Large Vision-Language Modelscited by 120
- 2022Understanding Zero-Shot Adversarial Robustness for Large-Scale Modelscited by 117
- 2019Reverse KL-Divergence Training of Prior Networks: Improved Uncertainty and Adversarial Robustnesscited by 104
- 2021Prior and Posterior Networks: A Survey on Evidential Deep Learning Methods For Uncertainty Estimationcited by 71
- 2023Decoupled Kullback-Leibler Divergence Losscited by 58
50 most cited of 69 All 69 (JSON)
Built on by
Citing papers per year: 2026: 1.
1 paper.