Contrastive Learning with Bidirectional Transformers for Sequential Recommendation

被引:22
|
作者
Du, Hanwen [1 ]
Shi, Hui [1 ]
Zhao, Pengpeng [1 ]
Wang, Deqing [2 ]
Sheng, Victor S. [3 ]
Liu, Yanchi [4 ]
Liu, Guanfeng [5 ]
Zhao, Lei [1 ]
机构
[1] Soochow Univ, Suzhou, Jiangsu, Peoples R China
[2] Beihang Univ, Beijing, Peoples R China
[3] Texas Tech Univ, Lubbock, TX 79409 USA
[4] Rutgers State Univ, New Brunswick, NJ USA
[5] Macquarie Univ, Sydney, NSW, Australia
关键词
Sequential Recommendation; Bidirectional Sequential Model; Contrastive Learning;
D O I
10.1145/3511808.3557266
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Contrastive learning with Transformer-based sequence encoder has gained predominance for sequential recommendation. It maximizes the agreements between paired sequence augmentations that share similar semantics. However, existing contrastive learning approaches in sequential recommendation mainly center upon left-to-right unidirectional Transformers as base encoders, which are suboptimal for sequential recommendation because user behaviors may not be a rigid left-to-right sequence. To tackle that, we propose a novel framework named Contrastive learning with Bidirectional Transformers for sequential recommendation (CBiT). Specifically, we first apply the slide window technique for long user sequences in bidirectional Transformers, which allows for a more fine-grained division of user sequences. Then we combine the cloze task mask and the dropout mask to generate high-quality positive samples and perform multi-pair contrastive learning, which demonstrates better performance and adaptability compared with the normal one-pair contrastive learning. Moreover, we introduce a novel dynamic loss reweighting strategy to balance between the cloze task loss and the contrastive loss. Experiment results on three public benchmark datasets show that our model outperforms state-of-the-art models for sequential recommendation. Our code is available at this link: https://github.com/hw-du/CBiT/tree/master.
引用
收藏
页码:396 / 405
页数:10
相关论文
共 50 条
  • [21] Transformers for Sequential Recommendation
    Petrov, Aleksandr V.
    Macdonald, Craig
    ADVANCES IN INFORMATION RETRIEVAL, ECIR 2024, PT V, 2024, 14612 : 369 - 374
  • [22] Integrating Offline Reinforcement Learning with Transformers for Sequential Recommendation
    Xi, Xumei
    Zhao, Yuke
    Liu, Quan
    Ouyang, Liwen
    Wu, Yang
    PROCEEDINGS OF THE 17TH ACM CONFERENCE ON RECOMMENDER SYSTEMS, RECSYS 2023, 2023, : 1103 - 1108
  • [23] Soft Contrastive Sequential Recommendation
    Zhang, Yabin
    Wang, Zhenlei
    Yu, Wenhui
    Hu, Lantao
    Jiang, Peng
    Gai, Kung
    Chen, Xu
    ACM TRANSACTIONS ON INFORMATION SYSTEMS, 2024, 42 (06)
  • [24] Sequential recommendation based on multipair contrastive learning with informative augmentation
    Yin, Pei
    Zhao, Jun
    Ma, Zi-jie
    Tan, Xiao
    NEURAL COMPUTING & APPLICATIONS, 2023, 36 (17): : 9707 - 9721
  • [25] Periodicity May Be Emanative: Hierarchical Contrastive Learning for Sequential Recommendation
    Tian, Changxin
    Hu, Binbin
    Zhao, Wayne Xin
    Zhang, Zhiqiang
    Zhou, Jun
    PROCEEDINGS OF THE 32ND ACM INTERNATIONAL CONFERENCE ON INFORMATION AND KNOWLEDGE MANAGEMENT, CIKM 2023, 2023, : 2442 - 2451
  • [26] Graphical contrastive learning for multi-interest sequential recommendation
    Liang, Shunpan
    Kong, Qianjin
    Lei, Yu
    Li, Chen
    EXPERT SYSTEMS WITH APPLICATIONS, 2025, 259
  • [27] Multi-intent Aware Contrastive Learning for Sequential Recommendation
    Huang, Junshu
    Long, Zi
    Fu, Xianghua
    Chen, Yin
    ARTIFICIAL NEURAL NETWORKS AND MACHINE LEARNING-ICANN 2024, PT IX, 2024, 15024 : 89 - 104
  • [28] Item Attribute-Aware Contrastive Learning for Sequential Recommendation
    Yan, Bing
    Wang, Huaxing
    Ouyang, Zijie
    Chen, Chao
    Xia, Yang
    IEEE ACCESS, 2023, 11 (70795-70804): : 70795 - 70804
  • [29] Multi-level Contrastive Learning Framework for Sequential Recommendation
    Wang, Ziyang
    Liu, Huoyu
    Wei, Wei
    Hu, Yue
    Mao, Xian-Ling
    He, Shaojian
    Fang, Rui
    Chen, Dangyang
    PROCEEDINGS OF THE 31ST ACM INTERNATIONAL CONFERENCE ON INFORMATION AND KNOWLEDGE MANAGEMENT, CIKM 2022, 2022, : 2098 - 2107
  • [30] Multi-behavior collaborative contrastive learning for sequential recommendation
    Chen, Yuzhe
    Cao, Qiong
    Huang, Xianying
    Zou, Shihao
    COMPLEX & INTELLIGENT SYSTEMS, 2024, 10 (04) : 5033 - 5048