Curriculum Approximate Unlearning for Session-based Recommendation

Liu Yang, Zhaochun Ren, Ziqi Zhao, Pengjie Ren, Zhumin Chen, Xinyi Li, Zhiming Peng, Daiting Shi, Maarten de Rijke, Xin Xin

Here is a concise, engaging summary of the paper "Curriculum Approximate Unlearning for Session-based Recommendation".

TL;DR

The authors introduce CAU (Curriculum Approximate Unlearning), a novel framework that allows session-based recommender systems to efficiently "forget" specific user interactions without needing full, expensive model retraining. By framing unlearning as a multi-objective optimization problem and introducing an "easy-to-hard" curriculum sampling strategy, CAU successfully removes target data while preserving overall recommendation accuracy.

What Problem Does This Paper Address?

With strict data privacy regulations like GDPR and CCPA, users now have the "right to be forgotten," meaning companies must be able to delete specific user interaction data from their machine learning models. In Session-based Recommendation (SBR)—where systems predict a user's next action based on a short sequence of recent interactions—this is surprisingly difficult.

Retraining a model from scratch (exact unlearning) is computationally prohibitive when dealing with continuous streams of delete requests. Conversely, simply applying Gradient Ascent (GA) to maximize the loss of the forgotten items (approximate unlearning) causes two major issues:

  1. Performance Collapse: Forcing the model to forget specific items severely degrades its ability to accurately recommend other items due to sequential correlations.
  2. Order Blindness: Existing methods process multiple unlearning requests simultaneously without considering the sequence or difficulty of the samples, leading to unstable training trajectories.

Methods

CAU addresses these challenges through a two-pronged approach: Multi-objective Learning and Curriculum Unlearning.

Figure 1: Overview of the proposed CAU framework. CAU defines an unlearning objective L𝑢𝑛𝑙𝑒𝑎𝑟𝑛and remaining terms L𝑛𝑜𝑟𝑚𝑎𝑙 and L𝐾𝐿. Then CAU introduces two metrics to measure the unlearning difficulty, including gradient difficulty and embedding difficulty. Two sampling methods are proposed to sample batches from easy to hard, according to the unlearning difficulty metrics. Finally, a Pareto-optimality solver is used to perform multi-objective learning to obtain the unlearned model.

1. Multi-objective Optimization (Pareto-Optimality)

Instead of just applying gradient ascent to the forgotten data, CAU optimizes three distinct losses simultaneously:

  • Unlearning Loss ($\mathcal{L}_{unlearn}$): Uses gradient ascent to reduce the probability of recommending the target item.
  • Normal Loss ($\mathcal{L}_{normal}$): Standard cross-entropy to ensure the model maintains continuity and accurately predicts the remaining items in the session.
  • KL Divergence Loss ($\mathcal{L}_{KL}$): Acts as an anchor, preventing the unlearned model's output distribution from drifting too far from the original trained model.

To balance these competing goals dynamically without manual hyperparameter tuning, CAU uses a Multiple Gradient Descent Algorithm (MGDA) solver to find a Pareto-optimal solution where no single task is sacrificed for another.

2. Curriculum Unlearning (Easy-to-Hard)

CAU introduces the concept of unlearning difficulty, sorting requests so the model tackles "easy" samples before "hard" ones. Difficulty is measured in two ways:

  • Gradient Difficulty: Measures the conflict between the unlearning gradient and the retaining gradients using cosine similarity.
  • Embedding Difficulty: Measures how confident the model originally was about the item by taking the dot product of the session state and the item embedding.

The authors propose two scheduling strategies: hard-sampling (a strict deterministic ranking from easy to hard) and soft-sampling (a stochastic approach where the probability distribution dynamically shifts toward harder samples over time).

Datasets

The framework was evaluated using three standard public recommendation benchmarks:

  • MovieLens-1M: A classic movie recommendation dataset.
  • Amazon Beauty: A sparse e-commerce dataset focused on beauty products.
  • Amazon Games: An e-commerce dataset focused on video games.

These datasets were tested across three state-of-the-art SBR backbone architectures: GRU4Rec, SASRec, and BERT4Rec.

Key Insights and Ideas

  • Unlearning is Learning to Forget Stably: The paper shifts the perspective of approximate unlearning from a destructive force (just maximizing loss) to a constructive multi-task problem. By pairing gradient ascent with a distillation anchor ($\mathcal{L}_{KL}$), the model safely excises data without collapsing.
  • Models Benefit from a "Forgetting Curriculum": Just as curriculum learning helps models learn better by starting with simple examples, it also stabilizes the unlearning process. Forcing a model to immediately forget an item it is highly confident about causes massive gradient shocks; starting with items it is already uncertain about leads to smoother optimization.
  • Stochasticity Beats Rigidity: The experiments revealed that soft-sampling generally outperforms hard-sampling. Allowing some stochastic variation in the unlearning schedule provides better robustness and prevents the model from overfitting to a rigid deletion sequence.

Key Results

  • Accuracy Preservation: While baseline exact-sharding methods like SISA and SRU suffered massive performance drops (63% and 32% respectively), CAU kept recommendation accuracy drops within 8% of the original model.
  • High Efficiency: CAU achieved a massive ~13× speedup over full model retraining and a 3× speedup over exact unlearning baselines (SISA/SRU) by training exclusively on the unlearning data batches.
  • Batch Size Trade-offs: As shown in Figure 2, smaller unlearning batch sizes yield higher overall utility scores (U-score) because the Pareto solver can find cleaner gradient directions, though it comes at the cost of slightly longer training times per epoch.
Figure 2: Impact of the unlearning batch size.

Limitations and Future Work

The authors note that while their curriculum strategy effectively prioritizes unlearning batches, the long-term impact on model fairness across heterogeneous session lengths remains understudied. Additionally, they plan to explore how well CAU generalizes to other non-sequential recommendation architectures, such as graph-based or cross-domain recommendation models.

Summary updated

BibTeX
@misc{yang2025curriculum,
  author = {Liu Yang and Zhaochun Ren and Ziqi Zhao and Pengjie Ren and Zhumin Chen and Xinyi Li and Zhiming Peng and Daiting Shi and Maarten de Rijke and Xin Xin},
  title = {{Curriculum Approximate Unlearning for Session-based Recommendation}},
  year = {2025},
  eprint = {2508.15263},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2508.15263},
}
Figure