Unlearning from Weakly Supervised Learning

Yi Tang, Yi Gao, Yonggang Luo, Ju-Cheng Yang

This summary covers the paper "Unlearning From Weakly Supervised Learning" published at IJCAI-24.

TL;DR

This paper introduces UDRU (Uniform Distribution-guided Regression Unlearning), the first framework designed to remove specific data points from models trained under "weak" supervision (like noisy or partial labels). By forcing the model to regress toward a uniform distribution for forgotten data, UDRU achieves rapid, low-cost unlearning that effectively thwarts privacy attacks while maintaining high performance on the remaining dataset.

What Problem Does This Paper Address?

Machine unlearning is the process of removing the influence of specific training data from a pre-trained model—a necessity driven by privacy regulations like GDPR’s "right to be forgotten." While most research focuses on Supervised Learning (SL), where every image has a perfect label, real-world data is often "weakly supervised." This includes:

  • Partial Label Learning (PLL): An instance is associated with a set of candidate labels, only one of which is correct.
  • Noisy Label Learning (NLL): Labels are inherently imperfect or corrupted.

Existing unlearning methods typically require the original ground-truth labels or expensive retraining from scratch. These methods fail in Weakly Supervised Learning (WSL) scenarios because the true labels are unknown or unreliable. The challenge is: how do you make a model "forget" something it was never entirely sure about in the first place, without destroying its overall utility?

Methods

The authors propose UDRU (Uniform Distribution-guided Regression Unlearning). The core philosophy is simple: an untrained model has no bias and typically predicts a uniform distribution (equal probability for all classes). Therefore, to make a model "forget" a specific data point, we should update its parameters so that its prediction for that point becomes indistinguishable from a uniform distribution.

Key Technical Innovations: 1. Target Formulation: Instead of just "breaking" the model, they derive a specific mathematical target for the model's output. For the data to be forgotten, the model is forced to minimize the KL-Divergence between its current prediction and a uniform distribution. 2. Convex Regression: They transform the unlearning task from a complex classification problem into a convex regression problem. This is a massive computational win—it allows the model to update its parameters using a squared error loss against the formulated "uniform" targets. 3. WSL Adaptation: They provide specific logic for constructing these targets in PLL and NLL. For example, in Noisy Label Learning, they construct a set that encompasses all potential "correct" information the model might have accidentally learned, ensuring a thorough "erase" operation.

Datasets

The researchers evaluated UDRU across three standard benchmarks using various model architectures (MLP, CNN, and ResNet-50):

  • MNIST: Handwritten digits.
  • Fashion-MNIST: Clothing items.
  • CIFAR-10: General objects (used to test more complex, high-dimensional features).

Key Insights and Ideas

  • Regression vs. Retraining: Most unlearning methods try to approximate what a retrained model would look like. UDRU argues that simply pushing the model toward "maximum uncertainty" (the uniform distribution) for specific samples is a faster and equally effective proxy for forgetting.
  • Zero-Storage Unlearning: Unlike "Amnesiac ML" or other methods that require storing gradients or metadata during the initial training phase, UDRU can be applied to a "black box" pre-trained model as long as you have the data points you want to remove.
  • The "Aha" Moment on WSL: In Weakly Supervised Learning, the model's "memory" of a data point is spread across multiple potential labels. By targeting the entire output distribution rather than a single label, UDRU effectively "mops up" the influence of weak or noisy supervision.

Key Results

  • Effectiveness: On the "unlearning data" (the stuff to be forgotten), the model's accuracy dropped to near 0% (or the baseline of a random guess), matching the performance of a model retrained from scratch.
  • Utility Preservation: Accuracy on the "remaining data" stayed nearly identical to the original model (e.g., on MNIST, UDRU maintained ~97.6% accuracy while retraining achieved ~97.4%).
  • Efficiency: UDRU is significantly faster than retraining. For CIFAR-10, retraining took over 7,500 seconds, while UDRU completed the unlearning in roughly 390 seconds—a nearly 20x speedup. On smaller datasets like MNIST, the speedup was even more dramatic (0.68s vs 293s).
  • Privacy: In Membership Inference Attacks (MIA)—where an attacker tries to guess if a specific image was in the training set—UDRU-treated models were much harder to crack than models treated with other approximate unlearning methods.

Limitations and Future Work

  • Hyperparameter Sensitivity: The method relies on a trade-off parameter ($\delta$) to balance forgetting vs. performance. While the authors claim it is robust, finding the optimal $\delta$ for massive-scale models (like LLMs) remains an open question.
  • Model Scale: While tested on ResNet-50, the paper does not explore how this regression-based approach scales to Transformer-based architectures with billions of parameters, where "forgetting" one concept might have broader unintended side effects.
  • Scope of WSL: The paper focuses on PLL and NLL; future work could extend this to other WSL variants like semi-supervised learning or multi-instance learning.

Summary updated

BibTeX
@inproceedings{tang2024unlearning,
  author = {Yi Tang and Yi Gao and Yonggang Luo and Ju-Cheng Yang},
  title = {{Unlearning from Weakly Supervised Learning}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2024},
  url = {https://openreview.net/forum?id=0wwkAEqHeZ},
}
Figure