Not All Tokens Are Meant to Be Forgotten
Xiangyu Zhou, Yao Qiang, Saleh Zare Zade, Douglas Zytko, Prashant Khanduri, Dongxiao Zhu
TL;DR
This work addresses privacy and copyright concerns in large language models by introducing Targeted Information Forgetting (TIF), a framework that discriminates between unwanted and general information in forget samples. It combines an unwanted-information identifier with Targeted Preference Optimization (TPO), which uses Preservation Loss to keep GW intact and Logit Preference Loss to selectively reduce UW logits, mitigating over-forgetting. Empirical results on TOFU and MUSE show that TIF improves forgetting effectiveness while preserving model utility, achieving state-of-the-art performance on these benchmarks. The approach advances targeted unlearning in LLMs and lays groundwork for extending unlearning to knowledge-level scenarios while highlighting ethical considerations for responsible deployment.
Abstract
Large Language Models (LLMs), pre-trained on massive text corpora, exhibit remarkable human-level language understanding, reasoning, and decision-making abilities. However, they tend to memorize unwanted information, such as private or copyrighted content, raising significant privacy and legal concerns. Unlearning has emerged as a promising solution, but existing methods face a significant challenge of over-forgetting. This issue arises because they indiscriminately suppress the generation of all the tokens in forget samples, leading to a substantial loss of model utility. To overcome this challenge, we introduce the Targeted Information Forgetting (TIF) framework, which consists of (1) a flexible targeted information identifier designed to differentiate between unwanted words (UW) and general words (GW) in the forget samples, and (2) a novel Targeted Preference Optimization approach that leverages Logit Preference Loss to unlearn unwanted information associated with UW and Preservation Loss to retain general information in GW, effectively improving the unlearning process while mitigating utility degradation. Extensive experiments on the TOFU and MUSE benchmarks demonstrate that the proposed TIF framework enhances unlearning effectiveness while preserving model utility and achieving state-of-the-art results.
