Source-linked AI summary

Self-Supervised Hypergraph Convolutional Networks for Session-based Recommendation

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

arXiv:2012.06852v5cs.IR

TL;DR

Session-based recommendation must predict next items without long-term user profiles, while pairwise-transition models overlook high-order item correlations. DHCN models sessions with dual hypergraph-based channels and mutual-information self-supervision, and experiments report superiority over state-of-the-art methods.

  • Problem

    Existing GNN-based SBR methods model item transitions pairwise, neglecting complex high-order information among items.

  • Method

    DHCN models each session as a hyperedge, adds a line-graph convolutional channel, and maximizes mutual information between channel representations through self-supervised learning.

  • Results

    Extensive experiments demonstrate DHCN's superiority over state-of-the-art methods, while ablations validate hypergraph convolution and self-supervised learning.

  • Takeaways & Limitations

    Hypergraph modeling and self-supervised learning are reported as effective components for session-based recommendation.

Abstract

from arXiv · show

Session-based recommendation (SBR) focuses on next-item prediction at a certain time point. As user profiles are generally not available in this scenario, capturing the user intent lying in the item transitions plays a pivotal role. Recent graph neural networks (GNNs) based SBR methods regard the item transitions as pairwise relations, which neglect the complex high-order information among items. Hypergraph provides a natural way to capture beyond-pairwise relations, while its potential for SBR has remained unexplored. In this paper, we fill this gap by modeling session-based data as a hypergraph and then propose a hypergraph convolutional network to improve SBR. Moreover, to enhance hypergraph modeling, we devise another graph convolutional network which is based on the line graph of the hypergraph and then integrate self-supervised learning into the training of the networks by maximizing mutual information between the session representations learned via the two networks, serving as an auxiliary task to improve the recommendation task. Since the two types of networks both are based on hypergraph, which can be seen as two channels for hypergraph modeling, we name our model \textbf{DHCN} (Dual Channel Hypergraph Convolutional Networks). Extensive experiments on three benchmark datasets demonstrate the superiority of our model over the SOTA methods, and the results validate the effectiveness of hypergraph modeling and self-supervised task. The implementation of our model is available at https://github.com/xiaxin1998/DHCN

Introduction

Session-based recommendation must infer intent without long-term user profiles, but sequence- and pairwise-transition models miss item coherence and high-order correlations. DHCN addresses this with dual-channel hypergraph modeling and self-supervised learning, achieving statistically significant benchmark improvements.

  • SBR predicts the next item from real-time session behavior, usually without available long-term user profiles.
  • RNN sequence models can impose overly strict order assumptions, while GNNs represent transitions pairwise and neglect complex high-order item correlations.
  • DHCN models each session as a hyperedge, capturing beyond-pairwise relations while emphasizing item coherence rather than strict relative order.
  • The model uses hypergraph and line-graph channels to represent item-level and session-level information, respectively.
  • Self-supervised learning maximizes mutual information between the two channel representations as an auxiliary task for recommendation.
  • Extensive experiments report statistically significant improvements over state-of-the-art baselines on benchmark datasets.

Related Work

Prior SBR research progressed from Markov and recurrent sequence models to graph neural networks, but existing approaches still miss higher-order item correlations. Hypergraph and self-supervised recommendation research provide relevant foundations, while their combination for SBR remains underexplored.

  • Early SBR work used Markov decision processes, followed by deep recurrent and convolutional models for sequential data.
  • GNN-based SBR methods learn item transitions over session-induced graphs, yet existing studies fail to capture complex higher-order item correlations.
  • Hypergraph neural networks apply convolution to hypergraphs, and later work introduced dynamic and line-hypergraph convolutional models.
  • HyperRec models short-term preference with hypergraphs but omits inter-hyperedge information and is not designed for session-based scenarios.
  • Self-supervised learning learns representations from raw data, with contrastive graph methods using mutual-information maximization between congruent and incongruent views.
  • The potential of self-supervised learning for hypergraph representation learning and SBR had not been investigated in the cited related work.

The Proposed Method

The proposed method models session data as a hypergraph, applies hypergraph convolution for SBR, and adds a line-graph channel with self-supervised learning to enhance hypergraph modeling.

  • The method introduces session-to-hypergraph modeling, hypergraph convolution, a line-graph channel, and integrated self-supervised learning.

Notations and Definitions

The paper defines item and session representations, hypergraphs through vertices, weighted hyperedges, and incidence matrices, and line graphs through shared hyperedge nodes.

  • Items form a set I, sessions contain interacted items, and SBR predicts the next item is,m+1 for a given session.
  • A hypergraph consists of vertices and weighted hyperedges, represented by an incidence matrix H and diagonal degree matrices.
  • The line graph represents each hyperedge as a node and connects two nodes when their hyperedges share at least one vertex.

Hypergraph Construction

DHCN represents each session as a hyperedge in a hypergraph, capturing item-level high-order relations rather than only pairwise transitions. The resulting line graph captures cross-session relations between sessions.

  • Each session is modeled as a hyperedge containing its items, while items form the hypergraph’s vertices.
  • Hypergraph construction captures beyond-pairwise relations among items within sessions.
  • The line graph describes session-level relations, also called cross-session information.

Hypergraph Convolutional Network

