Contrastive On-Policy Self-Distillation for LLM Unlearning
Fangzhou Lin, Shuo Xing, Xin Li, Wenbin He, Zhengzhong Tu, Liu Ren
Abstract
Large language model unlearning aims to remove the influence of designated training data while preserving unrelated model capabilities. Existing likelihood-based methods commonly optimize against fixed forget sequences, providing only negative supervision on what the model should not generate and overlooking the states visited by the evolving unlearned policy. We introduce Contrastive On-Policy Self-Distillation (CPSD), a new unlearning framework that constructs an explicit knowledge-reduced target distribution and distills it along the model's own trajectories. Given a student rollout, a frozen reference model evaluates each token under a plain context and a privileged context containing the forget information. CPSD treats the resulting distributional shift as a knowledge-associated direction and reverses it to obtain a counterfactual unlearning target. The student is then trained to match this target at every rollout position while retaining its utility on unrelated data. We further introduce a privacy-enhanced variant that combines distributional unlearning with lightweight sequence-level suppression. Experiments under OpenUnlearning show that CPSD improves the forgetting-utility trade-off over NPO across TOFU forget-set sizes and Llama models ranging from 1B to 8B parameters. On MUSE-News, the privacy-enhanced variant improves all reported knowledge, memorization, privacy, and utility metrics over NPO.
Create a lesson
Metadata
- Comments
- 12 pages, 2 figures, 3 tables
Related papers
VC-OPD: Learning to See What Matters via Visual Cue On-Policy Self-Distillation
Shared title terminologycs.AIQinxuan Wang, Zheyu Zhang, Yijing Yang et al.
DexOPD: Dual-Extrapolation On-Policy Distillation for Diffusion Models
Shared title terminologycs.AIYunchao Ke, Yanzhe Hu, Yi Yang et al.
Learning World Models through Contrastive Identification of Actions
Shared title terminologycs.AIHayeong Lee, Youngjun Suh. Byung-Jun Lee
RecurSciBench: Benchmarking Recursive Self-Improvement in Data-Driven Scientific Research
Shared title terminologycs.AIWenxi Xu, Chuan Qin, Zihan Wang et al.
VISE: Verifier-Independent Skill Self-Evolution with Feedback from Tool Implementations
Shared title terminologycs.AIYuxuan Liu, Chongyang Du, Yuhao Zhang et al.
CAPE: Coordinating Calibration and Search for Tool-Use Policies
Shared title terminologycs.AIJiahao Wang, Xiaoxuan Chen, Aijun Yang et al.