MEANTIME: Mixture of Attention Mechanisms with Multi-temporal Embeddings for Sequential Recommendation

Sung Min Cho, Eunhyeok Park, Sungjoo Yoo
8/19/2020
cs.LGcs.IRstat.ML
transformer-attention

Official code: SungMinCho/MEANTIME (53 stars, Python, last commit 2022-06-22).

Abstract

Recently, self-attention based models have achieved state-of-the-art performance in sequential recommendation task. Following the custom from language processing, most of these models rely on a simple positional embedding to exploit the sequential nature of the user's history.

Show full abstract

However, there are some limitations regarding the current approaches. First, sequential recommendation is different from language processing in that timestamp information is available. Previous models have not made good use of it to extract additional contextual information. Second, using a simple embedding scheme can lead to information bottleneck since the same embedding has to represent all possible contextual biases. Third, since previous models use the same positional embedding in each attention head, they can wastefully learn overlapping patterns. To address these limitations, we propose MEANTIME (MixturE of AtteNTIon mechanisms with Multi-temporal Embeddings) which employs multiple types of temporal embeddings designed to capture various patterns from the user's behavior sequence, and an attention structure that fully leverages such diversity. Experiments on real-world data show that our proposed method outperforms current state-of-the-art sequential recommendation methods, and we provide an extensive ablation study to analyze how the model gains from the diverse positional information.

View on arXivView PDF

Code Implementations(1)

5312PythonJul 27, 20204 years ago

Similar Papers

Cite this paper

@article{cho2020meantime,
  title  = {MEANTIME: Mixture of Attention Mechanisms with Multi-temporal Embeddings for Sequential Recommendation},
  author = {Sung Min Cho and Eunhyeok Park and Sungjoo Yoo},
  year   = {2020},
  eprint = {2008.08273},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2008.08273}
}

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

Discussion