[Paper Review] RetaGNN: Relational Temporal Attentive Graph Neural Networks for Holistic Sequential Recommendation
RetaGNN is a novel graph neural network model for holistic sequential recommendation that unifies conventional, inductive, and transferable settings by leveraging relational attentive GNNs on local user-item subgraphs and a sequential self-attention mechanism to model long- and short-term user preferences. It achieves state-of-the-art performance across MovieLens, Instagram, and Book-Crossing datasets, with improved generalization and explainability via learned attention weights.
Sequential recommendation (SR) is to accurately recommend a list of items for a user based on her current accessed ones. While new-coming users continuously arrive in the real world, one crucial task is to have inductive SR that can produce embeddings of users and items without re-training. Given user-item interactions can be extremely sparse, another critical task is to have transferable SR that can transfer the knowledge derived from one domain with rich data to another domain. In this work, we aim to present the holistic SR that simultaneously accommodates conventional, inductive, and transferable settings. We propose a novel deep learning-based model, Relational Temporal Attentive Graph Neural Networks (RetaGNN), for holistic SR. The main idea of RetaGNN is three-fold. First, to have inductive and transferable capabilities, we train a relational attentive GNN on the local subgraph extracted from a user-item pair, in which the learnable weight matrices are on various relations among users, items, and attributes, rather than nodes or edges. Second, long-term and short-term temporal patterns of user preferences are encoded by a proposed sequential self-attention mechanism. Third, a relation-aware regularization term is devised for better training of RetaGNN. Experiments conducted on MovieLens, Instagram, and Book-Crossing datasets exhibit that RetaGNN can outperform state-of-the-art methods under conventional, inductive, and transferable settings. The derived attention weights also bring model explainability.
Motivation & Objective
- To address the lack of unified models that support conventional, inductive, and transferable sequential recommendation simultaneously.
- To enable inductive sequential recommendation without retraining by learning from local subgraphs centered on user-item pairs.
- To model both long-term and short-term temporal patterns in user preferences through a novel sequential self-attention mechanism.
- To improve training stability and generalization using a relation-aware regularization (RAR) term.
- To achieve explainability in recommendations through interpretable attention weights.
Proposed method
- RetaGNN constructs local enclosing subgraphs centered on a target user-item pair, capturing relations among users, items, and attributes.
- It employs a relational attentive GNN (RA-GNN) layer that learns relation-specific weight matrices across multiple relations (user-item, user-attribute, item-attribute) rather than node- or edge-specific parameters.
- A sequential self-attention mechanism models temporal patterns by attending over recent interaction sequences, capturing short-term and long-term preference dynamics.
- The model integrates a relation-aware regularization (RAR) term in the loss function to stabilize training and improve generalization across unseen nodes and domains.
- The architecture is designed to be inductive by relying only on local subgraph structures, avoiding dependency on global node embeddings.
- Hyperparameters such as hop number, subsession length, and number of RA-GNN layers are tuned to balance noise and expressive capacity.
Experimental results
Research questions
- RQ1Can a single sequential recommendation model effectively support conventional, inductive, and transferable settings simultaneously?
- RQ2How does modeling high-order user-item interactions through relational attentive GNNs improve sequential recommendation performance?
- RQ3To what extent does the sequential self-attention mechanism capture diverse temporal user behavior patterns across different domains?
- RQ4How does the relation-aware regularization term enhance model generalization and robustness in inductive and transfer learning settings?
- RQ5Can the attention weights learned by RetaGNN provide meaningful interpretability for recommendation decisions?
Key findings
- RetaGNN outperforms state-of-the-art methods across all three settings—conventional, inductive, and transferable—on MovieLens, Instagram, and Book-Crossing datasets.
- The model achieves the best performance with a configuration of (h, τ) = (2, 4), where h is the hop number and τ is the short-term subsession length, indicating optimal subgraph size for performance.
- Using (L_lo, L_sh) = (2, 3) for long- and short-term RA-GNN layers yields the best results, suggesting moderate depth balances expressiveness and noise sensitivity.
- A λ value of 0.6 for the relation-aware regularization term leads to the best performance, indicating that moderate regularization improves generalization without sacrificing flexibility.
- The sequential self-attention mechanism effectively captures domain-specific behaviors, such as stable preferences in MovieLens and bursty patterns in Instagram.
- Attention weights learned by RetaGNN provide model explainability, reflecting user preference dynamics and temporal influence of past items.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.