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

利用激活引导从大语言模型中提取未学习信息

Extracting Unlearned Information from LLMs with Activation Steering

Technical University of Munich(慕尼黑工业大学)

Atakan Seyitoğlu, Aleksei Kuvshinov, Leo Schwinn, Stephan Günnemann

AI总结:

本文提出激活引导方法,结合匿名化激活引导与词频定位,证明能从已未学习的大语言模型中精确提取信息,揭示当前未学习技术的严重漏洞。

摘要:

大语言模型(LLMs)大规模预训练的一个意外后果是逐字记忆了其训练数据的片段,这些数据可能包含敏感或受版权保护的信息。近年来,未学习(unlearning)已成为一种在训练后有效从模型中移除敏感知识的解决方案。然而,最近的研究表明,被假定删除的信息仍可能被恶意行为者通过各种攻击提取出来。尽管如此,当前的攻击方法只能检索出可能的候选生成集合,而无法精确定位包含实际目标信息的输出。我们提出将激活引导(activation steering)作为一种从未学习LLMs中精确检索信息的方法。我们引入了一种生成引导向量的新方法,命名为匿名化激活引导(Anonymized Activation Steering)。此外,我们开发了一种简单的词频方法,用于在检索未学习信息时从候选集合中精确定位正确答案。我们在多种未学习技术和数据集上的评估表明,激活引导能够成功恢复一般知识(例如,广为人知的虚构角色),同时揭示了在检索特定信息(例如,关于非公开个人的细节)方面的局限性。总体而言,我们的结果表明,从未学习模型中精确检索信息是可能的,这凸显了当前未学习技术的一个严重漏洞。

英文摘要:

An unintended consequence of the vast pretraining of Large Language Models (LLMs) is the verbatim memorization of fragments of their training data, which may contain sensitive or copyrighted information. In recent years, unlearning has emerged as a solution to effectively remove sensitive knowledge from models after training. Yet, recent work has shown that supposedly deleted information can still be extracted by malicious actors through various attacks. Still, current attacks retrieve sets of possible candidate generations and are unable to pinpoint the output that contains the actual target information. We propose activation steering as a method for exact information retrieval from unlearned LLMs. We introduce a novel approach to generating steering vectors, named Anonymized Activation Steering. Additionally, we develop a simple word frequency method to pinpoint the correct answer among a set of candidates when retrieving unlearned information. Our evaluation across multiple unlearning techniques and datasets demonstrates that activation steering successfully recovers general knowledge (e.g., widely known fictional characters) while revealing limitations in retrieving specific information (e.g., details about non-public individuals). Overall, our results demonstrate that exact information retrieval from unlearned models is possible, highlighting a severe vulnerability of current unlearning techniques.

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

↑