PACTran: PAC-Bayesian Metrics for Estimating the Transferability of Pretrained Models to Classification Tasks

Nan Ding, Xi Chen, Tomer Levinboim, Beer Changpinyo, Radu Soricut
3/10/2022
cs.LG
bayesian

Official code: google-research/pactran_metrics (14 stars, Python, Apache-2.0, last commit 2023-03-24).

Abstract

With the increasing abundance of pretrained models in recent years, the problem of selecting the best pretrained checkpoint for a particular downstream classification task has been gaining increased attention. Although several methods have recently been proposed to tackle the selection problem (e.g.

Show full abstract

LEEP, H-score), these methods resort to applying heuristics that are not well motivated by learning theory. In this paper we present PACTran, a theoretically grounded family of metrics for pretrained model selection and transferability measurement. We first show how to derive PACTran metrics from the optimal PAC-Bayesian bound under the transfer learning setting. We then empirically evaluate three metric instantiations of PACTran on a number of vision tasks (VTAB) as well as a language-and-vision (OKVQA) task. An analysis of the results shows PACTran is a more consistent and effective transferability measure compared to existing selection methods.

View on arXivView PDF

Code Implementations(1)

Apache-2.0
142PythonJul 8, 20223 years agoApache-2.0

Similar Papers

Cite this paper

@article{ding2022pactran,
  title  = {PACTran: PAC-Bayesian Metrics for Estimating the Transferability of Pretrained Models to Classification Tasks},
  author = {Nan Ding and Xi Chen and Tomer Levinboim and Beer Changpinyo and Radu Soricut},
  year   = {2022},
  eprint = {2203.05126},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2203.05126}
}

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

Discussion