Introduction
Transfer learning typically involves fine-tuning a single pre-trained model on a target task. However, selecting the optimal starting point from a vast pool of models is challenging. While single-model transferability metrics exist, selecting an ensemble of models presents a much larger search space. For instance, choosing 3 models from a pool of 64 results in over 41,000 possible combinations, making exhaustive fine-tuning computationally prohibitive. Researchers from Google Research have addressed this by developing a method to automatically identify the best ensemble without expensive training.
The SoftIoU-EEP Metric
The proposed approach uses a "zero-shot" metric to identify high-performing ensembles for semantic segmentation. The core of this method is SoftIoU-EEP, a transferability metric that predicts ensemble performance using only a single forward pass of the target training data through the pre-trained models.
SoftIoU-EEP builds on the Log Expected Empirical Prediction (LEEP) framework. It works by averaging probability distributions across candidate ensemble members and employing a "soft" Intersection-over-Union (IoU) relaxation. Unlike standard IoU, which uses discrete counts, SoftIoU-EEP utilizes probability confidences. This makes the metric more sensitive to model certainty and calibration, allowing it to accurately rank candidate ensembles based on how well their members complement one another.
Experimental Results
The method was evaluated across 17 diverse target datasets spanning driving, aerial, indoor, and underwater domains. The study focused on a "low-data regime" where the target task only has 150 training images.
The results demonstrate that ensembles selected via SoftIoU-EEP consistently outperform single-model baselines. Specifically, the selected ensembles achieved a 6.0% relative improvement in mean IoU over the best single model in the source pool. Even when compared to a single large model (such as HRNet-W48) with equivalent total parameter capacity, the selected ensemble provided a 2.5% performance boost.
Key Insights
- Diversity is Essential: The metric naturally selects models that are diverse and complementary. In specialized domains, it often selects different architectures trained on the same strong dataset. In fragmented domains, it selects models trained on different but related datasets.
- Efficiency: By avoiding backpropagation during the selection phase, the method identifies optimal "winning teams" of models with minimal computational overhead. It achieves a high correlation with actual post-fine-tuning performance (weighted Kendall Tau of ~0.69).
- Capacity Matching: The findings suggest that distributing a fixed parameter budget across an ensemble of smaller, diverse models is more effective than using a single large model of the same size.
Conclusion
SoftIoU-EEP enables efficient, automated selection of model ensembles for transfer learning. By leveraging the diversity of pre-trained model pools, this approach significantly improves performance on target tasks without the need for exhaustive fine-tuning, offering a scalable solution for complex computer vision tasks in data-constrained scenarios.
Summary updated