Adversarially Robust CLIP Models Can Induce Better (Robust) Perceptual Metrics
Not on the map. Why?
Abstract (arXiv)
Measuring perceptual similarity is a key tool in computer vision. In recent years perceptual metrics based on features extracted from neural networks with large and diverse training sets, e.g. CLIP, have become popular. At the same time, the metrics extracted from features of neural networks are not adversarially robust. In this paper we show that adversarially robust CLIP models, called R-CLIP_textrmF, obtained by unsupervised adversarial fine-tuning induce a better and adversarially robust perceptual metric that outperforms existing metrics in a zero-shot setting, and further matches the performance of state-of-the-art metrics while being robust after fine-tuning. Moreover, our perceptual metric achieves strong performance on related tasks such as robust image-to-image retrieval, which becomes especially relevant when applied to "Not Safe for Work" (NSFW) content detection and dataset filtering. While standard perceptual metrics can be easily attacked by a small perturbation completely degrading NSFW detection, our robust perceptual metric maintains high accuracy under an attack while having similar performance for unperturbed images. Finally, perceptual metrics induced by robust CLIP models have higher interpretability: feature inversion can show which images are considered similar, while text inversion can find what images are associated to a given prompt. This also allows us to visualize the very rich visual concepts learned by a CLIP model, including memorized persons, paintings and complex queries.
Key facts. Cited by 10 papers in the map (data through 14 Oct 2026). Builds on 47 of its 54 references that are in the map. First posted on arXiv 17 Feb 2025.
Builds on
47 of 54 references.
References · 47
- 2014Adam: A Method for Stochastic Optimizationcited by 37,240
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,744
- 2014Microsoft COCO: Common Objects in Contextcited by 17,608
- 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,380
- 2018The Unreasonable Effectiveness of Deep Features as a Perceptual Metriccited by 11,177
- 2023DINOv2: Learning Robust Visual Features without Supervisioncited by 7,974
- 2021Masked Autoencoders Are Scalable Vision Learnerscited by 7,403
- 2021Emerging Properties in Self-Supervised Vision Transformerscited by 6,968
- 2017Towards Deep Learning Models Resistant to Adversarial Attackscited by 6,415
- 2013Intriguing properties of neural networkscited by 5,155
- 2022LAION-5B: An open large-scale dataset for training next generation image-text modelscited by 4,152
- 2022A ConvNet for the 2020scited by 3,579
35 more
- 2020Reliable evaluation of adversarial robustness with an ensemble of diverse parameter-free attackscited by 1,451
- 2018ImageNet-trained CNNs are biased towards texture; increasing shape bias improves accuracy and robustnesscited by 1,432
- 2022Reproducible scaling laws for contrastive language-image learningcited by 1,173
- 2018Robustness May Be at Odds with Accuracycited by 880
- 2020Image Quality Assessment: Unifying Structure and Texture Similaritycited by 811
- 2023ConvNeXt V2: Co-designing and Scaling ConvNets with Masked Autoencoderscited by 712
- 2019Square Attack: a query-efficient black-box adversarial attack via random searchcited by 685
- 2020RobustBench: a standardized adversarial robustness benchmarkcited by 661
- 2022Mind the Gap: Understanding the Modality Gap in Multi-modal Contrastive Representation Learningcited by 561
- 2017Adversarial Examples Are Not Easily Detected: Bypassing Ten Detection Methodscited by 546
- 2014Understanding Deep Image Representations by Inverting Themcited by 403
- 2020Differentiable Augmentation for Data-Efficient GAN Trainingcited by 363
- 2023DreamSim: Learning New Dimensions of Human Visual Similarity using Synthetic Datacited by 337
- 2021Multimodal datasets: misogyny, pornography, and malignant stereotypescited by 327
- 2018Revisiting Oxford and Paris: Large-Scale Image Retrieval Benchmarkingcited by 191
- 2018PieAPP: Perceptual Image-Error Assessment through Pairwise Preferencecited by 160
- 2023On the Adversarial Robustness of Multi-Modal Foundation Modelscited by 145
- 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
- 2019Functional Adversarial Attackscited by 82
- 2023Revisiting Adversarial Training for ImageNet: Architectures, Training and Generalization across Threat Modelscited by 79
- 2019Interpreting Adversarially Trained Convolutional Neural Networkscited by 75
- 2020Adversarial Robustness on In- and Out-Distribution Improves Explainabilitycited by 73
- 2023A Unified Algebraic Perspective on Lipschitz Neural Networkscited by 60
- 2019E-LPIPS: Robust Perceptual Image Similarity via Random Transformation Ensemblescited by 45
- 2022Shift-tolerant Perceptual Similarity Metriccited by 44
- 2022Sparse Visual Counterfactual Explanations in Image Spacecited by 30
- 2023R-LPIPS: An Adversarially Robust Perceptual Similarity Metriccited by 28
- 2023LipSim: A Provably Robust Perceptual Similarity Metriccited by 15
- 2024What do we learn from inverting CLIP models?cited by 13
- 2023CLIPAG: Towards Generator-Free Text-to-Image Generationcited by 12
- 2024Ensemble everything everywhere: Multi-scale aggregation for adversarial robustnesscited by 12
- 2023Attacking Perceptual Similarity Metricscited by 10
- 2022Identifying and Mitigating Flaws of Deep Perceptual Similarity Metricscited by 4
- 2022ARIA: Adversarially Robust Image Attribution for Content Provenancecited by 1
Built on by
Citing papers per year: 2025: 8; 2026: 2.
10 papers.
- 2025Do computer vision foundation models learn the low-level characteristics of the human visual system?cited by 12
- 2025Transferable Black-Box One-Shot Forging of Watermarks via Image Preference Modelscited by 12
- 2025Robustness in Both Domains: CLIP Needs a Robust Text Encodercited by 2
- 2025Mind the Detail: Uncovering Clinically Relevant Image Details in Accelerated MRI with Semantically Diverse Reconstructionscited by 2
- 2025ExtremeAIGC: Benchmarking LMM Vulnerability to AI-Generated Extremist Contentcited by 1
- 2025On the dynamic evolution of CLIP texture-shape bias and its relationship to human alignment and model robustnesscited by 1
- 2025Beginning with You: Perceptual-Initialization Improves Vision-Language Representation and Alignmentcited by 0
- 2025LORE: Lagrangian-Optimized Robust Embeddings for Visual Encoderscited by 0
- 2026What Makes VLMs Robust? Towards Reconciling Robustness and Accuracy in Vision-Language Modelscited by 0
- 2026Does Target Alignment Mean Target Recovery? An Evidence-Ladder Study of Adversarial Claims on Contrastive Encoderscited by 0
- 2026Does Target Alignment Mean Target Recovery? An Evidence-Ladder Study of Adversarial Claims on Contrastive Encoders8 Oct 2026
- 2026What Makes VLMs Robust? Towards Reconciling Robustness and Accuracy in Vision-Language Models13 Mar 2026
- 2025Transferable Black-Box One-Shot Forging of Watermarks via Image Preference Models23 Oct 2025
- 2025On the dynamic evolution of CLIP texture-shape bias and its relationship to human alignment and model robustness13 Aug 2025
- 2025Mind the Detail: Uncovering Clinically Relevant Image Details in Accelerated MRI with Semantically Diverse Reconstructions1 Jul 2025
- 2025Robustness in Both Domains: CLIP Needs a Robust Text Encoder3 Jun 2025
- 2025LORE: Lagrangian-Optimized Robust Embeddings for Visual Encoders24 May 2025
- 2025Beginning with You: Perceptual-Initialization Improves Vision-Language Representation and Alignment20 May 2025
- 2025ExtremeAIGC: Benchmarking LMM Vulnerability to AI-Generated Extremist Content13 Mar 2025
- 2025Do computer vision foundation models learn the low-level characteristics of the human visual system?27 Feb 2025