mlsanityData to 14 Oct 2026

Context-Aware Robust Fine-Tuning

arXiv 2211.16175 ↗First posted 29 Nov 2022cs.CVcited by 28

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

  1. 2015Deep Residual Learning for Image Recognitioncited by 52,096
  2. 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,744
  3. 2022LAION-5B: An open large-scale dataset for training next generation image-text modelscited by 4,152
  4. 2021Scaling Up Visual and Vision-Language Representation Learning With Noisy Text Supervisioncited by 3,864
  5. 2021Learning to Prompt for Vision-Language Modelscited by 2,281
  6. 2021Pre-train, Prompt, and Predict: A Systematic Survey of Prompting Methods in Natural Language Processingcited by 2,234
  7. 2013Describing Textures in the Wildcited by 2,125
  8. 2019Language Models as Knowledge Bases?cited by 1,936
  9. 2020The Many Faces of Robustness: A Critical Analysis of Out-of-Distribution Generalizationcited by 1,850
  10. 2013Fine-Grained Visual Classification of Aircraftcited by 1,726
  11. 2019Do ImageNet Classifiers Generalize to ImageNet?cited by 1,515
  12. 2022Conditional Prompt Learning for Vision-Language Modelscited by 1,433
38 more
  1. 2020Sharpness-Aware Minimization for Efficiently Improving Generalizationcited by 1,417
  2. 2019Natural Adversarial Examplescited by 1,408
  3. 2022Model soups: averaging weights of multiple fine-tuned models improves accuracy without increasing inference timecited by 1,396
  4. 2018Moment Matching for Multi-Source Domain Adaptationcited by 1,331
  5. 2022CoCa: Contrastive Captioners are Image-Text Foundation Modelscited by 1,274
  6. 2017Deep Hashing Network for Unsupervised Domain Adaptationcited by 1,188
  7. 2020In Search of Lost Domain Generalizationcited by 1,054
  8. 2021CLIP-Adapter: Better Vision-Language Models with Feature Adapterscited by 1,026
  9. 2019Learning Robust Global Representations by Penalizing Local Predictive Powercited by 1,013
  10. 2017Deeper, Broader and Artier Domain Generalizationcited by 986
  11. 2020Designing Network Design Spacescited by 960
  12. 2019AugMix: A Simple Data Processing Method to Improve Robustness and Uncertaintycited by 901
  13. 2021Florence: A New Foundation Model for Computer Visioncited by 804
  14. 2021Robust fine-tuning of zero-shot modelscited by 797
  15. 2022Fine-Tuning can Distort Pretrained Features and Underperform Out-of-Distributioncited by 739
  16. 2018Recognition in Terra Incognitacited by 658
  17. 2021FILIP: Fine-grained Interactive Language-Image Pre-Trainingcited by 627
  18. 2021LiT: Zero-Shot Transfer with Locked-image text Tuningcited by 577
  19. 2020Measuring Robustness to Natural Distribution Shifts in Image Classificationcited by 454
  20. 2021SLIP: Self-supervision meets Language-Image Pre-trainingcited by 436
  21. 2021SWAD: Domain Generalization by Seeking Flat Minimacited by 434
  22. 2021Supervision Exists Everywhere: A Data Efficient Contrastive Language-Image Pre-training Paradigmcited by 405
  23. 2021Generic Attention-model Explainability for Interpreting Bi-Modal and Encoder-Decoder Transformerscited by 320
  24. 2019Adversarial Examples Improve Image Recognitioncited by 286
  25. 2021Accuracy on the Line: On the Strong Correlation Between Out-of-Distribution and In-Distribution Generalizationcited by 249
  26. 2015YFCC100M: The New Data in Multimedia Researchcited by 235
  27. 2021Vision Transformers are Robust Learnerscited by 207
  28. 2018SpotTune: Transfer Learning through Adaptive Fine-tuningcited by 168
  29. 2021Ensemble of Averages: Improving Model Selection and Boosting Performance in Domain Generalizationcited by 144
  30. 2022ELEVATER: A Benchmark and Toolkit for Evaluating Language-Augmented Visual Modelscited by 141
  31. 2022Data Determines Distributional Robustness in Contrastive Language Image Pre-training (CLIP)cited by 138
  32. 2021Towards Robust Vision Transformercited by 137
  33. 2022Domain Generalization by Mutual-Information Regularization with Pre-trained Modelscited by 133
  34. 2022NICO++: Towards Better Benchmarking for Domain Generalizationcited by 86
  35. 2021The Evolution of Out-of-Distribution Robustness Throughout Fine-Tuningcited by 75
  36. 2017Borrowing Treasures from the Wealthy: Deep Transfer Learning through Selective Joint Fine-tuningcited by 48
  37. 2021Domain Prompt Learning for Efficiently Adapting CLIP to Unseen Domainscited by 39
  38. 2021Pyramid Adversarial Training Improves ViT Performancecited by 39

