Skip to main content
QUICK REVIEW

[论文解读] Lifelong Learning and Selective Forgetting via Contrastive Strategy

Lianlei Shan, Wenzhang Zhou|arXiv (Cornell University)|May 28, 2024
Higher Education Learning PracticesSocial Sciences被引用 3
一句话总结

本文提出了一种基于对比学习的持续学习框架,实现选择性遗忘(LSF),其中被保留的类别在特征空间中被紧凑化,而被删除的类别则被分散,以实现快速、直接的遗忘。该方法通过在特征层面操作,在无需外部输入(如记忆编码)的情况下,实现了高效、非干扰性的记忆与遗忘,从而在分类和分割基准上取得了最先进性能。

ABSTRACT

Lifelong learning aims to train a model with good performance for new tasks while retaining the capacity of previous tasks. However, some practical scenarios require the system to forget undesirable knowledge due to privacy issues, which is called selective forgetting. The joint task of the two is dubbed Learning with Selective Forgetting (LSF). In this paper, we propose a new framework based on contrastive strategy for LSF. Specifically, for the preserved classes (tasks), we make features extracted from different samples within a same class compacted. And for the deleted classes, we make the features from different samples of a same class dispersed and irregular, i.e., the network does not have any regular response to samples from a specific deleted class as if the network has no training at all. Through maintaining or disturbing the feature distribution, the forgetting and memory of different classes can be or independent of each other. Experiments are conducted on four benchmark datasets, and our method acieves new state-of-the-art.

研究动机与目标

  • 为解决持续学习中的灾难性遗忘问题,同时因隐私顾虑而实现对特定类别的有选择性遗忘。
  • 克服现有方法依赖外部输入(如记忆编码)或间接损失调节的局限性。
  • 直接操作特征分布,实现在特征提取层面的高效、通用且快速的遗忘。
  • 确保删除类别的遗忘不会降低保留类别的性能。
  • 开发一种可泛化的框架,适用于包括分割在内的多种深度学习任务。

提出的方法

  • 该方法使用对比学习来紧凑化保留类别内的特征,增强样本间的相似性。
  • 对于被删除的类别,应用类内分散损失以打破特征的紧凑性,使网络表现得如同未经训练一般。
  • 该框架采用三种关键损失:类内紧凑性($\mathcal{L}_{in}^{p}$)、类间分离性($\mathcal{L}_{ex}^{p}$)以及类内分散性($\mathcal{L}_{in}^{d}$)以实现遗忘。
  • 在更高维的嵌入空间中应用额外的分散损失($\mathcal{L}_{ex}^{d}$),以进一步破坏被删除类别特征的结构。
  • 该方法直接作用于特征提取器,避免依赖分类头损失或外部输入。
  • 超参数 $\lambda_p$ 和 $\lambda_d$ 平衡记忆与遗忘目标,最优性能出现在1:1比例时。

实验结果

研究问题

  • RQ1直接操纵特征分布是否能够实现在持续学习中高效且非干扰的选择性遗忘?
  • RQ2分散被删除类别的特征如何影响保留类别的性能?
  • RQ3所提出的对比策略是否能在分类与分割任务中均取得最先进结果?
  • RQ4在训练目标中,记忆与遗忘损失的最佳平衡比例如何?
  • RQ5在更高维特征空间中应用分散是否能提升遗忘性能?

主要发现

  • 所提方法在四个基准数据集上均取得了新的最先进性能,涵盖分类与分割任务。
  • 添加 $\mathcal{L}_{in}^{d}$ 显著提升了遗忘性能,而省略 $\mathcal{L}_{in}^{p}$ 和 $\mathcal{L}_{ex}^{p}$ 则导致保留类别性能下降。
  • $\mathcal{L}_{in}^{p}$、$\mathcal{L}_{ex}^{p}$ 与 $\mathcal{L}_{in}^{d}$ 的组合确保了稳定记忆与有效遗忘。
  • 在更高维嵌入空间($\mathbf{F}_{n}^{*}$ 与 $\mathbf{F}_{n}^{**}$)中应用分散损失可提升遗忘效果,尽管在深层特征中效果减弱。
  • 敏感性分析表明,当 $\lambda_p$ 与 $\lambda_d$ 的比例为1:1时性能最优,实现了记忆与遗忘的平衡。
  • 该方法避免了误报,并在选择性遗忘后仍能保持保留类别上的高准确率。

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。