ELVIA.Evidence Atlas
← Back to analysis

AI context

ELVIA analysis of: Towards LLM Unlearning Resilient to Relearning Attacks: A Sharpness-Aware Minimization Perspective and Beyond — Problem 4: The supplied curvature-regularization command has no dispatch branch; the stored class also detaches its norm

Original paper: Chongyu Fan; jinghan jia; Yihua Zhang; Anil Ramakrishna; Mingyi Hong; Sijia Liu. Towards LLM Unlearning Resilient to Relearning Attacks: A Sharpness-Aware Minimization Perspective and Beyond. Proceedings of the 42nd International Conference on Machine Learning, vol. 267, 2025. https://proceedings.mlr.press/v267/fan25e.html
Source version: Published ICML 2025 proceedings PDF (PMLR 267)
Source location: Curvature regularization equation (11), publisher PDF page 5

Question: What does the recorded analysis establish about “The supplied curvature-regularization command has no dispatch branch; the stored class also detaches its norm”?
Bounded finding:
Lines: 38–48. Supplied command selects NPO+FT+CR. Lines: 1–30. NPO_FT_CR is imported, but no name branch selects it; NPO+FT+CR falls through to ValueError at 27–28. Lines: 267–346. The stored NPO_FT_CR class calls accelerator.backward(forget_loss) inside compute_loss at 299; its gradient-difference norm is converted with .item() at 340 and added as a scalar at 344. A direct reading of the complete dispatch function shows that the supplied CR method name cannot instantiate the CR class through the public training entry point. If that class were separately invoked, its added norm would be detached for the same reason as GP. The internal backward also leaves forget gradients accumulated before the enclosing Trainer's later backward; no runnable repaired path was assumed. The unreachable dispatch is material counterevidence against claiming that this class certainly generated the reported CR results. The paper may have used a different path or private revision. These are source-release facts, not a demonstrated failure of the reported CR score.

Recorded check:
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 299 and detaches the gradient-difference norm with .item() at line 340, adding a scalar at 344. 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.

