NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Label Smoothing Improves Machine Unlearning

Zonglin Di, Zhaowei Zhu, Jinghan Jia, Jiancheng Liu, Zafar Takhirov, Bo Jiang, Yuanshun Yao, Sijia Liu, Yang Liu

TL;DR

Machine unlearning (MU) is the process of removing specific data from a trained model without retraining it from scratch. This paper introduces UGradSL, a "plug-and-play" method that uses an inverse form of label smoothing to significantly boost the effectiveness of gradient-based unlearning, achieving state-of-the-art results with minimal computational cost.

What Problem Does This Paper Address?

As privacy regulations like GDPR and CCPA grant users the "right to be forgotten," machine learning models must be able to "unlearn" specific data points. While the gold standard is to retrain the model from scratch without the target data, this is prohibitively expensive for modern large-scale models.

Existing "approximate" unlearning methods, such as Gradient Ascent (GA), attempt to move the model away from the data to be forgotten by maximizing the loss on those samples. However, GA often hits a wall: once a model has thoroughly memorized a data point, the gradient becomes nearly zero (the "vanishing gradient" problem). This makes it difficult to "push" the model's weights enough to actually erase the memory of that data without accidentally destroying the model's performance on the data it's supposed to keep.

Methods: Unlearning with Smoothed Labels

The authors propose UGradSL (Unlearning using Gradient-based Smoothed Labels). Their core innovation is applying Negative Label Smoothing (NLS) during the unlearning process.

  • The Logic: In standard training, label smoothing (LS) softens hard "one-hot" labels to prevent overconfidence and improve generalization. In unlearning, the authors use an inverse process. By applying a "negative" smoothing rate, they effectively penalize the model for its confidence in the forgotten data, "re-activating" the gradients and making the unlearning process more controllable.
  • The "Mix-Gradient" Strategy: The method doesn't just look at the data to be forgotten; it simultaneously performs gradient descent on the retained data and gradient ascent on the smoothed "forget" data. This balancing act ensures the model stays sharp on what it needs to know while erasing what it shouldn't.
Diagram illustrating the UGradSL unlearning process, applying label smoothing to the forget set and combining gradient descent and ascent.
  • Two Flavors:
    • UGradSL: Built on top of Gradient Ascent (prioritizing speed).
  • UGradSL+: Built on top of Fine-Tuning (prioritizing comprehensive unlearning).
  • Self-Adaptive Smoothing: They introduce a version that automatically adjusts the smoothing rate for each data point. If a "forget" sample is very similar to the "retained" data (measured in feature space), the algorithm applies less aggressive smoothing to avoid "collateral damage" to the model's overall accuracy.

Key Insights and Ideas

  • Overcoming Memorization: The "aha moment" is realizing that label smoothing—usually a tool for better learning—can be inverted to solve the vanishing gradient problem in unlearning. It provides a more informative "path" for the model to move away from forgotten data.
  • Privacy Connection: The paper provides a theoretical bridge between label smoothing and Local Differential Privacy (LDP). They prove that NLS helps ensure that the model’s predictions on forgotten data become indistinguishable, regardless of the original ground-truth label.

Key Results

The researchers validated UGradSL across a wide range of modalities and scales, including Vision (CIFAR-10/100, SVHN, CelebA, ImageNet) and Language (20 Newsgroups) tasks across various architectures (ResNet, ViT, BERT).

  • Superior Performance: On ImageNet (class-wise forgetting), UGradSL achieved the lowest "Average Gap" (2.23%) compared to the retraining baseline, significantly outperforming standard GA and other complex methods like SCRUB. It similarly achieved a state-of-the-art 3.75% gap on CIFAR-100 random forgetting.
  • Efficiency: UGradSL is remarkably fast. While retraining on ImageNet takes roughly 26 hours, UGradSL achieves comparable unlearning performance in a fraction of the time (measured in minutes), with only a marginal computational increase over basic GA.
Performance comparison of UGradSL against baselines on ImageNet and CIFAR-100 datasets, highlighting the lowest average gap.
  • Robustness: The method proved effective across different unlearning scenarios: forgetting an entire class, forgetting random individual samples, and "group forgetting" (e.g., removing specific identities from a facial attribute dataset like CelebA).

Limitations and Future Work

  • Hyperparameter Tuning: Although the self-adaptive version helps, the method still relies on a few key parameters (like the GA ratio $p$ and distance threshold $\beta$) that may require tuning for specific tasks.
  • Convexity Assumptions: The theoretical proofs rely on influence functions, which assume a local convex landscape. While the empirical results on deep (non-convex) networks are strong, a more rigorous non-convex theoretical framework could be a future direction.
  • Generative Models: The current work focuses on classification. Extending UGradSL to generative tasks (like Large Language Models or Diffusion models) remains an open and exciting challenge.

Summary updated

BibTeX
@inproceedings{di2026label,
  author = {Zonglin Di and Zhaowei Zhu and Jinghan Jia and Jiancheng Liu and Zafar Takhirov and Bo Jiang and Yuanshun Yao and Sijia Liu and Yang Liu},
  title = {{Label Smoothing Improves Machine Unlearning}},
  booktitle = {International Conference on Learning Representations},
  year = {2026},
  url = {https://openreview.net/forum?id=X74KnsoYEM},
}
Figure