Revisiting Gradient Ascent: Machine Unlearning from a Geometric Perspective for Source-Free Scenarios

Yufeng Cao, Naen Xu, Xuyang Teng, Tianyu Du, Qiang ZhaoNeurIPS 2026

TL;DR

How do you make an AI forget a specific slice of data without breaking everything else it knows—especially when you no longer have access to the original training dataset? By looking at the geometry of parameter space, researchers discovered that safe "Gradient Ascent" unlearning comes down to finding a shared direction vector and a Goldilocks step size. Better yet, you can estimate that safe step size without ever touching the retained training data simply by jiggling the model's weights and watching how the forgotten samples react.

What Problem Does This Paper Address?

With privacy regulations like GDPR enforcing the "right to be forgotten," deployed machine learning models need ways to surgically erase the influence of specific data points (the forget set) while keeping their performance intact on everything else (the retain set). Retraining from scratch is too expensive, so engineers often turn to Gradient Ascent (GA)—essentially running training in reverse to maximize loss on the data we want to forget.

On paper, GA is wonderfully simple. In practice, it is notoriously volatile. First, gradients of different samples in the forget set can pull in opposing directions, leading to chaotic updates. Second, because forgotten and retained data often share underlying statistical patterns, pushing up loss on one inevitably damages accuracy on the other, causing catastrophic model collapse. Finally, most patches for GA require fine-tuning on the retain set to repair the damage. In the real world—due to storage limits or strict privacy rules—that original training data is often locked away or deleted, a challenging setup known as source-free unlearning.

Methods

Instead of treating unlearning as a blind tug-of-war between losses, the authors map out the local geometry of the parameter space (assuming smooth loss functions) to establish a formal feasibility check before taking an update step.

Figure 1: Geometric illustration of source-free unlearning feasibility. Subfigure (a) shows the geometric framework setup, including intuitive illustrations of direction and stepsize conditions. Subfigure (b) illustrates the direction feasibility scenario, i.e., the forgotten samples share a common direction. Subfigure (c) illustrates the stepsize feasibility scenario, i.e., the adopted step size lies between the minimum step size threshold by the forgetting objective and the maximum step size threshold by the retention objective. Subfigure (d) demonstrates how to extend the theory to the sourcefree setting by adding perturbation to the model parameters.

Their framework breaks unlearning down into a two-step diagnostic plugin:

  1. Direction Feasibility: Can we find a single unit vector $u$ in parameter space that forms an acute angle (positive dot product) with the gradient of every sample in the forget set? If yes, moving along $u$ simultaneously increases loss for all target samples. Crucially, checking this requires zero information from the retain set.
  2. Step-Size Feasibility: Even on the right path, walking too far causes retention collapse, while walking too little fails to unlearn. The step size $t$ must sit above the minimum threshold needed to forget, yet below the maximum threshold the retain set can tolerate.

What’s new for source-free settings: Since we can't measure the retain set's maximum tolerable step size directly without retain data, the authors estimate it indirectly. Assuming local behavioral correlation between the forget and retain sets, they inject small random Gaussian perturbations ($\delta \sim \mathcal{N}(0, \sigma^2 I_d)$) into the model parameters and observe how much the loss fluctuates on the forget set. From the variance of these fluctuations, they mathematically bound the retain set's gradient norms and calculate a conservative, safe step-size ceiling.

Datasets

The authors evaluate their framework on three standard image classification benchmarks—CIFAR-10, CIFAR-100, and MNIST—without introducing new datasets. To test different geometric conditions, they construct forget sets in three ways: class-wise forgetting, common-direction screening, and random 10% sampling. They also use MNIST with a Variational Autoencoder (VAE) to test generative unlearning (forgetting the digit "5").

