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

Interest Driven Graph Structure Learning for Session-Based Recommendation

Huachi Zhou, Shuang Zhou, Keyu Duan, Xiao Huang, Qiaoyu Tan, Zailiang Yu

Introduction

Session-based recommendation (SBR) aims to predict a user's next item interaction based on a sequence of clicks within a single, often anonymous, session. While Graph Neural Networks (GNNs) have advanced this field by capturing item transitions, most existing models rely on rigid, rule-based graph construction. These models typically link items based solely on chronological adjacency, which often fails to represent the underlying semantic interests of a user.

The Problem with Rule-Based Graphs

Standard GNN-based recommenders assume that if a user clicks Item A and then Item B, a direct relationship exists. However, real-world browsing behavior is often non-linear. For example, a user might browse a "wok," then "Airpods," and then a "cooking pot." A rule-based graph would create a strong link between the wok and the Airpods, despite the wok and the pot being the items that share a common semantic interest.

Conceptual comparison of rule-based vs. learned graph structures in PIGR.

The proposed PIGR (Personalized Interest Graph Recommender) framework addresses this by moving away from predefined rules. Instead, it learns the session's graph structure from scratch, allowing the model to identify and cluster items into latent "interests" regardless of their position in the timeline.

The PIGR Framework

PIGR operates through two primary modules designed to capture and refine user interests:

1. Session Graph Structure Learning

This module initializes item representations using Gated Recurrent Units (GRU) and position embeddings to maintain chronological context. It then employs Dynamic Edge Learning, calculating cosine similarity between all items in a session to determine connectivity. To ensure the model explores a wide range of potential structures and avoids local minima, the authors introduce Trainable Noise (Gaussian) to the edge weights. Finally, Sparsification (top-$t$ filtering) is applied to maintain computational efficiency by keeping only the most significant connections.

2. Unified Interest Retrieval

Once the graph structure is learned, PIGR uses message passing to fuse semantically similar items into "coarsened" nodes representing specific interests. A Centrality-Based Aggregation mechanism weights these interests by their importance within the session. The final recommendation is generated by combining these learned interests with the representation of the most recent item, ensuring the output is both interest-aligned and timely.

Results and Analysis

The PIGR framework was evaluated against several state-of-the-art baselines, including STAMP, SR-GNN, and DHCN, using three benchmark datasets: LastFM (Long sessions), Gowalla (Medium sessions), and Yoochoose (Short sessions).

Performance comparison of PIGR against state-of-the-art baselines across three datasets.

As shown in the results table, PIGR consistently outperforms existing methods. The most significant gains were observed in the LastFM dataset, which features the longest and most complex sessions. Here, PIGR achieved a +9.7% improvement in Recall@20 and a +4.3% improvement in NDCG@20 over the best-performing baseline. Even in short-session environments like Yoochoose, PIGR maintained a competitive edge, demonstrating the robustness of learning graph structures over defining them.

Ablation studies further confirmed that the "Structure Learning" component is vital; removing it (PIGR w/ FG) led to a marked decrease in performance across all metrics.

Conclusion and Future Work

PIGR demonstrates that learning adaptive, interest-driven graph structures is superior to relying on chronological heuristics for session-based recommendation. By successfully identifying "distant dependencies," PIGR filters out noisy interactions and focuses on the user's core intent. Future research will explore integrating item metadata—such as category and brand—into the structure learning process and optimizing the framework for even larger-scale production environments.

Summary updated

BibTeX
@inproceedings{zhou2023interest,
  author = {Huachi Zhou and Shuang Zhou and Keyu Duan and Xiao Huang and Qiaoyu Tan and Zailiang Yu},
  title = {{Interest Driven Graph Structure Learning for Session-Based Recommendation}},
  booktitle = {PAKDD},
  year = {2023},
  doi = {10.1007/978-3-031-33380-4\_22},
}
Figure