Few-shot learning (FSL) aims to generate a classifier using limited labeled examples. Many existing works take the meta-learning approach, constructing a few-shot learner that can learn from few-shot examples to generate a classifier. Typically, the few-shot learner is constructed or meta-trained by sampling multiple few-shot tasks in turn and optimizing the few-shot learner's performance in generating classifiers for those tasks. The performance is measured by how well the resulting classifiers classify the test (i.e., query) examples of those tasks. In this paper, we point out two potential weaknesses of this approach. First, the sampled query examples may not provide sufficient supervision for meta-training the few-shot learner. Second, the effectiveness of meta-learning diminishes sharply with the increasing number of shots. To resolve these issues, we propose a novel meta-training objective for the few-shot learner, which is to encourage the few-shot learner to generate classifiers that perform like strong classifiers. Concretely, we associate each sampled few-shot task with a strong classifier, which is trained with ample labeled examples. The strong classifiers can be seen as the target classifiers that we hope the few-shot learner to generate given few-shot examples, and we use the strong classifiers to supervise the few-shot learner. We present an efficient way to construct the strong classifier, making our proposed objective an easily plug-and-play term to existing meta-learning based FSL methods. We validate our approach, LastShot, in combinations with many representative meta-learning methods. On several benchmark datasets, our approach leads to a notable improvement across a variety of tasks. More importantly, with our approach, meta-learning based FSL methods can outperform non-meta-learning based methods at different numbers of shots.
翻译:少见的学习( FSL) 旨在利用有限的标签示例生成一个分类器。 许多现有工作都采用元学习方法, 构建一个能从少见的例子中学习的少见的学习者, 以生成一个分类器。 通常, 少见的学习者通过取样多个少见的任务来构建或进行元训练。 为了解决这些问题, 我们为少见的学习者提出一个新的元训练目标, 目的是鼓励少见的学习者将测试( 查询) 方法( 查询) 中的这些任务示例进行更好的分类。 在本文中, 我们指出了这一方法的两个潜在弱点。 首先, 抽样查询实例可能无法为少见的学习者提供元培训。 其次, 微弱的学习者的效力会随着射击次数的增加而急剧下降。 为了解决这些问题, 我们为少见的学习者提出了一个新的元训练目标, 我们的当前方法可以鼓励少见的学习者 。 具体地说, 我们将每份抽样任务都与一个强有力的分类者联系起来, 并且用一个更强的精细的精细的精细的 。