HMamba: Hyperbolic Mamba for Sequential Recommendation
Qianru Zhang, Honggang Wen, Wei Yuan, Crystal Chen, Menglin Yang, Siu-Ming Yiu, Hongzhi Yin
TL;DR
Hyperbolic Mamba (HMamba) addresses the dual challenge in sequential recommendation of capturing hierarchical structure while maintaining scalable, linear-time inference. By unifying Lorentz hyperbolic embeddings with selective state-space models, HMamba delivers two variants, HMamba-Full and HMamba-Half, that preserve geometry via stabilized Riemannian operations and curvature-aware discretization. The approach yields consistent accuracy gains (3–11%) over strong baselines and substantially improves efficiency relative to Transformer-based models, enabling real-world deployment. Its principled combination of hyperbolic geometry and linear-time SSM represents a new paradigm for hierarchy-aware sequential modeling with broad applicability to data exhibiting taxonomic and temporal structure.
Abstract
Sequential recommendation systems have become a cornerstone of personalized services, adept at modeling the temporal evolution of user preferences by capturing dynamic interaction sequences. Existing approaches predominantly rely on traditional models, including RNNs and Transformers. Despite their success in local pattern recognition, Transformer-based methods suffer from quadratic computational complexity and a tendency toward superficial attention patterns, limiting their ability to infer enduring preference hierarchies in sequential recommendation data. Recent advances in Mamba-based sequential models introduce linear-time efficiency but remain constrained by Euclidean geometry, failing to leverage the intrinsic hyperbolic structure of recommendation data. To bridge this gap, we propose Hyperbolic Mamba, a novel architecture that unifies the efficiency of Mamba's selective state space mechanism with hyperbolic geometry's hierarchical representational power. Our framework introduces (1) a hyperbolic selective state space that maintains curvature-aware sequence modeling and (2) stabilized Riemannian operations to enable scalable training. Experiments across four benchmarks demonstrate that Hyperbolic Mamba achieves 3-11% improvement while retaining Mamba's linear-time efficiency, enabling real-world deployment. This work establishes a new paradigm for efficient, hierarchy-aware sequential modeling.