Case-wide limitations:
- 0100-M1 — Stationarity of the SAM surrogate does not imply vanishing directional curvature — Limits: This is a generic smooth-loss counterexample to the mathematical implication. It is not a simulated LLM loss, not an NPO benchmark reproduction, and not a claim that a real unlearned model follows this trajectory.
- 0100-M1 — Stationarity of the SAM surrogate does not imply vanishing directional curvature — Counterevidence and limits: Eq4 explicitly linearizes the inner maximization; its closed-form optimizer of the linearized problem is correct. The audit does not misrepresent it as an exact maximizer of arbitrary nonlinear losses.
- 0100-M1 — Stationarity of the SAM surrogate does not imply vanishing directional curvature — Counterevidence and limits: Eq6 is explicitly a first-order Taylor approximation and Eq8 a finite-difference approximation. These local relations are retained.
- 0100-M1 — Stationarity of the SAM surrogate does not imply vanishing directional curvature — Counterevidence and limits: The conditional min-max formulation requires a relearning objective counteracting the forget objective and a bounded weight-perturbation threat set; it can remain a useful robust surrogate.
- 0100-M1 — Stationarity of the SAM surrogate does not imply vanishing directional curvature — Counterevidence and limits: AlgorithmA1 intentionally bypasses higher-order derivatives. In the scalar counterexample v is locally constant, so this bypass does not remove the counterexample.
- 0100-M1 — Stationarity of the SAM surrogate does not imply vanishing directional curvature — Counterevidence and limits: The analysis does not demonstrate diminished empirical UE/UT, failure of all smoothing, or ineffective unlearning. Empirical score verification is separate.
- 0100-M1 — Stationarity of the SAM surrogate does not imply vanishing directional curvature — Counterevidence and limits: Even a valid local directional-curvature reduction would not itself be a certificate against unrestricted fine-tuning or every attack; the paper's measured attack results remain empirical.
- 0100-CODE-GP — The released gradient penalty has no differentiation path to model parameters — Alternative and counterevidence: Changing printed/logged loss values is distinct from changing the optimizer's gradient. A separate unreleased implementation may have been used for the paper. The code history establishes that this expression is not a recent post-publication edit; it still does not prove run provenance.
- 0100-CODE-CR — The supplied curvature-regularization command has no dispatch branch; the stored class also detaches its norm — Counterevidence: The unreachable dispatch is material counterevidence against claiming that this class certainly generated the reported CR results. The paper may have used a different path or private revision. These are source-release facts, not a demonstrated failure of the reported CR score.
- 0100-CODE-NPO — MUSE's named NPO objective uses unnormalized full-vocabulary logits — Counterevidence: Both baseline and SAM MUSE code use the same raw-logit objective. That does not make it NPO, but it prevents inferring the sign or magnitude of bias in the SAM comparison without new evidence. The WMDP NPO path instead uses model loss differences, so the MUSE raw-logit defect must not be generalized to WMDP.
- 0100-EMP-BUDGET — Counterevidence: Pinned public script MUSE/baselines/run_muse_relearn.sh uses Books max_steps50/75/100, News100/125/150, per_device_batch_size4. Under one process and no other accumulation, processed-example totals match caption, but this is not an immutable publication run record or proof of distinct sample count.
- 0100-EMP-WA — Counterevidence: Either value is better than NPO.37 and below SAM.45; this discrepancy does not alter central rank conclusions.
- 0100-CODE-CONFIG — Released settings partly clarify attack budgets and differ in other places from paper descriptions — Limit: Processed-example counts are not automatically counts of distinct examples, nor proof of the actual publication settings.
- Mathematical counterevidence: Eq4 explicitly linearizes the inner maximization; its closed-form optimizer of the linearized problem is correct. The audit does not misrepresent it as an exact maximizer of arbitrary nonlinear losses.
- Mathematical counterevidence: Eq6 is explicitly a first-order Taylor approximation and Eq8 a finite-difference approximation. These local relations are retained.
- Mathematical counterevidence: The conditional min-max formulation requires a relearning objective counteracting the forget objective and a bounded weight-perturbation threat set; it can remain a useful robust surrogate.
- Mathematical counterevidence: AlgorithmA1 intentionally bypasses higher-order derivatives. In the scalar counterexample v is locally constant, so this bypass does not remove the counterexample.
- Mathematical counterevidence: The analysis does not demonstrate diminished empirical UE/UT, failure of all smoothing, or ineffective unlearning. Empirical score verification is separate.
- Mathematical counterevidence: Even a valid local directional-curvature reduction would not itself be a certificate against unrestricted fine-tuning or every attack; the paper's measured attack results remain empirical.
- Missing materials: Publication-generating commits, run configurations, checkpoint mappings and raw trial outputs
- Missing materials: Actual optimized jailbreak prefixes, attack seeds and external attack revision
- Missing materials: Exact MUSE process/sharding/accumulation and distinct-sample attack budgets
- Missing materials: Original aggregation record resolving Figure 2a versus Table 2 WA value
- Missing materials: Complete RMU implementation/run artifact not located in inspected release
- Not performed: No author source was executed or imported.
- Not performed: No model weights or large datasets downloaded.
- Not performed: No experiments, model/API calls, installs, fine-tuning, attack optimization or empirical reproduction.
- Not performed: No assertion of complete codebase correctness or exhaustive framework/AMP/distributed behavior verification.
- Not performed: No source-to-publication checkpoint mapping, raw run logs or actual optimized jailbreak prefixes obtained.
- Not performed: Public issue tracker and author correspondence were not independently reviewed by this sub-audit; later-source/errata handling is coordinated by the parent.
- Not performed: No author code execution, import, model/API call or fresh experiment
- Not performed: No full independent code audit (other agent assigned)
- Not performed: No statistical inference from unavailable raw trials
- Not performed: No reproduction of runtime, fine-tuning or adversarial prompt search
- Not performed: No verification of actual publication-generating commit
- Not performed: No verification of later-version repairs (parent assigned)
- Not performed: No exhaustive proof of all framework behavior, no TeX compilation locally
- The original report's complete scope, counterevidence and unresolved questions are retained below.
- This import checks publication format and identity; it does not repeat scientific review.
- Independent human scientific review is pending; author adoption has not been requested.
Source problem ID: p4
Source report index: 4

Original source excerpts (verbatim):
Unlike SAM, which implicitly reduces curvature through its optimization process, CR explicitly penalizes the curvature in the forget loss.
Source: Published ICML 2025 proceedings PDF (PMLR 267)
Locator: PDF p. 5
Source PDF SHA-256: 77fc07b5fbaff3f32605be16547ac8e131441ada2a05c0e7bb04f8f866a34c29

Review status: Independent review pending
Case: icml2025-0100-towards-llm-unlearning-resilient-to-relearning-attacks-a-sharpness
Revision: 1
Record created: 2026-10-26T04:21:21.357774+00:00
Permalink: https://elvia-atlas.org/atlas/cases/icml2025-0100-towards-llm-unlearning-resilient-to-relearning-attacks-a-sharpness.html#problem-4
Versioned public record: https://elvia-atlas.org/atlas/evidence/icml2025-0100-towards-llm-unlearning-resilient-to-relearning-attacks-a-sharpness/records/icml2025-0100-towards-llm-unlearning-resilient-to-relearning-attacks-a-sharpness.r1.json
Canonical record SHA-256: 07e5687662473ff8753374e5bccf6d08a47ca4f6beb48248bef96cf246b6dd7c
The page follows the latest revision; the versioned record identifies this snapshot.