TL;DR
This paper introduces "preference editing," a novel self-supervised learning strategy for sequential recommender systems. By forcing models to distinguish between common and unique user preferences across different interaction sequences, their proposed MrTransformer model significantly outperforms existing state-of-the-art methods, especially for longer user histories.
What Problem Does This Paper Address?
Sequential recommender systems (SRs) aim to predict a user's next interaction based on their past behavior. A core challenge is effectively capturing and representing a user's evolving preferences from their interaction sequences. Traditional SR methods often rely solely on predicting the next item as a supervision signal, which can be insufficient. While self-supervised learning (SSL) has shown promise in SR by leveraging intrinsic sequence correlations, existing SSL methods primarily focus on individual sequences and neglect the valuable information that can be gleaned from comparing multiple sequences from the same user. This paper addresses this gap by proposing a method to explicitly learn from the relationships between different user interaction sequences to better understand and represent user preferences.
Methods
The paper introduces two main components:
- MrTransformer: A transformer-based model designed to identify and represent multiple user preferences within a single interaction sequence. It achieves this by prepending special "preference tokens" to the input sequence. These tokens, through attention mechanisms, learn to capture different facets of a user's preferences. A "preference coverage mechanism" is also employed to encourage these learned preferences to attend to diverse parts of the sequence, preventing redundancy.
- Preference Editing (SSL Strategy): This is the core novel contribution. It's a self-supervised learning technique that operates on pairs of interaction sequences from the same user.
- Preference Separation: The model first learns to distinguish between common and unique preference representations between the two sequences.
- Preference Recombination: It then swaps the common preference representations between the sequences to create "recombined" sequences.
- SSL Signals: Two types of SSL losses are derived:
- Predicting the next item using these recombined preferences.
- Ensuring the recombined preferences are similar to the original ones, and that common preferences across sequences are also similar.
This "preference editing" process forces the model to learn how to explicitly identify and manipulate common and unique preferences, leading to more robust representations.
Datasets
The authors conducted experiments on five publicly available datasets:
- Amazon Beauty, Sports, Toys: Subcategories from the Amazon product review dataset.
- MovieLens (ML-100k): A standard benchmark for recommendation evaluation.
- Yelp: A dataset for business recommendation.
Data preprocessing involved converting ratings to implicit feedback, grouping interactions by user, sorting by timestamp, and filtering out cold-start users/items. Sequence lengths were capped at 50.
Key Insights and Ideas
- Inter-sequence learning is crucial: The paper strongly suggests that comparing multiple user sequences is more powerful than just analyzing individual sequences in isolation for preference extraction.
- Common vs. Unique Preferences: Explicitly modeling and differentiating between what's common and what's unique across a user's interactions is key to better recommendations.
- Longer sequences benefit most: Preference editing shows its strongest gains on longer interaction sequences, where user preferences are more complex and harder to capture.
- SSL is a powerful tool for SR: The success of MrTransformer (PE) further validates the effectiveness of self-supervised learning in improving sequential recommendation.
Key Results
- State-of-the-art performance: MrTransformer (PE) significantly outperforms strong transformer-based (e.g., SSE-PT, FISSA) and SSL-based (e.g., BERT4Rec, S3-Rec) baselines across all datasets and metrics (Recall, MRR, NDCG). For instance, on the "Beauty" dataset, it achieved improvements of up to 20.53% in MRR@5 over FISSA.
- Preference editing is essential: Ablation studies show that removing preference editing leads to substantial performance drops (e.g., >5.70%pt in Recall@20 on "Beauty").
- Preference coverage helps: The preference coverage mechanism also contributes positively, preventing redundant preference learning.
- Impact of sequence length: The benefits of preference editing are more pronounced for sequences between 20 and 50 items. Performance drops significantly for sequences longer than 50 items, indicating a limitation.
- Hyperparameter K: The number of assumed latent preferences (K) impacts performance, with optimal values varying by dataset (e.g., K=3 for Beauty/ML-100k, K=9 for Sports).
Limitations and Future Work
- Long sequences: MrTransformer (PE) struggles to effectively explore multiple preferences from very long sequences.
- Future Directions:
- Incorporate rich side information (e.g., item attributes, user demographics) for improved preference extraction and SSL.
- Extend MrTransformer to other recommendation tasks, such as conversational recommendations.
- Explore the application of preference editing for cold-start scenarios and privacy-preserving recommendations.
Summary updated