GRAIL: Gradient-Based Adaptive Unlearning for Privacy and Copyright in LLMs
Kun-Woo Kim, Ji-Hoon Park, Ju-Min Han, Seong-Whan Lee
TL;DR
GRAIL tackles the challenge of removing sensitive knowledge from large language models without erasing useful domain information, addressing multi-domain concerns such as privacy and copyright. It combines gradient-based localization with adaptive, parameter-wise freezing to separate unlearning from retention across intertwined representations, using both gradient ascent and descent to balance forgetting with preservation. Empirical results on LLAMA-2-7B-Chat and Qwen-1.5-7B-Chat show GRAIL achieving competitive unlearning performance while delivering stronger retention and lower perplexity than prior methods, with ablations confirming the value of OP-UR and OP-RR in multi-domain contexts. This work establishes a practical paradigm for regulating sensitive information in pre-trained LLMs, enabling safer deployment and improved compliance in real-world applications.
Abstract
Large Language Models (LLMs) trained on extensive datasets often learn sensitive information, which raises significant social and legal concerns under principles such as the "Right to be forgotten." Retraining entire models from scratch to remove undesired information is both costly and impractical. Furthermore, existing single-domain unlearning methods fail to address multi-domain scenarios, where knowledge is interwoven across domains such as privacy and copyright, creating overlapping representations that lead to excessive knowledge removal or degraded performance. To tackle these issues, we propose GRAIL (GRadient-based AdaptIve unLearning), a novel multi-domain unlearning framework. GRAIL leverages gradient information from multiple domains to precisely distinguish the unlearning scope from the retention scope, and applies an adaptive parameter-wise localization strategy to selectively remove targeted knowledge while preserving critical parameters for each domain. Experimental results on unlearning benchmarks show that GRAIL achieves unlearning success on par with the existing approaches, while also demonstrating up to 17% stronger knowledge retention success compared to the previous state-of-art method. Our findings establish a new paradigm for effectively managing and regulating sensitive information in large-scale pre-trained language models.
