Forgetting Has Neighbors: Localized Collateral Forgetting in Machine Unlearning

Dolgova Polina, Sebastian U StichNeurIPS 2026

TL;DR

When you ask a machine learning model to "forget" specific data, it doesn't perform neat surgery—it acts more like a wrecking ball that damages the immediate neighborhood. Standard evaluation metrics average this damage across the entire dataset, making flawed unlearning methods look like successes on paper. By training a tiny "local teacher" on the surviving neighbors of the deleted data, we can give the model realistic guidance on how to forget cleanly without wrecking everything nearby.

What Problem Does This Paper Address?

Suppose a user invokes their legal right to have their data deleted under regulations like the GDPR. Retraining a massive neural network from scratch without those specific examples—known as the forget set—is the gold standard, yet it is far too expensive. Machine unlearning tries to scrub the influence of the forget set cheaply while keeping the model sharp on the remaining retain set.

Usually, researchers check if unlearning worked by looking at aggregate metrics, like overall test accuracy. The authors point out a blind spot in this approach: averages hide local disasters. Common unlearning methods work by feeding the model destructive signals on the forget set—either reversing the learning process (gradient ascent) or scrambling the answers (random labeling). Because neural networks share internal representations across similar concepts, this artificial noise bleeds over into innocent, non-deleted data points that happen to look like the forgotten ones.

Figure 1: MNIST illustration of localized collateral forgetting after deleting class 9, for Gradient Ascent (left) and forget-only Random Labels (right). Non-deleted classes closer to class 9 in representation space show larger accuracy drops relative to retraining. The dashed line is a linear fit over the non-deleted classes only.

The authors call this localized collateral forgetting: unintended performance drops (compared to a freshly retrained model) that concentrate heavily on data points geometrically close to the forget set in the model's feature space.

Methods

Why does collateral forgetting happen? Through mathematical analysis of linear and logistic regression, the authors show the culprit is target mismatch. Assigning random labels to a deleted image forces the model toward arbitrary predictions that clash with what a genuinely retrained model would predict—especially if you only delete part of a class (e.g., half the couches in a dataset, where a retrained model should still recognize couches!).

To fix this, the authors introduce Local Teacher Distillation (LTD). Instead of injecting random noise on the forget set, LTD estimates what a retrained model would have predicted:

  1. Find the neighbors: Using the original model's penultimate layer, compute embeddings for all data and find the $k$ retained examples closest (via cosine similarity) to the average forget-set embedding.
  2. Train a tiny local teacher: Train a lightweight auxiliary network (e.g., a tiny ResNet-8 when the main model is a ResNet-56) from scratch only on those $k$ retained neighbors and their true labels. Because it never sees the forget set, it cheaply mimics local retraining behavior.
  3. Distill and fine-tune: Use the tiny teacher to generate soft probability labels (keeping the top-3 classes) for the forget set. Finally, fine-tune the main model to match these soft targets on the forget set while maintaining standard cross-entropy loss on the retain set.

Datasets

The authors do not introduce new datasets, instead repurposing standard vision benchmarks to isolate localized effects:

  • MNIST: Used to illustrate localized collateral forgetting when deleting an entire digit class (class '9').
  • Synthetic Linear/Logistic Data: Used to validate their mathematical projections.
  • CIFAR-100: The primary testbed (using ResNet-56), evaluated under a realistic partial-class deletion setup where 50% or 90% of a single class (specifically 'couch', plus five other classes in appendices) is removed.
  • SVHN: Evaluated in the appendix with a ViT-Tiny Vision Transformer backbone to test generalizability.

Key Insights and Ideas

  • Retain fine-tuning isn't a silver bullet: You might assume that fine-tuning the model on the retained data after scrambling the forget set would heal the collateral damage. The authors prove theoretically that while this fixes predictions on the exact training points in the retain set, the corruption survives along feature directions spanned by the forget set—meaning nearby test queries still suffer.
Synthetic validation showing prediction discrepancies grow quadratically/sharply as query points align more closely with the deleted point.
  • Partial-class deletion exposes lazy unlearning: Whole-class deletion is easy to game—just suppress that class output to zero. Deleting half a class is much trickier because remaining examples of that class still exist; here, global metrics look fine even as the affected class falls apart.
  • Locality is everything for the teacher: In ablations, training the auxiliary teacher on random or distant retained points completely failed (dropping forget-set alignment by over 47 percentage points), proving that only immediate geometric neighbors hold the right local structure.

Key Results

On CIFAR-100 with 50% of the 'couch' class deleted, LTD gets remarkably close to full retraining at a fraction of the compute:

  • Global Agreement: Across four standard metrics (retain, forget, test accuracy, and membership inference attacks), LTD achieves an Average Gap of just 2.4% from true retraining—beating the runner-up, Influence Unlearning (6.6%), and Random Labeling (12.2%).
  • Saving the Neighborhood: When zooming in solely on the affected class ('couch'), Influence Unlearning suffers a massive 21.9% average gap from retraining (its retain accuracy on remaining couches plunges by 25 percentage points!). LTD keeps the affected-class average gap down to 4.9%, dropping retain accuracy on surviving couches by just 2.2%.
  • Speed: Full retraining took ~1,559 seconds, whereas LTD finished in ~227 seconds—nearly 7x faster.

Limitations and Future Work

  • Representation dependence: Selecting the neighbor support set relies on embeddings from the original model (which saw the forget set). While the teacher itself never trains on forgotten labels, this creates a subtle, indirect privacy link to the deleted data.
  • Scope of theory and tasks: Theoretical guarantees are derived in stylized linear and logistic regression settings rather than deep non-linear networks, and empirical tests focus on controlled image classification. Extending local teacher distillation to messier domains—like large language models or generative diffusion models—remains open for future work.

Summary updated

Abstract

Machine unlearning aims to remove the influence of selected training examples without full retraining. Standard evaluations often summarize unlearning quality with aggregate metrics, such as accuracy- and forgetting-based scores, which can hide localized failures. We study this failure mode at the example level by comparing the predictions of an unlearned model to those of the model retrained after deletion. We show that this pointwise discrepancy can be highly non-uniform: for gradient-ascent and random-labeling methods, with and without retain-set fine-tuning, it grows with geometric proximity to the forget set. We call this phenomenon *localized collateral forgetting*. Our analysis identifies a mechanism behind the effect: surrogate targets used during unlearning can be inconsistent with the local prediction structure induced by retraining, and this inconsistency propagates through shared representations to nearby examples. Motivated by this mechanism, we propose *Local Teacher Distillation*, a simple mitigation strategy that replaces random targets with soft labels from a small teacher trained only on retained neighbors of the forget set. On CIFAR-100 partial-class deletion, this local teacher brings the unlearned model substantially closer to retraining, especially near the forget set, while maintaining competitive aggregate unlearning metrics.
BibTeX
@inproceedings{polina2026forgetting,
  author = {Dolgova Polina and Sebastian U Stich},
  title = {{Forgetting Has Neighbors: Localized Collateral Forgetting in Machine Unlearning}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=P4bVkIi9y9},
}
Figure