A Certified Unlearning Approach without Access to Source Data

Umit Yigit Basaran, Sk Miraj Ahmed, Amit Roy-Chowdhury, Basak Guler

Abstract

Machine unlearning enables models to "forget" specific data points to comply with privacy regulations. However, existing certified methods typically require access to the original training data to compute updates and noise levels. This paper introduces a novel source-free certified unlearning framework that utilizes a surrogate dataset. By calibrating the injected noise based on the estimated statistical distance between the surrogate and original distributions—derived from an Energy-Based Model interpretation of the classifier—the method achieves provable data removal without source data access.

Introduction

With the implementation of privacy laws like the GDPR, individuals have gained the "right to be forgotten," requiring organizations to remove specific user data from trained machine learning models. While retraining from scratch is computationally expensive, certified approximate unlearning offers a mathematical alternative by adjusting model weights and adding noise to guarantee privacy. A major limitation of current certified methods is the requirement for the original training data (the "retain set") to calculate these updates. This paper addresses the challenge of source-free certified unlearning, providing a framework for provable forgetting even when the original data is inaccessible due to retention policies or storage constraints.

Methodology

The proposed method adapts the standard single-step second-order Newton update for a source-free environment.

Surrogate Data and Hessian Estimation

Instead of the original data, the framework uses a surrogate dataset (e.g., public data matching the original distribution). The Hessian matrix of the original data is estimated using the Hessian of this surrogate set.

Distance-Calibrated Noise

To maintain certification, Gaussian noise is added to the updated model weights. The innovation lies in scaling this noise based on the statistical distance (Total Variation or KL divergence) between the surrogate and original data distributions.

Estimating Distance Without Source Data

The authors treat the trained classifier as an implicit Energy-Based Model (EBM). Using Stochastic Gradient Langevin Dynamics (SGLD), they sample "hallucinated" data points from the model's memory of the original distribution. These samples are then used to estimate the KL divergence via the Donsker-Varadhan variational representation, allowing for noise calibration without direct access to the source data.

Experimental Results

The method was evaluated on synthetic datasets and real-world image sets, including CIFAR-10, Caltech256, and StanfordDogs. Distribution shifts were simulated using Dirichlet distributions with varying concentration parameters ($\xi$).

Figure 3: Required noise variance $\sigma$ and forget scores across different datasets and distribution shift levels ($\xi$).

As shown in Figure 3, the required noise variance $\sigma$ decreases as the surrogate data becomes more similar to the source data (increasing $\xi$). Crucially, the forget scores for the source-free methods (FS1 (-) and FS2 (-)) remain consistent with the source-available baseline (FS1 (+)) across all datasets, demonstrating successful forgetting.

Figure 6: Scaling of noise variance $\sigma$ and forget scores relative to the estimated distribution distance $\zeta$.

Figure 6 illustrates the relationship between the estimated distance $\zeta$ and the necessary noise level. As the estimated discrepancy increases, the framework automatically scales the noise variance $\sigma$ to maintain the privacy guarantee. This calibration ensures that forget scores remain stable even under significant distribution mismatch between the source and surrogate data.

Key Insights

  • Surrogates are sufficient for certification: Exact source data is not required for certified unlearning if the distribution shift is properly estimated and compensated for.
  • Noise bridges the distribution gap: Calibrated noise acts as a mathematical buffer, ensuring that the unlearned model remains indistinguishable from a retrained one despite the use of surrogate data.
  • Implicit Distribution Memory: Classifiers inherently retain information about their training distributions, which can be leveraged to estimate necessary privacy parameters source-freely.

Conclusion and Limitations

This framework enables certified unlearning in practical scenarios where source data is unavailable. While the method maintains high utility and successful forgetting, it relies on theoretical assumptions of loss function convexity and smoothness. Additionally, the practical implementation uses heuristic EBM sampling for distance estimation, which may lead to approximate rather than absolute privacy guarantees in complex deep learning settings. Future work will focus on developing tighter bounds for these estimations.

Summary updated

BibTeX
@inproceedings{basaran2025certified,
  author = {Umit Yigit Basaran and Sk Miraj Ahmed and Amit Roy-Chowdhury and Basak Guler},
  title = {{A Certified Unlearning Approach without Access to Source Data}},
  booktitle = {International Conference on Machine Learning},
  year = {2025},
  url = {https://openreview.net/forum?id=8lt5776GLB},
}
Figure