Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

Model Spider: Learning to Rank Pre-Trained Models Efficiently

About

Figuring out which Pre-Trained Model (PTM) from a model zoo fits the target task is essential to take advantage of plentiful model resources. With the availability of numerous heterogeneous PTMs from diverse fields, efficiently selecting the most suitable PTM is challenging due to the time-consuming costs of carrying out forward or backward passes over all PTMs. In this paper, we propose Model Spider, which tokenizes both PTMs and tasks by summarizing their characteristics into vectors to enable efficient PTM selection. By leveraging the approximated performance of PTMs on a separate set of training tasks, Model Spider learns to construct tokens and measure the fitness score between a model-task pair via their tokens. The ability to rank relevant PTMs higher than others generalizes to new tasks. With the top-ranked PTM candidates, we further learn to enrich task tokens with their PTM-specific semantics to re-rank the PTMs for better selection. Model Spider balances efficiency and selection ability, making PTM selection like a spider preying on a web. Model Spider demonstrates promising performance in various configurations of model zoos.

Yi-Kai Zhang, Ting-Ji Huang, Yao-Xiang Ding, De-Chuan Zhan, Han-Jia Ye• 2023

Related benchmarks

TaskDatasetResultRank
Model SelectionDTD
Weighted Kendall's Tau0.695
46
Model SelectionCars
Weighted Kendall's Tau0.785
36
Model SelectionCIFAR100
Weighted Kendall's Tau1
36
Model SelectionCIFAR10
Weighted Kendall's Tau0.909
36
Model SelectionSUN397
Weighted Kendall's Tau0.954
36
Model SelectionPets
Weighted Kendall's Tau0.788
36
Model SelectionETTm1
Weighted Kendall's Tau0.734
32
Model SelectionETTh2
Weighted Kendall's Tau0.451
32
Model SelectionExchange
Weighted Kendall's Tau0.322
32
Model SelectionElectricity
Weighted Kendall's Tau_w0.549
32
Showing 10 of 24 rows

Other info

Follow for update