Introduction
Modern recommender systems (RecSys) are built on massive amounts of user interaction data. However, users frequently request that their data be deleted—either to exercise their legal "right-to-be-forgotten" (e.g., under GDPR) or to improve recommendation utility by removing "noisy" data. The standard solution is to delete the data and retrain the model from scratch, but for large-scale systems, this is too slow and expensive.
The Challenge of Unlearning in RecSys
Machine unlearning techniques developed for image classification or NLP do not translate well to RecSys. In classification, "knowledge" can often be scrubbed from the small top layer of a network. In RecSys, however, the knowledge is stored in massive embedding layers at the very bottom of the architecture, making traditional scrubbing ineffective.
AltEraser: Efficient Approximate Unlearning
The authors propose AltEraser, an approximate unlearning framework designed for efficiency and utility. Unlike "exact" unlearning methods that struggle with batch requests, AltEraser uses a "divide-and-conquer" approach to handle the massive parameter space of embeddings.
Methodology
AltEraser's architecture rests on three pillars:
- Warm-Start Strategy: The process begins with the parameters of the original model, assuming the ideal unlearned model is in the immediate vicinity.
- Alternating Optimization: Similar to Alternating Least Squares (ALS), it iteratively updates user embeddings while holding item embeddings fixed, and vice versa. This breaks a massive global optimization problem into many tiny, independent, and tractable sub-problems.
- Second-Order Optimization: It employs Newton-based methods (Hessian-Free and Ad Hoc Newton) to exploit the curvature of the loss function, allowing for much faster convergence when starting near the optimum.
Key Results and Insights
The researchers evaluated AltEraser on three real-world datasets: MovieLens-1m, Amazon-14core, and KuaiRec-binary.
- Efficiency: AltEraser (AH-Newton) achieved up to an 18.49x speedup compared to full retraining.
- Accuracy: There was a negligible difference (less than 0.01) in Recall@10 and NDCG@10 between AltEraser and a model retrained from scratch.
- Unlearning as a Feature: By "forgetting" simulated noisy data, the model's recommendation accuracy for those users actually improved by 16-22% on MovieLens.
Limitations and Future Work
AltEraser relies on the assumption that the unlearned model remains near the original model's parameters, which may not hold if a large percentage of data is deleted at once. Additionally, as an approximate method, it does not offer the perfect privacy guarantees of exact unlearning. Future work may involve integrating Differential Privacy (e.g., Laplacian noise) to strengthen these guarantees and extending the technique to context-aware or session-based models.
Summary updated