On the Connection between Pre-training Data Diversity and Fine-tuning Robustness

Vivek Ramanujan, Thao Nguyen, Sewoong Oh, Ludwig Schmidt, Ali Farhadi
7/24/2023
cs.CVcs.LG

No confident code implementation found for this paper. 1 possible match can be shown below.

Abstract

Pre-training has been widely adopted in deep learning to improve model performance, especially when the training data for a target task is limited. In our work, we seek to understand the implications of this training strategy on the generalization properties of downstream models. More specifically, we ask the following question: how do properties of the pre-training distribution affect the robustness of a fine-tuned model? The properties we explore include the label space, label semantics, image diversity, data domains, and data quantity of the pre-training distribution. We find that the primary factor influencing downstream effective robustness (Taori et al., 2020) is data quantity, while other factors have limited significance. For example, reducing the number of ImageNet pre-training classes by 4x while increasing the number of images per class by 4x (that is, keeping total data quantity fixed) does not impact the robustness of fine-tuned models. We demonstrate our findings on pre-training distributions drawn from various natural and synthetic data sources, primarily using the iWildCam-WILDS distribution shift as a test for downstream robustness.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 1 weaker match is hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{ramanujan2023connection,
  title  = {On the Connection between Pre-training Data Diversity and Fine-tuning Robustness},
  author = {Vivek Ramanujan and Thao Nguyen and Sewoong Oh and Ludwig Schmidt and Ali Farhadi},
  year   = {2023},
  eprint = {2307.12532},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2307.12532v1},
  journal = {NEURIPS 2023 2023}
}

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/2307.12532.svg)](https://codeofpaper.com/paper/2307.12532)

Discussion