arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2102.03983cs.CVcs.AIcs.LG
收藏

部分优于全部:重新审视少样本学习的微调策略

Partial Is Better Than All: Revisiting Fine-tuning Strategy for Few-shot Learning

Carnegie Mellon University(卡内基梅隆大学);Hong Kong University of Science and Technology(香港科技大学);Inception Institute of Artificial Intelligence(Inception人工智能研究院)

Zhiqiang Shen, Zechun Liu, Jie Qin, Marios Savvides, Kwang-Ting Cheng

摘要:

少样本学习的目标是学习一个分类器,该分类器可以从带有标签的有限支持数据中识别出不可见的类。该任务的常见做法是首先在基本集合上训练模型,然后通过微调将其转换为新的类(这里微调过程被定义为将知识从基本数据转换为新数据,即学习在Few-Shot场景中进行转换)。或者元学习。然而,由于基础类与新集合没有重叠,简单地从基础数据转移整个知识不是最佳解决方案,因为基础模型中的一些知识可能对新类有偏见甚至有害。在本文中,我们提出通过冻结或微调基础模型中的特定层来传输部分知识。具体地,如果选择对层进行微调,则将对层施加不同的学习率,以控制保留的可转移性的程度。为了确定哪些层要重铸和什么值的学习率,他们,我们引入了一种基于进化搜索的方法,是有效的,同时定位目标层,并确定其各自的学习率。我们在CUB和mini-ImageNet上进行了大量的实验,以证明我们所提出的方法的有效性。它在元学习和非元框架上都实现了最先进的性能。此外,我们将我们的方法扩展到传统的预训练+微调范式,并获得一致的改进。

英文摘要:

The goal of few-shot learning is to learn a classifier that can recognize unseen classes from limited support data with labels. A common practice for this task is to train a model on the base set first and then transfer to novel classes through fine-tuning (Here fine-tuning procedure is defined as transferring knowledge from base to novel data, i.e. learning to transfer in few-shot scenario.) or meta-learning. However, as the base classes have no overlap to the novel set, simply transferring whole knowledge from base data is not an optimal solution since some knowledge in the base model may be biased or even harmful to the novel class. In this paper, we propose to transfer partial knowledge by freezing or fine-tuning particular layer(s) in the base model. Specifically, layers will be imposed different learning rates if they are chosen to be fine-tuned, to control the extent of preserved transferability. To determine which layers to be recast and what values of learning rates for them, we introduce an evolutionary search based method that is efficient to simultaneously locate the target layers and determine their individual learning rates. We conduct extensive experiments on CUB and mini-ImageNet to demonstrate the effectiveness of our proposed method. It achieves the state-of-the-art performance on both meta-learning and non-meta based frameworks. Furthermore, we extend our method to the conventional pre-training + fine-tuning paradigm and obtain consistent improvement.

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

↑