TL;DR
This paper introduces G³SR, a novel session-based recommendation system that leverages a global item graph for unsupervised pre-training. By learning item representations from the collective item relationships across all sessions, G³SR significantly improves recommendation accuracy, especially for less popular "cold" items, while also reducing the need for extensive labeled data.
What Problem Does This Paper Address?
Recommender systems are crucial for navigating vast online content, but they often struggle with "anonymous users" who lack detailed profiles or historical data. Session-based recommendation aims to address this by predicting a user's next action based solely on their current browsing session. Existing methods often focus on intra-session item relationships, neglecting the broader, global connections between items that exist across all user interactions. This limitation hinders their ability to provide accurate recommendations, particularly for items that appear infrequently or in limited contexts (cold items).
Methods
G³SR tackles this challenge by employing a two-stage approach:
- Unsupervised Pre-training with a Global Graph:
- A "global graph" is constructed from all available session data, where nodes represent items and edges signify co-occurrence.
- The
node2vecalgorithm is used on this global graph to learn initial item embeddings. This unsupervised step captures rich, global item-to-item relationships, providing a strong foundation for subsequent tasks. This is a key novelty, as prior work primarily focused on intra-session graphs. - Supervised Learning with Session Graphs:
- For each session, a "session graph" is built, representing the sequence of items within that session.
- The pre-trained global item embeddings are then used to initialize the node features in the session graph. A task-specific bias is added to these embeddings to mitigate potential "negative transfer" from the pre-training phase and better adapt to the specific recommendation task.
- Graph Neural Networks (GNNs), specifically Gated Graph Neural Networks (GGNNs), are employed to propagate information within the session graph and update item representations.
- A novel, parameter-free "exponential decaying readout" function is introduced to generate a session representation. This function prioritizes more recent items in the session, reflecting the intuition that recent interactions are more indicative of immediate user intent. This contrasts with attention mechanisms, which are more computationally expensive and data-driven.
Datasets
The proposed G³SR method was evaluated on two publicly available benchmark datasets:
- Yoochoose: Derived from the RecSys Challenge 2015, this dataset is known for its large scale. Two subsets, Yoochoose 1/64 and Yoochoose 1/4, were used to study the impact of data volume.
- Diginetica: From the CIKM Cup 2016, this dataset offers a different distribution of item popularity and session lengths.
Sessions with only one item and items appearing less than five times were removed. Data augmentation techniques were also applied.
Key Insights and Ideas
- Global Context is Crucial: The paper strongly advocates for leveraging global item relationships, not just intra-session ones, for improved session-based recommendations. The unsupervised pre-training on a global graph is a core innovation that unlocks this potential.
- Unsupervised Pre-training Benefits Cold Items: The global graph approach, particularly through
node2vec, effectively learns representations for less frequent items, significantly boosting their recommendation performance. This addresses a major challenge in recommender systems. - Parameter-Free Readout Can Be Competitive: The proposed exponential decaying readout mechanism demonstrates that simple, parameter-free approaches can rival or even outperform complex attention mechanisms for session representation, suggesting a need to re-evaluate the necessity of attention in certain contexts.
- Task-Specific Bias Mitigates Negative Transfer: The inclusion of a task-specific bias term during the supervised learning phase is shown to be important for adapting pre-trained embeddings and preventing performance degradation.
- Shorter Sessions are More Informative (for some metrics): While not a primary focus, the experiments suggest that shorter sessions might be more indicative of immediate user intent, leading to better performance on certain metrics.
Key Results
- G³SR consistently outperformed state-of-the-art methods, including SR-GNN, FGNN, and GCE-GNN, across all three datasets and evaluation metrics (P@20, MRR@20, NDCG@20).
- On the Yoochoose 1/64 dataset, G³SR achieved a P@20 of 72.61%, surpassing even models trained on the larger Yoochoose 1/4 dataset. This highlights the efficiency and effectiveness of the pre-training approach.
- The method showed significant improvements for "cold items," demonstrating its ability to handle sparse data effectively.
- Ablation studies confirmed the importance of both the unsupervised pre-training process and the task-specific bias for G³SR's performance.
- The exponential decaying readout strategy achieved competitive results, outperforming mean and sum-based readouts and even showing advantages in precision over an attention-based readout.
Limitations and Future Work
- Hyperparameter Sensitivity: While generally robust, the performance of G³SR can be sensitive to certain hyperparameters, particularly the temperature parameter
τin the readout function, which influences how much weight is given to recent items. The optimal values can vary between datasets. - Node2vec Limitations: The paper uses
node2vecfor pre-training. While effective, exploring other graph embedding techniques or more advanced pre-training methods could potentially yield further improvements. - Readout Strategy Exploration: While the exponential decaying readout is effective, the paper suggests further research into designing better representation learning methods and/or readout functions for session-based recommendation.
- Combining with Other Architectures: The paper briefly explores combining G³SR with other model structures like GC-SAN and GCE-GNN, showing promising results, indicating potential for hybrid approaches.
Summary updated