Graph-Enhanced Multi-Task Learning of Multi-Level Transition Dynamics for Session-based Recommendation

Chao Huang, Jiahui Chen, Lianghao Xia, Yong Xu, Peng Dai, Yanqing Chen, Liefeng Bo, Jiashu Zhao, Jimmy Xiangji Huang

Abstract

Session-based recommendation (SBR) is a critical task in e-commerce, focusing on predicting user intent from anonymous click sequences. While existing models effectively capture local session-level transitions, they often fail to leverage the broader global context of item dependencies across the entire dataset. This paper presents the Multi-level Transition Dynamics (MTD) framework, which employs multi-task learning to bridge the gap between intra-session and inter-session item relations. By integrating position-aware self-attention with a graph-based encoder optimized via mutual information maximization, MTD captures high-order connectivity and hierarchical patterns. Evaluations on Yoochoose, Diginetica, and RetailRocket datasets show that MTD significantly outperforms current state-of-the-art methods.

Introduction

In the realm of e-commerce, Session-based Recommendation (SBR) is essential for providing personalized experiences without requiring long-term user profiles. Most contemporary SBR models utilize Recurrent Neural Networks (RNNs) or attention mechanisms to model the sequential nature of a single session. However, item transitions are inherently multi-level, encompassing short-term intra-session transitions, long-term session-specific relations, and global cross-session dependencies.

Multi-level item transitions including short-term intra-session, long-term session-specific, and global cross-session dependencies.

As shown in Figure 1, a user's next action is influenced not just by their immediate clicks, but also by broader patterns observed across many users. Existing models that treat sessions in isolation miss these high-order relationships, leading to suboptimal recommendations.

Methodology: The MTD Framework

The MTD framework addresses these limitations through a dual-pronged approach, modeling both local and global dynamics.

Intra-Session Item Relation Learning

To capture local intent, MTD uses a Position-Aware Self-Attention module. Unlike standard self-attention, this module incorporates a decay factor based on an item's position, acknowledging that more recent clicks typically carry higher weight for predicting the next item. An Attentive Aggregation step then summarizes the session into a latent representation, distinguishing between casual browsing and strong purchase intent.

Global Transition Dynamics Modeling

The core innovation of MTD lies in its global modeling. A global item transition graph is constructed from all sessions, where nodes represent items and edges represent transitions.

The architecture for global transition dynamics modeling, featuring a Graph Neural Network and Mutual Information Maximization.

As illustrated in Figure 2, a Graph Neural Network (GNN) processes this global graph to learn high-order item embeddings. To ensure these embeddings are robust, MTD employs Mutual Information Maximization (MIM). By contrasting positive item-graph pairs against negative ones, the model learns a global graph-level representation that regularizes local embeddings, preventing overfitting on noisy session data.

Experimental Evaluation

The researchers evaluated MTD on three benchmark datasets: Yoochoose (RecSys '15), Diginetica (CIKM Cup 2016), and RetailRocket.

Key Results

MTD consistently outperformed state-of-the-art baselines such as NARM, STAMP, and SR-GNN.

  • Accuracy: On the Diginetica dataset, MTD achieved a Precision@10 of 40.22%, surpassing SR-GNN's 38.40%.
  • Ranking Quality: Improvements in Mean Reciprocal Rank (MRR@10) indicate that MTD is more effective at placing the target item at the top of the recommendation list.
  • Efficiency: MTD maintains computational efficiency by avoiding complex gating mechanisms during session graph construction, making it faster than many GNN-based alternatives.

Conclusion and Future Work

The MTD framework demonstrates that integrating global transition dynamics with local session modeling significantly enhances recommendation performance. By leveraging position-aware attention and mutual information maximization on a global graph, the model captures the multi-level nature of user behavior. Future research will focus on incorporating side information—such as item categories and images—and addressing the cold-start problem for rare items with sparse global transitions.

Summary updated

BibTeX
@inproceedings{huang2021graph,
  author = {Chao Huang and Jiahui Chen and Lianghao Xia and Yong Xu and Peng Dai and Yanqing Chen and Liefeng Bo and Jiashu Zhao and Jimmy Xiangji Huang},
  title = {{Graph-Enhanced Multi-Task Learning of Multi-Level Transition Dynamics for Session-based Recommendation}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2021},
  doi = {10.1609/aaai.v35i5.16534},
}
Figure