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

Md Yousuf Harun, Kyungbok Lee, Jhair Gallardo, Giri Krishnan, Christopher Kanan
5/23/2024
cs.LGcs.AIcs.CV

No official code found. Best implementation: yousuf907/Tunnel (1 star, MIT, last commit 2024-12-30). 1 more below.

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.

View on arXivView PDF

Code Implementations(2)

yousuf907/oodgCommunity65%

Project Website for Our Paper "What Variables Affect Out-Of-Distribution Generalization in Pretrained Models?"

00CSS, HTMLMay 27, 20241 years ago
yousuf907/TunnelCommunity64%
MIT

Source Code for Our NeurIPS-2024 Paper "What Variables Affect Out-of-Distribution Generalization in Pretrained Models?"

10Shell, PythonMay 27, 20241 years agoMIT
neural-collapseood-generalizationrepresentation-learningtransfer-learningtunnel-effect

Similar Papers

Cite this paper

@article{harun2024what,
  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},
  year   = {2024},
  eprint = {2405.15018},
  archivePrefix = {arXiv},
  doi    = {10.48550/arXiv.2405.15018},
  url    = {http://arxiv.org/abs/2405.15018v3},
  journal = {NEURIPS 2024 2024}
}

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

Discussion