Theoretically Guaranteed Bidirectional Data Rectification for Robust Sequential Recommendation

yatong sun, Bin Wang, Zhu Sun, Xiaochun Yang, Yan WangNeurIPS 2023

TL;DR

Sequential recommender systems often stumble because real-world user data is "noisy"—full of accidental clicks or distractions that do not reflect true preferences. This paper introduces BirDRec, a model-agnostic framework that provides the first theoretical guarantees for "rectifying" both unreliable input sequences and target items, leading to massive accuracy gains across various recommendation architectures.

What Problem Does This Paper Address?

Most sequential recommender systems (SRSs) operate on a simple premise: if a user clicked items $A, B,$ and $C$, they are likely to click $D$ next. However, real-world behavior is messy. You might click a romantic comedy because a friend recommended it, even though your history consists entirely of superhero movies. This creates an unreliable target. Conversely, an accidental click in your history might make your profile look like a confusing mosaic of unrelated interests, creating an unreliable input.

Examples of mismatched input-target pairs in sequential recommendation.

Existing "robust" recommenders have two major flaws when dealing with this noise:

  1. Lack of Theory: They often use the model's own predictions to identify noise, but there is rarely a mathematical proof that a model trained on noisy data can actually be trusted to clean that same data.
  2. Unidirectional Fixes: Most methods fix either the input sequence or the target item, but rarely tackle both simultaneously.

Methods

To solve these issues, the authors propose BirDRec (Bidirectional Data Rectification). The framework consists of two main strategies backed by the "Multiclass Tsybakov Condition," which essentially assumes that while user behavior has some randomness, it isn't completely chaotic.

The BirDRec framework architecture.

The framework operates through two primary mechanisms:

  • DRUT (Detecting and Replacing Unreliable Targets): If the target item (the "next click") consistently receives low prediction scores from the model across training epochs, it is flagged as unreliable. BirDRec then replaces it with a high-scoring item that better fits the user's historical sequence.
  • DDUI (Detecting and Deleting Unreliable Input): To clean the history, the authors use a backward SRS (predicting the past from the future). If an item in the input sequence is a poor predictor of the (now rectified) target, it is treated as a distraction and deleted.

To make this practical for large-scale systems, the authors added two efficiency "hacks":

  • Rectification Sampling: Instead of scoring every item in the massive catalog (which is computationally expensive), they maintain small "rectification pools" of candidate items.
  • Self-Ensemble: Instead of saving the model at every epoch to average scores, they use an Exponential Moving Average (EMA) of the model weights. This provides a stable "ensemble" view of the data's reliability with minimal memory overhead.

Datasets

The authors evaluated BirDRec on four diverse real-world datasets:

  • ML-1M: A classic movie recommendation benchmark.
  • Beauty: Product reviews from Amazon.
  • Yelp: Business and restaurant recommendations.
  • QK-Video: A large-scale short-video dataset from Tencent.

These datasets vary significantly in sparsity and average sequence length, proving the framework's versatility across different domains.

Key Insights and Ideas

  • The "Contradiction" is Solvable: The most striking insight is the theoretical proof that a model fit to noisy data can still identify outliers. By proving an error bound, the authors show that a reliable target is mathematically unlikely to keep receiving low scores as the model converges.
  • Bidirectionality is Essential: Cleaning the target first (DRUT) provides a "ground truth" anchor that makes cleaning the input sequence (DDUI) much more effective.
  • Model-Agnosticism: BirDRec isn't a standalone recommender; it's a "wrapper." The authors successfully applied it to models based on Markov Chains (FPMC), RNNs (GRU4Rec), CNNs (Caser), GNNs (MAGNN), and Transformers (SASRec/BERT4Rec).

Key Results

The performance boosts were significant across the board:

  • Accuracy: BirDRec consistently outperformed "plain" models and state-of-the-art robust baselines (like STEAM and BERD). On the Yelp dataset, BirDRec improved the NDCG@5 of a GRU4Rec model by a staggering 204%.
  • Efficiency: Compared to STEAM (the only other major bidirectional method), BirDRec was 4.28x faster per epoch and used roughly half the GPU memory on most datasets.
  • Robustness: Ablation studies showed that while fixing just the target or just the input helps, doing both (bidirectional rectification) provides the most substantial and consistent gains.

Limitations and Future Work

While BirDRec is faster than its robust competitors, it is still roughly 1.6x slower than training a "plain" model without any rectification. This overhead might be a concern for systems with extremely large-scale datasets or those requiring real-time model updates.

Additionally, the authors noted that the storage benefits of their sampling strategy are less pronounced on datasets with very small item sets. Future work could involve optimizing the framework for real-time production environments where noise needs to be filtered on the fly.

Summary updated

BibTeX
@inproceedings{sun2023theoretically,
  author = {yatong sun and Bin Wang and Zhu Sun and Xiaochun Yang and Yan Wang},
  title = {{Theoretically Guaranteed Bidirectional Data Rectification for Robust Sequential Recommendation}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2023},
  url = {https://openreview.net/forum?id=mHsxsrLl0y},
}
Figure