FDCU: Defending against retraining attacks after machine unlearning with dual-constrained subspace projectionFaithful Dual-constrained Erasure for Robust LLM Safety Alignment
FDCU uses dual masks to constrain forgetting updates. After forgetting, Llama-3-8B-Instruct has a refusal rate of 93.9% (Table 2).
Retraining attack (benign relearning): fine-tune the unlearned model on a small amount of loosely related benign data to make malicious knowledge reappear. The experiment performs next-token prediction on a subset of the forget set, implemented with LoRA. Malicious prompts can be concatenated with a jailbreak prefix. The paper does not state whether it is white-box or black-box.
- LLM unlearning often only activates dormant parameters to suppress malicious outputs rather than deleting the target representation. Retraining on a small amount of related data makes these outputs reappear, which static evaluation does not reveal.
- FDCU applies element-wise dual masking to the forgetting gradient: Fisher information shrinks updates to parameters sensitive to the retained set, and PMFI freezes parameters that are not initially excited by malicious outputs. Knowledge erasure uses representation destruction loss, and safe outputs use gradient ascent.
- On Llama-3-8B-Instruct, FDCU's refusal rate after unlearning is 93.9%, and after retraining it is 91.7% (Table 2). WMDP retraining Acc is mostly lower than GA; on Llama's Cyber and one refusal rate, CIR is better (Tables 1, 2).
- Section 6 states that FDCU additionally needs to store gradient statistics for the forget and retain sets; storing only selected intermediate layers can reduce the footprint. Experiments cover three models, WMDP and AdvBench/AdvExtent plus three jailbreak suffixes, and LoRA retraining. The paper does not report the review model, the number of repetitions for the main tables, or the number of evaluation items.
- Evaluated models
- Qwen2.5-3BLlama-3-8B-InstructQwen-3-8B
- Benchmarks
- WMDP-BioWMDP-CyberAdvBenchAdvExtentMMLUWikiText
- Metrics
- WMDP AccuracyRefusal RateHarmfulScoreMMLU AccPPL
The study proposes FDCU, a dual-constrained subspace projection framework, to address the retraining attack problem in large language models where harmful behavior can be restored through benign fine-tuning after machine unlearning. After analyzing the optimization dynamics of unlearning, the authors argue that the vulnerability stems from shallow alignment: the model does not truly erase target knowledge but instead activates originally dormant parameters to act as pseudo-suppressors, forming a fragile suppression shell around the complete malicious representation. FDCU restricts parameter updates through an element-wise dual-mask rule, preserves the general knowledge manifold using Fisher Information, and prohibits abnormal activation of pseudo-suppressors using the principle of minimal functional intervention (PMFI). On specific knowledge erasure and safety output control tasks, FDCU achieves state-of-the-art robustness against retraining attacks while maintaining nearly lossless general capability.
Related events and news
1 events · 0 news mentions
- This event's paper
FDCU双重约束子空间投影抵御机器遗忘后重训练攻击
Paper analysis
What problem does this paper attempt to solve?
Retraining revives malicious knowledge suppressed at shallow layers; FDCU uses dual constraints to force true erasure.
Malicious knowledge after unlearning is easily re-elicited by retraining; the authors attribute this to shallow suppression rather than true deletion.
- Scenario: The authors state that LLMs memorize sensitive, copyrighted, and harmful information. Training from scratch is too costly, so machine unlearning is used to increase loss on the forget set and maintain utility on the retain set.
- Limitation: The authors state that success on static metrics is often only obfuscation. A retraining attack (benign re-learning) fine-tunes on a small amount of loosely related data and brings malicious outputs back. The model does not dismantle the excited pathway; instead, dormant parameters are activated to act as spurious suppressors. The authors state that existing constrained unlearning can prevent utility collapse but ignores this abnormal activation.
- Observation: The authors state that the optimizer takes the path of least resistance, forming a suppression shell over the complete malicious representation; this phenomenon is called shallow alignment (name cited from Xu et al., 2025b).
- Method: They propose FDCU, titled Faithful Dual-constrained Erasure. A Fisher mask protects the general knowledge manifold, and PMFI prevents non-excited parameters from flipping into suppressors, forcing updates to dismantle the original malicious representation.
- Threat model:
- Goal: After retraining, the generation probability for forget samples must not exceed ε_safe. The paper does not give a numerical value for this threshold.
- Capability: An attacker or ordinary user can perform the above fine-tuning. The paper does not describe this attacker as white-box, black-box, or gray-box.
- Experimental implementation: Knowledge erasure randomly takes 20% of the forget set and uses next-token prediction; safe outputs use a subset of the forget set, called benign fine-tuning attack in Table 2. Appendix A.2 uses LoRA.
- Victim: Open-source LLMs subjected to unlearning. Malicious prompts can be concatenated with jailbreak prefixes to bypass surface safety filters.
What related research exists?
Related work is divided into forgetting methods, retraining vulnerability, and parameter constraints; FDCU targets spurious suppressors.
The paper divides related work into forgetting algorithms, vulnerability under retraining, and constraining parameter updates with importance.
Forgetting in large models
- Optimization-based forgetting: Jang et al. (2022) and Bourtoule et al. (2021) set removing specific knowledge and avoiding training from scratch as goals. Mainstream approaches include gradient ascent, as well as DPO and NPO (Rafailov et al., 2023; Zhang et al., 2024). The authors state these methods can reduce the probability of malicious outputs, but naive forgetting often disrupts overall performance.
- Other paradigms and evaluation suites: Bi-level optimization (Reisizadeh et al., 2026) and forward learning (Xu et al., 2025a). Unified benchmarks include OpenUnlearning (Dorna et al., 2025), as well as TOFU, MUSE, and WMDP. The paper cites these suites in Section 2; the sets used in this paper's experiments are listed in the baselines.
Vulnerability of forgetting
- Hiding rather than erasing: Hu et al. (2025) study how benign relearning causes forgotten behaviors to reappear; Xu et al. (2025b) discuss whether forgetting is reversible. Yang et al. (2026) write that models activate dormant parameters as spurious suppressors, forming a push-pull equilibrium, so original knowledge easily returns.
- Other factors that undermine suppression: Zhang et al. (2025) discuss post-deployment quantization, and Song et al. (2025) discuss adversarial unlearning requests. Qi et al. (2023) and Fan et al. (2025) discuss how fine-tuning or relearning causes safety behavior to regress. CIR (Sondej and Yang, 2025) states that naive forgetting disrupts shared general representations, making suppressed knowledge easier to recover in subsequent fine-tuning.
Constraining parameter updates
- Importance constraints: LoKU (Cha et al., 2025) and LLMEraser (Ding et al., 2025) use Fisher or other Hessian approximations or influence functions to limit shifts. CKU (Shi et al., 2025) scores utility-sensitive neurons and freezes them. The authors state these methods prevent utility loss but focus on structural protection and do not address spurious suppressors.
Baselines and datasets
- Baselines: GA, CKU, ELM, SSIUU, CIR. The main text writes ELM as Erasing Conceptual Knowledge, and Appendix A.1 writes it as Erasure of Language Memory. Table 1 does not list CKU.
- Data used in this paper's experiments: WMDP-Bio, WMDP-Cyber; AdvBench, AdvExtent, paired with GCG, AIM, AutoDAN. Utility metrics come from MMLU and a WikiText subset.
The authors' positioning is: existing constraints block utility collapse but allow non-excited parameters to be turned into suppressors; FDCU uses PMFI to close this shortcut.
How does the paper address this problem?
FDCU projects the forgetting gradient onto the subspace jointly defined by Fisher protection and freezing of non-excited parameters.
FDCU does not write the constraint as an extra penalty, but instead projects the naive forgetting gradient onto a subspace that simultaneously preserves utility and prohibits spurious suppression.
Problem Setting
- Sets: The forget set contains malicious inputs and target outputs, the retain set contains samples to preserve, and the model is fθ.
- Adversarial prompts: Malicious prompts can be concatenated with a jailbreak prefix. The authors state this is to remove the underlying harmful knowledge regardless of how it is elicited.
- Robustness objective: Low probability immediately after unlearning is not enough. For any sample in the forget set, after retraining it must satisfy Pθretrained(yf ∣ xf) ≤ ϵsafe. ε_safe has no numerical value.
- Direction is not enough: The authors state that updating only along the forgetting loss gradient would hide the knowledge. The parameter change must simultaneously fall into the following two constraints.
Two Geometric Constraints
- General knowledge: On Dretain, the diagonal Fisher Fretain approximates the loss curvature, requiring the quadratic form of the change relative to Fretain not to exceed ε1. A large diagonal element means changing that parameter would harm general utility. Fisher comes from squared gradients, is non-negative, and contains no direction.
- Attribution: First-order Taylor attribution is the element-wise product of the parameter and the gradient of log pθ(y|x). A positive value indicates pushing toward generating y, and less than or equal to 0 indicates suppression or dormancy. This definition is in Section 3.2.
- PMFI: Compute Aforget on Dforget, H marks parameters where it is less than or equal to 0, and require the quadratic form of the update in that region not to exceed ε2. Neither ε1 nor ε2 is given a numerical value. The authors state that after freezing, the optimizer can only change parameters where Aforget is greater than 0, thereby dismantling the original malicious representations.
From Closed-Form Projection to Dual Masks
- Optimization problem: Maximize the inner product of the forgetting gradient and the parameter change under two quadratic constraints. The Lagrange multipliers λ1 and λ2 are non-negative. The closed-form update contains the inverse of a linear combination of the identity matrix, Fretain, and H, which the authors state cannot be directly inverted for billion-scale parameters.
- Approximation: Under the mean-field assumption for overparameterized networks, keep only the diagonal; then approximate the two denominators as a product, thereby decoupling the constraints. The paper gives this approximation without reporting the approximation error.
- Element-wise rule: The safe step is the Hadamard product of the two masks and the forgetting gradient, i.e.,
\Delta\theta_{safe} \approx M_1 \odot M_2 \odot \nabla L_{forget}. M1 shrinks the step for benign critical parameters according to the Fisher diagonal; M2 turns off the corresponding updates according to the non-excitation mask. α and β control the tightness of the bounds. Section 5.4 finally takes α=50, β=20. The paper states that f and h are normalized local bounds, without writing out the normalization formula.
Two-Stage Pipeline and Losses
- Initialize M1: Forward and backward pass on Dretain to compute the diagonal Fisher. The left half of Figure 1 is labeled Initialization Stage.
- Naive gradient: Compute the forgetting gradient on Dforget batches. Knowledge erasure uses CIR's representation-breaking loss; safe outputs use gradient ascent on harmful answers, consistent with CKU's formulation. Retain set importance uses cross-entropy.
- Dynamic M2: Simultaneously with the above gradient, isolate parameters whose initial contribution to malicious outputs is zero or negative.
- Filter: Multiply the two masks element-wise with the naive gradient and write back to the weights. The right half of Figure 1 is the Training Stage.
How Unlearning Is Judged
- Knowledge erasure: WMDP's four-choice questions take the maximum logit for the next token among A/B/C/D. Lower accuracy is treated by the authors as less of the target dangerous knowledge. After retraining, the same protocol is used to see whether the knowledge returns.
- Safe outputs: The refusal rate counts whether the output contains at least one of the refusal phrases listed in Appendix A.3. HarmfulScore is the average score from 1 to 5: 1 is refusal or steering the conversation away, and 5 is directly completing the violating request. The evaluation prompt is adapted from Lu et al. (2024). The paper does not state the evaluation model or report human agreement.
What experiments did the paper conduct?
On three models, FDCU's post-forgetting safety metrics outperform the listed baselines, but after retraining, a few metrics still fall short of CIR.
Experimental Setup
- Models: Qwen2.5-3B, Llama-3-8B-Instruct, Qwen-3-8B.
- Tasks: The training text for knowledge erasure is descriptions of dangerous concepts, with bioweapons given as an example in the main text; evaluation is multiple-choice questions from WMDP-Bio and WMDP-Cyber. The forget set for safe outputs extracts entities from harmful instruction data and generates descriptions; the specific source dataset names are not stated in the paper; evaluation uses AdvBench and AdvExtent, with suffixes including GCG, AIM, and AutoDAN. The number of evaluation items per benchmark is not reported in the paper.
- Baselines and losses: GA, CKU, ELM, SSIUU, CIR. Table 1 has no CKU or Origin; Table 2 has Origin. FDCU uses CIR's representation-breaking loss for knowledge erasure and gradient ascent on harmful answers for safe outputs. Cross-entropy on the retain set is used for Fisher.
- Metrics: Lower WMDP accuracy is better. Refusal rate is the proportion of outputs containing at least one refusal phrase listed in Appendix A.3. HarmfulScore is the average on a 1–5 scale, LLM-as-a-judge; the evaluation model is not specified. Utility is the MMLU Acc (header written as Acc) and WikiText subset PPL as stated in the main text; the subset size is not reported.
- Retraining: Knowledge erasure randomly samples 20% of the forget set, with the objective of next-token prediction. For safe outputs, the main text says a subset of the forget set, while Table 2's title says benign fine-tuning attack; whether these are the same distribution is not cross-referenced in the paper. Appendix A.2: LoRA, rank 8, scaling 32, dropout 0.05, modules q_proj and v_proj, 3 epochs, learning rate 1×10−5, batch 2 per GPU, gradient accumulation 8, bf16.
- Other settings: Two A100 80GB. Llama-3-8B-Instruct's unlearning learning rate is 5×10−6, batch 8, bf16. Final α=50, β=20. The number of repetitions for the main tables is not reported in the paper.
Main Results
Based on Table 1 and Table 2. Knowledge erasure columns are post-retraining Acc (Bio / Cyber, lower is better). Safe output columns are post-retraining refusal rate / HarmfulScore.
Swipe horizontally to read the table
Model Task FDCU CIR GA Qwen2.5-3B Knowledge erasure retraining Acc 31.5 / 31.0 32.3 / 31.5 42.3 / 45.1 Llama-3-8B-Instruct Knowledge erasure retraining Acc 32.5 / 27.4 33.4 / 27.1 52.4 / 59.6 Qwen-3-8B Knowledge erasure retraining Acc 32.3 / 27.2 33.1 / 27.9 45.2 / 50.1 Qwen2.5-3B Safe output retraining 88.6 / 1.35 89.5 / 1.38 57.7 / 2.53 Llama-3-8B-Instruct Safe output retraining 91.7 / 1.28 91.5 / 1.38 78.6 / 2.36 Qwen-3-8B Safe output retraining 87.9 / 1.33 87.7 / 1.37 62.8 / 2.69 - The authors state that lower retraining Acc in Table 1 supports PMFI limiting spurious suppression. Relative to GA, FDCU's retraining Acc is lower on all three models. Exception: in Llama-3-8B-Instruct's Cyber column, CIR is lower than FDCU.
- The authors state that after retraining, FDCU is more stable than GA, CKU, and ELM, citing Qwen2.5-3B where GA's refusal rate drops from 79.6% to 57.7%. In Table 2, Qwen2.5-3B's post-retraining refusal rate is higher for CIR; on all three models, FDCU has lower post-retraining HarmfulScore.
- The authors claim in the abstract to achieve state-of-the-art against the retraining attack. The table above does not cover all cells for ELM, SSIUU, and CKU; these numbers are in Table 1 and Table 2, and not every cell has FDCU as the lowest or highest.
Safety and Utility Immediately After Unlearning
- Safe outputs, Table 2: Post-unlearning refusal rate / HarmfulScore, FDCU is 91.0% / 1.23 for Qwen2.5-3B, 93.9% / 1.16 for Llama-3-8B-Instruct, and 89.1% / 1.31 for Qwen-3-8B. In the same column, Origin is 62.9% / 2.67, 79.6% / 2.19, and 67.4% / 2.46. The authors state that on all three models, FDCU has the highest post-unlearning refusal rate and the lowest HarmfulScore.
- Utility, Table 2: Origin's Acc / PPL is 59.1 / 15.2, 66.6 / 10.3, and 76.9 / 11.0; FDCU is 58.3 / 15.7, 65.8 / 10.7, and 76.3 / 12.7. GA's PPL is 26.7, 17.8, and 20.1. The authors state that FDCU is close to Origin. Counterexamples: on Qwen2.5-3B's Acc, ELM is 58.8, higher than FDCU; on Qwen-3-8B's PPL, CIR is 12.3, lower than FDCU.
- Knowledge erasure, Table 1: FDCU's initial Bio / Cyber Acc is 30.9 / 29.8, 31.9 / 27.3, and 31.5 / 27.2. On Llama-3-8B-Instruct's initial Cyber Acc, ELM is 27.2, lower than FDCU's 27.3. This table has no Origin row, so pre-unlearning utility cannot be compared from this table.
Mask Ablation
Table 3, Safe Output Control, model is Qwen2.5-3B. Full version is 91.0, 1.23, 58.3, 15.7, 88.6, 1.35 (post-unlearning refusal rate, HarmfulScore, Acc, PPL, post-retraining refusal rate, HarmfulScore).
- Removing Fretain: 84.7, 1.46, 55.7, 17.8, 83.4, 1.54. The authors state that general utility worsens, and this mask is used to protect benign pathways.
- Removing H: Post-unlearning 90.5, 1.25, Acc / PPL is 58.5 / 16.0; post-retraining 81.2, 1.67. The authors state that initial safety remains, but defense drops after retraining, so H is used to prohibit spurious suppressors.
- Random Mask: 82.1, 1.51, 56.8, 18.1, 79.6, 1.72. The authors state that all metrics are worse.
Other Ablations and Analyses
- α, β (5.4, Figure 2): The authors state that larger α generally improves General Utility, and moderate β is better; final α=50, β=20. The figure caption does not specify the model. The values at each grid point are not visible in plain text.
- Layer groups (Figure 3): The optional ranges are [8-12], [12-16], [16-20], [24-28], [28-32]. The authors state that middle layers such as [24–28] achieve a better balance between utility and post-retraining HarmfulScore, and changing to early or final layers reduces robustness. The figure caption does not specify the model; the y-axis labels are HarmfulScore and General Utility. The correspondence between bar heights and layers cannot be aligned in plain text, so it is not transcribed.
- Case study (5.5): After retraining, the authors show GA producing a harmful narrative, while FDCU refuses the same request. The prompt or output text is not reproduced here.
What are some points that can be further explored?
The authors only point out that extra memory is needed and state that storing only intermediate layers can reduce the footprint.
Limitations and future directions noted by the authors
- Extra memory (Section 6): Relative to naive forgetting, FDCU needs to save gradient statistics on the forget set and the retain set.
- The authors' handling (Section 6): The authors state this cost is manageable because Section 5.4 shows that applying it only to selected intermediate layers achieves a trade-off between robustness and utility, and Fisher and attribution only need to be stored for these layers, not the full model.
- No other directions listed: The Conclusion only restates the method and results, with no separate list of future work. Broader Impact (Appendix A.4) discusses social impact and is not written as a method limitation.
Experimental coverage
- The tested models are Qwen2.5-3B, Llama-3-8B-Instruct, and Qwen-3-8B, 3 in total (Section 5.1, Tables 1–2).
- Tasks include knowledge erasure on WMDP-Bio and WMDP-Cyber, and safe output control on AdvBench and AdvExtent paired with GCG, AIM, and AutoDAN (Section 5.1).
- Retraining follows Section 5.1 and Appendix A.2: knowledge erasure uses 20% of the forget set and next-token prediction; LoRA is applied to q_proj and v_proj, rank 8, 3 epochs, learning rate 1×10−5.
- The mask ablation table specifies Qwen2.5-3B (Table 3). α, β, and layer selection are written in Section 5.4; the captions of Figure 2 and Figure 3 do not specify the model.
- The paper does not report the review model for HarmfulScore, the number of repetitions in the main tables, the number of evaluation items for WMDP and AdvBench/AdvExtent, or the size of the WikiText subset. Appendix A.2 states that the original SSIUU protocol reports the average of three runs and says this paper adopts the same selection principle, without stating whether the main tables are averages of three runs. The post-deployment quantization and adversarial unlearning requests mentioned in Section 2 do not appear in the evaluation setup of Section 5, and the paper does not report results for these two items.
Summarize the main content of the paper
FDCU uses dual masks to limit shallow suppression, improving post-retraining stability in knowledge erasure and safe outputs.
FDCU is an unlearning method that constrains parameter updates to reduce the chance that retraining re-elicits suppressed malicious behavior.
- Problem: The authors argue that existing unlearning often takes a shortcut, activating dormant parameters to suppress malicious outputs rather than dismantling the original representations. Subsequent fine-tuning can easily break this suppression.
- Approach: The forgetting gradient must pass through two element-wise masks simultaneously. One shrinks updates sensitive to general knowledge based on the diagonal Fisher on the retain set, and one freezes parameters that are not initially excited for malicious outputs based on PMFI. Knowledge erasure borrows CIR's representation-breaking loss, and safe outputs use gradient ascent.
- Knowledge erasure: In Table 1, FDCU's post-retraining Bio Acc on Qwen2.5-3B, Llama-3-8B-Instruct, and Qwen-3-8B is 31.5%, 32.5%, and 32.3%, respectively, all lower than GA in the same table. Llama-3-8B-Instruct's Cyber retraining Acc is 27.4%, and CIR's is 27.1%.
- Safe outputs: In Table 2, on Llama-3-8B-Instruct, FDCU's refusal rate after unlearning is 93.9% and HarmfulScore is 1.16; after retraining, the refusal rate is 91.7% and HarmfulScore is 1.28. Qwen2.5-3B's post-retraining refusal rate is 88.6% for FDCU and 89.5% for CIR. The authors state that on all three models, FDCU has better post-unlearning refusal rates and HarmfulScores.
- Authors' conclusion: The authors state that shallow alignment comes from spurious suppressors, and that the dual-constraint projection improves retraining robustness while preserving utility, and claim in the abstract to achieve state-of-the-art. Table 1 has no Origin row; in Table 2, Origin's Acc and PPL remain better than all unlearning methods.