SEUF:对于混合专家大语言模型,遗忘一个专家足够吗?
SEUF: Is Unlearning One Expert Enough for Mixture-of-Experts LLMs?
AI总结:
针对MoE LLMs遗忘中的过度遗忘和效用下降问题,提出选定专家遗忘框架SEUF,通过专家归因和路由器锚定损失实现可控遗忘,在仅遗忘0.06%参数下显著提升遗忘质量和模型效用。
摘要:
近期LLM遗忘技术的进展在移除不良数据-模型影响的同时保留模型对合法知识的效用方面取得了显著成功。尽管取得了这些进展,稀疏混合专家(MoE)LLMs——LLM家族的一个关键子集——在遗忘背景下仍未被探索。鉴于MoE LLMs因其卓越性能而备受赞誉,我们提出疑问:如何在MoE LLMs上有效且高效地执行遗忘?我们的初步研究表明,MoE LLMs的动态路由特性带来了独特挑战,当应用现有遗忘方法时会导致过度遗忘、不可控的知识擦除以及显著的效用下降。为此,我们提出了一种新颖的选定专家遗忘框架(SEUF)。通过专家归因,遗忘集中于对指定知识最活跃参与的专家上。同时,对路由器施加锚定损失以稳定目标专家的激活状态,确保专注且可控的遗忘。SEUF兼容多种标准遗忘算法。大量实验表明,与标准遗忘算法相比,SEUF在各种基准和LLM架构上的MoE LLMs中将遗忘质量提升高达5%,模型效用提升35%,同时仅遗忘0.06%的模型参数。
英文摘要:
Recent advancements in LLMs unlearning have shown remarkable success in removing unwanted data-model influences while preserving the model's utility for legitimate knowledge. Despite these strides, sparse Mixture-of-Experts (MoE) LLMs--a key subset of the LLM family--have remained unexplored in the context of unlearning. As MoE LLMs are celebrated for their exceptional performance, we ask:How can unlearning be performed effectively and efficiently on MoE LLMs? Our pilot study shows that the dynamic routing nature of MoE LLMs introduces unique challenges, leading to excessive forgetting, uncontrolled knowledge erasure and substantial utility drops when existing unlearning methods are applied. To address this, we propose a novel Selected-Expert Unlearning Framework (SEUF). Through expert attribution, unlearning is concentrated on the most actively engaged experts for the specified knowledge. Concurrently, an anchor loss is applied to the router to stabilize the active state of this targeted expert, ensuring focused and controlled unlearning. SEUF is compatible with various standard unlearning algorithms. Extensive experiments demonstrate that SEUF enhances both forget quality up to 5% and model utility by 35% on MoE LLMs across various benchmarks and LLM architectures (compared to standard unlearning algorithms), while only unlearning 0.06% of the model parameters.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。