Introduction
In the current era of "Model Zoos," researchers have access to hundreds of pre-trained models, including ResNets, Vision Transformers (ViTs), and EfficientNets. When a new downstream task arrives—such as identifying rare plants or medical anomalies—selecting the optimal model for fine-tuning is a critical challenge. Brute-force evaluation is computationally prohibitive, leading researchers to rely on Model Selection (MS) metrics like LogME or PARC. However, these metrics often ignore "meta" information such as dataset size, model capacity, and architectural biases, which can lead to poor predictions, especially across diverse model families.
Methodology: Learning to Recommend
This paper proposes a shift from calculating static mathematical scores to learning a recommendation. The authors frame model selection as a supervised learning task, predicting final fine-tuning performance based on a combination of dataset and model features.
Feature Embedding
The approach characterizes the transfer learning context using several meta-features:
- Dataset Features: Number of samples, number of classes, and task difficulty (estimated via linear probe performance).
- Model Features: Architecture family, input resolution, parameter count, and computational complexity (GMACs).
- Hybrid Scores: Existing MS scores can be integrated as additional input features to combine learned insights with traditional metrics.
Recommendation Models
Two primary models were evaluated for mapping these features to performance scores:
- Linear Regression (LR): A baseline treating features independently.
- Factorization Machines (FM): A more sophisticated approach that captures interactions between features, such as how specific architectures scale with dataset size.
The "Outlier" Problem
Traditional MS metrics often fail on newer architectures like ViTs, treating them as outliers. This lack of generalization is a primary motivator for the learned recommendation approach, as it allows the system to account for architectural biases explicitly.
Key Results and Insights
The "Guided Recommendation" approach consistently outperforms hand-designed metrics across diverse benchmarks. By utilizing a "Leave-One-Out" (LOO) training strategy—training on historical data from other tasks to predict the current one—the system learns generalizable rules of transfer learning.
On fine-grained tasks, the Factorization Machine (FM-LOO) achieved a Pearson correlation of 0.74, significantly higher than the 0.55 achieved by the LFC metric. On the notoriously difficult VTAB benchmark, the proposed method reached a correlation of 0.43, more than doubling the predictive power of previous state-of-the-art methods. Furthermore, the learned approach proved robust to "noisy" initializations, maintaining predictive power even when models were randomly initialized—a scenario where traditional feature-based methods typically fail.
Conclusion
By treating model selection as a recommendation problem, this work provides a more robust and accurate framework for navigating the vast landscape of pre-trained models. Future work may involve refining meta-features with semantic information and extending the approach to more complex tasks like object detection and segmentation.
Summary updated