arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2511.05784cs.CLcs.AIcs.LG
收藏

DRAGON:通过负向检测与推理在上下文中保护大语言模型的遗忘学习

DRAGON: Guard LLM Unlearning in Context via Negative Detection and Reasoning

University of California, Santa Cruz(加州大学圣克ruz分校);Center for Advanced AI, Accenture(Accenture高级人工智能中心)

Yaxuan Wang, Chris Yuhao Liu, Quan Liu, Jinglong Pang, Wei Wei, Yujia Bao, Yang Liu

AI总结:

针对大语言模型遗忘学习中需保留数据的局限,提出DRAGON框架,通过轻量级检测模块识别需遗忘提示词,结合上下文内思维链指令实现推理前干预,无需修改基础模型,在数据受限场景验证了有效性。

摘要:

大语言模型(LLMs)的遗忘学习对于保护隐私数据和移除有害知识至关重要。大多数现有方法依赖微调来平衡遗忘效率与通用语言能力,但这些方法通常需要训练或访问保留数据,而现实场景中这些数据往往不可用。尽管在遗忘数据和保留数据均可用时表现良好,但很少有工作在更实际的数据受限场景中展示出同等能力。为克服这些局限,我们提出检测-推理增强生成(DRAGON)框架,这是一个系统的、基于推理的框架,利用上下文内思维链(CoT)指令在推理前保护已部署的LLMs。DRAGON不修改基础模型,而是利用LLMs固有的指令遵循能力,并引入轻量级检测模块,无需任何保留数据即可识别需遗忘的提示词,再将其路由至专用CoT保护模型以实施安全准确的上下文内干预。为稳健评估遗忘性能,我们引入了遗忘性能和持续遗忘设置的新指标。在三个代表性遗忘任务上的大量实验验证了DRAGON的有效性,展示了其在实际场景中的强遗忘能力、可扩展性和适用性。

英文摘要:

Unlearning in Large Language Models (LLMs) is crucial for protecting private data and removing harmful knowledge. Most existing approaches rely on fine-tuning to balance unlearning efficiency with general language capabilities. However, these methods typically require training or access to retain data, which is often unavailable in real world scenarios. Although these methods can perform well when both forget and retain data are available, few works have demonstrated equivalent capability in more practical, data-limited scenarios. To overcome these limitations, we propose Detect-Reasoning Augmented GeneratiON (DRAGON), a systematic, reasoning-based framework that utilizes in-context chain-of-thought (CoT) instructions to guard deployed LLMs before inference. Instead of modifying the base model, DRAGON leverages the inherent instruction-following ability of LLMs and introduces a lightweight detection module to identify forget-worthy prompts without any retain data. These are then routed through a dedicated CoT guard model to enforce safe and accurate in-context intervention. To robustly evaluate unlearning performance, we introduce novel metrics for unlearning performance and the continual unlearning setting. Extensive experiments across three representative unlearning tasks validate the effectiveness of DRAGON, demonstrating its strong unlearning capability, scalability, and applicability in practical scenarios.

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

↑