Skip to main content
QUICK REVIEW

[Paper Review] Ranking and Tuning Pre-trained Models: A New Paradigm for Exploiting Model Hubs

Kaichao You, Yong Liu|arXiv (Cornell University)|Oct 20, 2021
Topic ModelingComputer Science87 references11 citations
TL;DR

This paper proposes a new paradigm for exploiting pre-trained model hubs by introducing LogME, a computationally efficient transferability metric that ranks pre-trained models (PTMs) based on label evidence estimation, and B-Tuning, a Bayesian method for jointly tuning the top-K ranked PTMs. The approach outperforms naive selection and exhaustive fine-tuning, achieving state-of-the-art performance on heterogeneous PTM ensembles with minimal computational cost.

ABSTRACT

Model hubs with many pre-trained models (PTMs) have become a cornerstone of deep learning. Although built at a high cost, they remain \emph{under-exploited} -- practitioners usually pick one PTM from the provided model hub by popularity and then fine-tune the PTM to solve the target task. This naïve but common practice poses two obstacles to full exploitation of pre-trained model hubs: first, the PTM selection by popularity has no optimality guarantee, and second, only one PTM is used while the remaining PTMs are ignored. An alternative might be to consider all possible combinations of PTMs and extensively fine-tune each combination, but this would not only be prohibitive computationally but may also lead to statistical over-fitting. In this paper, we propose a new paradigm for exploiting model hubs that is intermediate between these extremes. The paradigm is characterized by two aspects: (1) We use an evidence maximization procedure to estimate the maximum value of label evidence given features extracted by pre-trained models. This procedure can rank all the PTMs in a model hub for various types of PTMs and tasks \emph{before fine-tuning}. (2) The best ranked PTM can either be fine-tuned and deployed if we have no preference for the model's architecture or the target PTM can be tuned by the top $K$ ranked PTMs via a Bayesian procedure that we propose. This procedure, which we refer to as \emph{B-Tuning}, not only improves upon specialized methods designed for tuning homogeneous PTMs, but also applies to the challenging problem of tuning heterogeneous PTMs where it yields a new level of benchmark performance.

Motivation & Objective

  • To address the underutilization of pre-trained model hubs, where practitioners typically select only the most popular model without optimization.
  • To overcome the limitations of naive PTM selection by providing a theoretically grounded, efficient ranking method that predicts transferability before fine-tuning.
  • To enable effective multi-PTM tuning for both homogeneous and heterogeneous models, improving downstream performance beyond single-model fine-tuning.
  • To reduce reliance on expensive hyper-parameter search and overfitting in head retraining by replacing it with a unified, statistically principled metric.

Proposed method

  • LogME estimates the logarithm of maximum evidence for labels given features from a PTM, providing a transferability score without requiring fine-tuning.
  • The method uses a predictive distribution over labels based on features and prior knowledge, enabling ranking of PTMs across diverse architectures and tasks.
  • B-Tuning applies Bayesian model averaging to combine the top-K ranked PTMs, allowing joint tuning that improves generalization and performance.
  • The approach models label evidence using a Gaussian process-like framework, with closed-form solutions that avoid iterative optimization.
  • It leverages posterior predictive distributions to estimate transferability, which is more robust than accuracy-based metrics under low-data regimes.
  • The framework supports both architecture-agnostic deployment (via top-ranked PTM) and architecture-constrained tuning (via B-Tuning of top-K models).

Experimental results

Research questions

  • RQ1Can a computationally efficient metric rank pre-trained models by their transferability to downstream tasks without fine-tuning?
  • RQ2How does LogME compare to brute-force fine-tuning and other existing metrics like LEEP and NCE in ranking accuracy?
  • RQ3Can B-Tuning effectively combine multiple heterogeneous pre-trained models to improve performance beyond individual fine-tuning?
  • RQ4Does the proposed paradigm reduce overfitting and hyper-parameter sensitivity compared to standard head retraining?
  • RQ5Can the method generalize across diverse tasks and PTM types, including vision and NLP models?

Key findings

  • LogME achieves a correlation of 0.86 with downstream accuracy on the ImageNet-1K dataset, outperforming LEEP and NCE, and requires only 1/3 the time of a single head retraining.
  • On the Caltech-1000 dataset, LogME achieved a correlation of 0.81 with fine-tuned accuracy, while exhaustive head retraining with hyper-parameter search showed a decreasing correlation as trials increased, indicating overfitting.
  • In low-shot sentiment classification (SST-2), LogME achieved 79.24% accuracy by modeling predictive weights as virtual anchor words, surpassing head retraining (51.64%) and manual prompt selection (61.4%).
  • B-Tuning outperformed Zoo-tuning and knowledge distillation on heterogeneous PTM combinations, setting a new benchmark in transfer learning performance.
  • The method demonstrated consistent superiority across vision and NLP tasks, including ResNet, ViT, BERT, and RoBERTa, across multiple datasets.
  • The framework reduced computational cost by avoiding exhaustive search while maintaining or improving performance, making it practical for real-world deployment.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.