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

Balancing Multi-level Interactions for Session-based Recommendation

Yujia Zheng, Siyi Liu, Zailei ZhouarXiv 2019

Abstract

Session-based Recommendation Systems (SRS) are designed to predict user actions within anonymous sessions where long-term profiles are unavailable. Traditional approaches focus on intra-session item sequences, often overlooking the rich collaborative information present across different sessions. This paper introduces the Intra-and Inter-session Interaction-aware Graph-enhanced Network (I3GN), a novel framework that models item-level interactions both within the current session and across a neighborhood of similar historical sessions. By leveraging Graph Neural Networks (GNNs) to process distinct intra-session (directed) and inter-session (undirected) graphs, I3GN captures complex dependencies that sequence-based models miss. Evaluations on real-world datasets show that I3GN significantly outperforms existing baselines, highlighting the importance of fine-grained, cross-session item relationships.

Introduction

The primary challenge in Session-based Recommendation (SRS) is the absence of persistent user identifiers. Models must rely on short-term behavioral patterns within a single session. While deep learning architectures like Recurrent Neural Networks (RNNs) and Graph Neural Networks (GNNs) have improved intra-session modeling, they frequently treat sessions as isolated units. Existing collaborative methods that do incorporate external session data often do so at a coarse, session-wide level, failing to exploit specific item-to-item transitions across the broader "wisdom of the crowd."

Conceptual illustration of (a) multiple user sessions and (b) the resulting item-level interaction graph.

The I3GN framework addresses this by exploring "item-level" inter-session interactions. As shown in Figure 1, while individual sessions might seem distinct, they share common items that form a complex web of relationships. By modeling these as a graph, the system can identify that a user interested in a "computer" might also be interested in a "camera" seen in a similar historical session, even if that item hasn't appeared in the current sequence.

Methods

The I3GN architecture consists of three core components designed to bridge the gap between local session sequences and global collaborative patterns.

The architecture of the I3GN framework, featuring the Session Merging Module and Cross-Scope Encoder.
  1. Session Merging Module (SMM): For any active session, the SMM retrieves the $k$ most similar historical sessions. It constructs two graphs: an Intra-session Graph (directed, preserving sequence) and an Inter-session Graph (undirected, merging the current session with its neighbors to find commonalities).
  2. Cross-Scope Encoder (CSE): This module employs specialized GNNs for each graph. The Intra-session Module uses a Gated Graph Neural Network (GGNN) to handle strict sequential dependencies. Conversely, the Inter-session Module utilizes a Graph Attention Network (GAT) with multi-head attention to filter noise and focus on the most relevant items within the expanded neighborhood.
  3. Prediction Module: A fusion gating mechanism integrates the local and global representations into a final session vector, which is then used to compute recommendation scores via a softmax layer.

Key Insights

A critical innovation of I3GN is its granular approach to collaborative filtering. Unlike previous models that aggregate neighbor sessions into a single representation, I3GN maintains node-to-node links. This allows the model to differentiate between highly relevant items (e.g., a camera related to a computer) and irrelevant noise (e.g., a briefcase) within the same neighbor session. Furthermore, the use of undirected edges in the inter-session graph acknowledges that related items may appear in varying orders across different historical contexts.

Results and Discussion

I3GN was evaluated on the YOOCHOOSE and Diginetica benchmarks. It consistently outperformed state-of-the-art models like SR-GNN and CSRM. For instance, on YOOCHOOSE 1/64, I3GN achieved a Recall@10 of 60.41% and an MRR@10 of 30.44%. Ablation studies confirmed that both intra- and inter-session components are vital; removing either led to a drop in performance. The study also noted that performance is sensitive to the number of neighbors, peaking at approximately 120 before noise from less-similar sessions begins to interfere.

Conclusion

I3GN demonstrates that balancing multi-level item interactions—both local sequences and global collaborative links—is essential for high-performance session-based recommendation. By moving beyond the "single-session" silo and adopting an item-level graph approach, the framework sets a new standard for anonymous recommendation tasks. Future work will focus on optimizing the computational efficiency of graph construction and exploring more adaptive neighbor selection strategies.

Summary updated

BibTeX
@misc{zheng2019balancing,
  author = {Yujia Zheng and Siyi Liu and Zailei Zhou},
  title = {{Balancing Multi-level Interactions for Session-based Recommendation}},
  year = {2019},
  eprint = {1910.13527},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1910.13527},
}
Figure