The paper reveals normalization artifacts in machine unlearning evaluation under BatchNorm architecturesThe BatchNorm Illusion: Diagnosing Normalization Artifacts in Machine Unlearning Evaluation
The authors point out that BatchNorm running statistics can measure forgetting accuracy as too low, and a single retain forward pass without changing weights can flip surface forgetting back.
- In approximate machine unlearning evaluated with forgetting accuracy on BatchNorm architectures, a single retain forward pass that only recomputes running statistics without changing weights can flip surface forgetting. The authors distinguish this measurement failure from the encoder still retaining forgetting information.
- The diagnostic operator R* recomputes BN running statistics on retain data with the current weights, leaving the weights unchanged. The authors prove it is an idempotent, weight-preserving fixed point, and uniquely decompose the linear probe gap relative to retraining into a BN measurement bias and an encoder geometry term.
- On CIFAR-10, ΔF for six of the nine methods is 18.9–78.2 percentage points, with BadTeacher rising from 18.9% to 97.2%. As few as 10 unlabeled images restore BadTeacher and NoiseInject to 88.7% and 91.0%, respectively. On GroupNorm, ΔF is 0; after recalibration, MIA AUC changes by at most 0.012.
- The authors state that they mainly test class-level unlearning; instance-level has only one condition. They did not run full ImageNet-1k, nor did they test language models. The threat model assumes local access to the checkpoint; for such an attacker, the authors argue that GN/LN is needed rather than relying only on evaluation-side controls.
- Threat model
- The attacker's goal is to recover unlearned capabilities rather than reconstruct training samples; they hold the released checkpoint (weights and BN running statistics), have at least 10 unlabeled natural images, and can run the model locally; they do not need labels, gradient updates, the original model, or the specified forget set. Success is measured by the recalibrated unlearned-class accuracy and its change relative to the released checkpoint.
- Evaluated models
- ResNet-18ResNet-50ViT-S/16GroupNorm-ResNet-18
- Benchmarks
- CIFAR-10CIFAR-100Tiny-ImageNetImageNet-100
- Metrics
- forget accuracy (Pre-F, Post-F, ΔF)retain accuracy (Pre-R, Post-R)LP-50ReAUCBN-residualNC-residualMIA AUC
The paper finds a previously undocumented confound in machine unlearning evaluation for BatchNorm-based architectures: a single forward pass on retained data, without modifying any weights, can deterministically rewrite the model's normalization state and reverse the unlearning effect on surface metrics. The authors formalize this operation as a weight-preserving fixed-point operator and prove that the resulting pre- and post-unlearning gap can be attributed to BN running statistics rather than to the unlearning method's weight modifications, thereby distinguishing measurement failure from encoder failure. Experiments show that this artifact reverses up to 78 percentage points of unlearned accuracy across nine methods on standard benchmarks; an attacker with only 10 unlabeled images can recover most of the masked accuracy; and switching to strict GroupNorm reduces the artifact to zero for all methods. Tested membership inference attacks change little after recalibration, indicating that evaluation failures concentrate on unlearned accuracy and linear probing.
Paper analysis
What problem does this paper attempt to solve?
BN running statistics can measure surface forgetting accuracy as too low, and a single retain forward pass without changing weights can flip it back.
Forgetting accuracy in approximate machine unlearning on BatchNorm architectures may measure the normalization state rather than whether the weights truly erased the forgetting content.
- Scenario and importance: Approximate unlearning must remove the influence of specified training data without retraining from scratch, to satisfy what the authors call GDPR-style erasure obligations. The authors take SalUn as an example: the original paper reports 3.0% CIFAR-10 forgetting-class accuracy; the authors load the released checkpoint, do not change weights, run
update_bnon the retain set, and obtain 65.1%. - Two types of failure in existing evaluation: The authors distinguish encoder failure (parameters still encode forgetting content, even when forgetting-set accuracy is near 0) from measurement failure (the evaluation process reports forgetting when none has occurred). This paper addresses only the second type; the authors consider them complementary and present simultaneously for several methods.
- Core observation: Both BN corruption (during forgetting, BN is in train mode, and forgetting-data forward passes rewrite running statistics via EMA, with this update outside the gradient graph) and BN misalignment (BN is frozen but convolution weights drift, so the activation distribution is disconnected from the still-frozen statistics) lower surface forgetting accuracy, and both disappear after recalibration.
- Threat model:
- Goal: Recover forgetting-class capability, not reconstruct training samples.
- Knowledge and capability: Holds the released checkpoint (weights and BN running statistics), has at least ten unlabeled natural images, and can run the model locally; no labels, gradient updates, original model, or specified forgetting set are needed.
- Victim system and success criterion: The primary setting is model release (locally executable checkpoint); an inference-only API cannot update BN statistics through the interface. Success is measured by recalibrated forgetting-class accuracy and its change relative to the released checkpoint.
- What this paper proposes: The authors state they do not propose a new unlearning method, but a measurement correction: formalizing BN recalibration as a weight-preserving fixed-point operator, giving a unique decomposition of the linear probe, and examining this artifact across nine methods.
- Scenario and importance: Approximate unlearning must remove the influence of specified training data without retraining from scratch, to satisfy what the authors call GDPR-style erasure obligations. The authors take SalUn as an example: the original paper reports 3.0% CIFAR-10 forgetting-class accuracy; the authors load the released checkpoint, do not change weights, run
What related research exists?
Approximate unlearning, encoder-level evaluation, and BN recalibration in other settings are three related work areas; this paper is positioned as a measurement failure, not a new unlearning algorithm.
Approximate unlearning
- Cao and Yang [3] (2015) and SISA [1]: The former formalizes the unlearning problem; the latter is an exact method. Approximate methods are listed alongside data deletion [8, 16], forgetting factor analysis [29], fine-tuning on retain and Fisher-weighted forgetting [9], distillation [4, 28], amnesiac learning [10], saliency weight erasure SalUn [5], SCRUB [17], selective synaptic damping SSD [6], projected gradient unlearning [12], output distribution reweighting RWFT [31], and representation-level unlearning [18].
- Three scale benchmarks: NeurIPS unlearning competition [30], Deep Unlearn [2], and MUBox [20] evaluate unlearning on BN architectures. The authors state that, to their reading, none of these explicitly reports a BN recalibration control. UMA [32] also relies on a BN backbone; the authors believe this diagnostic can be directly applied to such verification.
Encoder-level evaluation
- Gao et al. [7]: Uses linear probes to show that approximate methods still have forgetting-class information, attributing it to feature–classifier misalignment in the Neural Collapse sense. The authors consider this explanation consistent with theirs, but without first removing the BN measurement bias, the severity at the encoder level cannot be quantified faithfully.
- Lee et al. [19] and relearning [13, 27]: The former freezes the backbone and retrains the classifier to recover forgetting accuracy; the latter shows that current methods' forgetting representations can be re-induced by low-cost fine-tuning. The authors position these as encoder failures and state that their measurement failure is largely orthogonal to and superimposed on them.
BatchNorm and recalibration in other settings
- BN's dual role [14, 24]: Training-time stability, and running statistics as checkpoint parameters that determine inference behavior. The authors consider the latter to make artifacts possible.
- SWA [15] and test-time adaptation [25, 22]: Use target-data forward passes to recompute BN statistics, respectively correcting the averaged model's statistics and realigning BN with the drifted test distribution. The authors state that the contribution is not in the mechanism itself, but in showing that its absence causes systematic measurement failure on unlearning benchmarks, and in giving an operator-theoretic attribution.
Baseline methods and benchmarks: Experiments compare Retrain, SCRUB, GA, GA+FT, SalUn, BadTeacher, IncompTeacher, NoiseInject (which the authors call a simplified noise injection in the style of Chundawat et al. [4], not Golatkar et al.'s [9] Fisher forgetting), SSD, and PGU; main data are CIFAR-10 (single-class, two-class) and CIFAR-100 (single-class, five-class), with extensions to Tiny-ImageNet and ImageNet-100.
The authors position this work as measurement correction: measurement failure is superimposed on encoder failure, and for several methods on CIFAR-100, the BN measurement bias masks encoder leakage.
How does the paper address this problem?
Use the weight-preserving recalibration operator R* to attribute accuracy gaps to the BN state, and uniquely decompose the linear probe gap.
The authors define BN recalibration as a single retain forward pass on the current weights with gradients disabled, used to recompute running statistics; any accuracy change is attributed to the normalization state.
Two phenomena with opposite mechanisms
- Model state: A BN network is written as M=(θ,ϕ), where θ contains the convolution kernels, BN affine parameters γ,β, and classifier weights, and ϕ is the per-layer running mean and variance. At inference, normalization uses fixed (μℓ,(σℓ)2).
- BN corruption: During forgetting, if BN is in train mode, each forgetting-data forward pass updates the running statistics via the EMA in Eq. (1) with momentum m. This update is completed within the forward pass; the authors state that any operator acting only on weight gradients (including projections) cannot intercept the already-executed buffer update (Theorem 2).
- BN misalignment: When BN is frozen, ϕ is unchanged, but after θ→θT, the activation distribution on retain is no longer the one for which the original statistics were calibrated. The two are not endpoints of a continuum: they arise from the two control choices of train and eval, leaving different traces in the checkpoint; methods can also have some steps in train mode and some frozen.
- Why the same diagnostic covers both: R∗ changes the running statistics to be consistent with the current θ, regardless of whether it was θ or ϕ that moved.
Recalibration operator
- Definition: R∗Dr:(θ,ϕ)↦(θ,ϕ∗(θ;Dr)), where ϕ∗ is the per-layer population activation moments of weights θ on the retain distribution. Experiments use R̂Nr,b: one train-mode, gradient-disabled forward pass over Nr retain images with mini-batch size b, corresponding to PyTorch's
update_bn. - Theorem 1: The authors state that this operator is idempotent, weight-invariant, and pointwise equivalent to the per-layer oracle population moments; under the moment and second-order regularity conditions in Appendix B, the experimental operator deviates from R∗ by Op(Nr−1/2)+OL(b−1). When the input tensor, batch partition, and forward computation are fixed, the experimental pass is also idempotent.
- Corollary 1: For any metric g that depends on the forward mapping, the gap g(R∗(M))−g(M) can only be attributed to the BN state. The authors state that R∗ cannot create forgetting, nor destroy forgetting already encoded in the weights; it can only reveal which state the model is in. "Weight-invariant" refers to θ (including γ,β), not to invariance of forward features.
Unique decomposition of the linear probe
- Proposition 1: The linear probe gap relative to retraining from scratch is written as an NC-residual (LPMcal−LPMretr) plus a BN-residual (LPM−LPMcal). The authors state that under the two conditions "the BN term is 0 when ϕ=ϕ∗" and "the NC term is invariant under R∗", this decomposition is unique.
- Notation: A positive BN-residual means the surface LP overestimates encoder leakage; a negative one means it underestimates. The recalibrated LP is called by the authors an unbiased measurement of the linear separability of encoder-residual forgetting classes.
- Not a sum of squares: Appendix D reports a mean |ρ| of 0.40 and a maximum of 0.68 on train-mode methods; the authors consider this to rule out adding the squared energies of weight perturbation and BN perturbation as a quantitative attribution. Eq. (3) is only an algebraic identity at the level of LP accuracy.
Operations in experiments and how to read success
- Diagnostic pass: The main experiments use Nr≥ 5000 retain samples, train mode, gradients disabled. The linear probe uses
lbfgs,max_iter=1000, and 50 samples per class. Relearning AUC is computed by fine-tuning for 50 epochs on 50 forgetting-class samples and integrating over the normalized forgetting accuracy curve. - Adversarial recovery: Same single forward pass as the diagnostic, weights frozen, only running statistics updated; data can be replaced with in-distribution test images or CIFAR-100 pixels normalized by CIFAR-10 statistics, with budget B from 10 to 9000.
- Controls given by the authors: Architecturally, use GroupNorm or LayerNorm to remove running statistics; procedurally, freeze BN and recalibrate with retain before evaluation; data-wise, in the tested SalUn mixed-batch scan, a retain proportion of at least 25% removes the observed gap. The authors state that this mixing result applies only to the evaluated pipeline, and BadTeacher's eval-mode misalignment persists at its reference mixing ratio.
What experiments did the paper conduct?
For six of nine methods, surface forgetting is flipped back by 19–78 percentage points by recalibration; on GroupNorm the gap is 0, and MIA is almost unchanged.
Experimental setup
- Methods: Retrain, SCRUB, GA, GA+FT, SalUn, BadTeacher, IncompTeacher, NoiseInject, SSD, PGU, nine forgetting methods plus retraining from scratch. Each dataset/forgetting-ratio condition uses one set of hyperparameters, taken from each method's reference implementation or the closest reimplementation; full configuration is in Appendix F. PGU† is the authors' cleaner-covariance reimplementation; the official two-stage protocol gives Δ F=+14.5pp (Appendix G).
- Data and architectures: CIFAR-10 single-class and two-class, CIFAR-100 single-class (p=0.01) and five-class (p=0.05); main table is CIFAR-10, ResNet-18 (CIFAR adaptation: 3× 3 stem, no max-pool), forgetting class 0. Also ResNet-50 on Tiny-ImageNet, pretrained ResNet-50 on ImageNet-100, ResNet-18 with GroupNorm replacement, and ViT-S/16 (LayerNorm).
- Metrics: Pre-F/Post-F are forgetting-class accuracy before/after recalibration, Δ F is their difference (percentage points); Pre-R/Post-R are retain accuracy; LP-50 is forgetting-class linear probe accuracy with 50 samples per class; ReAUC is relearning AUC. Table 2 decomposes BN-residual and NC-residual with a single seed.
- Repeats: Multi-seed numbers are mean±std over three random seeds; Table 2 is single-seed. The paper does not report the test-set sample size per forgetting class.
Main results
Table 1 (CIFAR-10, ResNet-18, single-class forgetting class 0, three-seed mean):
Swipe horizontally to read the table
Method Pre-F% Post-F% ΔF (pp) Pre-R% LP-50 ReAUC Retrain 0.0 0.0 0.0 99.6 75.5 0.000 SCRUB 0.0 0.0 0.0 88.2 82.1 0.000 GA 0.0 0.0 0.0 57.2 79.4 0.000 GA+FT 67.9 67.7 −0.2 96.3 89.7 0.746 SalUn 3.0 65.1 +62.1 85.0 88.9 0.723 BadTeacher 18.9 97.2 +78.2 95.7 91.4 0.976 IncompTeacher 39.1 87.1 +48.0 90.1 89.8 0.928 NoiseInject 79.8 98.7 +18.9 95.0 91.1 0.988 SSD 25.7 88.1 +62.4 79.1 90.3 0.901 PGU† 1.1 62.0 +60.9 93.0 91.0 0.641 The table omits std and Post-R; Post-R from Retrain to PGU† is 99.6, 90.9, 81.5, 96.3, 95.1, 95.9, 89.1, 95.2, 95.7, 94.6.
- Authors' claims: Six of the nine methods have Δ F≥ 18.9pp, with the largest flip being BadTeacher's +78pp; in the main comparison, the diagnostic flips surface forgetting back by 19–78 percentage points for six methods.
- The four rows with |Δ F|≤ 0.2pp fall into three categories: SCRUB has Δ F=0 at 88% retain; GA reduces retain to the table's lowest 57.2% in 500 steps; GA+FT's fine-tuning steps recalibrate BN themselves; PGU still has about +61pp even in eval mode. The authors state that Pre-R can distinguish Retrain, SCRUB, GA+FT, and GA among these zero-gap rows.
- Near-zero forgetting accuracy before recalibration does not separate leakage: Among the four forgetting methods plus Retrain with Pre-F≤3%, ReAUC is 0.000–0.723 and LP-50 is 75.5%–91.0%, with the retraining reference at 75.5%. After recalibration, the Pearson correlation with relearning is r=0.998 (p<10−6),Spearman ρS=0.988,Kendall τK=0.952;与 LP-50 的三种检验均 p<0.005。
线性探针分解
- 测了什么:Table 2 单种子实例化式 (3)。CIFAR-10 的 LPMretr=76.10,CIFAR-100 为 73.33。
- 结果:CIFAR-100 上 GA、SalUn、SSD 的 BN-residual 为 −29.67、−27.33、−20.67pp,NC-residual 为 +14.33、+14.67、+17.33pp。作者称这三者的表面 LP 低于重训,重校准后则高于重训 14–17pp。CIFAR-10 上 BadTeacher、NoiseInject、IncompTeacher、PGU 的 BN-residual 为 +0.37、+0.90、+3.07、+0.77pp。没有方法落入作者所说的“符号翻转”区(BN-residual 为正且 NC-residual 为负)。
- 作者的解读:负的 BN-residual 会掩盖而非制造编码器泄露;Neural Collapse 的说法因此被加强而非反驳。另一组复制中,GA 的 |ΔLP| 随遗忘比例变小:CIFAR-100 单类 +29.7pp,五类 +2.1pp;CIFAR-10 单类 +11.9pp,两类 +5.0pp。只有 CIFAR-100 五类的 Retrain 同时出现负的 ΔLP(−6.0pp)和 ΔNCC(−6.9pp);SCRUB 在四个 CIFAR 条件中有三个 ΔLP>0.
Adversarial recovery and mechanism controls
- Budget scan: Distributions are original retain, CIFAR-10 test set, and CIFAR-100 pixels normalized by CIFAR-10 statistics; B∈{10,25,50,100,500,1000,2500,5000,9000}, three seeds. BadTeacher and NoiseInject have forgetting-class accuracy of 88.7% and 91.0% at B=10; SalUn has 54.4% at B=10 and 58.0% at B=100. At B=100, recovery with CIFAR-100 images reaches 78%–95% of the corresponding in-distribution accuracy (Appendix J.2). The caption of Figure 1 states: (a) is before recalibration, after recovery with B=100 in-distribution unlabeled images, and after audit recalibration with full retain; (b) is forgetting-class accuracy versus B for three representative methods, with the dashed line as the audit reference; the authors state that substantial recovery is already visible at B=10.
- GroupNorm and LayerNorm: After replacing BatchNorm2d with GroupNorm on CIFAR-10 and retraining, eight methods plus Retrain (PGU omitted for computational cost) all have Δ F=0.00pp (Appendix F, Table 6); GN-ResNet's Relearn-AUC is still 95%–98%. On ViT-S/16, 5 methods tuned to the forgetting regime have Δ F=0.00pp (Appendix M).
- Larger images and MIA: On Tiny-ImageNet with ResNet-50, BadTeacher has Δ F=+82.2pp and PGU +29.6pp. On ImageNet-100 with pretrained ResNet-50, BadTeacher goes from 0.0% to 92.0% (retain from 71.6% to 72.5%), and ten images recover to 82.0% (Appendix T). In Appendix O, recalibration changes attack AUC by at most 0.012, while forgetting accuracy on these checkpoints changes by up to about 98pp.
Other ablations and analyses
- Appendix H: GA's Δ F goes from +76pp at 100 steps to 0pp at 500 steps.
- Appendix I: On a 3× 3 learning-rate/steps grid with fixed batch composition, BadTeacher and SalUn configurations that keep retain accuracy ≥85% have Δ F≥ 57.8pp.
- Appendix B.3: The layer-averaged normalized running-mean difference between 5000 and 45000 images with default batch 128 is 0.0016–0.0018 on GA, SalUn, SCRUB, and BadTeacher; in Figure 2, the maximum layer-level mean misalignment is 0.3402, occurring at BadTeacher's last BN layer.
- Appendix K: Adam-trained probes underestimate LP-50 by 14–22pp for methods that truly modify the encoder, so the main text uses lbfgs.
- Appendix A: The static-target approximation has a fitted slope of 0.019 on five CIFAR conditions, compared to the identity prediction's slope of 1.0; the authors state that this approximation cannot be used to predict drift magnitude.
- Appendix Q: Batches mixed with retain can reduce SalUn's corruption component; the authors state that a retain proportion of at least 25% removes the observed SalUn gap.
What are some points that can be further explored?
The authors state that full ImageNet-1k and language models were not done, and instance-level forgetting has only one condition.
Limitations and future directions noted by the authors
- Task scope: Evaluated on classification benchmarks (CIFAR-10/100, Tiny-ImageNet, ImageNet-100), and mainly with class-level forgetting sets; instance-level forgetting (forgetting samples randomly drawn from all classes) is evaluated only under one condition (Limitations, Appendix P).
- Scale: Full ImageNet-1k evaluation is infeasible within the available compute budget (Limitations).
- Modality: No benchmarks on language models. The authors state that the counterpart of BatchNorm is LayerNorm, and Theorem 1 predicts the diagnosis is the identity mapping; ViT-S/16 confirms visual LayerNorm, but text is not tested (Limitations, Appendix M).
- Threat model: Assumes local access to checkpoints; the authors state that for attackers with checkpoint access, defense requires architectural changes (GN/LN), not evaluation-side control (Limitations).
- Reporting recommendations: The Conclusion states that future BN-based unlearning evaluations should report Δ F together with Pre-R and Post-R; the recalibrated checkpoint Mcal is an unbiased readout of residual forgetting-class capability. The Discussion also states that post-recalibration forgetting accuracy of 0 is not a privacy guarantee and should be used with MIA, MIA-NN, or UMA-style verifiers.
Experimental coverage
- Main diagnosis covers 9 unlearning methods plus Retrain, with CIFAR-adapted ResNet-18; multi-seed numbers are mean±std over three random seeds, and Table 2 decomposition is single-seed (§4, Table 1–2).
- Architecture comparisons include GroupNorm-ResNet-18 (eight methods plus Retrain, PGU omitted), 5 methods on ViT-S/16, ResNet-50 on Tiny-ImageNet, and pretrained ResNet-50 on ImageNet-100 (§4.5, Appendix L, M, T).
- Adversarial recovery image budgets range from 10 to 9000, with distributions including retain, CIFAR-10 test set, and CIFAR-100 pixels normalized by CIFAR-10 statistics, over three random seeds (§4.4).
- Membership inference is evaluated separately in Appendix O; the paper reports recalibration changes attack AUC by at most 0.012.
- One set of hyperparameters per dataset/forgetting ratio condition; the 3× 3 grid of learning rate and steps is reported only for BadTeacher and SalUn, with fixed batch composition (§4.6, Appendix I).
Summarize the main content of the paper
A single BN recalibration without changing weights can flip the surface forgetting of most methods, but does not change the encoder leakage encoded in the weights.
BN illusion is the authors' name for a BatchNorm measurement artifact in approximate machine unlearning evaluation: by recomputing running statistics using only retain data without changing weights, the apparent forgetting accuracy can be flipped.
- Problem: Low forgetting accuracy may come from statistic contamination in train mode, or from a mismatch between weights and frozen statistics in eval mode. The authors distinguish this measurement failure from an encoder failure where parameters still encode forgotten content.
- Method: The recalibration operator keeps weights and updates running statistics to the activation moments of the current weights on retain data. They prove it is an idempotent fixed point, so any pre-post difference can only be attributed to the BN state; the linear probe gap relative to retraining is uniquely decomposed into a BN measurement bias and an encoder geometry term.
- Main results: On CIFAR-10, ResNet-18, single-class forgetting, six methods have Δ F of 18.9–78.2 percentage points, with BadTeacher going from 18.9% to 97.2%. SCRUB and Retrain maintain Δ F=0 with high retain; GA is also 0 at 500 steps, but Pre-R is 57.2%. On CIFAR-100, GA, SalUn, and SSD have BN-residual of −20.67 to −29.67pp, and after recalibration LP remains 14–17pp above retraining.
- Exploitability and comparisons: With local checkpoint access, 10 unlabeled images bring BadTeacher and NoiseInject forgetting-class accuracy to 88.7% and 91.0%. On GroupNorm, eight methods plus Retrain have Δ F of 0.00pp, but Relearn-AUC remains 95%–98%. Recalibration changes the AUC of tested MIAs by at most 0.012.
- Authors' conclusion: Headline forgetting numbers on BN architectures should be re-reported after diagnosis; the artifact is complementary to encoder-level failure, and for several methods, BN measurement bias masks rather than creates encoder leakage. Honest evaluation requires reporting Δ F, Pre-R, and Post-R together.
Related papers
- Piracy Resistant Watermarks for Deep Neural NetworksDefensesarXiv