Introduction
In the landscape of transfer learning, the standard practice involves fine-tuning a model pre-trained on a large-scale dataset (e.g., ImageNet) for a specific target task. However, the proliferation of pre-trained models has created a significant bottleneck: selecting the optimal "source" model for a given task. Model Transferability Estimation (MTE) metrics, such as LEEP, LogME, and H-Score, serve as computationally efficient proxies to predict performance without full fine-tuning.
Despite their utility, these metrics exhibit high volatility. A metric that excels on general datasets like CIFAR-10 may perform poorly on fine-grained tasks like FGVC-Aircraft. This paper introduces MetaRank, a framework that treats metric selection as a meta-learning problem, automatically identifying the most reliable transferability metric for any target task.
The MetaRank Framework
MetaRank approaches metric selection through a Learning-to-Rank (LTR) lens. The architecture leverages semantic information to bridge the gap between task characteristics and metric performance.
Semantic Meta-Features
Unlike traditional approaches that rely on statistical meta-features, MetaRank utilizes textual descriptions of both target datasets and MTE metrics. These descriptions are encoded using a pre-trained language model (Sentence-BERT) to capture high-level semantic concepts such as "fine-grained" or "texture attributes."
Shared Semantic Space and Optimization
By embedding datasets and metrics into a shared vector space, a meta-predictor (implemented as an XGBoost model) learns the complex relationships between task properties and metric mechanisms. The system is trained using a Normalized Discounted Cumulative Gain (NDCG) objective, prioritizing the accurate identification of top-performing metrics. The workflow is split into an offline training phase on known tasks and an online testing phase for rapid recommendation on new datasets.
Experimental Results and Insights
The authors evaluated MetaRank across 11 diverse target datasets using 11 ImageNet-pretrained models and 9 candidate MTE metrics.
The "No Free Lunch" for Metrics
The experimental results confirm that no single metric is universally superior. As shown in the heatmap below, metric performance varies drastically across datasets. For instance, H-Score achieves a near-perfect correlation ($\tau_w \approx 0.97$) on CIFAR-10 but drops to nearly zero ($\tau_w \approx 0.01$) on the Aircraft dataset.
Performance and Efficiency
MetaRank achieved an average rank of 4.77 across all datasets, outperforming individual metrics and existing meta-learning baselines. Key findings include:
- Textual Power: Simple textual descriptions proved more informative than complex statistical features for metric selection.
- Granularity: Label granularity (coarse vs. fine-grained) was identified as the most critical feature for accurate prediction.
- Computational Speed: MetaRank is approximately 6.5x faster than a brute-force approach of calculating all available metrics.
Conclusion
MetaRank addresses the instability of MTE metrics by providing a task-aware, automated selection mechanism. By leveraging the semantic power of language models, it offers a robust and efficient solution for model selection in transfer learning. Future work may explore automated prompt engineering to further refine dataset descriptions and integration into broader AutoML pipelines.
Summary updated