arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2203.16588cs.CVcs.LG
收藏

约束Few-Shot类增量学习

Constrained Few-shot Class-incremental Learning

IBM Research-Zurich(IBM苏黎世研究院);ETH Zurich(苏黎世联邦理工学院)

Michael Hersche, Geethan Karunaratne, Giovanni Cherubini, Luca Benini, Abu Sebastian, Abbas Rahimi

摘要:

从新的数据中不断学习新的类而不忘记旧类的先前知识是一个非常具有挑战性的研究问题。此外,这种学习必须遵守某些内存和计算约束,例如(i)每个类的训练样本仅限于几个,(ii)学习新类的计算成本保持不变,以及(iii)模型的内存占用最多与观察到的类的数量线性增长。为了满足上述限制,我们提出了C-FSCIL,它在架构上由一个冻结的元学习特征提取器,一个可训练的固定大小的全连接层,以及一个可动态增长的内存组成,该内存存储与遇到的类的数量一样多的向量。C-FSCIL提供了三种更新模式,在学习新类的准确性和计算内存成本之间进行权衡。C-FSCIL利用超维嵌入,允许连续表达比向量空间中的固定维度更多的类,并且干扰最小。类向量表示的质量进一步提高对齐它们准正交彼此借助于新的损失函数。在CIFAR 100、miniImageNet和Omniglot数据集上的实验表明,C-FSCIL在精度和压缩方面优于基线。它还可以扩展到在这个Few-Shot设置中尝试过的最大问题大小,在1200个基本类的基础上学习423个新类,准确率下降不到1.6%。我们的代码可在https://github.com/IBM/constrained-FSCIL上获得。

英文摘要:

Continually learning new classes from fresh data without forgetting previous knowledge of old classes is a very challenging research problem. Moreover, it is imperative that such learning must respect certain memory and computational constraints such as (i) training samples are limited to only a few per class, (ii) the computational cost of learning a novel class remains constant, and (iii) the memory footprint of the model grows at most linearly with the number of classes observed. To meet the above constraints, we propose C-FSCIL, which is architecturally composed of a frozen meta-learned feature extractor, a trainable fixed-size fully connected layer, and a rewritable dynamically growing memory that stores as many vectors as the number of encountered classes. C-FSCIL provides three update modes that offer a trade-off between accuracy and compute-memory cost of learning novel classes. C-FSCIL exploits hyperdimensional embedding that allows to continually express many more classes than the fixed dimensions in the vector space, with minimal interference. The quality of class vector representations is further improved by aligning them quasi-orthogonally to each other by means of novel loss functions. Experiments on the CIFAR100, miniImageNet, and Omniglot datasets show that C-FSCIL outperforms the baselines with remarkable accuracy and compression. It also scales up to the largest problem size ever tried in this few-shot setting by learning 423 novel classes on top of 1200 base classes with less than 1.6% accuracy drop. Our code is available at https://github.com/IBM/constrained-FSCIL.

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

↑