arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2502.15836cs.CLcs.AI
收藏

软令牌攻击无法可靠审计大型语言模型中的机器遗忘

Soft Token Attacks Cannot Reliably Audit Unlearning in Large Language Models

Ludwig Maximilian University of Munich(慕尼黑路德维希-马克西米利安大学);Munich Center for Machine Learning (MCML)(慕尼黑机器学习中心);Aalto University(艾尔沃斯大学);Intel Labs(英特尔实验室)

Haokun Chen, Sebastian Szyller, Weilin Xu, Nageen Himayat

AI总结:

本研究揭示软令牌攻击在强审计者设置下无法可靠审计LLM遗忘,因其可引出任意信息,需谨慎使用以有效评估遗忘效果。

摘要:

大型语言模型(LLMs)使用海量数据集进行训练,这些数据通常包含不良内容,如有害文本、个人信息和受版权保护的材料。为解决此问题,机器遗忘旨在从已训练的模型中移除信息。近期研究表明,软令牌攻击(STA)能够成功地从LLMs中提取已遗忘的信息,但本工作表明,STAs可能不足以作为审计遗忘的工具。使用常见基准,如《谁是哈利·波特?》和TOFU,我们证明在强审计者设置下,此类攻击能够从LLM中引出任何信息,无论部署的遗忘算法如何,也不论查询的内容最初是否存在于训练语料库中。我们进一步表明,仅使用少量软令牌(1-10个)的STA能够引出超过400字符长的随机字符串,这表明必须谨慎使用STAs以有效审计遗忘。示例代码可在以下网址找到:https://github.com/IntelLabs/LLMart/tree/main/examples/unlearning

英文摘要:

Large language models (LLMs) are trained using massive datasets, which often contain undesirable content such as harmful texts, personal information, and copyrighted material. To address this, machine unlearning aims to remove information from trained models. Recent work has shown that soft token attacks (STA) can successfully extract unlearned information from LLMs, but in this work we show that STAs can be an inadequate tool for auditing unlearning. Using common benchmarks such as Who Is Harry Potter? and TOFU, we demonstrate that in a strong auditor setting such attacks can elicit any information from the LLM, regardless of the deployed unlearning algorithm or whether the queried content was originally present in the training corpus. We further show that STA with just a few soft tokens (1-10) can elicit random strings over 400 characters long, indicating that STAs must be used carefully to effectively audit unlearning. Example code can be found at: https://github.com/IntelLabs/LLMart/tree/main/examples/unlearning

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

↑