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

数据互联性如何塑造大语言模型遗忘:一种结构化遗忘视角

How Data Inter-connectivity Shapes LLMs Unlearning: A Structural Unlearning Perspective

University of Cambridge(剑桥大学);Meta

Xinchi Qiu, William F. Shen, Yihong Chen, Meghdad Kurmanji, Nicola Cancedda, Pontus Stenetorp, Nicholas D. Lane

AI总结:

本文提出PISTOL结构化数据集构建方法,揭示数据互联性对LLM遗忘的影响,发现互联性越强、知识图谱越密,遗忘难度越大,且领域偏斜时难以平衡各领域保持性能。

摘要:

虽然从大语言模型(LLMs)中遗忘知识正受到越来越多的关注,但一个重要方面仍未得到探索。现有方法和基准假设待遗忘的数据点是相互独立的,忽略了它们之间的互联性——这是现实世界数据结构的一个基本特征。在本文中,我们提出了PISTOL,一种用于构建结构化数据集的方法。PISTOL利用契约关系固有的结构化特性,提供了几个关键优势。首先,它能够深入洞察结构化数据对遗忘效果的影响。其次,它提供了精确且简洁的真值,以便进行更清晰的评估。第三,其属性生成不需要来自预训练LLMs的输入,从而减轻了混淆风险。利用通过PISTOL合成的数据集,我们展示了数据互联性如何影响LLM遗忘。具体而言,(a)在预训练模型和微调模型中,遗忘难度随着数据互联性的增加而增加;(b)知识图谱的密度与遗忘难度之间存在正相关关系;(c)当待遗忘数据偏向某一领域时,在所有领域之间平衡保持性能是具有挑战性的。

英文摘要:

While unlearning knowledge from large language models (LLMs) is receiving increasing attention, one important aspect remains unexplored. Existing approaches and benchmarks assume data points to-be-forgotten are independent, ignoring their inter-connectivity - a fundamental characteristic of real-world data structures. In this paper, we propose PISTOL, a method for compiling structural datasets. PISTOL leverages the inherently structured nature of contractual relationships, offering several key benefits. First, it enables insights into the impact of structural data on unlearning effectiveness. Second, it provides precise and concise ground truths for clearer evaluation. Third, its attribute generation does not require input from pre-trained LLMs, mitigating confounding risks. Leveraging datasets synthesized using PISTOL, we demonstrate how data inter-connectivity impacts LLM unlearning. Specifically, (a) in both the pre-trained and fine-tuned models, unlearning difficulty increases as data inter-connectivity grows, (b) there is a positive correlation between the density of the knowledge graph and unlearning difficulty, and (c) when the to-be-forgotten data is skewed towards one domain, balancing retaining performance across all domains is challenging.

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

↑