mlsanityData to 14 Oct 2026

Model Reprogramming Outperforms Fine-tuning on Out-of-distribution Data in Text-Image Encoders

arXiv 2403.10800 ↗First posted 16 Mar 2024cs.LGcited by 1

Not on the map. Why?

Abstract (arXiv)

When evaluating the performance of a pre-trained model transferred to a downstream task, it is imperative to assess not only the in-distribution (ID) accuracy of the downstream model but also its capacity to generalize and identify out-of-distribution (OOD) samples. In this paper, we unveil the hidden costs associated with intrusive fine-tuning techniques. Specifically, we demonstrate that commonly used fine-tuning methods not only distort the representations necessary for generalizing to covariate-shifted OOD samples (OOD generalization) but also distort the representations necessary for detecting semantically-shifted OOD samples (OOD detection). To address these challenges, we introduce a new model reprogramming approach for fine-tuning, which we name Reprogrammer. Reprogrammer aims to improve the holistic performance of the downstream model across ID, OOD generalization, and OOD detection tasks. Our empirical evidence reveals that Reprogrammer is less intrusive and yields superior downstream models. Furthermore, we demonstrate that by appending an additional representation residual connection to Reprogrammer, we can further preserve pre-training representations, resulting in an even more safe and robust downstream model capable of excelling in many ID classification, OOD generalization, and OOD detection settings.

Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Builds on 46 of its 61 references that are in the map. First posted on arXiv 16 Mar 2024.

Builds on

46 of 61 references.

References · 46

  1. 2015Deep Residual Learning for Image Recognitioncited by 52,096
  2. 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,744
  3. 2020Language Models are Few-Shot Learnerscited by 32,419
  4. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
  5. 2016Simple and Scalable Predictive Uncertainty Estimation using Deep Ensemblescited by 3,926
  6. 2021Scaling Up Visual and Vision-Language Representation Learning With Noisy Text Supervisioncited by 3,864
  7. 2016A Baseline for Detecting Misclassified and Out-of-Distribution Examples in Neural Networkscited by 2,385
  8. 2021Learning to Prompt for Vision-Language Modelscited by 2,281
  9. 2013Describing Textures in the Wildcited by 2,125
  10. 2020The Many Faces of Robustness: A Critical Analysis of Out-of-Distribution Generalizationcited by 1,850
  11. 2019Do ImageNet Classifiers Generalize to ImageNet?cited by 1,515
  12. 2018A Simple Unified Framework for Detecting Out-of-Distribution Samples and Adversarial Attackscited by 1,485
34 more
  1. 2019Natural Adversarial Examplescited by 1,408
  2. 2015LSUN: Construction of a Large-scale Image Dataset using Deep Learning with Humans in the Loopcited by 1,355
  3. 2017Enhancing The Reliability of Out-of-distribution Image Detection in Neural Networkscited by 1,328
  4. 2020Energy-based Out-of-distribution Detectioncited by 1,299
  5. 2021CLIP-Adapter: Better Vision-Language Models with Feature Adapterscited by 1,026
  6. 2019Learning Robust Global Representations by Penalizing Local Predictive Powercited by 1,013
  7. 2018Deep Anomaly Detection with Outlier Exposurecited by 942
  8. 2021Robust fine-tuning of zero-shot modelscited by 797
  9. 2014Deep Neural Networks are Easily Fooled: High Confidence Predictions for Unrecognizable Imagescited by 776
  10. 2019Big Transfer (BiT): General Visual Representation Learningcited by 769
  11. 2022Fine-Tuning can Distort Pretrained Features and Underperform Out-of-Distributioncited by 739
  12. 2022MaPLe: Multi-modal Prompt Learningcited by 687
  13. 2020Contrastive Learning of Medical Visual Representations from Paired Images and Textcited by 641
  14. 2021LiT: Zero-Shot Transfer with Locked-image text Tuningcited by 577
  15. 2020Measuring Robustness to Natural Distribution Shifts in Image Classificationcited by 454
  16. 2018Do Deep Generative Models Know What They Don't Know?cited by 443
  17. 2020Generalized ODIN: Detecting Out-of-distribution Image without Learning from Out-of-distribution Datacited by 408
  18. 2022Tip-Adapter: Training-free Adaption of CLIP for Few-shot Classificationcited by 362
  19. 2020VirTex: Learning Visual Representations from Textual Annotationscited by 339
  20. 2021Accuracy on the Line: On the Strong Correlation Between Out-of-Distribution and In-Distribution Generalizationcited by 249
  21. 2021MOS: Towards Scaling Out-of-distribution Detection for Large Semantic Spacecited by 233
  22. 2018Explicit Inductive Bias for Transfer Learning with Convolutional Networkscited by 227
  23. 2022Delving into Out-of-Distribution Detection with Vision-Language Representationscited by 216
  24. 2020Recall and Learn: Fine-tuning Deep Pretrained Language Models with Less Forgettingcited by 170
  25. 2015TurkerGaze: Crowdsourcing Saliency with Webcam based Eye Trackingcited by 165
  26. 2020Learning Visual Representations with Caption Annotationscited by 123
  27. 2018Adversarial Reprogramming of Neural Networkscited by 116
  28. 2020ATOM: Robustifying Out-of-distribution Detection Using Outlier Miningcited by 116
  29. 2021MOOD: Multi-level Out-of-distribution Detectioncited by 94
  30. 2021Voice2Series: Reprogramming Acoustic Models for Time Series Classificationcited by 91
  31. 2020Transfer Learning without Knowing: Reprogramming Black-box Machine Learning Models with Scarce Data and Limited Resourcescited by 83
  32. 2021The Evolution of Out-of-Distribution Robustness Throughout Fine-Tuningcited by 75
  33. 2022Model Reprogramming: Resource-Efficient Cross-Domain Machine Learningcited by 64
  34. 2021Cross-modal Adversarial Reprogrammingcited by 34

Built on by

Cited by year

Citing papers per year: 2025: 1.

1 paper.