Leveraging Per-Instance Privacy for Machine Unlearning

- June 5, 2026 - 0 COMMENTS
Leveraging Per-Instance Privacy for Machine Unlearning

The Growing Need for Machine Unlearning

In the modern machine learning landscape, we often train models on massive datasets under the assumption that more data always equals better performance. However, there are increasingly common scenarios where we wish we had never trained on certain data points in the first place. Whether driven by strict privacy regulations like GDPR’s ‘right to be forgotten’, the discovery of poisoned or mislabeled data, or copyright infringement claims, the ability to selectively remove information from a trained model—known as Machine Unlearning—has transitioned from a theoretical luxury to a practical necessity.

But how do we effectively remove a data point without throwing away the entire model and starting from scratch? While full retraining is the gold standard for deletion, it is incredibly expensive for large-scale models. Conversely, standard privacy-preserving methods like Differentially Private SGD (DPSGD) can degrade overall model utility when forced to guarantee strict privacy for every single point. This introduces a critical bottleneck: unlearning is hard, and some data points refuse to leave quietly.

The Unlearning Gap: Why Simple Solutions Fail

Before diving into the solution, it is important to understand the empirical limitations of current unlearning techniques. In many state-of-the-art unlearning frameworks, researchers use metrics like Membership Inference Attack (MIA) accuracy to verify if a data point has been successfully removed. Ideally, after unlearning, the MIA accuracy for the forgotten data should drop to baseline levels (around 50%, representing a random guess).

However, recent studies have revealed a troubling phenomenon: while current unlearning methods successfully erase a majority of data points, a stubborn fraction—often around 10% of the dataset—remains highly vulnerable. For these ‘hard’ points, unlearning algorithms actually increase their membership inference vulnerability, making them more identifiable than they were before the unlearning process began. This highlights a fundamental challenge: unlearning difficulty is not uniform across a dataset. We need a way to quantify and predict this difficulty at a per-instance level.

Introducing Per-Instance Privacy

To understand why certain data points are harder to unlearn, we can leverage a concept called per-instance privacy. Traditional differential privacy focuses on worst-case scenarios, bounding the privacy loss across the entire dataset using a uniform clipping norm. While mathematically robust, worst-case bounds fail to capture the nuances of individual data points.

By shifting our focus to per-instance privacy, we track the specific privacy loss (measured via Rényi divergence) associated with a single training point $x$. The core mechanism for calculating this relies on monitoring the history of the gradient norms of that specific data point over the course of training. Instead of applying a generic clipping threshold, the per-instance privacy accountant uses the actual gradient norms of the point. Data points that consistently yield small gradient norms during training accumulate significantly less privacy loss, resulting in a much smaller per-instance divergence ($ε_{α, x}$) than the worst-case bound.

The Langevin Dynamics Framework for Unlearning

The research presented by Naz and Anv utilizes a framework where both training and unlearning are modeled using noisy SGD (closely related to Langevin diffusion). The unlearning process starts with the weights of the original model (trained on dataset $D$) and performs noisy SGD steps using the retained dataset ($D setminus {x}$). Over time, the distribution of the unlearning model converges to the stationary distribution of a model trained entirely from scratch on the retained dataset.

A key contribution of this work is proving that the number of unlearning steps ($K$) required to reach a target divergence ($δ$) is bounded logarithmically by the initial per-instance divergence:

K ≈ log(a ε_{α, x} + b)

Where:

  • ε_{α, x} represents the per-instance privacy divergence of the target point.
  • a and b are constants related to the optimization landscape and discretization bias.

This logarithmic relationship suggests a powerful intuition: if we know the per-instance privacy loss of a data point accumulated during training, we can directly estimate how many steps of noisy SGD it will take to successfully unlearn it.

Empirical Validation: From Theory to Practice

To test whether these theoretical bounds hold up in practice, the authors conducted experiments on benchmark datasets including SVHN and CIFAR-10. They ranked data points by their per-instance privacy losses, grouped them into bins of 1,000 points, and measured the actual number of unlearning steps required to reach an acceptable unlearning threshold.

The Logarithmic Curve Appears

When plotting the number of unlearning steps against the average privacy loss of each group on a logarithmic scale, a distinct ‘hitch-like’ curve emerged. This perfectly mirrors the predicted logarithmic relationship ($≈ log(ax+b)$), confirming that the per-instance privacy metric is a highly accurate proxy for empirical unlearning difficulty.

Outperforming Traditional Metrics

While past literature has proposed various heuristics to identify ‘hard’ data points (such as simple average gradient norms or memorization scores), the per-instance privacy accountant consistently outperformed them. By passing the history of gradient norms through the specific Rényi divergence composition function, it identified the most stubborn data points far more reliably than raw gradient metrics alone.

Connecting Unlearning to the Geometric Loss Landscape

Why do some points require more steps to unlearn? The authors explored this by measuring loss barriers—the maximum change in loss encountered when interpolating between the original model and the retrained model.

Their findings revealed a clear correlation: data points with high per-instance privacy loss correspond to higher loss barriers. In other words, these ‘hard’ data points reside in deep, isolated valleys of the loss landscape. Moving the model weights out of these valleys to ‘forget’ the point requires crossing a substantial energy barrier, explaining why more unlearning steps (and stronger optimization forces) are required.

Key Takeaways and Future Directions

By leveraging per-instance privacy, this research provides a rigorous, theoretically grounded approach to predicting machine unlearning difficulty. The core lessons include:

  • Unlearning is non-uniform: A small portion of any dataset is vastly harder to unlearn than the rest. Treat these points with special care during unlearning audits.
  • Per-instance privacy is a predictive tool: Tracking individual gradient histories during training gives us a precise roadmap of how costly unlearning will be post-training.
  • The power of noisy SGD: Running even small amounts of noise during SGD makes unlearning behavior highly predictable and mathematically trackable.

As privacy regulations tighten and machine learning models continue to scale, tools like per-instance privacy accountants will be essential for building models that are not only intelligent, but also legally compliant and easily maintainable.

https://www.youtube.com/watch?v=nM29yj_D8NE

devteam

A passionate writer covering the latest trends in entertainment and lifestyle.

LEAVE A REPLY

Your email address will not be published.