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

LegoNet:一种快速精确的遗忘体系结构

LegoNet: A Fast and Exact Unlearning Architecture

University of Chinese Academy of Sciences(中国科学院大学)

Sihao Yu, Fei Sun, Jiafeng Guo, Ruqing Zhang, Xueqi Cheng

摘要:

机器遗忘旨在消除特定训练样本对训练模型中已删除请求的影响。在删除后保留的数据上重新训练模型是一种有效的方法,但由于模型参数和重新训练样本的数量庞大,效率不高。为了加快速度,一个自然的方法是减少这些参数和样本。然而,这样的策略通常会导致模型性能的损失,这带来了在保持可接受的性能的同时提高遗忘效率的挑战。在本文中,我们提出了一种新的网络,即\textit{LegoNet},它采用了"固定编码器+多适配器“的框架。我们修复了LegoNet的编码器~(\ie表示学习的骨干),以减少在unlearning过程中需要重新训练的参数。由于编码器占据了模型参数的主要部分,因此显著提高了学习效率。然而,根据经验固定编码器会导致显著的性能下降。为了补偿性能损失,我们采用了多个适配器的集成,这些适配器是独立的子模型,用于通过编码~(\ie编码器的输出)来推断预测。此外,我们设计了一个激活机制的适配器,以进一步权衡遗忘效率对模型性能。这种机制保证每个样本只能影响很少的适配器,因此在unlearning期间,需要重新训练的参数和样本都减少了。实验结果表明,LegoNet在保持可接受的性能的同时,实现了快速准确的去学习,综合性能优于去学习基线。

英文摘要:

Machine unlearning aims to erase the impact of specific training samples upon deleted requests from a trained model. Re-training the model on the retained data after deletion is an effective but not efficient way due to the huge number of model parameters and re-training samples. To speed up, a natural way is to reduce such parameters and samples. However, such a strategy typically leads to a loss in model performance, which poses the challenge that increasing the unlearning efficiency while maintaining acceptable performance. In this paper, we present a novel network, namely \textit{LegoNet}, which adopts the framework of ``fixed encoder + multiple adapters''. We fix the encoder~(\ie the backbone for representation learning) of LegoNet to reduce the parameters that need to be re-trained during unlearning. Since the encoder occupies a major part of the model parameters, the unlearning efficiency is significantly improved. However, fixing the encoder empirically leads to a significant performance drop. To compensate for the performance loss, we adopt the ensemble of multiple adapters, which are independent sub-models adopted to infer the prediction by the encoding~(\ie the output of the encoder). Furthermore, we design an activation mechanism for the adapters to further trade off unlearning efficiency against model performance. This mechanism guarantees that each sample can only impact very few adapters, so during unlearning, parameters and samples that need to be re-trained are both reduced. The empirical experiments verify that LegoNet accomplishes fast and exact unlearning while maintaining acceptable performance, synthetically outperforming unlearning baselines.

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

↑