CPMR: Context-Aware Incremental Sequential Recommendation with Pseudo-Multi-Task Learning

Qingtian Bian, Jiaxing Xu, Hui Fang, Yiping Ke

In the fast-paced world of online platforms, user interests are a moving target. A user might have a long-standing love for vintage RPGs (static preference) but is currently caught up in a viral trend for a new cozy farming sim (dynamic interest). Most sequential recommendation systems struggle to balance these two forces, often letting old data dilute the importance of recent, "trendy" context.

A new paper from researchers at Nanyang Technological University and the Shanghai University of Finance and Economics introduces CPMR (Context-Aware Pseudo-Multi-Task Recommender), a framework designed to capture both historical evolution and immediate contextual shifts in an incremental learning setting.

TL;DR

CPMR is an incremental sequential recommendation framework that models user interests through three distinct lenses: static embeddings, historical temporal states, and contextual temporal states. By using a novel Pseudo-Multi-Task Learning (PMTL) paradigm, it jointly optimizes recommendation accuracy and the continuous evolution of user/item representations, achieving significant performance gains over existing state-of-the-art models.

What Problem Does This Paper Address?

Sequential recommendation (SR) aims to predict a user's next interaction based on their history. However, the authors identify three major gaps in current approaches:

  1. Context Neglect: Users are often influenced by the recent actions of others (trends), not just their own past. Most models ignore this "contextual scenario."
  2. Evolution Dilution: Applying evolution models across a user's entire history can "wash out" the importance of very recent, high-signal interactions.
  3. Optimization Challenges: In incremental settings—where data arrives in batches—it is difficult to update model states efficiently without overfitting on specific recent batches or losing the "big picture" of long-term interest.

Methods

CPMR introduces several architectural innovations to handle these challenges:

1. Triple Representations

For every user and item, the model maintains:

  • Static Embeddings: Capturing inherent, unchanging attributes.
  • Historical Temporal States: Modeling long-term interest evolution across the entire history graph.
  • Contextual Temporal States: Modeling short-term dynamics within a sliding "context window" of recent interactions.

2. Pseudo-Multi-Task Learning (PMTL)

Standard Multi-Task Learning (MTL) requires multiple ground-truth labels. In incremental recommendation, we usually only have one: the next item. CPMR bypasses this by treating the update of temporal states as "pseudo-tasks" and the actual recommendation as the "real task." These tasks share a "shared-bottom" network, allowing the model to optimize how it fuses history and context to better predict future interactions.

3. Dual Evolution and Fusion

  • Evolution Module: Uses Continuous Graph Neural Networks (CGNNs) to model how interests change during the "gaps" between interactions.
  • Update Module: Handles the "instant" impact of a new interaction (a discrete jump in state).
  • Fusion Module: Based on the Customized Gate Control (CGC) architecture, it intelligently blends historical and contextual information at the user-item level.

Datasets

The authors evaluated CPMR on four public benchmark datasets:

  • Amazon Review Subsets: 'Patio, Lawn and Garden' (Garden), 'Amazon Instant Video' (Video), and 'Video Games' (Games).
  • MovieLens 100K (ML-100K): A classic movie rating dataset.

The datasets were preprocessed to ensure a minimum of 5 interactions per user/item and split chronologically (80% training, 10% validation, 10% test).

Key Insights and Ideas

  • Context is Domain-Dependent: The optimal "context window" varies wildly. For "Garden" tools, a 5-day window is best (trends move slowly). For "Video Games," a 50-day window is better, likely reflecting the longer lifecycle of game discussions and playtimes.
  • The Power of "Pseudo" Tasks: By framing state updates as tasks in an MTL framework, the model reduces overfitting. The pseudo-tasks provide a form of regularization, ensuring that the updated states are useful for future recurrences, not just the current one.
  • Continuous vs. Discrete: The model treats interest as something that evolves continuously over time but also experiences "shocks" or discrete updates the moment an interaction occurs. Combining ODE-based evolution with discrete update modules captures this duality effectively.

Key Results

CPMR consistently outperformed state-of-the-art baselines like JODIE and CoPE across all metrics:

  • Significant Gains: On average, CPMR achieved 30.98% gains in MRR (Mean Reciprocal Rank) and 27.39% gains in Recall@10 compared to the best-performing baselines.
  • Ablation Success: Removing the "contextual" component led to a significant drop in performance, especially in the Video and Games datasets, proving that modeling the "now" is critical for modern recommenders.
  • Robustness: The PMTL paradigm allowed for more stable training and better generalization in incremental scenarios where data distribution shifts over time.

Limitations and Future Work

While CPMR shows great promise, the authors note a few areas for growth:

  • Context Definition: Currently, "context" is defined purely by a sliding window of interactions. Future work could incorporate richer contextual data like social links or cross-domain sequences.
  • Computational Overhead: Modeling three separate representations and using CGNNs is more computationally intensive than simpler embedding-based models.
  • Scalability: While tested on standard benchmarks, the performance on extremely large-scale, real-time production systems (millions of users/items) remains an open question.

The code for CPMR is available on GitHub: https://github.com/DiMarzioBian/CPMR

Summary updated

BibTeX
@inproceedings{bian2023cpmr,
  author = {Qingtian Bian and Jiaxing Xu and Hui Fang and Yiping Ke},
  title = {{CPMR: Context-Aware Incremental Sequential Recommendation with Pseudo-Multi-Task Learning}},
  booktitle = {ACM International Conference on Information and Knowledge Management},
  year = {2023},
  doi = {10.1145/3583780.3615512},
}

Loading related content...

Figure