Context-Aware Robust Fine-Tuning
Not on the map. Why?
Abstract (arXiv)
Contrastive Language-Image Pre-trained (CLIP) models have zero-shot ability of classifying an image belonging to "[CLASS]" by using similarity between the image and the prompt sentence "a [CONTEXT] of [CLASS]". Based on exhaustive text cues in "[CONTEXT]", CLIP model is aware of different contexts, e.g. background, style, viewpoint, and exhibits unprecedented robustness against a wide range of distribution shifts. However, recent works find further fine-tuning of CLIP models improves accuracy but sacrifices the robustness on downstream tasks. We conduct an empirical investigation to show fine-tuning will corrupt the context-aware ability of pre-trained CLIP features. To solve this problem, we propose Context-Aware Robust Fine-tuning (CAR-FT). CAR-FT regularizes the model during fine-tuning to capture the context information. Specifically, we use zero-shot prompt weights to get the context distribution contained in the image. By minimizing the Kullback-Leibler Divergence (KLD) between context distributions induced by original/fine-tuned CLIP models, CAR-FT makes the context-aware ability of CLIP inherited into downstream tasks, and achieves both higher In-Distribution (ID) and Out-Of-Distribution (OOD) accuracy. The experimental results show CAR-FT achieves superior robustness on five OOD test datasets of ImageNet, and meanwhile brings accuracy gains on nine downstream tasks. Additionally, CAR-FT surpasses previous Domain Generalization (DG) methods and gets 78.5% averaged accuracy on DomainBed benchmark, building the new state-of-the-art.
Key facts. Cited by 28 papers in the map (data through 14 Oct 2026). Builds on 53 of its 70 references that are in the map. First posted on arXiv 29 Nov 2022.
Builds on
53 of 70 references.
References · 53
- 2015Deep Residual Learning for Image Recognitioncited by 52,096
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,744
- 2022LAION-5B: An open large-scale dataset for training next generation image-text modelscited by 4,152
- 2021Scaling Up Visual and Vision-Language Representation Learning With Noisy Text Supervisioncited by 3,864
- 2021Learning to Prompt for Vision-Language Modelscited by 2,281
- 2021Pre-train, Prompt, and Predict: A Systematic Survey of Prompting Methods in Natural Language Processingcited by 2,234
- 2013Describing Textures in the Wildcited by 2,125
- 2019Language Models as Knowledge Bases?cited by 1,936
- 2020The Many Faces of Robustness: A Critical Analysis of Out-of-Distribution Generalizationcited by 1,850
- 2013Fine-Grained Visual Classification of Aircraftcited by 1,726
- 2019Do ImageNet Classifiers Generalize to ImageNet?cited by 1,515
- 2022Conditional Prompt Learning for Vision-Language Modelscited by 1,433
38 more
- 2020Sharpness-Aware Minimization for Efficiently Improving Generalizationcited by 1,417
- 2019Natural Adversarial Examplescited by 1,408
- 2022Model soups: averaging weights of multiple fine-tuned models improves accuracy without increasing inference timecited by 1,396
- 2018Moment Matching for Multi-Source Domain Adaptationcited by 1,331
- 2022CoCa: Contrastive Captioners are Image-Text Foundation Modelscited by 1,274
- 2017Deep Hashing Network for Unsupervised Domain Adaptationcited by 1,188
- 2020In Search of Lost Domain Generalizationcited by 1,054
- 2021CLIP-Adapter: Better Vision-Language Models with Feature Adapterscited by 1,026
- 2019Learning Robust Global Representations by Penalizing Local Predictive Powercited by 1,013
- 2017Deeper, Broader and Artier Domain Generalizationcited by 986
- 2020Designing Network Design Spacescited by 960
- 2019AugMix: A Simple Data Processing Method to Improve Robustness and Uncertaintycited by 901
- 2021Florence: A New Foundation Model for Computer Visioncited by 804
- 2021Robust fine-tuning of zero-shot modelscited by 797
- 2022Fine-Tuning can Distort Pretrained Features and Underperform Out-of-Distributioncited by 739
- 2018Recognition in Terra Incognitacited by 658
- 2021FILIP: Fine-grained Interactive Language-Image Pre-Trainingcited by 627
- 2021LiT: Zero-Shot Transfer with Locked-image text Tuningcited by 577
- 2020Measuring Robustness to Natural Distribution Shifts in Image Classificationcited by 454
- 2021SLIP: Self-supervision meets Language-Image Pre-trainingcited by 436
- 2021SWAD: Domain Generalization by Seeking Flat Minimacited by 434
- 2021Supervision Exists Everywhere: A Data Efficient Contrastive Language-Image Pre-training Paradigmcited by 405
- 2021Generic Attention-model Explainability for Interpreting Bi-Modal and Encoder-Decoder Transformerscited by 320
- 2019Adversarial Examples Improve Image Recognitioncited by 286
- 2021Accuracy on the Line: On the Strong Correlation Between Out-of-Distribution and In-Distribution Generalizationcited by 249
- 2015YFCC100M: The New Data in Multimedia Researchcited by 235
- 2021Vision Transformers are Robust Learnerscited by 207
- 2018SpotTune: Transfer Learning through Adaptive Fine-tuningcited by 168
- 2021Ensemble of Averages: Improving Model Selection and Boosting Performance in Domain Generalizationcited by 144
- 2022ELEVATER: A Benchmark and Toolkit for Evaluating Language-Augmented Visual Modelscited by 141
- 2022Data Determines Distributional Robustness in Contrastive Language Image Pre-training (CLIP)cited by 138
- 2021Towards Robust Vision Transformercited by 137
- 2022Domain Generalization by Mutual-Information Regularization with Pre-trained Modelscited by 133
- 2022NICO++: Towards Better Benchmarking for Domain Generalizationcited by 86
- 2021The Evolution of Out-of-Distribution Robustness Throughout Fine-Tuningcited by 75
- 2017Borrowing Treasures from the Wealthy: Deep Transfer Learning through Selective Joint Fine-tuningcited by 48
- 2021Domain Prompt Learning for Efficiently Adapting CLIP to Unseen Domainscited by 39
- 2021Pyramid Adversarial Training Improves ViT Performancecited by 39
50 most cited of 53 All 53 (JSON)
Built on by
Citing papers per year: 2023: 9; 2024: 8; 2025: 5; 2026: 6.
28 papers.
Sort:
By area:
- 2023Fine-tuning can cripple your foundation model; preserving features may be the solutioncited by 96
- 2024Model Stock: All we need is just a few fine-tuned modelscited by 92
- 2023Towards Calibrated Robust Fine-Tuning of Vision-Language Modelscited by 35
- 2023Flatness-Aware Minimization for Domain Generalizationcited by 27
- 2024DaWin: Training-free Dynamic Weight Interpolation for Robust Adaptationcited by 19
- 2023ERM++: An Improved Baseline for Domain Generalizationcited by 18
- 2024Lipsum-FT: Robust Fine-Tuning of Zero-Shot Models Using Random Text Guidancecited by 14
- 2024Learn to Preserve and Diversify: Parameter-Efficient Group with Orthogonal Regularization for Domain Generalizationcited by 14
- 2023Domain Generalization Using Large Pretrained Models with Mixture-of-Adapterscited by 11
- 2023Contextual Vision Transformers for Robust Representation Learningcited by 10
- 2024Is Large-Scale Pretraining the Secret to Good Domain Generalization?cited by 9
- 2025Generalizing vision-language models to novel domains: A comprehensive surveycited by 7
16 more
- 2023BDC-Adapter: Brownian Distance Covariance for Better Vision-Language Reasoningcited by 6
- 2024CRoFT: Robust Fine-Tuning with Concurrent Optimization for OOD Generalization and Open-Set OOD Detectioncited by 6
- 2023Towards Unified and Effective Domain Generalizationcited by 5
- 2025Best Policy Learning from Trajectory Preference Feedbackcited by 5
- 2024Dual Risk Minimization: Towards Next-Level Robustness in Fine-tuning Zero-Shot Modelscited by 2
- 2025Harmonizing and Merging Source Models for CLIP-based Domain Generalizationcited by 2
- 2026Sparse Autoencoders enable Robust and Interpretable Fine-tuning of CLIP modelscited by 2
- 2025StarFT: Robust Fine-tuning of Zero-shot Models via Spuriosity Alignmentcited by 1
- 2026Model soups need only one ingredientcited by 1
- 2026Finetune Like You Pretrain: Boosting Zero-shot Adversarial Robustness in Vision-language Modelscited by 1
- 2023Federated Active Learning for Target Domain Generalisationcited by 0
- 2024Optimization of Prompt Learning via Multi-Knowledge Representation for Vision-Language Modelscited by 0
- 2025Feed Two Birds with One Scone: Exploiting Function-Space Regularization for Both OOD Robustness and ID Fine-Tuning Performancecited by 0
- 2026TRACER: Persistent Regularization for Robust Multimodal Finetuningcited by 0
- 2026Domain Generalization via Text-Anchored Information Bottleneckcited by 0
- 2026Barycentric Anchored Weight Search for Robust Model Mergingcited by 0
- 2026Barycentric Anchored Weight Search for Robust Model Merging29 Sep 2026
- 2026Domain Generalization via Text-Anchored Information Bottleneck2 Jul 2026
- 2026TRACER: Persistent Regularization for Robust Multimodal Finetuning28 May 2026
- 2026Sparse Autoencoders enable Robust and Interpretable Fine-tuning of CLIP models15 May 2026
- 2026Finetune Like You Pretrain: Boosting Zero-shot Adversarial Robustness in Vision-language Models13 Apr 2026
- 2026Model soups need only one ingredient10 Feb 2026
- 2025Feed Two Birds with One Scone: Exploiting Function-Space Regularization for Both OOD Robustness and ID Fine-Tuning Performance31 Aug 2025
- 2025Generalizing vision-language models to novel domains: A comprehensive survey23 Jun 2025
- 2025Harmonizing and Merging Source Models for CLIP-based Domain Generalization11 Jun 2025
- 2025StarFT: Robust Fine-tuning of Zero-shot Models via Spuriosity Alignment19 May 2025
- 2025Best Policy Learning from Trajectory Preference Feedback31 Jan 2025
- 2024Is Large-Scale Pretraining the Secret to Good Domain Generalization?3 Dec 2024
16 more
- 2024Dual Risk Minimization: Towards Next-Level Robustness in Fine-tuning Zero-Shot Models29 Nov 2024
- 2024DaWin: Training-free Dynamic Weight Interpolation for Robust Adaptation3 Oct 2024
- 2024Learn to Preserve and Diversify: Parameter-Efficient Group with Orthogonal Regularization for Domain Generalization21 Jul 2024
- 2024CRoFT: Robust Fine-Tuning with Concurrent Optimization for OOD Generalization and Open-Set OOD Detection26 May 2024
- 2024Optimization of Prompt Learning via Multi-Knowledge Representation for Vision-Language Models16 Apr 2024
- 2024Lipsum-FT: Robust Fine-Tuning of Zero-Shot Models Using Random Text Guidance1 Apr 2024
- 2024Model Stock: All we need is just a few fine-tuned models28 Mar 2024
- 2023Federated Active Learning for Target Domain Generalisation4 Dec 2023
- 2023Towards Calibrated Robust Fine-Tuning of Vision-Language Models3 Nov 2023
- 2023Domain Generalization Using Large Pretrained Models with Mixture-of-Adapters17 Oct 2023
- 2023Towards Unified and Effective Domain Generalization16 Oct 2023
- 2023BDC-Adapter: Brownian Distance Covariance for Better Vision-Language Reasoning3 Sep 2023
- 2023Fine-tuning can cripple your foundation model; preserving features may be the solution25 Aug 2023
- 2023Flatness-Aware Minimization for Domain Generalization20 Jul 2023
- 2023Contextual Vision Transformers for Robust Representation Learning30 May 2023
- 2023ERM++: An Improved Baseline for Domain Generalization4 Apr 2023
- 2023Towards Calibrated Robust Fine-Tuning of Vision-Language Modelscited by 35
- 2024Lipsum-FT: Robust Fine-Tuning of Zero-Shot Models Using Random Text Guidancecited by 14
- 2025Generalizing vision-language models to novel domains: A comprehensive surveycited by 7
- 2024CRoFT: Robust Fine-Tuning with Concurrent Optimization for OOD Generalization and Open-Set OOD Detectioncited by 6
- 2026Sparse Autoencoders enable Robust and Interpretable Fine-tuning of CLIP modelscited by 2
- 2026Finetune Like You Pretrain: Boosting Zero-shot Adversarial Robustness in Vision-language Modelscited by 1
- 2024Optimization of Prompt Learning via Multi-Knowledge Representation for Vision-Language Modelscited by 0
- 2026Sparse Autoencoders enable Robust and Interpretable Fine-tuning of CLIP models15 May 2026
- 2026Finetune Like You Pretrain: Boosting Zero-shot Adversarial Robustness in Vision-language Models13 Apr 2026
- 2025Generalizing vision-language models to novel domains: A comprehensive survey23 Jun 2025
- 2024CRoFT: Robust Fine-Tuning with Concurrent Optimization for OOD Generalization and Open-Set OOD Detection26 May 2024
- 2024Optimization of Prompt Learning via Multi-Knowledge Representation for Vision-Language Models16 Apr 2024
- 2024Lipsum-FT: Robust Fine-Tuning of Zero-Shot Models Using Random Text Guidance1 Apr 2024
- 2023Towards Calibrated Robust Fine-Tuning of Vision-Language Models3 Nov 2023
- 2025Best Policy Learning from Trajectory Preference Feedbackcited by 5
- 2025Best Policy Learning from Trajectory Preference Feedback31 Jan 2025
- 2023Fine-tuning can cripple your foundation model; preserving features may be the solutioncited by 96
- 2024Model Stock: All we need is just a few fine-tuned modelscited by 92
- 2023Flatness-Aware Minimization for Domain Generalizationcited by 27
- 2024DaWin: Training-free Dynamic Weight Interpolation for Robust Adaptationcited by 19
- 2023ERM++: An Improved Baseline for Domain Generalizationcited by 18
- 2024Learn to Preserve and Diversify: Parameter-Efficient Group with Orthogonal Regularization for Domain Generalizationcited by 14
- 2023Domain Generalization Using Large Pretrained Models with Mixture-of-Adapterscited by 11
- 2023Contextual Vision Transformers for Robust Representation Learningcited by 10
- 2024Is Large-Scale Pretraining the Secret to Good Domain Generalization?cited by 9
- 2023Towards Unified and Effective Domain Generalizationcited by 5
- 2024Dual Risk Minimization: Towards Next-Level Robustness in Fine-tuning Zero-Shot Modelscited by 2
- 2025Harmonizing and Merging Source Models for CLIP-based Domain Generalizationcited by 2
12 most cited of 19 All 19 (JSON)
- 2026Barycentric Anchored Weight Search for Robust Model Merging29 Sep 2026
- 2026Domain Generalization via Text-Anchored Information Bottleneck2 Jul 2026
- 2026TRACER: Persistent Regularization for Robust Multimodal Finetuning28 May 2026
- 2026Model soups need only one ingredient10 Feb 2026
- 2025Feed Two Birds with One Scone: Exploiting Function-Space Regularization for Both OOD Robustness and ID Fine-Tuning Performance31 Aug 2025
- 2025Harmonizing and Merging Source Models for CLIP-based Domain Generalization11 Jun 2025
- 2025StarFT: Robust Fine-tuning of Zero-shot Models via Spuriosity Alignment19 May 2025
- 2024Is Large-Scale Pretraining the Secret to Good Domain Generalization?3 Dec 2024
- 2024Dual Risk Minimization: Towards Next-Level Robustness in Fine-tuning Zero-Shot Models29 Nov 2024
- 2024DaWin: Training-free Dynamic Weight Interpolation for Robust Adaptation3 Oct 2024
- 2024Learn to Preserve and Diversify: Parameter-Efficient Group with Orthogonal Regularization for Domain Generalization21 Jul 2024
- 2024Model Stock: All we need is just a few fine-tuned models28 Mar 2024
12 newest of 19 All 19 (JSON)