TL;DR
This paper exposes the "BatchNorm Illusion"—a systematic evaluation flaw in machine unlearning where popular methods appear to successfully erase data, but actually only distort BatchNorm running statistics. By introducing a zero-cost "BN recalibration" step (a single forward pass over retain data without changing weights), the authors reveal that the underlying model weights still heavily retain the "forgotten" information, instantly reversing apparent forgetting by up to 78 percentage points.
What Problem Does This Paper Address?
Approximate machine unlearning aims to remove the influence of specific training data (e.g., for privacy compliance or copyright reasons) without the massive computational cost of retraining a model from scratch. Typically, an unlearning method's success is verified by showing that the model's accuracy on the "forget set" drops to near zero.
However, this paper addresses a critical, previously undocumented confound in architectures using Batch Normalization (BatchNorm). The authors show that low forget accuracy is often a measurement failure rather than genuine erasure. Unlearning processes either corrupt BN running statistics or misalign weights with frozen statistics, creating a superficial illusion of forgetting while the core model weights (the encoder) still secretly store the forbidden data.
Methods
The authors propose a simple, near-zero-cost diagnostic tool: BatchNorm Recalibration. Using standard utilities like PyTorch's torch.optim.swa_utils.update_bn, they pass a small subset of the remaining ("retain") data through the unlearned model in training mode, but with gradients completely disabled. This recalculates the population activation statistics (means and variances) for the BN layers without altering a single model weight.
They formalize this as a weight-preserving fixed-point operator to mathematically prove that any change in accuracy post-recalibration is purely attributable to the BN statistics, not the weights. Furthermore, they introduce a unique mathematical decomposition to split linear-probe elevation into two parts: a BN-measurement-bias component and an encoder-geometry component, allowing researchers to isolate true encoder leakage from normalization artifacts.
Datasets
The methods were evaluated across standard image classification benchmarks:
- CIFAR-10 (single-class and two-class forget conditions)
- CIFAR-100 (single-class and five-class forget conditions)
- Tiny-ImageNet
- ImageNet-100
No new datasets were introduced, as the goal was to audit existing standard unlearning benchmarks.
Key Insights and Ideas
- Two Opposite Artifacts, Same Illusion: The paper identifies BN Corruption (when BN is left in train mode during unlearning, causing forget-data forward passes to pollute running statistics) and BN Misalignment (when BN is frozen, but weight updates cause activations to drift away from stale statistics). Both mask true model capabilities under low surface accuracy.
- The Illusion is Skin-Deep: Because recalibration modifies zero weights, any accuracy recovered by it proves that the unlearning method failed to actually delete the data from the model's parameters.
- Masking Encoder Leakage: Surprisingly, on CIFAR-100, the BN measurement bias was large and negative, meaning it actually hid severe encoder leakage. Standard linear probing made the models look safer than they actually were.
- Vulnerability to Simple Attacks: The artifact creates a security risk. An adversary with local access to the model checkpoint doesn't need gradients or labels; they can use just a handful of unlabeled images to recalibrate the model and recover the "forgotten" capabilities.
Key Results
- Applying BN recalibration reversed headline forgetting metrics in six out of nine evaluated unlearning methods. For instance, the popular SalUn method originally reported a forget-class accuracy of 3.0% on CIFAR-10, which instantly jumped to 65.1% after a single weight-preserving forward pass.
- The largest reversal was seen in BadTeacher, where forget accuracy skyrocketed from 19% to 97%.
- In adversarial recovery experiments, an attacker using as few as 10 unlabeled images successfully recovered the majority of the masked forget-class accuracy.
- When substituting BatchNorm with GroupNorm (which lacks running statistics) or LayerNorm (evaluated via a Vision Transformer backbone), the artifact ($\Delta F$) dropped to exactly 0.00pp across all methods, confirming the flaw is strictly tied to BatchNorm.
Limitations and Future Work
- Scope of Architectures: The study focuses primarily on vision models utilizing BatchNorm (like ResNets). It does not directly impact large language models (LLMs) which predominantly use LayerNorm, where the recalibration operator acts as an identity function (no-op).
- Evaluation Constraints: Due to compute budgets, full ImageNet-1k evaluations were not performed, though validation on ImageNet-100 showed the artifact persists at scale.
- Not a Privacy Guarantee: The authors emphasize that passing the recalibration test (i.e., achieving 0% forget accuracy even after recalibration) is not a definitive privacy guarantee, but rather a prerequisite before running more rigorous encoder-level checks like Membership Inference Attacks (MIAs).
Summary updated