cs.AINov 24, 2026

Contrastive On-Policy Self-Distillation for LLM Unlearning

Authors: Fangzhou Lin, Shuo Xing, Xin Li, Wenbin He, Zhengzhong Tu, Liu Ren

Organizations: Texas A&M University · Worcester Polytechnic Institute · Tohoku University · Bosch Research North America & Bosch Center for AI

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.

Figures & tables

Explore similar work

CardsList
  1. LEAF-OPD: Learning to Forget from Privileged Contexts via On-Policy Distillation

    Nov 16, 2026Zirui Pang, Zhijie Deng, Yuancheng Wang +4LLM UnlearningOn-Policy Distillation

  2. Distribution Preference Optimization: A Fine-grained Perspective for LLM Unlearning

    Oct 6, 2025Kai Qin, Jiaqi Wu, Jianxiang He +8Preference OptimizationLLM Unlearning

  3. Unlearning That Lasts: Utility-Preserving, Robust, and Almost Irreversible Forgetting in LLMs

    Sep 2, 2025Naman Deep Singh, Maximilian Müller, Amit Peleg +2LLM UnlearningMachine Unlearning Evaluation