[Paper Review] Negative Preference Optimization: From Catastrophic Collapse to Effective Unlearning
This paper proposes Negative Preference Optimization (NPO), a novel unlearning method for large language models that mitigates catastrophic collapse—common in gradient ascent-based approaches—by using a preference optimization framework with only negative samples. NPO achieves state-of-the-art performance on the TOFU benchmark, enabling effective unlearning of up to 50% of training data, where prior methods fail even at 10%.
Large Language Models (LLMs) often memorize sensitive, private, or copyrighted data during pre-training. LLM unlearning aims to eliminate the influence of undesirable data from the pre-trained model while preserving the model's utilities on other tasks. Several practical methods have recently been proposed for LLM unlearning, mostly based on gradient ascent (GA) on the loss of undesirable data. However, on certain unlearning tasks, these methods either fail to effectively unlearn the target data or suffer from catastrophic collapse -- a drastic degradation of the model's utilities. In this paper, we propose Negative Preference Optimization (NPO), a simple alignment-inspired method that could efficiently and effectively unlearn a target dataset. We theoretically show that the progression toward catastrophic collapse by minimizing the NPO loss is exponentially slower than GA. Through experiments on synthetic data and the benchmark TOFU dataset, we demonstrate that NPO-based methods achieve a better balance between unlearning the undesirable data and maintaining the model's utilities. We also observe that NPO-based methods generate more sensible outputs than GA-based methods, whose outputs are often gibberish. Remarkably, on TOFU, NPO-based methods are the first to achieve reasonable unlearning results in forgetting 50% (or more) of the training data, whereas existing methods already struggle with forgetting 10% of training data.
Motivation & Objective
- Address the critical problem of catastrophic collapse in gradient ascent-based LLM unlearning methods, where model utility degrades rapidly during unlearning.
- Develop a more stable and effective unlearning objective that preserves model utility while removing influence from undesirable training data.
- Achieve meaningful unlearning performance on challenging benchmarks, such as forgetting 50% of training data, where existing methods fail.
- Provide theoretical and empirical justification for NPO’s superiority over gradient ascent and other baselines in balancing forget quality and model utility.
Proposed method
- Propose Negative Preference Optimization (NPO), a loss function inspired by Direct Preference Optimization (DPO), but using only negative responses (e.g., 'I don’t know') for unlearning.
- Formulate NPO as minimizing the expected negative log-likelihood of incorrect or ignorant responses on the forget set, with adaptive weighting based on model confidence.
- The NPO loss is theoretically shown to have exponentially slower divergence toward catastrophic collapse compared to gradient ascent.
- Combine NPO with a retain loss (cross-entropy on remaining data) and optionally a KL divergence regularization to maintain generalization.
- Use a temperature-scaled formulation where NPO reduces to gradient ascent in the high-temperature limit, ensuring consistency with prior methods.
- Implement NPO using standard fine-tuning with AdamW, learning rate 1e-5, and 10 training epochs on A100 GPUs, following the TOFU benchmark setup.
Experimental results
Research questions
- RQ1Why do gradient ascent-based unlearning methods suffer from catastrophic collapse during unlearning?
- RQ2Can a preference optimization-based approach with only negative samples effectively unlearn data without degrading model utility?
- RQ3How does NPO compare to gradient ascent, IDK-based, DPO, and KTO methods in terms of unlearning quality and model utility?
- RQ4Can NPO achieve non-trivial unlearning performance when forgetting a large fraction (e.g., 50%) of the training data?
- RQ5What is the theoretical basis for NPO’s slower progression toward catastrophic collapse compared to gradient ascent?
Key findings
- NPO-based methods are the first to achieve reasonable unlearning results on the TOFU benchmark when forgetting 50% of the training data, whereas existing methods fail at 10%.
- On the Forget10 task, NPO-based methods achieve a forget quality of 0.92 ROUGE-recall and maintain a utility score of 0.89, outperforming GA-based methods which show significant utility degradation.
- NPO exhibits significantly more stable training dynamics and avoids the rapid performance collapse seen in gradient ascent methods.
- NPO-generated outputs are more coherent and sensible than the gibberish outputs produced by GA-based methods, especially under high unlearning pressure.
- Theoretical analysis shows that the rate of divergence toward catastrophic collapse under NPO is exponentially slower than under gradient ascent.
- NPO-based methods achieve state-of-the-art performance on the TOFU benchmark, demonstrating superior trade-offs between forget quality and model utility across all forgetting ratios (1%, 5%, 10%, 20%, 30%, 50%).
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.