AdaSRU: Adaptive Source-Free Recommendation Unlearning via Gradient-Constrained Optimization

Xiaoran Zhao, Weiming Liu, Lianyong Qi, Weiyi Zhong, Yuwen Liu, Xiaolong Xu, Haolong Xiang, Qiang Ni, Xuyun Zhang, Wanchun Dou, Xiaokang ZhouNeurIPS 2026

TL;DR

How do you make a recommender system forget specific user interactions when you no longer have access to the rest of its training data? AdaSRU solves this "source-free" unlearning puzzle by mathematically deducing what the missing data’s gradients look like—cleverly repurposing leftover statistics from the Adam optimizer—and using them as guardrails to scrub target memories without wrecking recommendation quality.

What Problem Does This Paper Address?

Thanks to privacy laws like GDPR, users have the "right to be forgotten." If someone wants their click history erased, companies can't just delete rows from a database; they have to make the trained machine learning model forget those interactions, too.

In recommender systems, user preferences are tightly woven together through collaborative signals. Pushing a model to forget specific user-item interactions usually breaks its ability to make good recommendations for everyone else. Standard unlearning methods prevent this by using the remaining training data to anchor the model's utility during updates.

Here’s the catch: in the real world, you often don't have the original training data anymore. Logs get purged to save storage costs, privacy rules restrict data retention, or a model is handed off by a third-party vendor without its source dataset. Existing "source-free" unlearning methods were mostly built for image classification and fall flat on the sparse, interconnected data of recommender systems. The authors tackle Source-Free Recommendation Unlearning (SRU): erasing specific interactions using only the trained model and the small slice of data slated for deletion.

Methods

AdaSRU operates in two stages, turning optimization artifacts into a compass for safe parameter updates.

Figure 1: The overall framework of our proposed AdaSRU.
  1. Source-Free Remaining-Data Gradient Estimation (SRGE): At the end of original training, the model sits at a local optimum where the total gradient across all data is roughly zero. Because the full dataset is just the "forgetting" set plus the "remaining" set, the gradient of the inaccessible remaining data is initially the exact scaled opposite of the accessible forgetting gradient. As the model's weights shift during unlearning, this neat symmetry drifts. To track the shift without computing a massive, impossible-to-access Hessian matrix, the authors look inside the Adam optimizer. The squared-gradient accumulators ($v^*$) that Adam naturally saves at the end of pretraining act as a lightweight proxy for local loss curvature, allowing AdaSRU to estimate the remaining-data gradient on the fly.
  2. Adaptive Gradient-Constrained Unlearning (AGCU): To actually forget, AdaSRU flips the pairwise ranking loss (like BPR) so the model ranks forgotten items below non-interacted items. Instead of blending "forgetting" and "retaining" losses with a rigid, fixed weight, AGCU frames each step as a constrained quadratic optimization problem with a clean closed-form solution. It takes the steepest possible unlearning step, activating a corrective nudge along the estimated remaining-data gradient only when the step threatens to degrade overall utility past a dynamic tolerance threshold.

Datasets

The authors evaluate AdaSRU on three standard, real-world recommendation benchmarks (with ratings binarized to represent implicit user-item interactions):

  • MovieLens-1M (ML-1M) and MovieLens-10M (ML-10M): Movie rating datasets representing denser collaborative signals at two different scales.
  • Yelp2018: A business review dataset that is substantially sparser than MovieLens, testing how unlearning behaves when collaborative signals are thin.

No new benchmarks were introduced.

Key Insights and Ideas

  • Optimizer states are hidden treasure: We usually throw away optimizer states once a model is deployed. Realizing that Adam's second-moment accumulators ($v^*$) implicitly preserve collaborative curvature signals from the vanished training set is a great "aha" moment—turning standard training exhaust into a free Hessian approximation.
  • Zero-sum optimality as a bridge: Exploiting $\nabla \mathcal{L}_{\mathcal{D}}(\theta^*) = 0$ means the data you want to delete mathematically tells you how to protect the data you can't see.
  • Dynamic guardrails beat static weights: Unlearning and utility preservation are inherently conflicting objectives whose geometry changes at every step. Using KKT conditions to apply utility corrections only when gradients clash prevents over-constraining the unlearning process, theoretically guiding the model to an approximate Pareto stationary point.

