Our new X account is live! Follow @wizwand_team for updates
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
PTM SelectionCaltech101
Kendall's weighted tau0.761
19
PTM SelectionAircraft
Kendall's tau_w0.506
19
PTM RankingModel Zoo 42 PTMs
Wall-clock Time (s)52.36
12
Showing 9 of 9 rows

Other info

Follow for update