Behemoth:使用完全合成数据对LLM中的去学习进行基准测试
Behemoth: Benchmarking Unlearning in LLMs Using Fully Synthetic Data
AI总结:
Behemoth通过完全合成数据框架评估大语言模型中的去学习效果,揭示了模型编辑的挑战与改进方法。
摘要:
随着人工神经网络,特别是大语言模型的能力和质量迅速提升,它们越来越多地被应用于现实世界中,从客户服务到谷歌搜索。尽管它们经常做出事实性错误或不受欢迎的陈述,这种趋势激发了实际和学术界对模型编辑的兴趣,即通过调整模型的权重来修改与特定事实或事实集相关的查询的可能输出。这可能是为了修正一个事实或一组事实,例如修复训练数据中的常见错误,或者完全压制一个事实或一组事实,例如在危险知识的情况下。已经提出了多种方法来进行这样的编辑。然而,同时已显示此类模型编辑可能脆弱且不完整。此外,任何模型编辑方法的有效性都必然取决于模型训练的数据,因此,对训练数据分布和其在网络中存储方式的相互作用有良好的理解是可靠地进行模型编辑所必需且有益的。然而,使用在现实世界数据上训练的大型语言模型进行工作并不允许我们理解这种关系或充分衡量模型编辑的效果。因此,我们提出了Behemoth,一个完全合成数据生成框架。为了展示该框架的实用见解,我们探索了在简单表格数据中的模型编辑,展示了令人惊讶的发现,例如在某些情况下,限制更新秩会产生更有效的更新。代码可在https://github.com/IST-DASLab/behemoth.git上获得。
英文摘要:
As artificial neural networks, and specifically large language models, have improved rapidly in capabilities and quality, they have increasingly been deployed in real-world applications, from customer service to Google search, despite the fact that they frequently make factually incorrect or undesirable statements. This trend has inspired practical and academic interest in model editing, that is, in adjusting the weights of the model to modify its likely outputs for queries relating to a specific fact or set of facts. This may be done either to amend a fact or set of facts, for instance, to fix a frequent error in the training data, or to suppress a fact or set of facts entirely, for instance, in case of dangerous knowledge. Multiple methods have been proposed to do such edits. However, at the same time, it has been shown that such model editing can be brittle and incomplete. Moreover the effectiveness of any model editing method necessarily depends on the data on which the model is trained, and, therefore, a good understanding of the interaction of the training data distribution and the way it is stored in the network is necessary and helpful to reliably perform model editing. However, working with large language models trained on real-world data does not allow us to understand this relationship or fully measure the effects of model editing. We therefore propose Behemoth, a fully synthetic data generation framework. To demonstrate the practical insights from the framework, we explore model editing in the context of simple tabular data, demonstrating surprising findings that, in some cases, echo real-world results, for instance, that in some cases restricting the update rank results in a more effective update. The code is available at https://github.com/IST-DASLab/behemoth.git.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。