arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1906.00820cs.LGstat.ML
收藏

单向原型网络

One-Way Prototypical Networks

German Aerospace Center (DLR)(德国航空航天中心(DLR))

Anna Kruspe

摘要:

Few-Shot模型是近年来研究的热点。它们提供了一种可能性,可以使用每个类的少数例子来确定看不见的例子的类属性。这些模型在广泛的类及其各自的示例上进行训练,在此过程中学习决策度量。Few-Shot模型的类型包括匹配网络和原型网络。我们展示了一种新的方法来训练原型Few-Shot模型,只需一个类。这些模型有能力预测一个看不见的查询属于一组例子,没有任何给定的反例的可能性。这里的困难在于无法通过softmax计算到其他类的相对距离。我们通过引入一个以零为中心的“空类”,并使用批量归一化强制中心化来解决这个问题。在常用的Omniglot数据集上训练,我们在匹配的测试集上获得了.98的分类准确率,在不匹配的MNIST数据上获得了.8的分类准确率。在更复杂的MiniImageNet数据集上,测试准确率为0.8。此外,我们提出了一种新的高斯层的距离计算在一个原型网络,它考虑了支持样本的分布,而不仅仅是他们的质心。这种扩展显示出有前途的结果时,更高数量的支持的例子。

英文摘要:

Few-shot models have become a popular topic of research in the past years. They offer the possibility to determine class belongings for unseen examples using just a handful of examples for each class. Such models are trained on a wide range of classes and their respective examples, learning a decision metric in the process. Types of few-shot models include matching networks and prototypical networks. We show a new way of training prototypical few-shot models for just a single class. These models have the ability to predict the likelihood of an unseen query belonging to a group of examples without any given counterexamples. The difficulty here lies in the fact that no relative distance to other classes can be calculated via softmax. We solve this problem by introducing a "null class" centered around zero, and enforcing centering with batch normalization. Trained on the commonly used Omniglot data set, we obtain a classification accuracy of .98 on the matched test set, and of .8 on unmatched MNIST data. On the more complex MiniImageNet data set, test accuracy is .8. In addition, we propose a novel Gaussian layer for distance calculation in a prototypical network, which takes the support examples' distribution rather than just their centroid into account. This extension shows promising results when a higher number of support examples is available.

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

↑