Self-guided Contrastive Learning for Sequential Recommendation.

Hui Shi,Hanwen Du,Yongjing Hao,Victor S. Sheng,Zhiming Cui,Pengpeng Zhao
DOI: https://doi.org/10.1007/978-3-031-25201-3_6
2023-01-01
Abstract:Sequential recommendation has injected plenty of vitality into online marketing and retail industry. Existing contrastive learning-based models usually resolve data sparsity issue of sequential recommendation with data augmentations. However, the semantic structure of sequences is typically corrupted by data augmentations, resulting in low-quality views. To tackle this issue, we propose Self- guided contrastive learning enhanced BERT for sequential recommendation ( Self-BERT ). We devise a self-guided mechanism to conduct contrastive learning under the guidance of BERT encoder itself. We utilize two identically initialized BERT encoders as view generators to pass bi-directional messages. One of the BERT encoders is parameter-fixed, and we use the all Transformer layers’ output as a series of views. We employ these views to guide the training of the other trainable BERT encoder. Moreover, we modify the contrastive learning objective function to accommodate one-to-many positive views constraints. Experiments on four real-world datasets demonstrate the effectiveness and robustness of Self-BERT .
What problem does this paper attempt to address?