arXiv:2605.18253cs.CLcs.AI2026-05

提出首个针对掩码扩散语言模型的机器遗忘方法。

Machine Unlearning for Masked Diffusion Language Models

  • 基于扩散过程重构学习机制,通过最小化前向KL散度实现遗忘。
  • 在多个基准上优于现有大模型遗忘方法,性能显著提升。
  • 适合需要隐私保护的场景,如数据合规与敏感信息清除。

最近的掩码扩散语言模型(MDLMs),如LLaDA和Dream,已达到与自回归大语言模型相当的性能。与自回归模型逐词生成不同,MDLMs通过并行迭代去噪被遮蔽位置来生成文本。微调时,MDLMs学习从提示相关的遮蔽响应状态中恢复输出,使预测从提示-遮蔽的无条件分布转向提示-条件分布。尽管生成与微调机制不同,但对MDLM的机器遗忘仍基本未被探索。本文提出掩码扩散遗忘(MDU),首个针对MDLM的遗忘框架,通过重新审视扩散过程中的知识学习。具体而言,MDU在每个遮蔽响应位置最小化从提示-条件预测到提示-遮蔽无条件锚点的前向KL散度,并引入温度缩放参数控制隐私-效用权衡。实验证明,相比现有大模型遗忘方法,MDU在标准基准和多种MDLM骨干网络上均表现出更高遗忘性能。代码已公开于https://github.com/leegeoru/MDU。

原文摘要 · Abstract (English)

Recent masked diffusion language models (MDLMs), such as LLaDA and Dream, have achieved performance comparable to autoregressive large language models. Unlike autoregressive models, which generate text sequentially, MDLMs generate text by iteratively denoising masked positions in parallel. During fine-tuning, MDLMs learn to recover responses from masked response states conditioned on a prompt, thereby shifting their predictions from a prompt-masked unconditional distribution toward a prompt-conditional distribution. Despite this distinct generative and fine-tuning mechanism, machine unlearning for MDLMs remains largely unexplored. In this paper, we propose Masked Diffusion Unlearning (MDU), the first unlearning framework for MDLMs, by revisiting the process of learning specific knowledge in terms of diffusion. Specifically, MDU minimizes a forward KL divergence from the prompt-conditional prediction to a prompt-masked unconditional anchor at every masked response position, with a temperature scaling parameter to control the privacy-utility trade-off. Our empirical results on standard benchmarks and MDLM backbones show that MDU achieves high unlearning performance compared to existing LLM unlearning methods. Code is available at https://github.com/leegeoru/MDU.

机器遗忘扩散模型语言模型隐私保护

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