English

What Variables Affect Out-of-Distribution Generalization in Pretrained Models?

Machine Learning 2024-10-28 v3 Artificial Intelligence Computer Vision and Pattern Recognition

Abstract

Embeddings produced by pre-trained deep neural networks (DNNs) are widely used; however, their efficacy for downstream tasks can vary widely. We study the factors influencing transferability and out-of-distribution (OOD) generalization of pre-trained DNN embeddings through the lens of the tunnel effect hypothesis, which is closely related to intermediate neural collapse. This hypothesis suggests that deeper DNN layers compress representations and hinder OOD generalization. Contrary to earlier work, our experiments show this is not a universal phenomenon. We comprehensively investigate the impact of DNN architecture, training data, image resolution, and augmentations on transferability. We identify that training with high-resolution datasets containing many classes greatly reduces representation compression and improves transferability. Our results emphasize the danger of generalizing findings from toy datasets to broader contexts.

Keywords

Cite

@article{arxiv.2405.15018,
  title  = {What Variables Affect Out-of-Distribution Generalization in Pretrained Models?},
  author = {Md Yousuf Harun and Kyungbok Lee and Jhair Gallardo and Giri Krishnan and Christopher Kanan},
  journal= {arXiv preprint arXiv:2405.15018},
  year   = {2024}
}

Comments

Accepted to NeurIPS 2024

R2 v1 2026-06-28T16:38:01.578Z