Deep Reference Priors: What is the best way to pretrain a model?

Yansong Gao, Rahul Ramesh, Pratik Chaudhari
2/1/2022
6 citations
stat.MLcs.LG
bayesian

Official code: grasp-lyrl/deep_reference_priors (6 stars, Python, PyTorch, last commit 2022-06-11).

Abstract

What is the best way to exploit extra data -- be it unlabeled data from the same task, or labeled data from a related task -- to learn a given task? This paper formalizes the question using the theory of reference priors.

Show full abstract

Reference priors are objective, uninformative Bayesian priors that maximize the mutual information between the task and the weights of the model. Such priors enable the task to maximally affect the Bayesian posterior, e.g., reference priors depend upon the number of samples available for learning the task and for very small sample sizes, the prior puts more probability mass on low-complexity models in the hypothesis space. This paper presents the first demonstration of reference priors for medium-scale deep networks and image-based data. We develop generalizations of reference priors and demonstrate applications to two problems. First, by using unlabeled data to compute the reference prior, we develop new Bayesian semi-supervised learning methods that remain effective even with very few samples per class. Second, by using labeled data from the source task to compute the reference prior, we develop a new pretraining method for transfer learning that allows data from the target task to maximally affect the Bayesian posterior. Empirical validation of these methods is conducted on image classification datasets. Code is available at https://github.com/grasp-lyrl/deep_reference_priors.

View on arXivView PDF

Code Implementations(1)

PyTorch

Deep reference priors (ICML22)

60PythonMay 24, 20224 years ago
icml-2022pre-trainingpytorchsemi-supervised-learning

Similar Papers

Cite this paper

@article{gao2022deep,
  title  = {Deep Reference Priors: What is the best way to pretrain a model?},
  author = {Yansong Gao and Rahul Ramesh and Pratik Chaudhari},
  year   = {2022},
  eprint = {2202.00187},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2202.00187}
}

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

Discussion