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

模型遗忘目标因语言功能而异

Model Unlearning Objectives Vary for Distinct Language Functions

Pennsylvania State University(宾夕法尼亚州立大学);Scale AI

Berk Atil, Vipul Gupta, Rebecca J. Passonneau

AI总结:

本文提出针对不同语言功能(危险知识遗忘和毒性遗忘)应设计不同的遗忘方法,并分别提出基于余弦的元学习变体RMU和多层目标方法,在多个7-8B模型上取得良好效果。

摘要:

大型语言模型(LLMs)在预训练过程中会学习到不良特性,包括危险知识和有毒文本生成。正如后训练使用不同的目标来塑造不同的行为,我们认为遗忘方法应针对所涉及的语言功能进行设计。为此,我们考虑了两个机制上不同的遗忘目标:危险知识遗忘和毒性遗忘。对于危险知识,我们引入了基于余弦的元学习变体RMU。对于毒性,我们提出了一种基于层特定探针方向的多层目标。在四个开源7-8B模型上,我们的方法基于两种遗忘类型的独特训练目标取得了强劲结果。总体而言,我们的结果表明,遗忘应作为一个问题族来研究,类似于LLM后训练的多种类型。

英文摘要:

Large language models (LLMs) learn undesirable properties during pretraining, including dangerous knowledge and toxic text generation. Just as post-training uses different objectives to shape different behaviors, we argue that unlearning methods should be designed for the language function at issue. To study this, we consider two mechanistically distinct unlearning goals, dangerous-knowledge unlearning and toxicity unlearning. For dangerous knowledge, we introduce a cosine-based, meta-learned variant of RMU. For toxicity, we propose a multi-layer objective based on layer-specific probe directions. Across four open-source 7-8B models, our methods achieve strong results, based on distinct training objectives for the two types of unlearning. Overall, our results suggest that unlearning should be studied as a family of problems, analogous to the multiple types of LLM post-training.

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

↑