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

Self-Supervised Hypergraph Convolutional Networks for Session-based Recommendation

Xin Xia, Hongzhi Yin, Junliang Yu, Qinyong Wang, Lizhen Cui, Xiangliang Zhang

Introduction

Session-based recommendation (SBR) presents a significant challenge in modern recommender systems, primarily due to the "cold start" problem. When users are anonymous, systems must rely solely on the clicks within the current session. Traditional approaches, such as Recurrent Neural Networks (RNNs), treat these clicks as a strict sequence. While Graph Neural Networks (GNNs) improved upon this by modeling transitions as graphs, they typically focus on pairwise relations (e.g., Item A leads to Item B), which may fail to capture the complex, high-order interactions inherent in user behavior.

The Dual Channel Hypergraph Convolutional Network (DHCN) framework addresses these limitations by modeling item interactions as high-order "sets." By integrating hypergraph convolutions with a self-supervised learning (SSL) task, DHCN captures many-to-many relationships and mitigates data sparsity issues common in session data.

The DHCN Framework

The DHCN architecture consists of two primary channels designed to learn comprehensive session representations:

  1. Hypergraph Channel: Instead of a standard graph, DHCN constructs a hypergraph where each session is represented as a "hyperedge" connecting all items within it. This structure captures high-order relationships that pairwise graphs miss. A Hypergraph Convolutional Network (HGCN) then learns item embeddings from this view.
  2. Line Graph Channel: To incorporate cross-session information, the model builds a line graph where each node represents a session. Edges connect sessions that share at least one item, allowing the model to learn how different sessions relate to one another.
  3. Self-Supervised Learning (SSL): The core innovation of DHCN is the use of contrastive learning to bridge these two views. By maximizing the mutual information between session representations from both the hypergraph and line graph channels, the SSL task acts as a regularizer, enhancing the model's ability to learn meaningful features even from sparse data.
Architecture of the Dual Channel Hypergraph Convolutional Network (DHCN).

To maintain temporal context, the framework integrates reversed position embeddings, ensuring that recent clicks—which often carry more weight—are appropriately prioritized.

Experimental Evaluation

The model was evaluated on three benchmark datasets: Tmall (shopping logs), Nowplaying (music listening behavior), and Diginetica (transaction data). Standard preprocessing was applied, removing short sessions and infrequent items, followed by data augmentation via sequence splitting.

Key Results

DHCN consistently outperformed state-of-the-art baselines, including NARM, STAMP, SR-GNN, and FGNN.

  • Performance Gains: On the Nowplaying dataset, DHCN achieved a Precision@20 improvement of over 19% and an MRR@20 improvement of over 8% compared to the strongest baseline.
  • SSL Effectiveness: Ablation studies confirmed that the self-supervised version ($S^2$-DHCN) consistently outperformed the base DHCN, demonstrating the value of the auxiliary contrastive task in handling data sparsity.
  • Set vs. Sequence: In some contexts, like Tmall, removing position embeddings actually improved performance, suggesting that the "set" of items is often more predictive than their chronological order.

Analysis and Limitations

While DHCN offers significant improvements, it is subject to common GNN limitations. Specifically, the authors observed that increasing the number of convolutional layers beyond three often led to a performance decline. This phenomenon, known as "over-smoothing," occurs when node representations become too similar after multiple rounds of message passing.

Impact of the number of layers on model performance across Tmall and Diginetica datasets.

Additionally, the model's performance is sensitive to the self-supervised task's weight ($\beta$). If $\beta$ is too high, the auxiliary task may conflict with the primary recommendation goal, requiring careful hyperparameter tuning.

Conclusion

DHCN demonstrates that moving beyond pairwise relations to high-order hypergraph structures significantly enhances session-based recommendation. By leveraging dual-channel learning and self-supervised regularization, the framework effectively handles sparse data and captures the collective coherence of items within a session. Future work may explore hybrid approaches that better balance high-order set modeling with fine-grained sequential dependencies.

Summary updated

BibTeX
@inproceedings{xia2021self,
  author = {Xin Xia and Hongzhi Yin and Junliang Yu and Qinyong Wang and Lizhen Cui and Xiangliang Zhang},
  title = {{Self-Supervised Hypergraph Convolutional Networks for Session-based Recommendation}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2021},
  doi = {10.1609/aaai.v35i5.16578},
}
Figure