The current standard for a variety of computer vision tasks using smaller numbers of labelled training examples is to fine-tune from weights pre-trained on a large image classification dataset such as ImageNet. The application of transfer learning and transfer learning methods tends to be rigidly binary. A model is either pre-trained or not pre-trained. Pre-training a model either increases performance or decreases it, the latter being defined as negative transfer. Application of L2-SP regularisation that decays the weights towards their pre-trained values is either applied or all weights are decayed towards 0. This paper re-examines these assumptions. Our recommendations are based on extensive empirical evaluation that demonstrate the application of a non-binary approach to achieve optimal results. (1) Achieving best performance on each individual dataset requires careful adjustment of various transfer learning hyperparameters not usually considered, including number of layers to transfer, different learning rates for different layers and different combinations of L2SP and L2 regularization. (2) Best practice can be achieved using a number of measures of how well the pre-trained weights fit the target dataset to guide optimal hyperparameters. We present methods for non-binary transfer learning including combining L2SP and L2 regularization and performing non-traditional fine-tuning hyperparameter searches. Finally we suggest heuristics for determining the optimal transfer learning hyperparameters. The benefits of using a non-binary approach are supported by final results that come close to or exceed state of the art performance on a variety of tasks that have traditionally been more difficult for transfer learning.
翻译:使用数量较少的贴标签培训实例,对各种计算机愿景任务的现行标准是,从在图像网等大型图像分类数据集上预先培训的重量上微调。 应用转移学习和转移学习方法往往是僵硬的二进制。 模型要么经过预先培训,要么没有经过初步培训,要么没有经过初步培训。 模型培训前要么提高业绩,要么降低业绩,后者被定义为负转移。 应用L2-SP常规化,将加权减到其预培训的值,要么应用L2-SP常规化,或者将所有重量减到0。 本文对这些假设进行重新审查。 我们的建议基于广泛的经验评估,表明采用非双进制方法实现最佳结果。 (1) 实现每个单个数据集的最佳业绩需要谨慎调整,或者不是通常考虑的各种转移学习超进制,包括分数、不同层次不同的学习率和L2-SP和L2正规化。 (2) 最佳实践可以采用一系列衡量方法,即培训前的重量如何适应指标,以指导最佳的超进制的超进制数据。