arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2304.00426cs.CV
收藏

基于幻想的学习:面向少样本类增量学习的语义感知虚拟对比约束

Learning with Fantasy: Semantic-Aware Virtual Contrastive Constraint for Few-Shot Class-Incremental Learning

Peking University(北京大学);National University of Singapore(新加坡国立大学);Peng Cheng Laboratory(鹏城实验室)

Zeyin Song, Yifan Zhao, Yujun Shi, Peixi Peng, Li Yuan, Yonghong Tian

AI总结:

针对少样本类增量学习中交叉熵损失导致类分离差及泛化弱的问题,提出SAVC模型,通过引入预定义变换生成的虚拟类至监督对比学习,显著提升了基础类分离与新类泛化,在三个基准数据集上达到SOTA。

摘要:

少样本类增量学习(FSCIL)旨在从有限样本中持续学习分类新类,同时不遗忘旧类。处理FSCIL的主流框架是首先在基础会话中采用交叉熵(CE)损失进行训练,然后冻结特征提取器以适应新类。然而,在本工作中,我们发现CE损失不适用于基础会话训练,因为它在表征方面存在较差的类分离,这进一步降低了对新类的泛化能力。缓解此问题的一个诱人方法是在基础会话中应用额外的朴素监督对比学习(SCL)。不幸的是,我们发现尽管SCL能在不同基础类之间创造稍好的表征分离,但仍难以分离基础类和新类。受此观察启发,我们提出了语义感知虚拟对比模型(SAVC),这是一种通过向SCL引入虚拟类来促进新类与基础类分离的新方法。这些通过预定义变换生成的虚拟类,不仅作为表征空间中未见类的占位符,还提供多样的语义信息。通过在虚拟类构建的幻想空间中学习识别与对比,我们的SAVC显著提升了基础类分离和新类泛化能力,在三个广泛使用的FSCIL基准数据集上实现了新的最先进性能。代码可在 https://github.com/zysong0113/SAVC 获取。

英文摘要:

Few-shot class-incremental learning (FSCIL) aims at learning to classify new classes continually from limited samples without forgetting the old classes. The mainstream framework tackling FSCIL is first to adopt the cross-entropy (CE) loss for training at the base session, then freeze the feature extractor to adapt to new classes. However, in this work, we find that the CE loss is not ideal for the base session training as it suffers poor class separation in terms of representations, which further degrades generalization to novel classes. One tempting method to mitigate this problem is to apply an additional naive supervised contrastive learning (SCL) in the base session. Unfortunately, we find that although SCL can create a slightly better representation separation among different base classes, it still struggles to separate base classes and new classes. Inspired by the observations made, we propose Semantic-Aware Virtual Contrastive model (SAVC), a novel method that facilitates separation between new classes and base classes by introducing virtual classes to SCL. These virtual classes, which are generated via pre-defined transformations, not only act as placeholders for unseen classes in the representation space, but also provide diverse semantic information. By learning to recognize and contrast in the fantasy space fostered by virtual classes, our SAVC significantly boosts base class separation and novel class generalization, achieving new state-of-the-art performance on the three widely-used FSCIL benchmark datasets. Code is available at: https://github.com/zysong0113/SAVC.

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

↑