Recommender Systems: When Memory Matters

Aleksandra Burashnikova, Marianne Clausel, Massih-Reza Amini, Yury Maximov, Nicolas Dante

TL;DR

This paper introduces a novel approach to sequential recommendation by filtering training data based on the "memory" and "stationarity" of user behavior. By focusing on users whose interactions show long-range dependence—meaning their current choices are statistically linked to their entire history—the authors' MOSAIC algorithm significantly improves recommendation accuracy (MAP and NDCG) on large-scale datasets, even when training on a tiny fraction of the original user base.

What Problem Does This Paper Address?

Most modern recommender systems (RS) rely on implicit feedback (like clicks or views) because explicit ratings are rare. However, implicit data is noisy. Standard models often treat all user-item interactions as equally important or focus only on positive feedback (what the user clicked), ignoring the sequence of items they didn't click.

Furthermore, these systems typically assume that user behavior is homogeneous and persistent over time. In reality, many users are "erratic"—their clicks might be random or driven by short-term whims rather than stable preferences. The authors argue that trying to learn from these erratic users adds noise to the model, hindering its ability to generalize. The challenge is identifying which users provide a "clean" signal that a machine learning model can actually learn from.

Methods

The authors propose a two-stage learning scheme:

  1. SNAPE (Sequential learning with Negative And Positive fEedback): Instead of random sampling, this algorithm updates model parameters user-by-user. It processes interactions in "blocks" consisting of a sequence of unclicked items followed by a clicked one. This captures the local context of a user's choice.

    The block-based update strategy for weights across different users.
  2. MOSAIC (MemOry-aware Sequential leArning for Implicit feedbaCk): This is the core contribution. It adds a filtering step to the SNAPE pipeline:

  3. Stationarity: It checks if a user's embedding sequence is "stationary" (statistical properties like mean and variance remain constant over time).
  4. Long-Range Dependence (LRD): It uses the GPH estimator to measure the "memory parameter" ($d$). If $d > 0$, the user exhibits "long memory," meaning their past interactions strongly influence their future ones.
  5. Filtering: The model is retrained only on users who meet these criteria.

Datasets

The researchers evaluated their approach on three publicly available datasets:

  • ML-1M (MovieLens): A classic movie rating dataset (6,040 users).
  • Kasandr: A large-scale advertising dataset from Kelkoo with over 15 million interactions from 2 million users.
  • Pandor: An online recommendation dataset containing ~2 million clicks from 177,366 users.

Key Insights and Ideas

  • Quality Over Quantity: On the massive Kasandr dataset, the authors filtered out nearly 99% of users, leaving only those with stationary and long-memory behaviors. Counter-intuitively, training on this tiny, high-quality subset led to better performance than training on the full, noisy dataset.
  • Memory as a Predictor: The "memory parameter" provides a quantitative measure of how predictable a user is. Users with high LRD are more "consistent," making them the ideal "anchor" for training latent representations of items.
  • Negative Feedback Matters: By grouping unclicked items with the subsequent click into blocks, the model learns not just what a user likes, but what they preferred relative to other options shown at that exact moment.
Distribution of memory parameters for embeddings in ML-1M and Kasandr.

Key Results

The authors compared SNAPE and MOSAIC against industry standards like BPR (Bayesian Personalized Ranking), Caser (CNN-based), and GRU4Rec (RNN-based).

  • SNAPE vs. Baselines: SNAPE consistently outperformed other models across all datasets. For example, on the Kasandr dataset, SNAPE achieved a MAP@5 of 0.730, compared to BPR's 0.316 and GRU4Rec's 0.636.
  • The MOSAIC Boost: On large-scale datasets, the memory-aware filtering in MOSAIC provided a further jump. On Kasandr, MOSAIC reached a MAP@5 of 0.781 and a MAP@10 of 0.780, significantly higher than the base SNAPE model.
  • Predictability: The results confirm that the consistency of stationary and LRD users makes their interaction sequences much more predictable than generic users, who may be erratic and add noise to the latent space.

Limitations and Future Work

The most obvious limitation is the aggressive filtering. While MOSAIC performs exceptionally well on the users it keeps, the paper does not explicitly detail how the system should handle the "erratic" users who were filtered out during the final recommendation phase (though the test set remains the same for comparison).

Future work could explore:

  • How to adapt the model for users with "short memory" or non-stationary behavior.
  • Integrating these memory-aware filters into other architectures like Transformers.
  • Investigating if the filtered "high-quality" users can be used to "warm-start" embeddings for new or erratic users.

Summary updated

BibTeX
@inproceedings{burashnikova2022recommender,
  author = {Aleksandra Burashnikova and Marianne Clausel and Massih-Reza Amini and Yury Maximov and Nicolas Dante},
  title = {{Recommender Systems: When Memory Matters}},
  booktitle = {ECIR},
  year = {2022},
  doi = {10.1007/978-3-030-99739-7\_7},
}

Loading related content...

Figure