arXiv:2504.10185cs.CLcs.AI2025-04被引 15

小样本即可实现大模型数据删除,揭示当前评测基准存在强压缩效应。

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

  • 用极小子集(如5%)即可保持完整遗忘效果,随机选取也有效。
  • 无论用哪种方法或选择策略,遗忘效果都稳定,表明存在普遍性压缩现象。
  • 核心原因在于关键词驱动,仅靠少数高影响词就能实现有效遗忘,适合安全研究者参考。

大语言模型的遗忘技术对保障模型安全与可控行为至关重要,旨在移除预训练模型中不希望的数据影响,同时保持通用能力。近年来,研究者构建了如WMDP和MUSE等标准化评测基准,推动了方法比较与性能评估。然而,我们首次发现这些基准中存在显著的“核心集”(coreset)效应:即使仅使用原始遗忘数据集的极小子集(如5%),甚至随机采样,也能维持与全量数据相同的遗忘效果。这一现象在多种主流遗忘方法(如NPO、RMU)及不同采样策略下均保持稳健。我们从关键词视角解释该效应,发现仅从遗忘集中提取的关键词即可主导遗忘效果,表明当前遗忘机制依赖于少数高影响力标记,而非整个数据集。此外,我们验证了核心集遗忘模型在模式连通性与抗越狱攻击等方面的可靠性。代码已开源。

原文摘要 · Abstract (English)

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.

大模型遗忘核心集效应数据安全关键词驱动

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。