计算机科学 ›› 2026, Vol. 53 ›› Issue (11): 76-81.doi: 10.11896/jsjkx.251100121

• 数据库&大数据&数据科学 • 上一篇    下一篇

TACRec:时间间隔感知的反事实数据增强序列推荐模型

郭雪艳1, 寇月1, 唐启翔2, 申德荣1, 李冬3, 聂铁铮1   

  1. 1 东北大学计算机科学与工程学院 沈阳 110004
    2 大连外国语大学商学院 辽宁 大连 116002
    3 辽宁大学信息学院 沈阳 110036
  • 收稿日期:2025-11-24 修回日期:2026-08-23 出版日期:2026-11-15 发布日期:2026-11-10
  • 通讯作者: 寇月(kouyue@cse.neu.edu.cn)
  • 作者简介:(guoxueyan1009@163.com)
  • 基金资助:
    国家自然科学基金(62472204,62172082);辽宁省社会科学规划基金(L23BJY018)

TACRec:Time-aware Sequential Recommendation Model with Counterfactual Data Augmentation

GUO Xueyan1, KOU Yue1, TANG Qixiang2, SHEN Derong1, LI Dong3, NIE Tiezheng1   

  1. 1 School of Computer Science and Engineering,Northeastern University,Shenyang 110004,China
    2 Business School,Dalian University of Foreign Languages,Dalian,Liaoning 116002,China
    3 School of Information,Liaoning University,Shenyang 110036,China
  • Received:2025-11-24 Revised:2026-08-23 Published:2026-11-15 Online:2026-11-10
  • About author:GUO Xueyan,born in 2003,postgra-duate.Her main research interest is re-commender systems.
    KOU Yue,born in 1980,professor,Ph.Dsupervisor,is a member of CCF(No.08365S).Her main research interests include recommender system and social computing.
  • Supported by:
    National Natural Science Foundation of China(62472204,62172082) and Liaoning Provincial Social Science Planning Fund(L23BJY018).

摘要: 序列推荐因能够捕捉用户行为的动态演化而在推荐任务中受到广泛关注。现有的序列推荐方法大多基于深度学习,但未能充分考虑项目间时间间隔对用户偏好的影响,且面临数据稀疏性问题。为此,提出一种时间间隔感知的反事实数据增强序列推荐模型(TACRec),以更精准地建模用户偏好并缓解数据稀疏性。首先,提出时间间隔感知的用户偏好表征,将偏好分解为长期/窗口/短期3个层次,通过多头注意力和门控机制融合项目ID及时间间隔,以增强偏好的语义表征能力。其次,提出动态时间加权的反事实增强策略,采用时间间隔感知的双向扰动机制对交互序列进行扰动,生成高质量增强样本,在缓解稀疏性的同时保持时序依赖。通过在3个真实数据集上的实验,验证了所提出关键技术的可行性和有效性。

关键词: 序列推荐, 时间间隔感知, 偏好分解, 反事实数据增强

Abstract: Sequential recommendation has gained widespread attention in recommendation tasks due to its ability to capture the dynamic evolution of user behavior.Most existing sequential recommendation methods are based on deep learning but fail to adequately consider the impact of time intervals between items on user preferences,while also facing data sparsity issues.To address these challenges,this paper proposes a time-aware sequential recommendation model with counterfactual data augmentation(TACRec),which can accurately model user preferences and alleviate data sparsity.Firstly,a time interval-aware user preference representation is proposed to decompose preferences into three levels(long-term/window/short-term) and item IDs with time intervals through multi-head attention and gating mechanisms are integrated to enhance semantic representation.Secondly,a dynamic time-weighted counterfactual augmentation strategy is proposed to perturb interaction sequences by time interval-aware bidirectional perturbation,thus generating high-quality augmented samples to alleviate sparsity and preserve temporal dependencies.Experiments on three real-world datasets validate the feasibility and effectiveness of the proposed key techniques.

