Large Pre-Training Datasets Don't Always Guarantee Robustness after Fine-Tuning

Jaedong Hwang, Brian Cheung, Zhang-Wei Hong, Akhilan Boopathy, Pulkit Agrawal +1 more
10/28/2024
cs.CVcs.AI

No official code found. Best implementation: FieteLab/ImageNet-RIB (1 star, last commit 2025-07-05).

Abstract

Large-scale pretrained models are widely leveraged as foundations for learning new specialized tasks via fine-tuning, with the goal of maintaining the general performance of the model while allowing it to gain new skills. A valuable goal for all such models is robustness: the ability to perform well on out-of-distribution (OOD) tasks. We assess whether fine-tuning preserves the overall robustness of the pretrained model, and observed that models pretrained on large datasets exhibited strong catastrophic forgetting and loss of OOD generalization. To systematically assess robustness preservation in fine-tuned models, we propose the Robustness Inheritance Benchmark (ImageNet-RIB). The benchmark, which can be applied to any pretrained model, consists of a set of related but distinct OOD (downstream) tasks and involves fine-tuning on one of the OOD tasks in the set then testing on the rest. We find that though continual learning methods help, fine-tuning reduces robustness across pretrained models. Surprisingly, models pretrained on the largest and most diverse datasets (e.g., LAION-2B) exhibit both larger robustness losses and lower absolute robustness after fine-tuning on small datasets, relative to models pretrained on smaller datasets. These findings suggest that starting with the strongest foundation model is not necessarily the best approach for performance on specialist tasks. https://jd730.github.io/projects/ImageNet-RIB

View on arXivView PDF

Code Implementations(1)

ImageNet-RIB Benchmark: Large Pre-Training Datasets Don't Guarantee Robustness after Fine-Tuning (NeurIPSW 2024)

10PythonJul 5, 20251 years ago
out-of-distributionrobust-fine-tuning

Similar Papers

Cite this paper

@article{hwang2024large,
  title  = {Large Pre-Training Datasets Don't Always Guarantee Robustness after Fine-Tuning},
  author = {Jaedong Hwang and Brian Cheung and Zhang-Wei Hong and Akhilan Boopathy and Pulkit Agrawal and Ila Fiete},
  year   = {2024},
  eprint = {2410.21582},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2410.21582v3}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2410.21582.svg)](https://codeofpaper.com/paper/2410.21582)

Discussion