Memory Augmented Multi-Instance Contrastive Predictive Coding for Sequential Recommendation

Ruihong Qiu, Zi Huang, Hongzhi Yin
9/1/2021
69 citations
cs.IR

Official code: RuihongQiu/MMInfoRec (9 stars, Python, last commit 2022-09-13).

Abstract

The sequential recommendation aims to recommend items, such as products, songs and places, to users based on the sequential patterns of their historical records. Most existing sequential recommender models consider the next item prediction task as the training signal.

Show full abstract

Unfortunately, there are two essential challenges for these methods: (1) the long-term preference is difficult to capture, and (2) the supervision signal is too sparse to effectively train a model. In this paper, we propose a novel sequential recommendation framework to overcome these challenges based on a memory augmented multi-instance contrastive predictive coding scheme, denoted as MMInfoRec. The basic contrastive predictive coding (CPC) serves as encoders of sequences and items. The memory module is designed to augment the auto-regressive prediction in CPC to enable a flexible and general representation of the encoded preference, which can improve the ability to capture the long-term preference. For effective training of the MMInfoRec model, a novel multi-instance noise contrastive estimation (MINCE) loss is proposed, using multiple positive samples, which offers effective exploitation of samples inside a mini-batch. The proposed MMInfoRec framework falls into the contrastive learning style, within which, however, a further finetuning step is not required given that its contrastive training task is well aligned with the target recommendation task. With extensive experiments on four benchmark datasets, MMInfoRec can outperform the state-of-the-art baselines.

View on arXivView PDF

Code Implementations(1)

Code for ICDM 2021 "Memory Augmented Multi-Instance Contrastive Predictive Coding for Sequential Recommendation"

90Python, ShellSep 1, 20214 years ago

Similar Papers

Cite this paper

@article{qiu2021memory,
  title  = {Memory Augmented Multi-Instance Contrastive Predictive Coding for Sequential Recommendation},
  author = {Ruihong Qiu and Zi Huang and Hongzhi Yin},
  year   = {2021},
  eprint = {2109.00368},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2109.00368}
}

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/2109.00368.svg)](https://codeofpaper.com/paper/2109.00368)

Discussion