Explanation Guided Contrastive Learning for Sequential Recommendation

Lei Wang, Ee-Peng Lim, Zhiwei Liu, Tianxiang Zhao
9/3/2022
cs.IR
contrastive-ssl

Official code: demoleiwang/EC4SRec (30 stars, Python, last commit 2022-09-30).

Abstract

Recently, contrastive learning has been applied to the sequential recommendation task to address data sparsity caused by users with few item interactions and items with few user adoptions. Nevertheless, the existing contrastive learning-based methods fail to ensure that the positive (or negative) sequence obtained by some random augmentation (or sequence sampling) on a given anchor user sequence remains to be semantically similar (or different).

Show full abstract

When the positive and negative sequences turn out to be false positive and false negative respectively, it may lead to degraded recommendation performance. In this work, we address the above problem by proposing Explanation Guided Augmentations (EGA) and Explanation Guided Contrastive Learning for Sequential Recommendation (EC4SRec) model framework. The key idea behind EGA is to utilize explanation method(s) to determine items' importance in a user sequence and derive the positive and negative sequences accordingly. EC4SRec then combines both self-supervised and supervised contrastive learning over the positive and negative sequences generated by EGA operations to improve sequence representation learning for more accurate recommendation results. Extensive experiments on four real-world benchmark datasets demonstrate that EC4SRec outperforms the state-of-the-art sequential recommendation methods and two recent contrastive learning-based sequential recommendation methods, CL4SRec and DuoRec. Our experiments also show that EC4SRec can be easily adapted for different sequence encoder backbones (e.g., GRU4Rec and Caser), and improve their recommendation performance.

View on arXivView PDF

Code Implementations(1)

Code for the CIKM2022 Paper "Explanation Guided Contrastive Learning for Sequential Recommendation"

304Python, ShellAug 19, 20224 years ago

Similar Papers

Cite this paper

@article{wang2022explanation,
  title  = {Explanation Guided Contrastive Learning for Sequential Recommendation},
  author = {Lei Wang and Ee-Peng Lim and Zhiwei Liu and Tianxiang Zhao},
  year   = {2022},
  eprint = {2209.01347},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2209.01347}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2209.01347.svg)](https://codeofpaper.com/paper/2209.01347)

Discussion