Model Selection with Model Zoo via Graph Learning

Ziyu Li, Hilco van der Wilk, Danning Zhan, Megha Khosla, Alessandro Bozzon +1 more
4/5/2024
cs.LGcs.SI

No official code found. Best implementation: TransferGraph/transfergraph (4 stars, last commit 2024-06-26).

Abstract

Pre-trained deep learning (DL) models are increasingly accessible in public repositories, i.e., model zoos. Given a new prediction task, finding the best model to fine-tune can be computationally intensive and costly, especially when the number of pre-trained models is large. Selecting the right pre-trained models is crucial, yet complicated by the diversity of models from various model families (like ResNet, Vit, Swin) and the hidden relationships between models and datasets. Existing methods, which utilize basic information from models and datasets to compute scores indicating model performance on target datasets, overlook the intrinsic relationships, limiting their effectiveness in model selection. In this study, we introduce TransferGraph, a novel framework that reformulates model selection as a graph learning problem. TransferGraph constructs a graph using extensive metadata extracted from models and datasets, while capturing their inherent relationships. Through comprehensive experiments across 16 real datasets, both images and texts, we demonstrate TransferGraph's effectiveness in capturing essential model-dataset relationships, yielding up to a 32% improvement in correlation between predicted performance and the actual fine-tuning results compared to the state-of-the-art methods.

View on arXivView PDF

Code Implementations(1)

44Shell, PythonFeb 28, 20242 years ago

Similar Papers

Cite this paper

@article{li2024model,
  title  = {Model Selection with Model Zoo via Graph Learning},
  author = {Ziyu Li and Hilco van der Wilk and Danning Zhan and Megha Khosla and Alessandro Bozzon and Rihan Hai},
  year   = {2024},
  eprint = {2404.03988},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2404.03988v1}
}

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

Discussion