[论文解读] Prototype-Sample Relation Distillation: Towards Replay-Free Continual Learning
该论文提出原型-样本关系蒸馏(PRD),一种无需回放的持续学习方法,通过一种新颖的蒸馏损失,在共享嵌入空间中保持旧类别原型与新样本之间的相对相似性,从而维持类原型。PRD在无需存储任何先前任务数据的情况下,在任务增量学习和类别增量学习中均实现了最先进性能,在Split-CIFAR100和ImageNet-32等基准测试中甚至优于基于回放的方法。
In Continual learning (CL) balancing effective adaptation while combating catastrophic forgetting is a central challenge. Many of the recent best-performing methods utilize various forms of prior task data, e.g. a replay buffer, to tackle the catastrophic forgetting problem. Having access to previous task data can be restrictive in many real-world scenarios, for example when task data is sensitive or proprietary. To overcome the necessity of using previous tasks' data, in this work, we start with strong representation learning methods that have been shown to be less prone to forgetting. We propose a holistic approach to jointly learn the representation and class prototypes while maintaining the relevance of old class prototypes and their embedded similarities. Specifically, samples are mapped to an embedding space where the representations are learned using a supervised contrastive loss. Class prototypes are evolved continually in the same latent space, enabling learning and prediction at any point. To continually adapt the prototypes without keeping any prior task data, we propose a novel distillation loss that constrains class prototypes to maintain relative similarities as compared to new task data. This method yields state-of-the-art performance in the task-incremental setting, outperforming methods relying on large amounts of data, and provides strong performance in the class-incremental setting without using any stored data points.
研究动机与目标
- 在不依赖回放缓冲区或存储的任务数据的前提下,解决持续学习中的灾难性遗忘问题。
- 克服现有无回放方法在长任务序列中遗忘严重、性能下降的局限性。
- 通过监督对比损失实现强大的表示学习,以保持旧任务的有效特征。
- 开发一种机制,以保留旧类别原型相对于新样本的相对排序,确保学习过程的稳定与可塑性。
- 在无需任何先前数据存储的前提下,在任务增量和类别增量设置中均实现最先进性能。
提出的方法
- 使用监督对比损失在共享嵌入空间中学习鲁棒且泛化能力强的表示。
- 在相同的潜在空间中维护每个任务的动态类别原型,并通过增量方式更新,无需存储数据。
- 引入一种新颖的蒸馏损失,以保留新任务样本与旧类别原型之间的相对相似性排序。
- 最小化样本上Softmax分布的变化,以维持原型的相对排序,确保旧知识保持相关性。
- 通过联合目标(结合对比损失与原型关系蒸馏)端到端训练模型。
- 在Split-CIFAR100和ImageNet-32等多个基准数据集上,将该方法应用于任务增量和类别增量设置。
实验结果
研究问题
- RQ1无回放的持续学习方法能否实现与基于回放的基线方法相当或更优的性能?
- RQ2基于原型的分类方法在不存储历史数据的情况下,能否有效维持旧任务的性能?
- RQ3保留原型与新样本之间相对相似性的程度在多大程度上能减少遗忘?
- RQ4能否将通过监督对比损失实现的强大表示学习与原型蒸馏相结合,以同时提升学习的可塑性与稳定性?
- RQ5所提出的方法在任务增量和类别增量设置下,是否能在多种数据集和不同任务序列长度上实现良好泛化?
主要发现
- PRD在Split-CIFAR100和ImageNet-Subset上实现了最先进累积增量准确率,优于所有无回放和基于回放的基线方法。
- 在包含200个任务的ImageNet-32数据集上,PRD表现出显著低于微调方法和强基线方法的表示遗忘率,且在整个任务序列中对首个任务的性能保持优异。
- 在CIFAR-100上,PRD在所有评估方法中保持最低的遗忘率,略优于使用大容量回放缓冲区的ER-M50方法。
- 该方法展现出强大的可塑性,当前任务准确率始终高于EWC和ER-M50,同时在旧任务上保持高稳定性。
- PRD在无任何存储数据的类别增量设置下表现优异,且在结合额外回放样本时可进一步提升性能。
- 线性探测评估表明,PRD有效减少了表示层面的遗忘,表明模型内部表示对持续学习具有鲁棒性。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。