Manuscript Offprint

arXiv:2609.39866

Preemptive LLM Unlearning against Forbidden Capability Acquisition via Gradient Sealing

Kemou Li, Qizhou Wang, Yue Wang, Fengpeng Li, Zhuan Shi, Negar Rostamzadeh, Golnoosh Farnadi, Masashi Sugiyama, Jiantao Zhou

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

ABSTRACT

Open-weight LLMs are released not only as fixed products but also as substrates for downstream fine-tuning. This openness, however, creates legal and ethical risks because users may misuse fine-tuning to instill illicit knowledge or enable hostile operations. Model providers therefore need pre-release defense against such acquisition, motivating the problem of preemptive unlearning. Unlike retrospective unlearning, which removes capabilities already present in a fixed model, preemptive unlearning seeks to prevent their acquisition under unseen attack data and future fine-tuning procedures. Despite its practical importance, this setting remains largely unexplored, presents distinct challenges, and is therefore the central focus of our work. We first verify that existing retrospective methods provide insufficient pre-release protection. Even when forbidden capabilities are suppressed in current outputs, forbidden-domain data can still induce gradients through internal pathways, enabling later acquisition. Motivated by this finding, we propose a gradient-sealing principle that blocks these pathways by pushing relevant pre-activations into the negative region, where ReLU-family activations exhibit zero or near-zero derivatives. Experiments across multiple LLM families demonstrate our stronger resistance to downstream acquisition than retrospective baselines, validating gradient sealing as an effective mechanism for pre-release protection.

1 INTRODUCTION

Open-weight large language models (LLMs) (Jiang et al., 2023; Grattafori et al., 2024; Gemma Team et al., 2025; Yang et al., 2025a) have become central to modern AI research and practice. Their accessible parameters enable cost-effective, privacy-preserving deployment and domain-specific adaptation with modest compute. However, the same openness creates legal and ethical risks, as malicious users may fine-tune released models on harmful data to acquire capabilities for disinformation, explicit content generation, dangerous operational guidance, or privacy violations (Qi et al., 2024; Rosati et al., 2024; Kaunismaa et al., 2026), threatening both individuals and society. Model providers therefore need a pre-release defense that designates a forbidden domain and makes the corresponding capabilities resistant to acquisition after release. This motivates a critical yet underexplored question:

Can we precondition a model to resist the acquisition of forbidden-domain capabilities through downstream fine-tuning?

A closely related line of research is LLM unlearning (Yao et al., 2024; Li et al., 2024; Zhang et al., 2024). Given a designated forget set, unlearning methods modify model parameters to suppress content already learned, as shown in Fig. 1a (Jang et al., 2023). However, these methods are inherently retrospective. Our pre-release defense is instead preemptive: rather than removing knowledge already embedded in the model, it aims to make forbidden-domain capabilities resistant to acquisition through downstream fine-tuning, as shown in Fig. 1b. Preemptive unlearning remains largely underexplored and particularly challenging because users have full access to released model parameters, making external guardrails (Inan et al., 2023a; Han et al., 2024) extremely difficult to enforce.

Figure

Figure 1: Retrospective unlearning vs. preemptive unlearning. (a) Retrospective unlearning suppresses an already learned capability but may leave its gradient pathway open. (b) Preemptive unlearning instead uses a forbidden-domain proxy set before release to seal that pathway, preventing future acquisition from fine-tuning.

We further distinguish retrospective from preemptive unlearning by showing why retrospective methods provide insufficient pre-release protection. The key insight is that existing retrospective methods typically suppress current outputs while leaving the underlying gradients unconstrained (Fan et al., 2025a). Because downstream fine-tuning updates model parameters through these gradients, such open gradient pathways can still enable the acquisition of forbidden-domain capabilities. Our theoretical analysis in §3.1 formalizes this intuition, showing that forbidden-domain data can induce gradients along domain-sensitive pathways even when the released model exhibits little forbidden-domain capability. Empirical results in §3.2 further show that low release capability can hide high acquisition susceptibility, while proxy look-ahead can locate and targeted attenuation can weaken those responsible pathways. Together, these findings reinforce known robustness limitations of retrospective unlearning (Wang et al., 2025a; Lang et al., 2026).

These findings suggest that pre-release defense must seal acquisition pathways beyond output suppression. Directly penalizing acquisition-gradient norms, however, requires costly second-order differentiation. We instead exploit ReLU-family activation gates with zero or near-zero derivatives for sufficiently negative inputs. Pushing selected pre-activations into this regime attenuates their local gradient factors using only first-order updates. Accordingly, we propose Gradient-Sealed Unlearning (GSU), which uses proxy learning on a disposable copy to identify acquisition-sensitive gates from upward pre-activation shifts under matched contexts. Restarting from the original weights, GSU jointly optimizes a seal loss, response suppression, and retain supervision. The seal loss in Eq. (4) pushes selected forbidden-domain pre-activations below a shared negative-tail threshold, while the other terms suppress release-time responses and preserve normal utility.

To our knowledge, GSU represents one of the earliest systematic efforts to formulate and evaluate preemptive unlearning as a pre-release defense. It may also help strengthen retrospective unlearning against post-unlearning attacks (Hu et al., 2025a). In §5, we extensively evaluate GSU on WMDP (Li et al., 2024) and TOFU (Maini et al., 2024) across multiple LLM families, where it shows stronger resistance to downstream acquisition of forbidden capabilities than competitive retrospective unlearning baselines. These results support GSU's gradient-sealing principle and activation-gating mechanism.

References (100)

Couldn't load all references. Reload the page to try again.