Saved in:
Bibliographic Details
Main Authors: Liu, Chen Cecilia, Gurevych, Iryna
Format: Preprint
Published: 2024
Subjects:
Online Access:https://arxiv.org/abs/2403.15210
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866910772888600576
author Liu, Chen Cecilia
Gurevych, Iryna
author_facet Liu, Chen Cecilia
Gurevych, Iryna
contents Prior research shows that differences in the early period of neural network training significantly impact the performance of in-distribution (ID) data of tasks. Yet, the implications of early learning dynamics on out-of-distribution (OOD) generalization remain poorly understood, primarily due to the complexities and limitations of existing analytical techniques. In this work, we investigate the relationship between learning dynamics, OOD generalization under covariate shift and the early period of neural network training. We utilize the trace of Fisher Information and sharpness, focusing on gradual unfreezing (i.e., progressively unfreezing parameters during training) as our methodology for investigation. Through a series of empirical experiments, we show that 1) changing the number of trainable parameters during the early period of training via gradual unfreezing can significantly improve OOD results; 2) the trace of Fisher Information and sharpness can be used as indicators for the removal of gradual unfreezing during the early period of training for better OOD generalization. Our experiments on both image and text data show that the early period of training is a general phenomenon that can provide Pareto improvements in ID and OOD performance with minimal complexity. Our work represents a first step towards understanding how early learning dynamics affect neural network OOD generalization under covariate shift and suggests a new avenue to improve and study this problem.
format Preprint
id arxiv_https___arxiv_org_abs_2403_15210
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Early Period of Training Impacts Adaptation for Out-of-Distribution Generalization: An Empirical Study
Liu, Chen Cecilia
Gurevych, Iryna
Machine Learning
Prior research shows that differences in the early period of neural network training significantly impact the performance of in-distribution (ID) data of tasks. Yet, the implications of early learning dynamics on out-of-distribution (OOD) generalization remain poorly understood, primarily due to the complexities and limitations of existing analytical techniques. In this work, we investigate the relationship between learning dynamics, OOD generalization under covariate shift and the early period of neural network training. We utilize the trace of Fisher Information and sharpness, focusing on gradual unfreezing (i.e., progressively unfreezing parameters during training) as our methodology for investigation. Through a series of empirical experiments, we show that 1) changing the number of trainable parameters during the early period of training via gradual unfreezing can significantly improve OOD results; 2) the trace of Fisher Information and sharpness can be used as indicators for the removal of gradual unfreezing during the early period of training for better OOD generalization. Our experiments on both image and text data show that the early period of training is a general phenomenon that can provide Pareto improvements in ID and OOD performance with minimal complexity. Our work represents a first step towards understanding how early learning dynamics affect neural network OOD generalization under covariate shift and suggests a new avenue to improve and study this problem.
title Early Period of Training Impacts Adaptation for Out-of-Distribution Generalization: An Empirical Study
topic Machine Learning
url https://arxiv.org/abs/2403.15210