The hypergraph channel propagates item information through session hyperedges and combines refined item representations with reversed positional information. Soft attention then aggregates session items for next-item prediction.

  • Convolution: Hypergraph convolution performs node-hyperedge-node feature transformation to propagate information through the hypergraph.Information first aggregates from nodes to hyperedges, then from hyperedges back to nodes.
  • Convolution: The model averages item embeddings from the initial representation and all L convolutional layers to obtain final item embeddings.
  • Position information: Reversed position embeddings are integrated with learned item representations, providing the model’s only temporal factor.The model omits sequence mechanisms such as GRU units and self-attention.
  • Session representation: A soft-attention mechanism assigns different priorities to item embeddings when forming the session representation.
  • Recommendation: The hypergraph channel scores candidate items by inner product with the session embedding, then applies softmax to produce next-item probabilities.Training minimizes a cross-entropy recommendation loss.

Enhancing SBR with Self-Supervised Learning

DHCN adds a line-graph channel to provide cross-session information and uses contrastive self-supervision to align the two channel views. The recommendation and auxiliary objectives are optimized jointly.

  • Line graph channel: The line graph channel treats sessions as graph nodes and propagates information across neighboring sessions.Its learned embeddings capture cross-session information.
  • Dual views: The two channels provide complementary item-level and session-level structural views of the session-induced hypergraph.
  • Self-supervision: Matching embeddings for the same session across channels are positives, while mismatched pairs are labeled negatives for self-supervision.The one-to-one correspondence between channel outputs supplies the labels.
  • Contrastive learning: Contrastive learning uses a noise-contrastive BCE objective to maximize agreement between session representations from the two views.Negative samples are created by row-wise and column-wise shuffling, and agreement is scored by a discriminator.
  • Effect: The auxiliary self-supervised task can refine embeddings for sessions containing only a few items by leveraging cross-session information.
  • Joint learning: The joint objective combines recommendation loss and self-supervised loss as L = Lr + βLs.β controls the magnitude of the self-supervised task.

Experimental Settings

The study evaluates DHCN on Tmall, Nowplaying, and Diginetica using standard session filtering, train/test splits, representative baselines, and P@K and MRR@K metrics. It reports overall comparisons and uses dataset-specific layer settings.

  • Datasets: Experiments use the real-world benchmark datasets Tmall, Nowplaying, and Diginetica.Tmall contains anonymized shopping logs, while Nowplaying records music-listening behavior.
  • Preprocessing: Sessions with one item and items appearing fewer than five times are removed from Tmall and Nowplaying.
  • Baselines: DHCN is compared with representative methods including Item-KNN, FPMC, GRU4REC, NARM, SR-GNN, and FGNN.
  • Results: Table 2 reports overall performance for DHCN variants and comparison methods across the three datasets.S2-DHCN denotes the self-supervised version, and improvements are computed against the best baseline.
  • Metrics: Recommendation quality is evaluated with P@K and MRR@K.These denote Precision and Mean Reciprocal Rank at K.
  • Configuration: DHCN uses three convolutional layers for Nowplaying and Diginetica, but one layer for Tmall.The general embedding size is 100, with batch size 100 and L2 regularization 10^-5.

Experimental Results

DHCN outperforms baseline methods across datasets, while ablations show benefits from hypergraph modeling and self-supervised learning. Performance also depends on dataset characteristics, network depth, and self-supervision strength.

  • Overall Performance: GNN-based SR-GNN and FGNN outperform RNN-based models, but their gains are trivial compared with DHCN.The comparison attributes the improvement of GNN-based models to their capacity for graph representation.
  • Overall Performance: DHCN shows overwhelming superiority over all baselines on all datasets.The model captures beyond-pairwise relations through hypergraphs and uses limited parameters in its two convolutional channels.
  • Component Contributions: Self-supervised learning provides decent additional improvements, especially on the two datasets with shorter average session lengths.The results are consistent with the assumption that session sparsity can limit hypergraph modeling benefits.
  • Component Contributions: On Tmall, removing reversed position embeddings or soft attention improves both metrics over the full model, whereas Diginetica shows a different pattern.The Tmall result is presented as supporting the importance of coherence over strict order modeling in that setting.
  • Impact of Model Depth: DHCN is best with three layers on Diginetica and one layer on Tmall; increasing depth reduces Tmall MRR@20.The reported possible cause is increasingly over-smoothed item representations.
  • Impact of Self-Supervised Learning: Smaller self-supervision weights β improve Prec@20 and MRR@20 on both datasets, while larger β values reduce performance.The paper attributes the decline to gradient conflicts between the recommendation and self-supervised tasks, with larger β especially harming MRR@20.

Conclusion

The paper addresses the inability of pairwise GNN-based SBR models to capture high-order item correlations by proposing a dual-channel hypergraph convolutional network with self-supervised learning. Experiments report strong performance and validate both hypergraph convolution and the auxiliary task.

  • Conclusion: DHCN models session data with hypergraph convolution to capture high-order item correlations beyond pairwise relations.The model additionally integrates self-supervised learning to enhance its network.
  • Conclusion: Extensive empirical studies demonstrate DHCN’s overwhelming superiority, while ablations validate hypergraph convolution and self-supervised learning.
Loading 2012.06852v5…