SEPS:一种用于大型语言模型中稳健机器遗忘的可分离性度量
SEPS: A Separability Measure for Robust Unlearning in LLMs
AI总结:
针对LLM机器遗忘中混合查询场景评估缺失的问题,提出SEPS度量及混合提示遗忘策略,显著提升多查询下的遗忘稳健性。
摘要:
机器遗忘旨在从大型语言模型(LLMs)中选择性地移除特定知识,确保模型遗忘指定内容同时保留必要信息。现有的遗忘度量评估模型是否正确回答保留查询并拒绝遗忘查询,但它们未能捕捉到现实场景中遗忘查询很少孤立出现的情况。实际上,遗忘查询和保留查询常常共存于同一提示中,使得混合查询评估至关重要。我们引入了SEPS,一个评估框架,显式地衡量模型在单个提示内同时遗忘和保留信息的能力。通过在三个基准上的广泛实验,我们识别出现有遗忘方法的两个关键失败模式:(1)非定向遗忘在遗忘查询出现时无差别地擦除遗忘和保留内容;(2)定向遗忘过度拟合单查询场景,导致处理多查询时出现灾难性失败。为解决这些问题,我们提出了混合提示(MP)遗忘,一种将遗忘和保留查询整合到统一训练目标中的策略。我们的方法显著提高了遗忘效果,即使在单个提示中多达八个混合遗忘和保留查询的复杂设置下也表现出稳健性。
英文摘要:
Machine unlearning aims to selectively remove targeted knowledge from Large Language Models (LLMs), ensuring they forget specified content while retaining essential information. Existing unlearning metrics assess whether a model correctly answers retain queries and rejects forget queries, but they fail to capture real-world scenarios where forget queries rarely appear in isolation. In fact, forget and retain queries often coexist within the same prompt, making mixed-query evaluation crucial. We introduce SEPS, an evaluation framework that explicitly measures a model's ability to both forget and retain information within a single prompt. Through extensive experiments across three benchmarks, we identify two key failure modes in existing unlearning methods: (1) untargeted unlearning indiscriminately erases both forget and retain content once a forget query appears, and (2) targeted unlearning overfits to single-query scenarios, leading to catastrophic failures when handling multiple queries. To address these issues, we propose Mixed Prompt (MP) unlearning, a strategy that integrates both forget and retain queries into a unified training objective. Our approach significantly improves unlearning effectiveness, demonstrating robustness even in complex settings with up to eight mixed forget and retain queries in a single prompt.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。