Towards LLM Unlearning Resilient to Relearning Attacks: A Sharpness-Aware Minimization Perspective and Beyond
ELVIA analysis
Independent review pending
The first reported finding concerns “Stationarity of the SAM surrogate does not imply vanishing directional curvature”. A concise supported summary is not available here; read the complete problem scope below.
Problem 1. Stationarity of the SAM surrogate does not imply vanishing directional curvature
MajorEvidence and reasoning
Problem statement
The paper states that solving problem(5) drives convergence to a stationary point, which consequently reduces curvature in the sense -> with H the original forget-loss Hessian and v its normalized gradient.
Proof
Section 4, p. 4, immediately after Eq. (8), concludes from solving Eq. (5) toward stationarity that ||H*v|| tends to zero. This is the mathematical bridge from SAM optimization to curvature suppression and the subsequent CR/smoothing motivation, closely tied to a principal contribution [R1,R2].
Suspect step. A zero gradient of the full surrogate does not force one component to vanish. For the Eq. (6) surrogate G, stationarity permits cancellation between g and rho*H*v. For F in Eq. (5), the derivative contains the shifted gradient and the Jacobian of v. The correct identities appear below. Adding a retain gradient cannot justify dropping the other terms.
Complete counterexample. Fix any rho> for example and take the scalar polynomial ell displayed below. Choose lambda= permitted by the nonnegative retain coefficient, or a constant retain loss with any lambda. The loss is smooth, coercive and globally nonnegative. Its only critical points are -rho, rho/2 and rho, with values *rho^ *rho^ and *rho^ so its global minimum is positive.
The factored gradient is positive on (-rho,rho/2), hence near The source’s nonzero-gradient condition holds at and near the solution. At zero, g=rho/2, and ||H*v||= Locally Eq. (5) is exactly F(x)=ell(x+rho). Thus F’()=ell’(rho)= and F”()=ell”(rho)=>0: zero is a strict local minimum of the stated surrogate, but directional curvature does not vanish. No undefined normalization or stationary maximum is used.
Independent verification. With rho= step size and x0= reviewer scalar iterations yield and ||H*v||= At zero, the Eq. (8) finite difference with mu= is tending to Exact symbolic checks and the complete replay script are preserved [R6].
Alternative readings and counterevidence. This tests Eq. (5) as the paper’s approximate-SAM surrogate; it does not claim its perturbation is an exact nonlinear inner maximizer. Algorithm A1’s deliberate omission of higher derivatives cannot remove the example because v is locally constant. Appendix A supplies a second smooth nonnegative loss with strict local minima for both Eq. (5) and Eq. (6), while ||H*v||= closing the alternative interpretation of the paragraph. These are generic mathematical witnesses, not simulated LLM losses or NPO training runs.
Impact and repair. Major: a core-connected inference is false even if the experiments and broader smoothing hypothesis survive. Valid local approximations and conditional robust optimization remain available. The derivative identities below are verified scoped replacements; no complete argument restoring the claimed zero-curvature conclusion has been verified.
Let t=x/rho, h(t)=+3t+()t^+7t^+100t^ q(t)=(t-1)^*h(t), and ell(x)=*q(x/rho). The identity h(t)=(+3t/2)^+t^*(+7t+100t^) proves h>0: the quadratic has positive leading coefficient and discriminant Thus ell is smooth and nonnegative.
Exact derivatives: q’ q” q”’ q’ q” At g=rho> and nearby. The Eq. (5) surrogate ell(x+rho) has derivative zero and second derivative The Eq. (6) surrogate ell(x)+rho*ell’(x) has derivative rho* and second derivative Both have strict local minima while ||H*v||= Constant retain loss leaves the calculation unchanged. This closes the Eq. (6) reading without invoking a zero base gradient [R6].
Possible revision
Not available
Problem 2. The large-radius ablation confuses forgetting with utility
MinorEvidence and reasoning
Problem statement
Main text p9 says large rho= hinders unlearning effectiveness; AppendixE p15 says it disrupts the process and prevents effective forgetting.
Proof
Source claim. The rho-ablation discussion on p. 9 and Appendix E, p. 15, attributes rho= to ineffective forgetting. Table A3 instead shows identical pre-attack forget scores, substantial utility deterioration and mixed post-attack changes [R1,R6].
Pre-attack forget VerbMem and KnowMem are both at both radii. Increasing rho from to reduces retain KnowMem by points; after attack, forget VerbMem improves by while KnowMem worsens by Directions follow the paper’s explicit UE/UT definitions.
Alternative reading and impact. If effectiveness informally means the joint forget/retain objective, the utility loss supports a worse tradeoff; the specific assertion about preventing forgetting does not follow. Minor: a bounded interpretation error, with no demonstrated failure of the selected rho= comparison. This repairs the description, without asserting new experimental results.
Table A3 metric | rho= | rho= | Change
Retain KnowMem (higher) | | | worse
Pre-attack VerbMem / KnowMem (lower) | / | / | No displayed change
Post-attack VerbMem (lower) | | | better
Post-attack KnowMem (lower) | | | worse
Possible revision
At rho= pre-attack forget scores remain0.00, while retain utility falls to Relative to rho= post-attack VerbMem improves from to and KnowMem worsens from to rho= therefore provides a more favorable reported balance of retain utility and the two robustness metrics.
Problem 3. The released gradient penalty has no differentiation path to model parameters
MinorEvidence and reasoning
Problem statement
Inspection subject recorded in the report
A gradient-norm penalty intended to regularize model parameters must retain a differentiation path from that penalty to those parameters.
Proof
Equation (10), p. 5, defines a differentiable gradient-norm penalty. The public WMDP path is NPO_FT_GNR, WMDP/src/unlearn/GA.py lines 218-264, reachable through __init__.py lines 24-25 and the supplied GP command [R3].
Complete static check. Lines 255-257 request differentiable gradients with create_graph=True, but line converts squared-gradient sums using .item(). The accumulated norm and its square root are Python scalar values. Adding that value at line contributes zero parameter derivative. The official Tensor.item documentation confirms nondifferentiability [R5]. For the reviewer example ell(theta)=theta^ at theta= and rho= the intended derivative of ell+rho*|ell’| is a detached penalty leaves No author or Torch training code was executed.
The command supplies gnr_rho= while this loss hardcodes A changed logged loss is distinct from a changed optimization gradient. The expression is present in the first code release, so it is not only a recent edit.
Impact and counterevidence. Minor for the demonstrated release defect; published GP-result implications remain Needs Evidence because run-source linkage is missing. Objective identity would matter even if scores remained favorable after such linkage were established. Preserving a differentiable tensor norm and using the intended coefficient are necessary local requirements, but no complete repaired trainer or empirical restoration was verified.
Possible revision
Keep the norm accumulation as a differentiable tensor and use the intended coefficient; correctness and scalability of a complete repaired training path would require additional verification.
Problem 4. The supplied curvature-regularization command has no dispatch branch; the stored class also detaches its norm
MinorEvidence and reasoning
Problem statement
Inspection subject recorded in the report
The supplied curvature-regularization command should dispatch to the advertised objective, and the stored objective must retain the model differentiation required by that regularization.
Proof
Equation (11), p. 5, defines curvature regularization. WMDP/run_wmdp_unlearn.sh lines 38-48 selects NPO+FT+CR, but the complete dispatch function in WMDP/src/unlearn/__init__.py lines 5-28 has no branch for that name and falls through to ValueError. Importing its class does not make the command reach it [R3,R6].
Separately, the stored NPO_FT_CR class, GA.py lines 267-346, calls backward inside compute_loss at line and detaches the gradient-difference norm with .item() at line adding a scalar at Adding dispatch alone would not validate the penalty or gradient accounting.
Impact and counterevidence. Minor for this public release path; published-result impact Needs Evidence. The unreachable command is counterevidence against asserting that this class certainly generated the reported CR measurements. Another execution path remains possible. No command was run, no training failure was reproduced, and no complete repair is claimed.
Possible revision
Not available
Problem 5. MUSE's named NPO objective uses unnormalized full-vocabulary logits
MinorEvidence and reasoning
Problem statement
Inspection subject recorded in the report
The released objective named NPO should use the stated likelihood-ratio loss on sequence probabilities, rather than an unnormalized full-vocabulary-logit surrogate. Finite real logits, beta> the same reference and forget label in both cases; a common shift is an admissible logit representation of exactly the same categorical distribution.
Proof
The paper identifies NPO as the MUSE baseline on pp. 3 and 7-8. The original NPO definition depends on the conditional probability of a forget response relative to a reference, Eq. (3) in Zhang et al. [R4]. The saved MUSE/baselines/baselines/iterative.py lines 155-157 and sam_iterative.py lines 256-258 instead apply logsigmoid to reference.logits-current.logits over the full tensor, without probability normalization or selecting the forget labels for that term [R3,R6].
Complete invariant check. Set beta= reference and initial current logits (), and subsequent current logits (), a common shift of All logits are finite, beta is positive, and the reference and forget label remain fixed. Both current softmax distributions equal (), hence every response likelihood is unchanged. Proper likelihood-ratio NPO remains the released loss changes from to This establishes objective mismatch without assuming a real model follows a common-offset trajectory.
Counterevidence and impact. Both MUSE baseline and SAM use the expression, so a relative advantage can survive. WMDP uses cross-entropy loss differences and is outside this raw-logit counterexample; its reduction convention is a separate scope question. Minor for the released objective mismatch; actual published MUSE objective remains Needs Evidence. If the released expression generated the named NPO comparison, that identity failure would need assessment without requiring score deterioration. No run mapping or complete replacement with verified label shifting, masking, sequence reduction and beta convention was obtained.
Possible revision
Not available
Supporting record & provenance
Work status
Current version
Version 1
Minhao Liu · Initial report · Version 1
Independent review pending
Original claim and review scope
Unlike SAM, which implicitly reduces curvature through its optimization process, CR explicitly penalizes the curvature in the forget loss.
Published ICML 2025 proceedings PDF (PMLR 267); PDF p. 5
Actual review scope
The recorded inspection concerns these source locations: Section 4, p. 4, paragraph immediately afterEq8; dependency on Eqs5-7 and subsequent smoothness/CR motivation.; p. 9 ablation paragraph; p. 15 AppendixE ablation paragraph and TableA3; Gradient penalty equation (10), publisher PDF page 5; Appendix C smoothing settings, page 14; Curvature regularization equation (11), publisher PDF page 5; NPO description, publisher PDF page 3; MUSE NPO versus NPO+SAM experiments, pages 7–8 and Appendix C.