Pre-Train Your Loss: Easy Bayesian Transfer Learning with Informative Priors

Ravid Shwartz-Ziv, Micah Goldblum, Hossein Souri, Sanyam Kapoor, Chen Zhu +2 more
5/20/2022
59 citations
cs.LGcs.CV
bayesian

Official code: hsouri/BayesianTransferLearning (113 stars, Python, last commit 2022-09-23).

Abstract

Deep learning is increasingly moving towards a transfer learning paradigm whereby large foundation models are fine-tuned on downstream tasks, starting from an initialization learned on the source task. But an initialization contains relatively little information about the source task.

Show full abstract

Instead, we show that we can learn highly informative posteriors from the source task, through supervised or self-supervised approaches, which then serve as the basis for priors that modify the whole loss surface on the downstream task. This simple modular approach enables significant performance gains and more data-efficient learning on a variety of downstream classification and segmentation tasks, serving as a drop-in replacement for standard pre-training strategies. These highly informative priors also can be saved for future use, similar to pre-trained weights, and stand in contrast to the zero-mean isotropic uninformative priors that are typically used in Bayesian deep learning.

View on arXivView PDF

Code Implementations(1)

11314PythonFeb 8, 20224 years ago

Similar Papers

Cite this paper

@article{shwartzziv2022pretrain,
  title  = {Pre-Train Your Loss: Easy Bayesian Transfer Learning with Informative Priors},
  author = {Ravid Shwartz-Ziv and Micah Goldblum and Hossein Souri and Sanyam Kapoor and Chen Zhu and Yann LeCun and Andrew Gordon Wilson},
  year   = {2022},
  eprint = {2205.10279},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2205.10279}
}

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

Discussion