50 most cited of 53 All 53 (JSON)

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2023: 9; 2024: 8; 2025: 5; 2026: 6.

28 papers.

Sort:

By area:

  1. 2023Fine-tuning can cripple your foundation model; preserving features may be the solutioncited by 96
  2. 2024Model Stock: All we need is just a few fine-tuned modelscited by 92
  3. 2023Towards Calibrated Robust Fine-Tuning of Vision-Language Modelscited by 35
  4. 2023Flatness-Aware Minimization for Domain Generalizationcited by 27
  5. 2024DaWin: Training-free Dynamic Weight Interpolation for Robust Adaptationcited by 19
  6. 2023ERM++: An Improved Baseline for Domain Generalizationcited by 18
  7. 2024Lipsum-FT: Robust Fine-Tuning of Zero-Shot Models Using Random Text Guidancecited by 14
  8. 2024Learn to Preserve and Diversify: Parameter-Efficient Group with Orthogonal Regularization for Domain Generalizationcited by 14
  9. 2023Domain Generalization Using Large Pretrained Models with Mixture-of-Adapterscited by 11
  10. 2023Contextual Vision Transformers for Robust Representation Learningcited by 10
  11. 2024Is Large-Scale Pretraining the Secret to Good Domain Generalization?cited by 9
  12. 2025Generalizing vision-language models to novel domains: A comprehensive surveycited by 7
16 more
  1. 2023BDC-Adapter: Brownian Distance Covariance for Better Vision-Language Reasoningcited by 6
  2. 2024CRoFT: Robust Fine-Tuning with Concurrent Optimization for OOD Generalization and Open-Set OOD Detectioncited by 6
  3. 2023Towards Unified and Effective Domain Generalizationcited by 5
  4. 2025Best Policy Learning from Trajectory Preference Feedbackcited by 5
  5. 2024Dual Risk Minimization: Towards Next-Level Robustness in Fine-tuning Zero-Shot Modelscited by 2
  6. 2025Harmonizing and Merging Source Models for CLIP-based Domain Generalizationcited by 2
  7. 2026Sparse Autoencoders enable Robust and Interpretable Fine-tuning of CLIP modelscited by 2
  8. 2025StarFT: Robust Fine-tuning of Zero-shot Models via Spuriosity Alignmentcited by 1
  9. 2026Model soups need only one ingredientcited by 1
  10. 2026Finetune Like You Pretrain: Boosting Zero-shot Adversarial Robustness in Vision-language Modelscited by 1
  11. 2023Federated Active Learning for Target Domain Generalisationcited by 0
  12. 2024Optimization of Prompt Learning via Multi-Knowledge Representation for Vision-Language Modelscited by 0
  13. 2025Feed Two Birds with One Scone: Exploiting Function-Space Regularization for Both OOD Robustness and ID Fine-Tuning Performancecited by 0
  14. 2026TRACER: Persistent Regularization for Robust Multimodal Finetuningcited by 0
  15. 2026Domain Generalization via Text-Anchored Information Bottleneckcited by 0
  16. 2026Barycentric Anchored Weight Search for Robust Model Mergingcited by 0