[Paper Review] HCGR: Hyperbolic Contrastive Graph Representation Learning for Session-based Recommendation
HCGR proposes a hyperbolic contrastive graph neural network for session-based recommendation, leveraging Lorentz hyperbolic space to model hierarchical item relationships and improve representation learning. By integrating adaptive hyperbolic attention and contrastive learning over geodesic distances, HCGR achieves state-of-the-art performance, outperforming SOTA baselines by up to 28.84% in HitRate, NDCG, and MRR across four real-world datasets.
Session-based recommendation (SBR) learns users' preferences by capturing the short-term and sequential patterns from the evolution of user behaviors. Among the studies in the SBR field, graph-based approaches are a relatively powerful kind of way, which generally extract item information by message aggregation under Euclidean space. However, such methods can't effectively extract the hierarchical information contained among consecutive items in a session, which is critical to represent users' preferences. In this paper, we present a hyperbolic contrastive graph recommender (HCGR), a principled session-based recommendation framework involving Lorentz hyperbolic space to adequately capture the coherence and hierarchical representations of the items. Within this framework, we design a novel adaptive hyperbolic attention computation to aggregate the graph message of each user's preference in a session-based behavior sequence. In addition, contrastive learning is leveraged to optimize the item representation by considering the geodesic distance between positive and negative samples in hyperbolic space. Extensive experiments on four real-world datasets demonstrate that HCGR consistently outperforms state-of-the-art baselines by 0.43$\%$-28.84$\%$ in terms of $HitRate$, $NDCG$ and $MRR$.
Motivation & Objective
- Address the limitation of Euclidean space in capturing hierarchical, power-law distributed user behavior patterns in session-based recommendation.
- Overcome the distortion caused by embedding tree-structured, hierarchical item relationships in Euclidean space by leveraging the intrinsic representation capacity of hyperbolic geometry.
- Design a novel hyperbolic graph message passing mechanism that respects the geometric discrepancy between Euclidean and hyperbolic spaces during attention-based aggregation.
- Enhance item representation learning via contrastive learning optimized on geodesic distances in hyperbolic space, improving discrimination between positive and negative samples.
- Demonstrate that hyperbolic space better preserves item popularity hierarchy and enables more adaptive attention weighting in sequential user behaviors.
Proposed method
- Embed items into Lorentz hyperbolic space to preserve their hierarchical and coherent structural properties, leveraging the exponential volume growth of hyperbolic space.
- Design an adaptive hyperbolic attention mechanism that computes message propagation using geodesic distances in hyperbolic space, ensuring geometric consistency during aggregation.
- Introduce a contrastive learning objective that optimizes item representations by minimizing the geodesic distance between positive samples and maximizing it between negative samples in hyperbolic space.
- Utilize the Lorentz hyperboloid model for stable and differentiable operations, including hyperbolic vector addition and attention computation, to maintain geometric fidelity.
- Construct a graph neural network framework where node embeddings are updated via hyperbolic message passing, with attention weights learned in the tangent space of the hyperbolic manifold.
- Apply a temperature-scaled contrastive loss function tailored for hyperbolic space, replacing traditional cross-entropy or BPR losses that poorly reflect hyperbolic geometry.
Experimental results
Research questions
- RQ1Can hyperbolic space better represent the hierarchical and power-law distributed nature of user session behaviors compared to Euclidean space in session-based recommendation?
- RQ2How does hyperbolic contrastive learning improve the discrimination of item representations in session-based recommendation?
- RQ3To what extent does the proposed hyperbolic attention mechanism capture long-range dependencies and item importance more effectively than Euclidean-based attention?
- RQ4Does the integration of hyperbolic geometry reduce representation distortion when modeling item popularity hierarchies in real-world datasets?
- RQ5How does HCGR compare to state-of-the-art models in terms of HitRate, NDCG, and MRR across diverse session-based recommendation benchmarks?
Key findings
- HCGR achieves consistent improvements over state-of-the-art baselines, with gains ranging from 0.43% to 28.84% in HitRate, NDCG, and MRR across four real-world datasets.
- The model demonstrates superior ability to capture hierarchical item popularity, with more popular items concentrated near the origin in hyperbolic space, as confirmed by attention and embedding visualizations.
- Hyperbolic space enables better distinction between items of varying popularity, as shown by higher average interaction counts for top-tier items (region 1) in HCGR compared to ECGR.
- Attention weights in HCGR are more adaptive and discriminative, with higher scores assigned to key behavioral transitions, indicating better modeling of sequential influence.
- Embedding visualizations in 2D and 3D hyperbolic space reveal clear hierarchical clustering, with popular items located centrally and less popular items radiating outward.
- Contrastive learning in hyperbolic space significantly improves representation quality, as evidenced by the improved geodesic distance separation between positive and negative item pairs.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.