Loss-Free Machine Unlearning

Jack Foster, Stefan Schoepf, Alexandra Brintrup

As privacy regulations like GDPR evolve, "the right to be forgotten" has become a significant technical challenge for artificial intelligence. Machine unlearning aims to remove the influence of a specific subset of training data (the "forget set") from a trained model without damaging its performance on the remaining data (the "retain set").

The gold standard for unlearning is retraining the model from scratch without the forget set, but this is prohibitively expensive for large architectures. Existing "retraining-free" methods often rely on Fisher Information to identify which model parameters are most important for specific data points. However, calculating Fisher Information requires access to the loss function and, crucially, the ground-truth labels. In many real-world scenarios, labels might be unavailable, or storing them alongside the model poses a secondary privacy risk.

To address this, researchers have introduced Loss-Free Selective Synaptic Dampening (LFSSD), a novel machine unlearning method that removes specific data from a trained model without requiring retraining or access to ground-truth labels.

Methodology: Loss-Free Selective Synaptic Dampening

Overview of the LFSSD pipeline

The authors build upon Selective Synaptic Dampening (SSD), a method that identifies parameters disproportionately important to the forget set and "dampens" (reduces) their weights. The core innovation in this paper is adapting this process to be entirely label-free.

Instead of using the diagonal of the Fisher Information Matrix—which necessitates labels—the authors employ a sensitivity estimation approach:

  1. Sensitivity Calculation: They measure how much the model's output changes in response to small perturbations in its parameters.
  2. Output Gradients: Mathematically, this is approximated by the gradient of the squared $l_2$ norm of the model output. This calculation only requires the input data, bypassing the need for labels.
  3. Selective Dampening: Parameters that are highly sensitive to the forget set but less important for the overall dataset are dampened. This effectively "mutes" the model's memory of those specific samples while protecting general performance.

Experimental Evaluation

The researchers evaluated LFSSD across several standard benchmarks and architectures, including ResNet18 and Vision Transformers. The evaluation covered various unlearning scenarios:

  • Full Class and Subclass Unlearning: Using CIFAR-100/20 to forget entire categories (e.g., 'rocket') or specific sub-types.
  • Facial Recognition: Using the PINS dataset to test the model's ability to forget specific identities, representing a high-stakes privacy use case.
  • Random Forgetting: Forgetting a random subset of samples distributed across all classes.

Key Results

LFSSD performs competitively with state-of-the-art methods that rely on labels, achieving impressive results across three key metrics:

  • Effective Forgetting: In CIFAR-100 tests, LFSSD successfully reduced accuracy on the forget set to 0.00% while maintaining accuracy on the retain set within ~1% of the original baseline.
  • Privacy Protection: The method achieved very low Membership Inference Attack (MIA) scores (often < 1%). This indicates that an attacker could not statistically determine if the forgotten data was ever part of the training set.
  • Computational Efficiency: Unlike retraining-based methods that require many epochs, LFSSD requires only a single backward pass over the data, making it orders of magnitude faster.

Insights and Future Directions

The most striking insight from this research is that labels are optional for determining parameter importance. A model's internal sensitivity to an input is a sufficient proxy for Fisher Information, meaning you do not need to know what an image is to determine which parts of a neural network process it. Because LFSSD only requires the unlabeled "forget" samples at the time of unlearning, it is the first retraining-free method that avoids the long-term storage of a labeled forget set, making it highly privacy-friendly.

Limitations: Like its predecessor SSD, LFSSD relies on two hyperparameters ($\alpha$ and $\lambda$) to balance forgetting versus performance preservation. While the method exhibits a "wide plateau" of effective configurations, finding the optimal values still requires manual tuning. Furthermore, if parameters are dampened too aggressively, it can lead to "over-forgetting" (the Streisand effect), where the model's unusually poor behavior on certain inputs inadvertently signals that those inputs were specifically targeted for removal.

The authors suggest that LFSSD could be particularly transformative for models trained via semi-supervised learning, where ground-truth labels are naturally scarce, paving the way for broader adoption of privacy-compliant AI systems.

Summary updated

BibTeX
@inproceedings{foster2024loss,
  author = {Jack Foster and Stefan Schoepf and Alexandra Brintrup},
  title = {{Loss-Free Machine Unlearning}},
  booktitle = {International Conference on Learning Representations},
  year = {2024},
  url = {https://openreview.net/forum?id=bCPz7uqmmh},
}
Figure