LGJun 6, 2023

Model Spider: Learning to Rank Pre-Trained Models Efficiently

arXiv:2306.03900v151 citationsh-index: 45
Originality Incremental advance
AI Analysis

This addresses the challenge of time-consuming model selection for practitioners using heterogeneous pre-trained models, though it is incremental in improving efficiency.

The paper tackles the problem of efficiently selecting the most suitable pre-trained model from a diverse model zoo for a target task, proposing Model Spider to rank models based on tokenized characteristics and achieving promising performance in various configurations.

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.

Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes