Sequential recommendation systems aim to predict a user's next interaction by analyzing their historical timeline. While traditional models rely on bipartite graphs, recent research has pivoted toward hypergraphs—where a single edge can connect multiple nodes—to capture complex, high-order relationships like co-purchasing patterns or shared user tastes.
However, this shift introduces significant hurdles. This paper introduces H²SeqRec, a novel framework designed to overcome the limitations of existing hypergraph-based recommenders by leveraging hyperbolic geometry and hierarchical temporal modeling.
The Challenges of Hypergraph Recommendation
Transitioning from standard graphs to hypergraphs introduces three primary difficulties:
- Extreme Data Sparsity: Constructing hyperedges often reduces the total number of edges compared to traditional graphs, worsening the "long-tail" distribution problem where many items have very few interactions.
- Overlooked Group Dynamics: Many models focus exclusively on an individual user's history, missing valuable collaborative signals from users with similar behavioral patterns.
- Rigid Chronological Modeling: Standard sequential models process data in a strict linear order, failing to capture periodic or seasonal trends (e.g., annual holiday shopping).
The H²SeqRec Framework
To address these issues, H²SeqRec (Hyperbolic Hypergraph representation learning for Sequential Recommendation) employs several architectural innovations:
1. Hyperbolic Embedding Space
Instead of using standard Euclidean space, H²SeqRec maps items into hyperbolic space. Hyperbolic geometry expands exponentially, providing a more natural fit for the hierarchical, tree-like structures found in sparse, long-tailed recommendation data. This allows the model to represent complex structural relationships without the "crowding" distortion common in Euclidean embeddings.
2. Hierarchical Time-Span Modeling
User behavior is rarely just a flat sequence; it is often cyclical. H²SeqRec constructs separate hypergraphs for different temporal scales—monthly, quarterly, and yearly. By fusing these multi-scale representations, the model can identify seasonal patterns that a standard Transformer or RNN might miss.
3. Self-Supervised Pre-training and Group Enhancement
To combat sparsity, the model utilizes self-supervised pre-training tasks, including a novel hyperedge link prediction task that identifies users with overlapping behavior. Additionally, at each timestamp, the model builds an "induced hypergraph" to inject group-level collaborative signals into the target user's item embeddings.
Experimental Results
The authors evaluated H²SeqRec against six state-of-the-art baselines (including SASRec and HyperRec) using two real-world datasets: the highly sparse Amazon (AMT) dataset and the denser Goodreads dataset.
- Performance Gains: H²SeqRec significantly outperformed all baselines. On the sparse Amazon dataset, it achieved a massive 31.61% improvement in NDCG@1 over the best-performing baseline.
- Robustness to Sparsity: The gains were most pronounced on sparse data, confirming that hyperbolic embeddings and pre-training are highly effective data augmentation strategies.
- Ablation Insights: Studies showed that the hyperbolic mapping and hierarchical time-span modules were the most critical components for performance.
Conclusion and Future Work
H²SeqRec demonstrates that hyperbolic geometry is a powerful tool for managing the sparsity inherent in high-order hypergraphs. While the collaborative group enhancement module showed less impact on extremely sparse data, the overall framework sets a new benchmark for sequential recommendation. Future research will explore different fusion strategies for hierarchical signals to further refine the balance between short-term and long-term periodic patterns.
Summary updated