arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2603.01285cs.LGcs.AIcs.CL
收藏

注意力平滑是删除学习的全部需求

Attention Smoothing Is All You Need For Unlearning

Department of Computer Science, Wayne State University(韦恩州立大学计算机科学系);Department of Computer Science and Engineering, Michigan State University(密歇根州立大学计算机科学与工程系);Institute for AI and Data Science, Wayne State University(韦恩州立大学人工智能与数据科学研究所)

Saleh Zare Zade, Xiangyu Zhou, Sijia Liu, Dongxiao Zhu

AI总结:

ASU通过注意力平滑技术有效删除学习,减少记忆内容的同时保持响应连贯性,优于现有方法。

摘要:

大型语言模型容易记住敏感、受版权保护或危险的内容,这带来了显著的隐私和法律问题。从头开始重新训练在计算上不可行,而当前的删除学习方法在遗忘和效用之间存在不稳定的权衡,经常在遗忘提示下产生不连贯的输出,并由于注意力中词汇级和语义级关联的持续存在而无法泛化。我们提出了注意力平滑删除学习(ASU),一种原理性的框架,将删除学习视为从由模型自身注意力导出的遗忘教师进行的自我蒸馏。通过增加softmax温度,ASU使注意力分布平坦化,并直接抑制负责重建记忆知识的词汇级和语义级关联。这导致了一个有界优化目标,能够擦除事实信息,同时在遗忘提示下的响应保持连贯性。在TOFU、MUSE和WMDP上的实证评估,以及跨问答和文本完成的现实世界和连续删除学习场景中,证明了ASU在大多数删除学习场景中优于基线,实现了鲁棒的删除学习,同时对模型效用的损失最小。

英文摘要:

Large Language Models are prone to memorizing sensitive, copyrighted, or hazardous content, posing significant privacy and legal concerns. Retraining from scratch is computationally infeasible, whereas current unlearning methods exhibit unstable trade-offs between forgetting and utility, frequently producing incoherent outputs on forget prompts and failing to generalize due to the persistence of lexical-level and semantic-level associations in attention. We propose Attention Smoothing Unlearning (ASU), a principled framework that casts unlearning as self-distillation from a forget-teacher derived from the model's own attention. By increasing the softmax temperature, ASU flattens attention distributions and directly suppresses the lexical-level and semantic-level associations responsible for reconstructing memorized knowledge. This results in a bounded optimization objective that erases factual information yet maintains coherence in responses to forget prompts. Empirical evaluation on TOFU, MUSE, and WMDP, along with real-world and continual unlearning scenarios across question answering and text completion, demonstrates that ASU outperforms the baselines for most unlearning scenarios, delivering robust unlearning with minimal loss of model utility.

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

↑