NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

ETran: Energy-Based Transferability Estimation

Mohsen Gholami, Mohammad Akbari, Xinglu Wang, Behnam Kamranian, Yong ZhangICCV 2023

Abstract

This paper addresses the problem of ranking pre-trained models for object detection and image classification. Selecting the best pre-trained model by fine-tuning is an expensive and time-consuming task. Previous works have proposed transferability estimation based on features extracted by the pre-trained models. We argue that quantifying whether the target dataset is in-distribution (IND) or out-of-distribution (OOD) for the pre-trained model is an important factor in the transferability estimation. To this end, we propose ETran, an energy-based transferability assessment metric, which includes three scores: 1) energy score, 2) classification score, and 3) regression score. We use energy-based models to determine whether the target dataset is OOD or IND for the pre-trained model. In contrast to the prior works, ETran is applicable to a wide range of tasks including classification, regression, and object detection (classification+regression). This is the first work that proposes transferability estimation for object detection task. Our extensive experiments on four benchmarks and two tasks show that ETran outperforms previous works on object detection and classification benchmarks by an average of 21% and 12%, respectively, and achieves SOTA in transferability assessment.

Introduction

In the current era of "Foundation Models," researchers have access to thousands of pre-trained checkpoints on platforms like HuggingFace. However, selecting the optimal model for a specific downstream task—such as identifying rare medical anomalies or tracking players in a sports game—remains a significant challenge. The standard "brute-force" approach of fine-tuning every candidate model is computationally ruinous and slow.

Existing transferability metrics, such as LEEP or LogME, attempt to predict performance using only extracted features. However, these methods suffer from two major flaws: they ignore whether the target data is "out-of-distribution" (OOD) for the pre-trained model, and they focus almost exclusively on image classification. ETran addresses these gaps by incorporating energy-based OOD detection and introducing the first transferability estimation framework for object detection, which requires both classification and regression capabilities.

Methodology

ETran is a hybrid metric that combines three distinct scores to provide a comprehensive assessment of model transferability:

  • Energy Score ($S_{en}$): Based on Energy-Based Models (EBMs), this score quantifies how "familiar" the target data is to the pre-trained model. High energy indicates the data is In-Distribution (IND), suggesting the model's features will be robust. This component is label-free and requires no optimization.
  • LDA-Based Classification Score ($S_{cls}$): This uses Linear Discriminant Analysis to project features into a space where target classes are most separable, estimating the probability of correct classification via Bayes' theorem.
  • SVD-Based Regression Score ($S_{reg}$): This is the critical component for object detection. It utilizes Singular Value Decomposition (SVD) to efficiently solve a linear regression problem, estimating how well the model's features can predict bounding box coordinates.
ETran architecture overview: features are processed through LDA, EBM, and SVD modules to produce a final transferability score.

Experiments and Results

The researchers evaluated ETran across a massive range of scenarios, including 11 source models for image classification and three new benchmarks for object detection: VOC-FT/RH, COCO, and a HuggingFace benchmark using YOLO architectures for niche tasks like blood cell detection.

Key Insights

  • Energy as a Proxy for Reliability: The paper argues that if a model "recognizes" the data distribution (high energy score), it is much more likely to fine-tune successfully. This shift from purely looking at label-feature mapping to looking at data-model alignment is a core contribution of ETran.
  • Regression is Essential for Detection: Ablation studies show that for object detection, the regression score ($S_{reg}$) is the most significant contributor to ranking accuracy. Using classification-only metrics to rank detection models leads to poor results.
  • Efficiency: ETran is significantly faster than previous SOTA methods. For example, the Energy component alone is 10x faster than LogME, making it feasible to screen hundreds of models in seconds.
Energy score distributions for different pre-trained models on various target datasets, illustrating how the energy metric differentiates model suitability.

Performance Metrics

ETran achieved a weighted Kendall’s tau ($\tau_w$) of 0.562 for classification (12% better than the previous leader, SFDA) and 0.464 for object detection (21% better than baselines). Even when used without labels (using only the Energy score), ETran often outperformed older supervised methods like LEEP.

Conclusion

ETran establishes a new state-of-the-art for transferability estimation by bridging the gap between OOD detection and task-specific performance metrics. Its applicability to object detection and its remarkable computational efficiency make it a practical tool for the modern machine learning pipeline. Future research will focus on extending this energy-based approach to other modalities like Natural Language Processing.

Summary updated

BibTeX
@inproceedings{gholami2023etran,
  author = {Mohsen Gholami and Mohammad Akbari and Xinglu Wang and Behnam Kamranian and Yong Zhang},
  title = {{ETran: Energy-Based Transferability Estimation}},
  booktitle = {IEEE/CVF International Conference on Computer Vision},
  year = {2023},
  url = {https://openreview.net/forum?id=JysdP7hs4m},
}
Figure