Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

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

About

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. 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.

Ravid Shwartz-Ziv, Micah Goldblum, Hossein Souri, Sanyam Kapoor, Chen Zhu, Yann LeCun, Andrew Gordon Wilson• 2022

Related benchmarks

TaskDatasetResultRank
Image ClassificationFlower-102 (test)
NLL (N=510)0.54
16
Image ClassificationCIFAR-10 (test)
NLL (N=100)0.46
16
Image ClassificationPet-37 (test)
NLL (N=370)0.38
16
Image ClassificationCIFAR-10 (test)
Accuracy (N=100)69
14
Text ClassificationNews-4 (test)
NLL0.02
12
Transfer LearningCIFAR-10 N=50000 (train)
Avg SGD Run Time (L2-SP)37
3
Showing 6 of 6 rows

Other info

Follow for update