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

利用参数化知识轨迹进行遗忘的内在测试

Intrinsic Test of Unlearning Using Parametric Knowledge Traces

New York University(纽约大学);University of Toronto(多伦多大学);International Digital Economy Academy (IDEA), China(国际数字经济学院(IDEA));Bar-Ilan University(巴伊兰大学);Tel Aviv University(特拉维夫大学)

Yihuai Hong, Lei Yu, Haiqin Yang, Shauli Ravfogel, Mor Geva

AI总结:

针对大语言模型遗忘评估仅依赖行为测试、未监测参数内残留知识的问题,提出基于词汇投影的内部评估方法,构建含概念参数知识轨迹的ConceptVectors基准,发现现有方法仅推理时抑制概念,直接消融概念向量可有效移除知识并降低对抗风险。

摘要:

大语言模型(LLM)中特定概念的“遗忘”任务因在缓解有害、隐私或错误信息生成等不良模型行为方面的重要性,近期受到广泛关注。当前评估遗忘方法的协议主要依赖行为测试,未监测模型参数内已遗忘知识的存在情况,这类残留知识可被对抗性利用以在遗忘后恢复被擦除的信息。我们认为遗忘也应通过考察被遗忘概念的参数化知识轨迹变化进行内部评估。为此,我们提出一种通用评估方法,利用词汇投影检查模型参数中编码的概念。我们用该方法定位“概念向量”——即编码具体概念的参数向量,并构建了ConceptVectors基准数据集,包含数百个常见概念及其在两个开源LLM中的参数化知识轨迹。在ConceptVectors上的评估显示,现有遗忘方法对概念向量的影响极小,大多仅在推理时抑制它们,而直接消融这些向量可证明能移除相关知识,并显著降低模型受对抗操纵的可能性。我们的结果凸显了基于行为的遗忘评估的局限性,呼吁未来研究纳入基于参数的评估。为支持这一点,我们在https://github.com/yihuaihong/ConceptVectors发布了代码和基准。

英文摘要:

The task of "unlearning" certain concepts in large language models (LLMs) has attracted immense attention recently, due to its importance in mitigating undesirable model behaviours, such as the generation of harmful, private, or incorrect information. Current protocols to evaluate unlearning methods largely rely on behavioral tests, without monitoring the presence of unlearned knowledge within the model's parameters. This residual knowledge can be adversarially exploited to recover the erased information post-unlearning. We argue that unlearning should also be evaluated internally, by considering changes in the parametric knowledge traces of the unlearned concepts. To this end, we propose a general evaluation methodology that leverages vocabulary projections to inspect concepts encoded in model parameters. We use this approach to localize "concept vectors" - parameter vectors that encode concrete concepts - and construct ConceptVectors, a benchmark dataset containing hundreds of common concepts and their parametric knowledge traces within two open-source LLMs. Evaluation on ConceptVectors shows that existing unlearning methods minimally impact concept vectors and mostly suppress them during inference, while directly ablating these vectors demonstrably removes the associated knowledge and significantly reduces the model's susceptibility to adversarial manipulation. Our results highlight limitations in behavioral-based unlearning evaluations and call for future work to include parameter-based evaluations. To support this, we release our code and benchmark at https://github.com/yihuaihong/ConceptVectors.

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

↑