SIGMA: Selective Gated Mamba for Sequential Recommendation

Ziwei Liu, Qidong Liu, Yejing Wang, Wanyu Wang, Pengyue Jia +4 more
8/21/2024
66 citations
cs.AI
state-space-mamba

No official code found. Best implementation: ziwliu8/SIGMA (41 stars, Python, MIT, last commit 2025-10-14). 1 more below.

Abstract

In various domains, Sequential Recommender Systems (SRS) have become essential due to their superior capability to discern intricate user preferences. Typically, SRS utilize transformer-based architectures to forecast the subsequent item within a sequence.

Show full abstract

Nevertheless, the quadratic computational complexity inherent in these models often leads to inefficiencies, hindering the achievement of real-time recommendations. Mamba, a recent advancement, has exhibited exceptional performance in time series prediction, significantly enhancing both efficiency and accuracy. However, integrating Mamba directly into SRS poses several challenges. Its inherently unidirectional nature may constrain the model's capacity to capture the full context of user-item interactions, while its instability in state estimation can compromise its ability to detect short-term patterns within interaction sequences. To overcome these issues, we introduce a new framework named Selective Gated Mamba (SIGMA) for Sequential Recommendation. This framework leverages a Partially Flipped Mamba (PF-Mamba) to construct a bidirectional architecture specifically tailored to improve contextual modeling. Additionally, an input-sensitive Dense Selective Gate (DS Gate) is employed to optimize directional weights and enhance the processing of sequential information in PF-Mamba. For short sequence modeling, we have also developed a Feature Extract GRU (FE-GRU) to efficiently capture short-term dependencies. Empirical results indicate that SIGMA outperforms current models on five real-world datasets. Our implementation code is available at https://github.com/ziwliu-cityu/SIMGA to ease reproducibility.

View on arXivView PDF

Code Implementations(2)

Code implementations of this paper
RepositoryTypeStarsLanguageLicenseLast commit
ziwliu8/SIGMACommunity41PythonMIT2025-10-14
Applied-Machine-Learning-Lab/SIMGACommunity11Jupyter NotebookMIT2024-12-15
ziwliu8/SIGMACommunity100%
MIT

[AAAI'2025] The official implementation code of SIGMA

4111PythonJul 22, 20241 years agoMIT
sequential-recommendation
MIT

[AAAI'2025] The official implementation code of SIGMA

114Jupyter Notebook, PythonDec 15, 20241 years agoMIT

Similar Papers

Cite this paper

@article{liu2024sigma,
  title  = {SIGMA: Selective Gated Mamba for Sequential Recommendation},
  author = {Ziwei Liu and Qidong Liu and Yejing Wang and Wanyu Wang and Pengyue Jia and Maolin Wang and Zitao Liu and Yi Chang and Xiangyu Zhao},
  year   = {2024},
  eprint = {2408.11451},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2408.11451v4}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2408.11451.svg)](https://codeofpaper.com/paper/2408.11451)

Discussion