Optimal transfer protocol by incremental layer defrosting
Authors:
Preprint
Abstract
Transfer learning is a powerful tool enabling model training with limited amounts of data. This technique is particularly useful in real-world problems where data availability is often a serious limitation. The simplest transfer learning protocol is based on ``freezing" the feature-extractor layers of a network pre-trained on a data-rich source task, and then adapting only the last layers to a data-poor target task. This workflow is based on the assumption that the feature maps of the pre-trained model are qualitatively similar to the ones that would have been learned with enough data on the target task. In this work, we show that this protocol is often sub-optimal, and the largest performance gain may be achieved when smaller portions of the pre-trained network are kept frozen. In particular, we make use of a controlled framework to identify the optimal transfer depth, which turns out to depend non-trivially on the amount of available training data and on the degree of source-target task correlation. We then characterize transfer optimality by analyzing the internal representations of two networks trained from scratch on the source and the target task through multiple established similarity measures.Keywords
All Related Versions
This publication has 13 references indexed in Scilit:
- Neural networks trained with SGD learn distributions of increasing complexity*Journal of Statistical Mechanics: Theory and Experiment, 2025
- Double Double Descent: On Generalization Errors in Transfer Learning between Linear Regression TasksSIAM Journal on Mathematics of Data Science, 2022
- Data-driven emergence of convolutional structure in neural networksProceedings of the National Academy of Sciences, 2022
- Ranking the information content of distance measuresPNAS Nexus, 2022
- Probing transfer learning with a model of synthetic correlated datasetsMachine Learning: Science and Technology, 2022
- Spectral bias and task-model alignment explain generalization in kernel regression and infinitely wide neural networksNature Communications, 2021
- A novel deep learning based framework for the detection and classification of breast cancer using transfer learningPattern Recognition Letters, 2019
- A review of unsupervised feature selection methodsArtificial Intelligence Review, 2019
- Automatic detection of invasive ductal carcinoma in whole slide images with convolutional neural networks2014
- A survey on concept drift adaptationACM Computing Surveys, 2014