Abstract
Sequential recommendation (SR) is a cornerstone of modern digital services, yet it frequently struggles with two real-world phenomena: temporal sparsity (irregular gaps between user actions) and uneven item distributions (popularity shifts driven by external events). Standard models often treat interaction sequences as discrete, uniform steps, failing to capture the continuous nature of evolving interests. This paper introduces TGODE (Time-Guided Graph Neural ODEs), a framework that leverages diffusion models to augment sparse interaction data and Neural Ordinary Differential Equations (ODEs) to synchronize individual user preferences with global item trends. Experimental results show that TGODE outperforms state-of-the-art baselines by 10% to 46% across five diverse datasets.
The Dual Challenges in Sequential Recommendation
Modern SR systems face significant hurdles when dealing with the "fluidity" of time. The authors identify two primary flaws in existing discrete-time models:
- Irregular User Interests: User activity is rarely periodic. A user might interact with several items in quick succession and then remain inactive for weeks. Traditional models struggle to weigh the relevance of past interactions across these varying gaps.
- Highly Uneven Item Distributions: Item popularity is often dictated by external "shocks"—such as seasonal promotions or viral trends—rather than just individual history. These global shifts can overshadow personal preferences if not properly modeled.
Methodology: Continuous Evolution with TGODE
To overcome these limitations, TGODE moves away from discrete sequence modeling toward a continuous-time perspective. The framework consists of three core components:
1. Dual Graph Construction
The system builds a User Time Graph to capture personalized item-to-item transitions and an Item Evolution Graph to track global popularity shifts across the entire user base.
2. Time-Guided Diffusion Generator
To address temporal sparsity, TGODE employs a diffusion model. This generative component "fills in" the gaps in sparse user histories by imagining potential interactions during inactive periods. This creates an augmented user graph, providing a more robust and continuous profile of user interest. A "User Interest Truncation Factor" is applied to ensure these generated interactions remain realistic and relevant.
3. Generalized Graph Neural ODE
Rather than using standard discrete layers, TGODE utilizes an ODE solver (specifically the Runge-Kutta method). This allows the model to represent user and item states as continuous functions of time. The Graph Neural ODE aligns the internal evolution of user preferences with the external evolution of item trends, ensuring recommendations are perfectly "synchronized" with the target timestamp.
Empirical Analysis and Results
The authors evaluated TGODE on five public datasets, including Amazon subsets (Beauty, Sports, Toys, Video) and MovieLens-100k. Data analysis confirms the prevalence of temporal sparsity and non-uniform interaction patterns that TGODE is designed to handle.
Key Findings
- Superior Accuracy: TGODE achieved substantial improvements in Recall@K and NDCG@K, ranging from 10% to 46% over competitive baselines like SASRec and DreamRec.
- Robustness to Gaps: The model excels in scenarios with long sequences and significant temporal gaps, where standard Transformers often lose track of relevant context.
- Trend Awareness: Qualitative case studies indicate that TGODE is significantly better at identifying when a global trend has passed, preventing the recommendation of "stale" items that are no longer popular.
Conclusion
TGODE represents a shift in sequential recommendation by treating time as a continuous coordinate rather than a discrete index. By combining the generative power of diffusion models with the continuous modeling capabilities of Neural ODEs, the framework effectively bridges the gap between personal history and global dynamics. While computationally more intensive than simpler models, its ability to handle real-world temporal irregularities sets a new benchmark for accuracy in sequential recommendation.
Summary updated