TL;DR
SURF (Subtractive Updates for Recommender Forgetting) is a lightweight, model-agnostic framework designed for approximate machine unlearning in Sequential Recommender Systems (SRS). By isolating an item's influence within its embedding neighborhood and subtracting an auxiliary model's scores at inference time, SURF achieves unlearning effectiveness comparable to full retraining while requiring just 2% of the computational time budget.
What Problem Does This Paper Address?
With the rise of strict data privacy regulations like GDPR, modern digital platforms must support the "right to be forgotten"—allowing users to request the deletion of their interaction data (machine unlearning).
While unlearning has been heavily studied in standard classification or matrix factorization settings, Sequential Recommender Systems (SRSs) present unique challenges. SRSs rely on temporal interaction sequences; removing a single item can cause cascading changes across multiple learned latent representations.
Existing solutions fall short:
- Full retraining from scratch is the gold standard for privacy but is computationally prohibitive for large-scale systems.
- Partition-based methods (sharding data) fail because user-item interactions are highly interconnected, leading to severe accuracy degradation and high retraining overhead across shards.
- Influence-function-based methods rely on fragile mathematical assumptions (like Hessian approximations) that frequently break down in practice and incur massive memory overhead.
Methods
The authors introduce SURF, a novel unlearning paradigm that bridges partition-based and influence-based approaches by performing model subtraction at the representation level during inference.
The SURF framework operates in three distinct stages:
- Neighborhood Identification: Given an item to forget, SURF locates its $k$-nearest neighbors within the model's learned embedding space. This isolates the local manifold where the item's influence is structurally encoded.
- Unlearn Model Training: A compact, localized dataset ($D_r$) is constructed from sequences containing these neighborhood items. A lightweight auxiliary model ($M'$) is then trained exclusively on this small subset using the same architecture as the base model.
- Influence Subtraction: At inference time, the final recommendation scores ($\tilde{y}$) are computed by subtracting the auxiliary model's predictions from the original model's predictions: $$\tilde{y} = f_M(S_u^l) - \alpha f_{M'}(S_u^l)$$ where $\alpha$ is a hyperparameter controlling the unlearning strength.
Because the original base model remains completely untouched, this process is uniquely reversible—restoring an item's influence simply requires removing the subtraction step.
Datasets
The authors evaluated SURF across 7 diverse, real-world sequential recommendation datasets:
- MovieLens (ML-1M, ML-100K): Standard benchmarks for movie recommendations.
- Amazon Beauty: Product review data characterized by high sparsity.
- Steam: Video game reviews and user interaction metadata.
- Foursquare (FS-NYC, FS-TKY): Location check-in data tracking spatial-temporal sequences in New York and Tokyo.
- Yelp: Business review and recommendation data.
Key Insights and Ideas
- Inference-Time Subtraction over Weight Editing: Instead of permanently altering model weights (which can corrupt unrelated learned behaviors), SURF shifts the unlearning mechanism to prediction score subtraction. This preserves global recommendation utility.
- Locality Matters: Targeting the geometric neighborhood of an item in the embedding space—rather than just the item itself—captures the broader contextual influence of the item across user histories, leading to more robust forgetting.
- Operational Reversibility: In production environments, unlearning requests are occasionally accidental or temporary. SURF's architecture allows instant recovery of forgotten items without any retraining costs.
Key Results
The framework was validated against five state-of-the-art baselines across three popular sequential architectures: GRU4Rec, SASRec, and BERT4Rec.
- High Efficiency: SURF drastically reduces computational overhead, requiring only 2% of the time budget needed for full model retraining. In contrast, partition-based methods like RecEraser can incur up to a 17× training time overhead.
- Superior Recommendation Quality: SURF achieved up to a 32% improvement in NDCG@20 compared to existing approximate unlearning baselines, frequently matching or even slightly exceeding full retraining performance.
- Ranking Stability: Using the Finite Rank-Biased Overlap (FRBO) metric, the authors demonstrated that SURF successfully limits score perturbations to the target item's immediate neighborhood, leaving the relative ranking of other relevant items undisturbed.
Limitations and Future Work
While SURF provides strong empirical and theoretical guarantees, its effectiveness inherently depends on how accurately the lightweight auxiliary model approximates the local influence of the forgotten item. Additionally, the current implementation is tailored specifically to item embeddings within sequential recommendation architectures.
As a next step, the authors plan to extend the subtractive update paradigm of SURF into other complex multi-modal domains, such as image and text-based models.
Summary updated