Key words: Sequential recommendation, Time interval-aware, Preference decomposition, Counterfactual data augmentation

中图分类号: 

  • TP391
[1] RENDLE S,FREUDENTHALER C,SCHMIDT-THIEME L.Factorizing personalized markov chains for next-basket recommendation[C]//Proceedings of the 19th International Confe-rence on World Wide Web.2010:811-820.
[2] YANG Y,JANG H J,KIM B.A hybrid recommender system for sequential recommendation:combining similarity models with markov chains[J].IEEE Access,2020,8:190136-190146.
[3] KANG W C,MCAULEY J.Self-attentive sequential recommendation[C]//2018 IEEE International Conference on data Mining(ICDM).IEEE,2018:197-206.
[4] CARION N,MASSA F,SYNNAEVE G,et al.End-to-end object detection with transformers[C]//European Conference on Computer Vision.Cham:Springer,2020:213-229.
[5] ZENG X,CHANG C,TANG F,et al.Popularity-Aware Graph Neural Network with Global Context for Session-Based Recommendation[C]//International Conference on Web Information Systems and Applications.Singapore:Springer Nature Singapore,2024:163-171.
[6] KARTHIK R V,PANDIYARAJU V,GANAPATHY S.A con-text and sequence-based recommendation framework using GRU networks[J].Artificial Intelligence Review,2025,58(6):170.
[7] CHEN J,GUAN H,LI H,et al.PACIFIC:Enhancing Sequential Recommendation via Preference-aware Causal Intervention and Counterfactual Data Augmentation[C]//Proceedings of the 33rd ACM International Conference on Information and Know-ledge Management.2024:249-258.
[8] LI J,WANG Y,MCAULEY J.Time interval aware self-attention for sequential recommendation[C]//Proceedings of the 13th International Conference on Web Search and Data Mining.2020:322-330.
[9] DANG Y,YANG E,GUO G,et al.TiCoSeRec:Augmenting data to uniform sequences by time intervals for effective recommendation[J].IEEE Transactions on Knowledge and Data Engineering,2023,36(6):2686-2700.
[10] HIDASI B,KARATZOGLOU A,BALTRUNAS L,et al.Session-based recommendations with recurrent neural networks[J].arxiv:1511.06939,2015.
[11] TANG J,WANG K.Personalized top-n sequential recommendation via convolutional sequence embedding[C]//Proceedings of the Eleventh ACM International Conference on Web Search and Data Mining.2018:565-573.
[12] SUN F,LIU J,WU J,et al.BERT4Rec:Sequential recommendation with bidirectional encoder representations from transformer[C]//Proceedings of the 28th ACM International Conference on Information and Knowledge Management.2019:1441-1450.
[13] HE X,ZHANG Y,FENG F,et al.Addressing confounding fea-ture issue for causal recommendation[J].ACM Transactions on Information Systems,2023,41(3):1-23.
[14] ZHOU K,WANG H,ZHAO W X,et al.S3-rec:Self-supervised learning for sequential recommendation with mutual information maximization[C]//Proceedings of the 29th ACM International Conference on Information & Knowledge Management.2020:1893-1902.
[15] XIE XU,SUN F,LIU Z,et al.Contrastive learning for sequential recommendation[C]//2022 IEEE 38th International Confe-rence on Data Engineering(ICDE).IEEE,2022:1259-1273.
[16] ZHOU K,YU H,ZHAO W X,et al.Filter-enhanced MLP is all you need for sequential recommendation[C]//Proceedings of the ACM Web Conference.2022:2388-2399.
[17] HU S,WU W,TANG Z,et al.HORAE:Temporal Multi-In-terest Pre-training for Sequential Recommendation[J].ACM Transactions on Information Systems,2025,43(4):1-29.
Viewed
Full text


Abstract

Cited

  Shared   
  Discussed   
No Suggested Reading articles found!