NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Evolutionary Preference Learning via Graph Nested GRU ODE for Session-based Recommendation

Jiayan Guo, Peiyan Zhang, Chaozhuo Li, Xing Xie, Yan Zhang, Sunghun Kim · DOI

TL;DR

This paper introduces GNG-ODE, a novel continuous-time model for session-based recommendation that captures the evolving nature of user preferences. By leveraging neural Ordinary Differential Equations (ODEs) on dynamic session graphs, GNG-ODE offers a more nuanced understanding of user intent than traditional discrete models, leading to significant improvements in recommendation accuracy.

What Problem Does This Paper Address?

Session-based recommendation (SBR) aims to predict a user's next action based on their recent interactions within a session. A key challenge in SBR is modeling how user preferences change during a session, even a short one. Existing methods often treat sessions as discrete sequences or static graphs, failing to capture the fine-grained, continuous drift of user interests over time. This limitation can lead to suboptimal recommendations, especially when user attention spans are short or their interests shift rapidly. The paper argues that user preferences are inherently continuous and evolve over time, and that current discrete approaches are insufficient to model this dynamic.

Methods

The core of the proposed method, GNG-ODE, is built around several key components:

  • Continuous-Time Temporal Session Graph: Instead of discrete snapshots, the paper models sessions as continuous-time temporal session graphs. This allows for the representation of both structural item transitions and their temporal evolution.
  • Graph Nested GRU ODE (GNG-ODE): This is the central novel component. It extends the Graph Nested GRU (GNG) architecture to a continuous-time setting using neural Ordinary Differential Equations (ODEs). This allows the model to learn the latent dynamics of user preferences as a continuous process, rather than discrete steps. The GNG-ODE function propagates item representations over time, capturing their evolving states.
  • Initial Latent State Encoder (GGNN): Before applying the GNG-ODE, a Graph Neural Network (GNN), specifically GGNN, is used to encode the initial item embeddings and their static transition patterns. This helps infer the initial latent states for all items in the session, considering both item attributes and structural relationships.
  • t-Alignment: A crucial innovation to make ODE solvers compatible with dynamic graphs. Since ODE solvers typically operate on fixed time steps, and session graphs change dynamically, the t-Alignment technique aligns the ODE solver's integration steps with the actual timestamps of item interactions. This ensures that the ODE solver considers the correct graph structure at each integration point, enabling continuous modeling on dynamic graphs.
  • User Preference Generation: The model combines recent and long-term user interests using an attention mechanism and a learned hybrid representation to predict the next item.

Datasets

The paper evaluates GNG-ODE on three publicly available benchmark datasets commonly used in session-based recommendation research:

  • Gowalla: A dataset containing user check-in information for point-of-interest recommendations.
  • Tmall: A dataset of user purchase records from the Tmall platform.
  • Nowplaying: A comprehensive implicit feedback dataset of user-song interactions crawled from Twitter.

The paper notes that standard preprocessing steps were applied, including filtering sessions with few items and infrequent items, and data augmentation.

Key Insights and Ideas

  • Continuity is Key for Preference Evolution: The paper strongly advocates for modeling user preferences as a continuous, evolving entity rather than discrete states. This shift is crucial for capturing fine-grained temporal dynamics.
  • Neural ODEs for Dynamic Systems: Neural ODEs are a powerful tool for modeling continuous dynamical systems, and their application to session-based recommendation allows for a more natural representation of evolving user interests.
  • Bridging Discrete and Continuous: The t-Alignment technique is a clever solution to bridge the gap between standard ODE solvers (designed for continuous time) and dynamic graphs (which evolve discretely over time). This enables the application of continuous models to real-world, dynamic session data.
  • Structural and Temporal Synergy: The GNG-ODE model effectively integrates both the structural relationships between items (via GGNN) and their temporal evolution (via ODEs), demonstrating that a combined approach yields superior results.

Key Results

  • State-of-the-Art Performance: GNG-ODE significantly outperforms all competitive baselines across the three benchmark datasets on HR@10, HR@20, MRR@10, and MRR@20 metrics. For example, on the Tmall dataset, GNG-ODE achieved improvements of up to 6.05% in ranking metrics compared to the best baselines.
  • Encoder Effectiveness: The GGNN encoder for initial latent states proved most effective, highlighting the importance of capturing structural information for session-based recommendation, especially in e-commerce scenarios like Tmall.
  • ODE Function and t-Alignment Impact: The proposed GNG-ODE function, combined with t-Alignment, demonstrated superior performance compared to simpler ODE functions (GCN-ODE, GRU-ODE, MLP-ODE) and versions without t-Alignment, underscoring the importance of both the continuous modeling approach and the alignment technique.
  • ODE Solver Performance: Adaptive step ODE solvers like Dopri5 generally outperformed fixed-step solvers (Euler, RK4), with RK4 showing better accuracy than Euler. The paper also suggests that step sizes can be adjusted to balance effectiveness and efficiency.
  • Scalability: The computational complexity is analyzed and found to be a linear combination of graph size and time steps, which is deemed acceptable. Running time comparisons show GNG-ODE with Euler solver is competitive with other baselines, while RK4 and Dopri5 offer better performance at a slightly higher computational cost.

Limitations and Future Work

  • Hyperparameter Sensitivity: While GNG-ODE shows strong performance, the paper acknowledges that hyperparameter tuning (embedding size, number of GGNN layers) is important, and that too many layers can lead to over-smoothing.
  • ODE Solver Choice: The choice of ODE solver and its step size can impact performance and efficiency, requiring careful consideration.
  • Future Work: The paper implicitly suggests that further exploration of different ODE functions and more advanced t-Alignment strategies could yield even better results. The success of integrating structural and temporal information also opens avenues for exploring more complex dynamic graph structures.

Summary updated

BibTeX
@inproceedings{guo2022evolutionary,
  author = {Jiayan Guo and Peiyan Zhang and Chaozhuo Li and Xing Xie and Yan Zhang and Sunghun Kim},
  title = {{Evolutionary Preference Learning via Graph Nested GRU ODE for Session-based Recommendation}},
  booktitle = {ACM International Conference on Information and Knowledge Management},
  year = {2022},
  doi = {10.1145/3511808.3557314},
}
Figure