Provable Unlearning with Gradient Ascent on Two-Layer ReLU Neural Networks

Odelia Melamed, Gilad Yehudai, Gal Vardi · DOI

Abstract

Machine learning models must increasingly comply with privacy regulations like the GDPR’s "Right to be Forgotten," necessitating efficient methods to "unlearn" specific training samples. While retraining from scratch is the gold standard, it is often computationally prohibitive. This paper provides the first theoretical framework proving that a single gradient ascent step—moving weights away from the gradient of a specific data point—can effectively unlearn data in two-layer ReLU neural networks. By leveraging the implicit bias of gradient descent toward max-margin solutions, we show that this method produces a model that closely approximates a retrained one. Our results demonstrate that in high-dimensional settings, unlearning can be performed "surgically" without compromising generalization on retained data.

Introduction

The "Right to be Forgotten" requires that individuals can request the removal of their data from trained models. For deep learning, the standard approach of retraining from scratch is inefficient. Researchers have long used a heuristic called NegGrad (Gradient Ascent), where the model takes steps in the opposite direction of the gradient for the data to be forgotten. Despite its practical success, a rigorous theoretical understanding of NegGrad in non-linear networks has been missing. This work fills that gap by asking: Can we prove that a single gradient ascent step results in a model that is mathematically similar to a retrained one?

Theoretical Framework

We introduce a new success criterion called $(\epsilon, \delta, \tau)$-successful unlearning. This metric does not merely look at loss; it evaluates whether the unlearned model satisfies the Karush-Kuhn-Tucker (KKT) conditions for the retained dataset. This ensures the model lands near the equilibrium state of a model trained from scratch on the reduced dataset.

Key theoretical components include:

  • Implicit Bias Leverage: Building on the discovery that gradient descent naturally pushes models toward "max-margin" solutions, we treat unlearning as a shift between two equilibrium states.
  • Activation Map Stability: In ReLU networks, weight changes can "flip" neurons from active to inactive. We use a mathematical framework to show that in high-dimensional spaces, a small unlearning step preserves the network's internal activation patterns well enough to maintain stability.
  • High Dimensionality as a Shield: The near-orthogonality of high-dimensional data ensures that the gradient of the "forgotten" point does not interfere excessively with the "retained" points, allowing for a clean removal of information.

Experimental Validation and Results

Our theoretical proofs are supported by experiments on high-dimensional synthetic data and Gaussian Mixture Models. The unlearned models achieve high fidelity, often reaching a cosine similarity of $> 0.99$ with models produced by full retraining. Furthermore, in Gaussian mixture settings, the unlearned model's generalization performance remains nearly identical to the original model's performance.

Sensitivity of the approximation parameter to the step-size fraction.

A critical insight of this work is that the success of unlearning is highly sensitive to the step size. As shown in Figure 1, the approximation parameter—a measure of how closely the unlearned model matches the retrained one—is minimized at a specific step-size fraction. The optimal step size is directly related to the "influence" (the KKT multiplier) that the forgotten point had on the model during the original training. Deviating from this theoretically "correct" step size leads to a significantly worse approximation of the retrained model.

Conclusion and Future Work

This work demonstrates that "surgical" unlearning is possible in two-layer ReLU networks using a single gradient ascent step. While the current proof is limited to two-layer architectures and high-dimensional, near-orthogonal data, it provides a crucial stepping stone toward understanding unlearning in deeper networks. Future research may explore iterative "recovery phases" involving fine-tuning on retained data to further bridge the gap between heuristic practice and theoretical guarantees.

Summary updated

BibTeX
@misc{melamed2025provable,
  author = {Odelia Melamed and Gilad Yehudai and Gal Vardi},
  title = {{Provable Unlearning with Gradient Ascent on Two-Layer ReLU Neural Networks}},
  year = {2025},
  eprint = {2510.14844},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2510.14844},
}
Figure