通过检索到的排除项修正响应以实现可扩展且鲁棒的大语言模型遗忘
Scalable and Robust LLM Unlearning by Correcting Responses with Retrieved Exclusions
AI总结:
针对大语言模型敏感信息泄露问题,提出带检索排除项的修正式遗忘框架CURE,通过轻量修正器和检索增强实现无需额外训练的可扩展鲁棒遗忘,有效降低泄露并保持效用。
摘要:
在网络规模语料库上训练的语言模型存在记忆并泄露敏感信息的风险,这催生了对有效机器遗忘技术的需求。现有方法主要聚焦于输入查询以抑制敏感输出,但这通常无法消除底层知识,且可扩展性受限。针对这一问题,我们提出了带检索排除项的修正式遗忘(Corrective Unlearning with Retrieved Exclusions,CURE),这是一种新型遗忘框架,可验证模型输出的泄露情况并将其修正为安全响应。具体而言,CURE采用一个轻量修正器,将其应用于原始模型,以验证输出是否包含目标知识,若检测到泄露则对输出进行重写。为高效处理大规模遗忘请求,CURE检索与初始响应相关的遗忘目标,并将其作为上下文内参考提供给修正器,用于检测和条件修正。借助这种检索增强,修正器无需额外训练即可适配新的遗忘请求。大量评估表明,CURE大幅降低了信息泄露,即使在现有方法表现不佳的间接查询场景下亦如此,同时还能保持响应质量和通用效用。此外,它在持续遗忘场景下表现出鲁棒性,适用于实际应用。
英文摘要:
Language models trained on web-scale corpora risk memorizing and exposing sensitive information, prompting the need for effective machine unlearning. Prior methods mainly focus on input queries to suppress sensitive outputs, yet this often fails to eliminate the underlying knowledge and limits scalability. To address this, we propose Corrective Unlearning with Retrieved Exclusions (CURE), a novel unlearning framework that verifies model outputs for leakage and revises them into safe responses. Specifically, CURE employs a lightweight corrector that is applied to the original model to verify whether outputs contain target knowledge and to rewrite them if any leakage is detected. To efficiently handle large-scale unlearning requests, CURE retrieves unlearning targets that are relevant to the initial response and provides them as in-context references to the corrector for detection and conditional revision. By leveraging this retrieval augmentation, the corrector can adapt to new unlearning requests without additional training. Extensive evaluations demonstrate that CURE substantially reduces information leakage, even from indirect queries where prior works fall short, while maintaining response quality and general utility. Moreover, it demonstrates robustness under continual unlearning scenarios, making it practical for real-world applications.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。