Contrastive Learning with Bidirectional Transformers for Sequential Recommendation
Not on the map. Why?
Abstract (arXiv)
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.
Key facts. Cited by 10 papers in the map (data through 14 Oct 2026). First posted on arXiv 8 Aug 2022.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2023: 4; 2024: 4; 2025: 2.
10 papers.
- 2023Turning Dross Into Gold Loss: is BERT4Rec really better than SASRec?cited by 30
- 2023gSASRec: Reducing Overconfidence in Sequential Recommendation Trained with Negative Samplingcited by 29
- 2023Conditional Denoising Diffusion for Sequential Recommendationcited by 23
- 2024Scalable Cross-Entropy Loss for Sequential Recommendations with Large Item Catalogscited by 15
- 2023Attention Mixtures for Time-Aware Sequential Recommendationcited by 13
- 2025Time to Split: Exploring Data Splitting Strategies for Offline Evaluation of Sequential Recommenderscited by 12
- 2024RECE: Reduced Cross-Entropy Loss for Large-Catalogue Sequential Recommenderscited by 9
- 2024A Comprehensive Survey on Self-Supervised Learning for Recommendationcited by 6
- 2024Denoising Pre-Training and Customized Prompt Learning for Efficient Multi-Behavior Sequential Recommendationcited by 3
- 2025eSASRec: Enhancing Transformer-based Recommendations in a Modular Fashioncited by 3
- 2025eSASRec: Enhancing Transformer-based Recommendations in a Modular Fashion8 Aug 2025
- 2025Time to Split: Exploring Data Splitting Strategies for Offline Evaluation of Sequential Recommenders22 Jul 2025
- 2024Scalable Cross-Entropy Loss for Sequential Recommendations with Large Item Catalogs27 Sep 2024
- 2024Denoising Pre-Training and Customized Prompt Learning for Efficient Multi-Behavior Sequential Recommendation21 Aug 2024
- 2024RECE: Reduced Cross-Entropy Loss for Large-Catalogue Sequential Recommenders5 Aug 2024
- 2024A Comprehensive Survey on Self-Supervised Learning for Recommendation4 Apr 2024
- 2023Turning Dross Into Gold Loss: is BERT4Rec really better than SASRec?14 Sep 2023
- 2023gSASRec: Reducing Overconfidence in Sequential Recommendation Trained with Negative Sampling14 Aug 2023
- 2023Conditional Denoising Diffusion for Sequential Recommendation22 Apr 2023
- 2023Attention Mixtures for Time-Aware Sequential Recommendation17 Apr 2023