[Paper Review] Head2Toe: Utilizing Intermediate Representations for Better Transfer Learning
Head2Toe proposes a novel transfer learning method that improves linear probing by selecting optimal intermediate features from all layers of a pretrained model, achieving performance on par with full fine-tuning while reducing training FLOPs by 99.4% and storage costs by 99%. It outperforms fine-tuning on out-of-distribution (OOD) transfer tasks, challenging the assumption that full fine-tuning is necessary for OOD generalization.
Transfer-learning methods aim to improve performance in a data-scarce target domain using a model pretrained on a data-rich source domain. A cost-efficient strategy, linear probing, involves freezing the source model and training a new classification head for the target domain. This strategy is outperformed by a more costly but state-of-the-art method -- fine-tuning all parameters of the source model to the target domain -- possibly because fine-tuning allows the model to leverage useful information from intermediate layers which is otherwise discarded by the later pretrained layers. We explore the hypothesis that these intermediate layers might be directly exploited. We propose a method, Head-to-Toe probing (Head2Toe), that selects features from all layers of the source model to train a classification head for the target-domain. In evaluations on the VTAB-1k, Head2Toe matches performance obtained with fine-tuning on average while reducing training and storage cost hundred folds or more, but critically, for out-of-distribution transfer, Head2Toe outperforms fine-tuning.
Motivation & Objective
- To address the performance gap between linear probing and fine-tuning in low-data transfer learning scenarios.
- To investigate whether intermediate representations in a pretrained model contain useful features that can be directly leveraged without fine-tuning the entire network.
- To develop a cost-effective method that matches fine-tuning performance while drastically reducing training and storage costs.
- To evaluate whether feature selection from intermediate layers improves generalization on out-of-distribution (OOD) target domains.
- To challenge the conventional belief that full fine-tuning is required for strong OOD generalization.
Proposed method
- Head2Toe selects the most relevant features from all layers—including the final embedding layer—of a pretrained model using a supervised, embedded feature selection approach.
- It formulates the feature selection problem as a regularized optimization task, using an ℓ2,1-regularized objective to identify informative intermediate representations.
- The method trains a single linear classification head on the selected features, enabling efficient downstream adaptation.
- Feature selection is performed using a greedy forward selection strategy with a differentiable proxy to avoid expensive retraining at each step.
- The approach is evaluated on the VTAB benchmark using ResNet-50 and ViT-B/16 backbones pretrained on ImageNet-2012.
- The method is designed to be compatible with existing efficient fine-tuning methods, such as adapters or pruning, and can be used in conjunction with them.
Experimental results
Research questions
- RQ1Can intermediate representations in a pretrained model be directly exploited to improve transfer learning performance without fine-tuning?
- RQ2Does selecting features from multiple layers of a pretrained network improve performance over standard linear probing?
- RQ3How does the performance of Head2Toe compare to full fine-tuning in terms of accuracy and computational cost?
- RQ4Does Head2Toe outperform fine-tuning on out-of-distribution (OOD) transfer tasks?
- RQ5Can a simple, efficient feature selection method match the performance of costly full fine-tuning while reducing FLOPs and storage by orders of magnitude?
Key findings
- Head2Toe matches the average performance of full fine-tuning across the VTAB benchmark, achieving state-of-the-art accuracy with significantly reduced cost.
- On average, Head2Toe reduces training FLOPs by 99.4% and storage cost by 99% compared to fine-tuning, while maintaining competitive performance.
- Head2Toe outperforms fine-tuning on out-of-distribution (OOD) target domains, particularly benefiting tasks with low domain affinity to ImageNet.
- The improvement over linear probing is most pronounced on OOD tasks, with gains increasing as domain shift increases, confirming the value of intermediate features in such settings.
- The method demonstrates strong generalization across diverse architectures, including both convolutional (ResNet-50) and vision transformer (ViT-B/16) backbones.
- The performance gain is attributed to the model's ability to access and utilize discriminative features buried in deeper layers that are discarded in standard linear probing.
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.