arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2504.10185cs.CLcs.AIcs.LG
收藏

LLM 遗忘揭示当前基准中强于预期的核心集效应

LLM Unlearning Reveals a Stronger-Than-Expected Coreset Effect in Current Benchmarks

Michigan State University(密歇根州立大学);Lawrence Livermore National Laboratory(劳伦斯利弗莫尔国家实验室);IBM Research(IBM研究院)

Soumyadeep Pal, Changsheng Wang, James Diffenderfer, Bhavya Kailkhura, Sijia Liu

AI总结:

研究首次发现WMDP和MUSE等LLM遗忘基准存在核心集效应,仅需5%随机子集即可维持完整遗忘集的效果,且该效应在多种方法和数据选择策略中鲁棒,其原因是遗忘由紧凑高影响标记驱动。

摘要:

大语言模型遗忘已成为确保安全和可控模型行为的关键挑战,其目标是从预训练模型中移除不期望的数据-模型影响,同时保留通用效用。近期大量研究致力于开发LLM遗忘基准,如WMDP(大规模杀伤性武器代理)和MUSE(机器遗忘六向评估),以促进标准化的遗忘性能评估和方法比较。尽管这些基准很有用,但我们首次在其中发现了一种新的核心集效应。具体而言,我们发现使用原始(完整)遗忘集实现的LLM遗忘,即使随机选择,也能通过显著更小的子集(充当“核心集”)有效维持,例如仅需遗忘集的5%。这表明,即使在极低数据条件下,这些基准中的LLM遗忘也能出人意料地轻松执行。我们证明,无论使用何种LLM遗忘方法(如这些基准中流行的NPO(负偏好优化)和RMU(表示误导遗忘)),这种核心集效应都保持强劲。这种出人意料的强核心集效应在从随机选择到更复杂的启发式方法等各种数据选择方法中也具有鲁棒性。我们从基于关键词的角度解释了LLM遗忘中的核心集效应,表明仅从遗忘集中提取的关键词就对遗忘效果有显著贡献,并指出当前的遗忘是由一组紧凑的高影响标记驱动的,而非整个数据集。我们还从模式连通性和对越狱攻击的鲁棒性等额外维度,进一步验证了核心集遗忘模型的可靠性。代码可在https://github.com/OPTML-Group/MU-Coreset获取。

英文摘要:

Large language model unlearning has become a critical challenge in ensuring safety and controlled model behavior by removing undesired data-model influences from the pretrained model while preserving general utility. Significant recent efforts have been dedicated to developing LLM unlearning benchmarks such as WMDP (Weapons of Mass Destruction Proxy) and MUSE (Machine Unlearning Six-way Evaluation), facilitating standardized unlearning performance assessment and method comparison. Despite their usefulness, we uncover for the first time a novel coreset effect within these benchmarks. Specifically, we find that LLM unlearning achieved with the original (full) forget set can be effectively maintained using a significantly smaller subset (functioning as a "coreset"), e.g., as little as 5% of the forget set, even when selected at random. This suggests that LLM unlearning in these benchmarks can be performed surprisingly easily, even in an extremely low-data regime. We demonstrate that this coreset effect remains strong, regardless of the LLM unlearning method used, such as NPO (Negative Preference Optimization) and RMU (Representation Misdirection Unlearning), the popular ones in these benchmarks. The surprisingly strong coreset effect is also robust across various data selection methods, ranging from random selection to more sophisticated heuristic approaches. We explain the coreset effect in LLM unlearning through a keyword-based perspective, showing that keywords extracted from the forget set alone contribute significantly to unlearning effectiveness and indicating that current unlearning is driven by a compact set of high-impact tokens rather than the entire dataset. We further justify the faithfulness of coreset-unlearned models along additional dimensions, such as mode connectivity and robustness to jailbreaking attacks. Codes are available at https://github.com/OPTML-Group/MU-Coreset.

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

↑