Saved in:
Bibliographic Details
Main Authors: Harvey, Ethan, Petrov, Mikhail, Hughes, Michael C.
Format: Preprint
Published: 2024
Subjects:
Online Access:https://arxiv.org/abs/2405.15583
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866914810227064832
author Harvey, Ethan
Petrov, Mikhail
Hughes, Michael C.
author_facet Harvey, Ethan
Petrov, Mikhail
Hughes, Michael C.
contents We pursue transfer learning to improve classifier accuracy on a target task with few labeled examples available for training. Recent work suggests that using a source task to learn a prior distribution over neural net weights, not just an initialization, can boost target task performance. In this study, we carefully compare transfer learning with and without source task informed priors across 5 datasets. We find that standard transfer learning informed by an initialization only performs far better than reported in previous comparisons. The relative gains of methods using informative priors over standard transfer learning vary in magnitude across datasets. For the scenario of 5-300 examples per class, we find negative or negligible gains on 2 datasets, modest gains (between 1.5-3 points of accuracy) on 2 other datasets, and substantial gains (>8 points) on one dataset. Among methods using informative priors, we find that an isotropic covariance appears competitive with learned low-rank covariance matrix while being substantially simpler to understand and tune. Further analysis suggests that the mechanistic justification for informed priors -- hypothesized improved alignment between train and test loss landscapes -- is not consistently supported due to high variability in empirical landscapes. We release code to allow independent reproduction of all experiments.
format Preprint
id arxiv_https___arxiv_org_abs_2405_15583
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Transfer Learning with Informative Priors: Simple Baselines Better than Previously Reported
Harvey, Ethan
Petrov, Mikhail
Hughes, Michael C.
Machine Learning
We pursue transfer learning to improve classifier accuracy on a target task with few labeled examples available for training. Recent work suggests that using a source task to learn a prior distribution over neural net weights, not just an initialization, can boost target task performance. In this study, we carefully compare transfer learning with and without source task informed priors across 5 datasets. We find that standard transfer learning informed by an initialization only performs far better than reported in previous comparisons. The relative gains of methods using informative priors over standard transfer learning vary in magnitude across datasets. For the scenario of 5-300 examples per class, we find negative or negligible gains on 2 datasets, modest gains (between 1.5-3 points of accuracy) on 2 other datasets, and substantial gains (>8 points) on one dataset. Among methods using informative priors, we find that an isotropic covariance appears competitive with learned low-rank covariance matrix while being substantially simpler to understand and tune. Further analysis suggests that the mechanistic justification for informed priors -- hypothesized improved alignment between train and test loss landscapes -- is not consistently supported due to high variability in empirical landscapes. We release code to allow independent reproduction of all experiments.
title Transfer Learning with Informative Priors: Simple Baselines Better than Previously Reported
topic Machine Learning
url https://arxiv.org/abs/2405.15583