Key Results

Tested across three backbone architectures (BPR, WMF, and LightGCN) with a 10% forgetting ratio, AdaSRU outperforms all approximate and source-free baselines—even beating methods that do have access to the remaining training data!

Table 1: Experimental results of different methods for recommendation unlearning.
  • Utility Preservation: With LightGCN on ML-10M, AdaSRU hits 0.3035 Recall@20 and 0.3513 NDCG@20, edging out the strongest baseline, UnlearnRec (0.3012 Recall@20), and landing remarkably close to full retraining from scratch (0.3080 Recall@20).
  • Massive Speedups: On ML-10M (LightGCN), full retraining takes 29,148 minutes (~20 days), shard-based SISA takes 874 minutes, and Hessian-heavy CEU takes 772 minutes. AdaSRU finishes in 5.12 minutes—roughly a 5,700x speedup over retraining.
  • Privacy (Unlearning Completeness): Evaluated via a Membership Inference Oracle (where 0.50 AUC/ACC equals ideal random guessing), AdaSRU suppresses membership leakage better than other non-retraining baselines, though shard-retraining methods like RecEraser still achieve slightly closer-to-0.50 privacy scores at the cost of much higher compute.

Limitations and Future Work

While the main text does not feature a standalone limitations section (appendices were not included in this excerpt), the experimental analysis highlights a few clear boundaries:

  • Dependency on Pretraining Artifacts: AdaSRU assumes the model was trained with an adaptive optimizer like Adam and that those second-moment statistics ($v^*$) were saved alongside the model weights.
  • Vulnerability to High Sparsity and Large Deletions: Performance gains narrow on highly sparse datasets like Yelp2018, and recommendation utility noticeably degrades when the forgetting ratio climbs to 25%, as stripping away too many interactions starves the collaborative structure.
  • Approximate Privacy Trade-off: Like other parameter-update methods, AdaSRU trades exact deletion guarantees for speed and utility, leaving a tiny membership inference gap compared to expensive partition-and-retrain approaches.

Future work is not explicitly discussed in the main text.

Summary updated

Abstract

Recommendation unlearning (RU) aims to remove the influence of specified user--item interactions from a trained recommender while preserving utility on the remaining data. Existing RU methods usually require access to the original training data, especially the remaining data, to recover recommendation utility after unlearning. However, access to such data is often restricted or unavailable in practice due to privacy constraints, storage costs, or third-party deployment, giving rise to source-free recommendation unlearning. To address this challenge, we propose an adaptive source-free recommendation unlearning (**AdaSRU**) method that enables effective unlearning without accessing the original remaining data. **AdaSRU** first estimates the inaccessible gradient on the remaining data. It exploits the first-order optimality condition of the trained recommender and approximates the remaining gradient using the forgetting data and squared gradient accumulators from adaptive optimizers, e.g., Adam. **AdaSRU** then formulates unlearning as a gradient-constrained update, where the estimated remaining gradient is used as a constraint to limit utility degradation while maximizing the unlearning objective. **AdaSRU** adaptively adjusts the utility-preserving correction according to the current gradient geometry. We further theoretically prove that **AdaSRU** approaches an approximate Pareto stationary solution. Extensive experiments on three real-world datasets demonstrate that **AdaSRU** achieves strong performance in both unlearning and recommendation. The code is available at https://github.com/xiaoran-zhao/AdaSRU.
BibTeX
@inproceedings{zhao2026adasru,
  author = {Xiaoran Zhao and Weiming Liu and Lianyong Qi and Weiyi Zhong and Yuwen Liu and Xiaolong Xu and Haolong Xiang and Qiang Ni and Xuyun Zhang and Wanchun Dou and Xiaokang Zhou},
  title = {{AdaSRU: Adaptive Source-Free Recommendation Unlearning via Gradient-Constrained Optimization}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=CsOU0pWrTZ},
}
Figure