AsarRec: Adaptive Sequential Augmentation for Robust Self-supervised Sequential Recommendation

Kaike Zhang, Qi Cao, Fei Sun, Xinran Liu, Huawei Shen, Xueqi Cheng

TL;DR

Self-supervised sequential recommendation models typically rely on fixed, handcrafted data augmentations that fail to generalize across different datasets and noise levels. This paper introduces AsarRec, a framework that unifies traditional augmentations into a single matrix transformation problem and dynamically learns user-adaptive, optimal augmentation strategies using a differentiable Semi-Sinkhorn algorithm.

What Problem Does This Paper Address?

Sequential recommendation systems track a user's history to predict their next interaction, but real-world behavior data is inherently noisy due to accidental clicks, exploration, or changing contexts. Contrastive self-supervised learning (SSL) mitigates this by creating perturbed "views" of user histories (e.g., masking or reordering items) and training the model to maximize semantic consistency between them.

However, existing methods use static, heuristic augmentations. The authors demonstrate that a strategy that works well for one dataset can severely degrade performance on another. For example, masking items might filter out irrelevance in a games dataset, but it can destroy critical long-range dependencies in a news dataset. Furthermore, adding items (insertion) helps clean profiles but destabilizes training when applied to an already noisy history.

Effectiveness of various augmentation methods and their combinations across different data scenarios.

To unlock the full potential of SSL, recommender systems need a way to dynamically tailor data augmentations to individual users and specific data contexts.

Methods

The core innovation of AsarRec (Adaptive Sequential Augmentation for Robust Sequential Recommendation) lies in how it unifies and automates data augmentation:

  1. Unified Matrix Formulation: The authors elegantly show that five classic heuristic augmentations—Crop, Mask, Reorder, Insert, and Substitute—can all be mathematically unified as multiplying the sequence vector by a hard semi-doubly stochastic matrix (a binary matrix where rows and columns sum to at most 1).
  2. Differentiable Generation: Directly learning discrete, binary matrices is notoriously difficult due to vanishing gradients. AsarRec bypasses this by encoding user sequences into continuous probabilistic transition matrices and then projecting them into hard binary matrices using a differentiable Semi-Sinkhorn algorithm.
  3. Three-Pronged Optimization: To ensure the learned transformations actually benefit the recommendation task, the model jointly optimizes three distinct objectives:
  4. Diversity: Forces the two generated views to be distinct to avoid trivial solutions and mode collapse.
  5. Semantic Invariance: Uses a novel Sequence-aware NDCG constraint to ensure the augmentation doesn't completely destroy the core user intent (e.g., keeping recent interactions relatively intact).
  6. Informativeness: Minimizes mutual information between views to create "hard," challenging pairs that maximize contrastive learning efficacy.
An overview of our proposed framework.

Datasets

The authors evaluated AsarRec across four diverse, real-world benchmarks:

  • Amazon Games & Amazon Arts: E-commerce review datasets characterized by short-to-medium sequence lengths.
  • MIND: A large-scale news recommendation dataset with strong sequential dependencies.
  • MovieLens-20M (ML-20M): A massive, widely used movie recommendation benchmark to test scalability.

Key Insights and Ideas

  • One Size Does Not Fit All: Handcrafted augmentations are highly context-dependent. Blindly applying a mismatched strategy hurts performance, underscoring the necessity of an adaptive approach.
  • Boundary Sensitivity: Visualization of AsarRec's learned matrices reveals that it naturally prefers to perturb the head (older interactions) and tail of sequences rather than making long-range reorderings, which would destroy sequential semantics.
  • Free Robustness at Inference: Because the adaptive augmentation module is only active during the self-supervised training phase, it introduces zero inference-time overhead, making it easily deployable on top of existing production backbones.

Key Results

  • State-of-the-Art Performance: AsarRec consistently outperformed all static and advanced SSL baselines (like CoSeRec and CL4Rec) across all datasets, achieving average relative gains of +7.55% in HR@10 and +6.61% in NDCG@10 over the strongest baseline.
  • Extreme Noise Resilience: Under high-noise conditions (where up to 50% of the user history was replaced with random noise), AsarRec demonstrated significantly slower performance degradation compared to static methods.
  • Architecture Agnostic: The framework generalizes seamlessly across multiple backbone architectures, including SASRec (Transformer-based), GRU4Rec (RNN-based), and FMLPrec (MLP-based).

Limitations and Future Work

While AsarRec marks a significant step forward, the authors note a few areas for future exploration:

  • ID-Centric Focus: The current framework operates primarily on item ID sequences. Extending this adaptive matrix transformation framework to handle multi-modal features (like text descriptions or product images) remains an open direction.
  • Graph-Structured Data: Adapting this method to graph-based self-supervised recommendation systems could yield similar robustness benefits for non-sequential domains.

Summary updated

BibTeX
@inproceedings{zhang2026asarrec,
  author = {Kaike Zhang and Qi Cao and Fei Sun and Xinran Liu and Huawei Shen and Xueqi Cheng},
  title = {{AsarRec: Adaptive Sequential Augmentation for Robust Self-supervised Sequential Recommendation}},
  booktitle = {International ACM SIGIR Conference on Research and Development in Information Retrieval},
  year = {2026},
  doi = {10.1145/3805712.3809629},
}
Figure