Key Insights and Ideas

  • Forgetting and retention aren't inherently at war: The trade-off isn't an unavoidable zero-sum game; it is governed by whether a shared "direction cone" exists for the forget gradients and whether the minimum forgetting step fits inside the maximum retention step.
  • Direction is naturally source-free: Verifying whether a set of samples can be jointly unlearned along a single vector depends only on the forget set's gradients.
  • Noise reveals hidden boundaries: You can infer how fragile a model's retained knowledge is without seeing the retained data—just shake the model weights with Gaussian noise and measure the echo on the forget set.
  • Both conditions are non-negotiable: Ablation studies show that getting the direction right without bounding the step size still destroys the model, while random unlearning without directional alignment stalls completely.

Key Results

Plugging this geometric guidance (+SF) into existing methods like standard GA and Normalized Gradient Difference (NGDiff) yields substantial improvements in source-free settings:

  • Sharper Forgetting: On CIFAR-100 (class-wise), GA+SF drops Forget Accuracy (FA) to 38.38% compared to 83.24% for unguided GA (44.86 percentage points lower), while maintaining 60.15% Retain Accuracy (whereas source-free baseline SFU collapses to 1.00% RA). On CIFAR-10, GA+SF cuts FA from 50.91% down to 18.55%.
  • Stronger Privacy: On CIFAR-100, GA+SF lowers Membership Inference Attack (MIA) AUC from 0.81 to 0.16 and brings the Information Difference Index (IDI) to -0.04 (where 0 matches a clean retrain from scratch).
  • Why Step Size Matters: In ablations, satisfying both geometric conditions cuts FA by 88.5% safely. Satisfying only the direction condition drives FA to 0%, but crashes Retain Accuracy by 68.5%.
  • Generative Extension: On VAE-MNIST, multi-step unlearning drops recognition of the digit "5" from 90.7% to 22.12%, while keeping the Latent Fréchet Distance stable at 0.27 (up slightly from 0.19), showing no generative collapse.

Limitations and Future Work

The authors highlight several practical constraints:

  • Single-step theory: The mathematical guarantees apply strictly to a single, local, fixed-direction update; multi-step iterative unlearning works empirically (as seen in the VAE test) but lacks formal theoretical guarantees here.
  • High-dimensional overhead: Estimating retain gradient bounds via random Gaussian perturbations introduces significant variance and computational cost as models scale up to massive parameter counts.
  • Domain priors required: Computing the safe step-size bound in source-free scenarios still requires assuming a known conservative lower bound on retention loss tolerance ($\Delta_{\min}$) and correlation constants, limiting immediate plug-and-play use in large-scale or online unlearning.

Summary updated

Abstract

Machine unlearning is becoming increasingly indispensable for meeting ever-stringent data compliance requirements, such as the ``right to be forgotten''. While Gradient Ascent (GA) based approximate methods have drawn attention for their conceptual simplicity, their practical deployment is severely constrained by three fundamental issues: first, the lack of feasibility analysis leads to divergent update directions; second, gradient conflict inevitably degrades the performance maintenance on retained data; and third, heavy reliance on the retain set restricts their applicability in real-world settings. To address these challenges, we conduct an in-depth investigation from a geometric perspective into the underlying root causes of instability in conventional GA methods. Our analysis reveals that the feasibility of unlearning intrinsically depends on specific geometric constraint relationships within the parameter space. Building upon this theoretical insight, we formally establish the methods governing unlearning feasibility. The first is the direction feasibility, which constrains the feasible update trajectory and keeps the model within reasonable parameter regions during unlearning. The second is the step-size feasibility, which further restricts the update magnitude along the feasible direction to prevent model collapse caused by large steps.Notably, we find that the direction feasibility does not rely on any information from the retain set. In light of this, we further explore viable approaches for effectively estimating the step-size feasibility under strict source-free scenarios.
BibTeX
@inproceedings{cao2026revisiting,
  author = {Yufeng Cao and Naen Xu and Xuyang Teng and Tianyu Du and Qiang Zhao},
  title = {{Revisiting Gradient Ascent: Machine Unlearning from a Geometric Perspective for Source-Free Scenarios}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=FJsiUCGz4M},
}
Figure