NegMerge:用于机器遗忘的符号一致权重合并
NegMerge: Sign-Consensual Weight Merging for Machine Unlearning
AI总结:
本文提出 NegMerge 方法,通过聚合不同超参数微调模型的任务向量并仅保留符号一致元素,再取反合并向量实现机器遗忘,在多个数据集和骨干架构上以相似或更少计算资源超越现有方法。
摘要:
机器遗忘旨在从已训练模型中选择性移除特定知识。现有方法(如 Task Arithmetic)在遗忘集上微调模型以创建任务向量(即权重空间中的一个方向),并从原始模型权重中减去该向量。然而,其效果对超参数选择高度敏感,需要大量验证才能从众多微调候选中识别出最优向量。本文提出一种新方法,利用所有使用不同超参数训练的微调模型,而非仅选择单一模型。具体而言,我们通过仅保留具有一致共享符号的元素来聚合计算得到的任务向量。随后对合并后的任务向量取反,以在原始模型上诱导遗忘。在十二个数据集和四种骨干架构上的零样本与标准图像识别任务评估表明,我们的方法优于最先进方法,同时所需计算资源相似或更少。代码可在 https://github.com/naver-ai/negmerge 获取。
英文摘要:
Machine unlearning aims to selectively remove specific knowledge from a trained model. Existing approaches, such as Task Arithmetic, fine-tune the model on the forget set to create a task vector (i.e., a direction in weight space) for subtraction from the original model's weight. However, their effectiveness is highly sensitive to hyperparameter selection, requiring extensive validation to identify the optimal vector from many fine-tuned candidates. In this paper, we propose a novel method that utilizes all fine-tuned models trained with varying hyperparameters instead of a single selection. Specifically, we aggregate the computed task vectors by retaining only the elements with consistent shared signs. The merged task vector is then negated to induce unlearning on the original model. Evaluations on zero-shot and standard image recognition tasks across twelve datasets and four backbone architectures show that our approach outperforms state-of-the-art methods while requiring similar or fewer computational resources. Code is available at https://github.com/naver-ai/negmerge.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。