TasksSotADatasetsPapersMethodsSubmitAbout
Papers With Code 2

A community resource for machine learning research: papers, code, benchmarks, and state-of-the-art results.

Explore

Notable BenchmarksAll SotADatasetsPapersMethods

Community

Submit ResultsAbout

Data sourced from the PWC Archive (CC-BY-SA 4.0). Built by the community, for the community.

Papers/TiM4Rec: An Efficient Sequential Recommendation Model Base...

TiM4Rec: An Efficient Sequential Recommendation Model Based on Time-Aware Structured State Space Duality Model

Hao Fan, Mengyi Zhu, Yanrong Hu, Hailin Feng, ZhiJie He, Hongjiu Liu, Qingyang Liu

2024-09-24Sequential RecommendationRecommendation Systems
PaperPDFCode(official)

Abstract

The Sequential Recommendation modeling paradigm is shifting from Transformer to Mamba architecture, which comprises two generations: Mamba1, based on the State Space Model (SSM), and Mamba2, based on State Space Duality (SSD). Although SSD offers superior computational efficiency compared to SSM, it suffers performance degradation in sequential recommendation tasks, especially in low-dimensional scenarios that are critical for these tasks. Considering that time-aware enhancement methods are commonly employed to mitigate performance loss, our analysis reveals that the performance decline of SSD can similarly be fundamentally compensated by leveraging mechanisms in time-aware methods. Thus, we propose integrating time-awareness into the SSD framework to address these performance issues. However, integrating current time-aware methods, modeled after TiSASRec, into SSD faces the following challenges: 1) the complexity of integrating these transformer-based mechanisms with the SSD architecture, and 2) the computational inefficiency caused by the need for dimensionality expansion of time-difference modeling. To overcome these challenges, we introduce a novel Time-aware Structured Masked Matrix that efficiently incorporates time-aware capabilities into SSD. Building on this, we propose Time-Aware Mamba for Recommendation (TiM4Rec), which mitigates performance degradation in low-dimensional SSD contexts while preserving computational efficiency. This marks the inaugural application of a time-aware enhancement method specifically tailored for the Mamba architecture within the domain of sequential recommendation. Extensive experiments conducted on three real-world datasets demonstrate the superiority of our approach. The code for our model is accessible at https://github.com/AlwaysFHao/TiM4Rec.

Results

TaskDatasetMetricValueModel
Recommendation SystemsAmazon-BeautyHR@100.0854TiM4Rec
Recommendation SystemsAmazon-BeautyHR@200.1204TiM4Rec
Recommendation SystemsAmazon-BeautyHR@500.18TiM4Rec
Recommendation SystemsAmazon-BeautyMRR@100.0321TiM4Rec
Recommendation SystemsAmazon-BeautyMRR@200.0345TiM4Rec
Recommendation SystemsAmazon-BeautyMRR@500.0363TiM4Rec
Recommendation SystemsAmazon-BeautyNDCG@200.0533TiM4Rec
Recommendation SystemsAmazon-BeautyNDCG@500.0651TiM4Rec
Recommendation SystemsAmazon-BeautynDCG@100.0446TiM4Rec
Recommendation SystemsKuaiRandHR@100.1109TiM4Rec
Recommendation SystemsKuaiRandHR@200.1774TiM4Rec
Recommendation SystemsKuaiRandHR@500.3202TiM4Rec
Recommendation SystemsKuaiRandMRR@100.0463TiM4Rec
Recommendation SystemsKuaiRandMRR@200.0508TiM4Rec
Recommendation SystemsKuaiRandMRR@500.0552TiM4Rec
Recommendation SystemsKuaiRandNDCG@100.0611TiM4Rec
Recommendation SystemsKuaiRandNDCG@200.0779TiM4Rec
Recommendation SystemsKuaiRandNDCG@500.106TiM4Rec
Recommendation SystemsMovieLens 1MHR@100.331TiM4Rec
Recommendation SystemsMovieLens 1MHR@200.4338TiM4Rec
Recommendation SystemsMovieLens 1MHR@50.2308TiM4Rec
Recommendation SystemsMovieLens 1MHR@500.577TiM4Rec
Recommendation SystemsMovieLens 1MMRR@100.1512TiM4Rec
Recommendation SystemsMovieLens 1MMRR@200.1584TiM4Rec
Recommendation SystemsMovieLens 1MMRR@500.1629TiM4Rec
Recommendation SystemsMovieLens 1MNDCG@100.1932TiM4Rec
Recommendation SystemsMovieLens 1MNDCG@200.2194TiM4Rec
Recommendation SystemsMovieLens 1MNDCG@50.1608TiM4Rec
Recommendation SystemsMovieLens 1MNDCG@500.2477TiM4Rec

Related Papers

IP2: Entity-Guided Interest Probing for Personalized News Recommendation2025-07-18A Reproducibility Study of Product-side Fairness in Bundle Recommendation2025-07-18SGCL: Unifying Self-Supervised and Supervised Learning for Graph Recommendation2025-07-17Similarity-Guided Diffusion for Contrastive Sequential Recommendation2025-07-16Looking for Fairness in Recommender Systems2025-07-16Journalism-Guided Agentic In-Context Learning for News Stance Detection2025-07-15LLM-Stackelberg Games: Conjectural Reasoning Equilibria and Their Applications to Spearphishing2025-07-12When Graph Contrastive Learning Backfires: Spectral Vulnerability and Defense in Recommendation2025-07-10