Offset Unlearning for Large Language Models
James Y. Huang, Wenxuan Zhou, Fei Wang, Fred Morstatter, Sheng Zhang, Hoifung Poon, Muhao Chen
TL;DR
Memorization of sensitive data in LLM training raises ethical and regulatory concerns. The authors introduce delta-Unlearning, an offset unlearning framework that uses a pair of small white-box offset models to learn a logit offset and apply it to a black-box LLM without updating its weights. On the TOFU benchmark, delta-Unlearning achieves forget performance comparable to retraining and preserves performance on out-of-forget-scope data, while remaining compatible with multiple unlearning algorithms. This approach offers privacy-preserving, modular unlearning suitable for real-world deployment, enabling application-specific knowledge control without modifying the base model.
Abstract
Despite the strong capabilities of Large Language Models (LLMs) to acquire knowledge from their training corpora, the memorization of sensitive information in the corpora such as copyrighted, biased, and private content has led to ethical and legal concerns. In response to these challenges, unlearning has emerged as a potential remedy for LLMs affected by problematic training data. However, previous unlearning techniques are either not applicable to black-box LLMs due to required access to model internal weights, or violate data protection principles by retaining sensitive data for inference-time correction. We propose δ-Unlearning, an offset unlearning framework for black-box LLMs. Instead of tuning the black-box LLM itself, δ-Unlearning learns the logit offset needed for unlearning by contrasting the logits from a pair of smaller models. Experiments demonstrate that δ- Unlearning can effectively unlearn target data while maintaining similar or even stronger performance on general out-of-forget-scope tasks. δ-Unlearning also effectively incorporates different unlearning algorithms, making our approach a versatile solution to adapting various existing unlearning algorithms to black-box LLMs.
