Introduction
Sequential recommendation models typically focus only on the sequence of items a single user interacts with, ignoring valuable collaborative patterns across different users' sequences. This paper introduces ISSR, a novel framework that uses Graph Neural Networks (GNNs) to explicitly model high-order "inter-sequence" correlations alongside traditional "intra-sequence" dynamics, resulting in significant performance boosts and better handling of sparse data.
What Problem Does This Paper Address?
In sequential recommendation (SR), the goal is to predict the next item a user will interact with based on their chronological history of actions. Most modern deep learning approaches (like RNNs, CNNs, or self-attention models) focus heavily on intra-sequence correlation—the sequential dependence of items within a single user's isolated history.
However, these models neglect inter-sequence correlation—the relationships between items that appear across different users' sequences. For example, if User A and User B both watch Movie X and then Movie Y, that cross-user path is a strong signal. While a few older methods try to capture this using low-order Markov Chains or matrix factorization, they fail to capture high-order, complex collaborative signals. The authors argue that explicitly modeling these cross-sequence relationships is crucial for understanding general user tastes and overcoming the "data scarcity" problem inherent in individual user histories.
Methods
The authors propose the Inter-Sequence Enhanced Framework for Personalized Sequential Recommendation (ISSR). It consists of three main components:
- Inter-sequence Item Correlation Encoder: This module constructs two graphs to capture global item relationships:
- User-Item Bipartite Graph: Connects users to the items they've interacted with. A GNN aggregates multi-hop paths (e.g., Item -> User -> Item) to find collaborative similarities.
-
Item-Item Co-occurrence Graph: Connects items that frequently appear sequentially across all users' histories. A second GNN extracts direct sequential dependencies. The outputs of these two graphs are fused with a residual connection using an element-wise sum.
-
Intra-sequence Item Correlation Encoder: The globally enriched item embeddings are fed into a Gated Recurrent Unit (GRU) to model the sequential dynamics within the target user's specific history. A personalized attention network then weighs the GRU's hidden states, learning which past items are most relevant to the user's current decision.
- Prediction Decoder: A standard matrix factorization approach compares the user's final attention-weighted interest representation against candidate item embeddings to generate recommendation probabilities.
Datasets
The framework is evaluated on three public benchmark datasets of varying scales and sparsity. All ratings were treated as implicit feedback and sorted chronologically:
- MovieLens 1M (ML 1M): A dense, widely used movie recommendation dataset.
- Steam: A highly sparse dataset containing user interactions with video games.
- MovieLens 20M (ML 20M): A large-scale version of the MovieLens dataset.
Key Insights and Ideas
- Inter-sequence signals are a powerful complement: Relying solely on a single user's history leaves performance on the table. Explicitly mapping how items connect through the broader user base provides a strong collaborative filtering signal that boosts sequential predictions.
- GNNs beat low-order approximations: Using GNNs to capture multi-hop paths between items performs significantly better than the traditional matrix factorization or first-order Markov Chain methods used in older inter-sequence models.
- Dual-graph approach works best: Ablation studies show that the user-item bipartite graph and the item-item co-occurrence graph contribute almost equally to the model's success, capturing complementary structural signals.
- Plug-and-play potential: The proposed inter-sequence GNN encoder can be plugged into existing baseline models (like GRU4Rec or SASRec) to substantially boost their performance.
Key Results
ISSR consistently outperformed state-of-the-art baselines (including SASRec, SR-GNN, and HGN) across all three datasets. On the ML 1M dataset, ISSR achieved a 12.85% relative improvement in Recall@10 compared to the best-performing baselines. On the highly sparse Steam dataset, ISSR showed strong robustness, outperforming baselines by 13.69% in Recall@10, proving that inter-sequence modeling effectively remedies data scarcity.
Furthermore, when the inter-sequence encoder was added to existing baseline models, their performance jumped dramatically. For example, adding it to GRU4Rec improved its Recall@10 on ML 1M from 0.1232 to 0.1545 (a ~25% relative increase).
Limitations and Future Work
The authors explicitly note a computational limitation: the GNN neighborhood aggregation is restricted to a maximum of 3 hops due to efficiency concerns. Scaling this multi-graph, multi-hop approach to massive, real-time industrial systems likely presents a significant computational bottleneck. Future work could explore more efficient neighborhood sampling, graph summarization techniques, or dynamic graph updates to reduce this overhead.
Summary updated