arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2201.03529cs.LGcs.CV
收藏

Head2Toe:利用中间表示实现更好的迁移学习

Head2Toe: Utilizing Intermediate Representations for Better Transfer Learning

Google Research(谷歌研究院)

Utku Evci, Vincent Dumoulin, Hugo Larochelle, Michael C. Mozer

摘要:

迁移学习方法旨在使用在数据丰富的源域上预训练的模型来提高数据稀缺目标域的性能。线性探测是一种具有成本效益的策略,它涉及冻结源模型并为目标域训练一个新的分类头。这种策略的性能优于一种更昂贵但最先进的方法-将源模型的所有参数微调到目标域-可能是因为微调允许模型利用中间层的有用信息,否则这些信息将被后来的预训练层丢弃。我们探讨的假设,这些中间层可能被直接利用。我们提出了一种方法,头到脚探测(头到脚),从源模型的所有层中选择功能,训练目标域的分类头。在对VTAB-1 k的评估中,Head 2 Toe与平均微调获得的性能相匹配,同时将训练和存储成本降低数百倍或更多,但关键是,对于分发外传输,Head 2 Toe优于微调。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