arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2410.06606cs.CLcs.LG
收藏

剖析大型语言模型中的微调遗忘

Dissecting Fine-Tuning Unlearning in Large Language Models

International Digital Economy Academy (IDEA)(国际数字经济学院(IDEA));South China University of Technology(华南理工大学);Columbia University(哥伦比亚大学);King Abdullah University of Science and Technology(阿卜杜拉国王科技大学)

Yihuai Hong, Yuelin Zou, Lijie Hu, Ziqian Zeng, Di Wang, Haiqin Yang

AI总结:

本研究通过激活修补和参数恢复实验,发现基于微调的遗忘方法并未真正擦除模型参数中的问题知识,而是改变知识检索过程,且该机制会不可避免地影响模型的全局行为。

摘要:

基于微调的遗忘方法在防止大型语言模型生成特定有害、敏感或受版权保护信息的同时保留整体能力方面占据主导地位。然而,这些方法的真实有效性尚不明确。在本研究中,我们通过激活修补和参数恢复实验,深入探讨了基于微调的遗忘的局限性。我们的发现表明,这些方法改变了模型的知识检索过程,进一步证明它们并未真正擦除嵌入模型参数中的问题知识。相反,模型最后一层MLP组件生成的系数是这些看似积极的遗忘效果的主要贡献者,在控制模型行为方面发挥着关键作用。此外,行为测试表明,这种遗忘机制不可避免地影响模型的全局行为,波及无关的知识或能力。代码发布于https://github.com/yihuaihong/Dissecting-FT-Unlearning。

英文摘要:

Fine-tuning-based unlearning methods prevail for preventing targeted harmful, sensitive, or copyrighted information within large language models while preserving overall capabilities. However, the true effectiveness of these methods is unclear. In this work, we delve into the limitations of fine-tuning-based unlearning through activation patching and parameter restoration experiments. Our findings reveal that these methods alter the model's knowledge retrieval process, providing further evidence that they do not genuinely erase the problematic knowledge embedded in the model parameters. Instead, the coefficients generated by the MLP components in the model's final layer are the primary contributors to these seemingly positive unlearning effects, playing a crucial role in controlling the model's behaviors. Furthermore, behavioral tests demonstrate that this unlearning mechanism inevitably impacts the global behavior of the models, affecting unrelated knowledge or capabilities. The code is released at https://github.com/yihuaihong/Dissecting-FT-Unlearning.

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

↑