SHRED: 通过自蒸馏与对数势降低实现无保留集的去记忆
SHRED: Retain-Set-Free Unlearning via Self-Distillation with Logit Demotion
AI总结:
本文提出了一种无需保留集的去记忆方法SHRED,通过自蒸馏与对数势降低,在去记忆的同时保持模型的实用性,优于传统需要保留集的方法。
摘要:
针对大语言模型(LLMs)的机器去记忆问题,旨在选择性地移除记忆中的内容,如私人数据、受版权文本或危险知识,而无需昂贵的全量重新训练。现有大多数方法需要一个经过精心挑选的保留集以防止一般模型用途的灾难性退化,这会增加额外的数据依赖性,使部署复杂化。我们提出SHRED(通过高惊奇度的无保留集熵降低的自蒸馏),一种无需保留集的去记忆方法,基于一个关键洞察:并非所有遗忘集实例中的token都同等地包含记忆信息。高信息token集中了模型的记忆知识,而低信息token反映了一般语言能力。SHRED分为两个阶段。(1)选择:我们对遗忘集实例进行前向传递,收集每个token的自回归概率,并选择底部(最低概率,最高香农信息)作为遗忘位置;剩余位置保留为良性锚点。(2)训练:我们构建了修改的KL目标,降低记忆token在遗忘位置的logit,同时在良性位置保持原始分布。模型通过单一的顶部KL自蒸馏目标进行训练,同时驱动遗忘和实用性保持。我们评估了SHRED在四个标准去记忆基准上的表现,并证明其在遗忘效果和模型实用性之间建立了新的帕累托最优权衡,优于保留集依赖的方法。我们的分析显示,SHRED对重新学习攻击和成员推断攻击具有鲁棒性,并且在多次连续去记忆运行后仍能保持稳定的实用性。
英文摘要:
Machine unlearning for large language models (LLMs) aims to selectively remove memorized content such as private data, copyrighted text, or hazardous knowledge, without costly full retraining. Most existing methods require a retain set of curated examples to prevent catastrophic degradation of general model utility, creating an extra data dependency that complicates deployment. We propose SHRED (Self-distillation via High-surprisal-only Retain-set-free Entropy Demotion), a retain-set-free unlearning method built on a key insight: not all tokens within a forget set instance carry memorized information equally. High-information tokens concentrate the model's memorized knowledge, while low-information tokens reflect general language competence. SHRED operates in two stages. (1) Selection: We perform a forward pass on a forget set instance, collect per-token autoregressive probabilities, and select the bottom (lowest probability, highest Shannon information) as forget positions; the remaining positions are retained as benign anchors. (2) Training: We construct modified KL targets that demote the memorized token's logit at forget positions while preserving the original distribution at benign positions. The model is then trained via a single top KL self-distillation objective that simultaneously drives forgetting and utility preservation. We evaluate SHRED across four standard unlearning benchmarks and demonstrate that it establishes a new Pareto-optimal trade-off between forget efficacy and model utility, outperforming retain-set-dependent methods. Our analysis shows that SHRED is robust against relearning attacks and membership-inference attacks, and it maintains stable utility even after many sequential unlearning runs.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。