Model Spider: Learning to Rank Pre-Trained Models Efficiently
Yi-Kai Zhang, Ting-Ji Huang, Yao-Xiang Ding, De-Chuan Zhan, Han-Jia Ye
Abstract
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. Related Works Efficient PTM Search with Transferability Assessment. Whether a selected PTM is helpful could be formulated as the problem measuring the transferability from the source data pre-training the PTM to the target downstream task [12, 33, 4, 62] . The current evaluation of transferability relies on a forward pass of the PTM on the target task, which generates the PTM-specific features on the target task. For example, NCE [73] , LEEP [53], LogME [83, 84] , PACTran [21], and TransRate [32] estimate negative conditional entropy, log expectation, marginalized likelihood, PAC-Bayesian bound, mutual information to obtain proxy metric of transferability, respectively. Several extensions including N -LEEP [45] with Gaussian mixture model on top of PTM features, H-Score [8] utilizing
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
23 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Bridge the Modality and Capability Gaps in Vision-Language Model Selection cites Task2Vec: Task Embedding for Meta-Learning
- Bridge the Modality and Capability Gaps in Vision-Language Model Selection cites Learning Transferable Visual Models From Natural Language Supervision
- Wings: Learning Multimodal LLMs without Text-only Forgetting cites Learning Transferable Visual Models From Natural Language Supervision
- Swin Transformer: Hierarchical Vision Transformer using Shifted Windows cites Learning Transferable Visual Models From Natural Language Supervision
- Bootstrap Your Own Latent - A New Approach to Self-Supervised Learning cites A Simple Framework for Contrastive Learning of Visual Representations
- Learning Transferable Visual Models From Natural Language Supervision cites A Simple Framework for Contrastive Learning of Visual Representations
- Learning Transferable Visual Models From Natural Language Supervision cites Bootstrap Your Own Latent - A New Approach to Self-Supervised Learning
Cited by top-tier papers23
- Selecting Large Language Model to Fine-tune via Rectified Scaling LawHaowei Lin, Baizhou Huang, Haotian Ye, Qinyu Chen et al.ICML 2024 · 32 citations
- Bridge the Modality and Capability Gaps in Vision-Language Model SelectionChao Yi, Yuhang He, De-Chuan Zhan, Han-Jia YeNeurIPS 2024 · 32 citations
- Wings: Learning Multimodal LLMs without Text-only ForgettingYi-Kai Zhang, Shiyin Lu, Yang Li, Yanqing Ma et al.NeurIPS 2024 · 30 citations
- Capability Instruction TuningYi-Kai Zhang, De-Chuan Zhan, Han-Jia YeAAAI 2025 · 22 citations
- RouterArena: An Open Platform for Comprehensive Comparison of LLM RoutersYifan Lu, Rixin Liu, Jiayi Yuan, Xingqi Cui et al.ICLR 2026 · 21 citations
Builds on18
- Learning Transferable Visual Models From Natural Language SupervisionAlec Radford, Jong Wook Kim, Chris Hallacy, Aditya Ramesh et al.ICML 2021 · 47,906 citations
- Swin Transformer: Hierarchical Vision Transformer using Shifted WindowsZe Liu, Yutong Lin, Yue Cao, Han Hu et al.ICCV 2021 · 31,683 citations
- A Simple Framework for Contrastive Learning of Visual RepresentationsTing Chen, Simon Kornblith, Mohammad Norouzi, Geoffrey E. HintonICML 2020 · 24,064 citations
- Bootstrap Your Own Latent - A New Approach to Self-Supervised LearningJean-Bastien Grill, Florian Strub, Florent Altché, Corentin Tallec et al.NeurIPS 2020 · 9,171 citations
- Task2Vec: Task Embedding for Meta-LearningAlessandro Achille, Michael Lam, Rahul Tewari, Avinash Ravichandran et al.ICCV 2019 · 359 citations
Related papers
- Understanding the Transferability of Representations via Task-RelatednessAkshay Mehra, Yunbei Zhang, Jihun HammNeurIPS 2024 · 13 citations
- Foundation Model is Efficient Multimodal Multitask Model SelectorFanqing Meng, Wenqi Shao, Zhanglin Peng, Chonghe Jiang et al.NeurIPS 2023 · 26 citations
- Guided Recommendation for Model Fine-TuningHao Li, Charless C. Fowlkes, Hao Yang, Onkar Dabeer et al.CVPR 2023
- Unified Transferability Metrics for Time Series Foundation ModelsWeiyang Zhang, Xinyang Chen, Xiucheng Li, Kehai Chen et al.NeurIPS 2025 · 5 citations
- How to Determine the Most Powerful Pre-trained Language Model without Brute Force Fine-tuning? An Empirical SurveyJun Bai, Xiaofeng Zhang, Chen Li, Hanhua Hong et al.EMNLP Findings 2023 · 7 citations
