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

Direct Token Optimization:一种自包含的大语言模型遗忘方法

Direct Token Optimization: A Self-contained Approach to Large Language Model Unlearning

Hong kyu Lee, Ruixuan Liu, Li Xiong

AI总结:

针对现有大语言模型遗忘方法依赖外部资源的问题,提出自包含的直接令牌优化(DTO)方法,通过区分目标与非目标令牌分别优化遗忘目标和保留效用,遗忘质量最高超最新基线16.8倍且效用相当。

摘要:

机器遗忘是一种新兴技术,无需完整重新训练即可从模型中移除部分训练数据(遗忘集)的影响,应用场景包括隐私保护、内容审核和模型修正。其核心挑战在于确保模型彻底遗忘遗忘集的知识,同时不损害模型的整体效用。现有的大语言模型(LLM)遗忘方法通常借助辅助语言模型、保留数据集甚至商业AI服务来实现有效遗忘并维持模型效用,但对这些外部资源的依赖往往不切实际,还可能带来额外的隐私风险。本文提出了direct token optimization(DTO,直接令牌优化),这是一种新型的自包含LLM遗忘方法,直接优化令牌级目标,无需依赖外部资源。针对待遗忘的序列,我们识别出两类令牌:目标令牌(承载遗忘所需的关键知识)和其余非目标令牌(对维持模型效用至关重要)。前者用于优化遗忘目标,后者用于保留模型性能。实验结果表明,在多个基准数据集上,所提出的DTO在遗忘质量上相比最新基线方法提升最高达16.8倍,同时保持了相当水平的模型效用。

英文摘要:

Machine unlearning is an emerging technique that removes the influence of a subset of training data (forget set) from a model without full retraining, with applications including privacy protection, content moderation, and model correction. The key challenge lies in ensuring that the model completely forgets the knowledge of the forget set without compromising its overall utility. Existing unlearning methods for large language models (LLMs) often utilize auxiliary language models, retain datasets, or even commercial AI services for effective unlearning and maintaining the model utility. However, dependence on these external resources is often impractical and could potentially introduce additional privacy risks. In this work, we propose direct token optimization (DTO), a novel self-contained unlearning approach for LLMs that directly optimizes the token level objectives and eliminates the need for external resources. Given a sequence to unlearn, we identify two categories of tokens: target tokens, which capture critical knowledge for unlearning, and the remaining non-target tokens, which are crucial for maintaining the model utility. The former are used to optimize the unlearning objective, while the latter serve to preserve the model's performance. The experimental results show that the proposed DTO achieves up to 16.8$\times$ improvement in forget quality on several benchmark datasets than the latest baselines while maintaining a comparable level of model utility.

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

↑