Not All Models Are Equal: Predicting Model Transferability in a Self-challenging Fisher Space

Wenqi Shao, Xun Zhao, Yixiao Ge, Zhaoyang Zhang, Lei Yang, Xiaogang Wang, Ying Shan, Ping Luo

Introduction

With the proliferation of "Model Zoos," selecting the optimal pre-trained model for a specific downstream task has become a significant bottleneck. Traditionally, the only reliable way to determine which model—be it a ResNet, Vision Transformer (ViT), or a self-supervised variant—will perform best is through exhaustive fine-tuning. This "brute-force" approach is computationally expensive and time-consuming.

Overview of the model transferability prediction pipeline, comparing brute-force fine-tuning with efficient transferability metrics.

Existing lightweight metrics like LEEP or LogME attempt to predict transferability using "static" features from pre-trained models. However, these often fail because they ignore the dynamics of the fine-tuning process, where features evolve and class separability typically improves during actual training.

Methodology: SFDA

To bridge this gap, the authors introduce SFDA (Self-challenging Fisher Discriminant Analysis). SFDA is designed to mimic the effects of fine-tuning without the associated computational cost. It achieves this by projecting features into a specialized space and applying a "stress test" to the model's predictions.

Detailed comparison of the SFDA architecture against existing metrics like LEEP, NLEEP, and LogME.

The framework consists of three core innovations:

  1. Regularized Fisher Discriminant Analysis (Reg-FDA): Instead of analyzing raw features, SFDA projects them into a "Fisher space." This transformation maximizes inter-class distance and minimizes intra-class spread, effectively "pre-visualizing" the potential class separability achievable after fine-tuning. A key advantage is that it maps features from any architecture into a uniform space of dimension $C-1$ (where $C$ is the number of classes), allowing for direct comparison between heterogeneous models.
  2. Self-challenging Mechanism (ConfMix): Real-world training involves overcoming difficult, ambiguous examples. SFDA simulates this by injecting "ConfMix" noise, which pushes high-confidence samples toward the average of other classes. This "stress test" reveals which models possess the robust representations necessary for high final accuracy.
  3. Top-k Ensemble Selection: By utilizing the uniform Fisher space, SFDA can calculate complementarity scores between models, facilitating the selection of an optimal ensemble of pre-trained models for a given task.

Experimental Results

The authors evaluated SFDA across 33 pre-trained models and 11 diverse classification benchmarks, including CIFAR, Stanford Cars, and Oxford Flowers.

  • Accuracy: SFDA achieved a 59.1% improvement in ranking accuracy over state-of-the-art methods, dominating in both supervised and self-supervised model categories. On specific datasets like "Flowers," it showed a 152% relative improvement in ranking accuracy over previous methods.
  • Efficiency: SFDA is remarkably efficient, performing over 20x faster than previous leading metrics like NLEEP. It can rank a dozen models in just a few hundred seconds, whereas brute-force fine-tuning would take days of GPU time.
  • Robustness: The "self-challenging" mechanism proved vital for distinguishing between models that appear similar on easy data but diverge on complex, "long-tail" examples.

Conclusion

SFDA represents a significant step forward in model selection for transfer learning. By accounting for the potential of feature evolution through Fisher space projection and simulating training difficulty via self-challenging noise, it provides a fast and highly accurate alternative to expensive fine-tuning. While currently optimized for image classification, the authors aim to extend this framework to tasks like object detection and regression in future work.

Summary updated

BibTeX
@inproceedings{shao2022not,
  author = {Wenqi Shao and Xun Zhao and Yixiao Ge and Zhaoyang Zhang and Lei Yang and Xiaogang Wang and Ying Shan and Ping Luo},
  title = {{Not All Models Are Equal: Predicting Model Transferability in a Self-challenging Fisher Space}},
  booktitle = {European Conference on Computer Vision},
  year = {2022},
  doi = {10.1007/978-3-031-19830-4\_17},
}
Figure