用合成数据评测大模型遗忘能力,揭示编辑效果与更新秩的反直觉关系。
Behemoth: Benchmarking Unlearning in LLMs Using Fully Synthetic Data
- 构建全合成数据框架,可控模拟训练数据分布
- 发现限制更新秩反而提升编辑效果,与真实场景一致
- 适合研究模型可编辑性、安全可控性的研究人员
随着大语言模型能力迅速提升,其在客服、搜索引擎等实际应用中广泛部署,但常产生事实错误或不当陈述。这推动了模型编辑的研究,即通过调整模型权重来修正特定事实或抑制危险知识。尽管已有多种编辑方法,但现有研究发现这些方法存在脆弱性和不完整性。模型编辑效果高度依赖训练数据分布,因此理解数据分布与网络存储机制的关系对可靠编辑至关重要。然而,使用真实世界数据难以充分揭示这种关系或准确评估编辑效果。为此,本文提出Behemoth——一个完全基于合成数据的生成框架。通过在简单表格数据上探索模型编辑,我们发现了令人意外的规律:在某些情况下,限制更新秩反而能实现更有效的编辑,这一现象与真实世界结果一致。代码已开源:https://github.com/IST-DASLab/behemoth.git。
原文摘要 · Abstract (English)
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.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。