[Paper Review] Frustratingly Easy Transferability Estimation
This paper proposes TransRate, a simple, efficient, and effective transferability estimation method that computes mutual information between target task labels and features extracted by a pre-trained model in a single forward pass. By leveraging coding rate as a surrogate for mutual information, TransRate evaluates both feature completeness and compactness across layers, achieving state-of-the-art performance with only 10 lines of code on 32 models and 16 downstream tasks.
Transferability estimation has been an essential tool in selecting a pre-trained model and the layers in it for transfer learning, to transfer, so as to maximize the performance on a target task and prevent negative transfer. Existing estimation algorithms either require intensive training on target tasks or have difficulties in evaluating the transferability between layers. To this end, we propose a simple, efficient, and effective transferability measure named TransRate. Through a single pass over examples of a target task, TransRate measures the transferability as the mutual information between features of target examples extracted by a pre-trained model and their labels. We overcome the challenge of efficient mutual information estimation by resorting to coding rate that serves as an effective alternative to entropy. From the perspective of feature representation, the resulting TransRate evaluates both completeness (whether features contain sufficient information of a target task) and compactness (whether features of each class are compact enough for good generalization) of pre-trained features. Theoretically, we have analyzed the close connection of TransRate to the performance after transfer learning. Despite its extraordinary simplicity in 10 lines of codes, TransRate performs remarkably well in extensive evaluations on 32 pre-trained models and 16 downstream tasks.
Motivation & Objective
- To address the challenge of selecting optimal pre-trained models and layers for transfer learning to avoid negative transfer and maximize performance.
- To develop a computation-efficient transferability estimation method that evaluates transferability across different layers of a pre-trained model.
- To overcome the limitations of existing methods that require extensive fine-tuning or fail to distinguish between layers.
- To provide a method that is both simple and effective, requiring only a single forward pass over target data.
Proposed method
- TransRate estimates transferability as the mutual information between target task labels and features extracted by a pre-trained model at a given layer.
- It uses coding rate from information theory as a computationally efficient surrogate for mutual information, avoiding expensive neural network training or exhaustive discretization.
- The method evaluates both completeness (information content) and compactness (class separability) of features in a unified framework.
- It computes the coding rate difference between the joint distribution of features and labels and the conditional distribution, providing a stable estimate even in high-dimensional spaces.
- The algorithm operates in O(min{d^{2.373} + nd^2, n^{2.373} + dn^2}) time complexity, enabling fast evaluation across layers.
- The method is robust to hyperparameter choices, particularly the noise parameter ε, due to cancellation effects in the rate difference computation.
Experimental results
Research questions
- RQ1Which pre-trained model and which layers provide the highest transferability for a given target task?
- RQ2Can a transferability estimation method be both highly efficient and accurate without requiring fine-tuning or additional training?
- RQ3How well can mutual information between features and labels predict downstream transfer learning performance?
- RQ4Can a simple, single-pass method effectively distinguish transferability across different layers of a pre-trained model?
Key findings
- TransRate achieves state-of-the-art performance in transferability estimation across 32 pre-trained models and 16 downstream tasks with minimal computational cost.
- The method requires only a single forward pass over target data, making it highly efficient compared to fine-tuning-based or training-intensive alternatives.
- TransRate demonstrates strong correlation with actual downstream transfer learning performance, validating its theoretical connection to generalization.
- The method is robust to hyperparameter choices, particularly the noise parameter ε, due to cancellation effects in the rate difference computation.
- Despite its simplicity (10 lines of code), TransRate outperforms existing computation-efficient methods that fail to evaluate layer-wise transferability.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.