Modeling Sequences as Distributions with Uncertainty for Sequential Recommendation

Ziwei Fan, Zhiwei Liu, Lei Zheng, Shen Wang, Philip S. Yu
6/11/2021
cs.IRcs.AIcs.LG
transformer-attention

Official code: DyGRec/DT4SR (16 stars, Python, last commit 2021-06-11).

Abstract

The sequential patterns within the user interactions are pivotal for representing the user's preference and capturing latent relationships among items. The recent advancements of sequence modeling by Transformers advocate the community to devise more effective encoders for the sequential recommendation.

Show full abstract

Most existing sequential methods assume users are deterministic. However, item-item transitions might fluctuate significantly in several item aspects and exhibit randomness of user interests. This \textit{stochastic characteristics} brings up a solid demand to include uncertainties in representing sequences and items. Additionally, modeling sequences and items with uncertainties expands users' and items' interaction spaces, thus further alleviating cold-start problems. In this work, we propose a Distribution-based Transformer for Sequential Recommendation (DT4SR), which injects uncertainties into sequential modeling. We use Elliptical Gaussian distributions to describe items and sequences with uncertainty. We describe the uncertainty in items and sequences as Elliptical Gaussian distribution. And we adopt Wasserstein distance to measure the similarity between distributions. We devise two novel Trans-formers for modeling mean and covariance, which guarantees the positive-definite property of distributions. The proposed method significantly outperforms the state-of-the-art methods. The experiments on three benchmark datasets also demonstrate its effectiveness in alleviating cold-start issues. The code is available inhttps://github.com/DyGRec/DT4SR.

View on arXivView PDF

Code Implementations(1)

DyGRec/DT4SROfficial100%

Code for CIKM 2021 best short paper nomination "Modeling Sequences as Distributions with Uncertainty for Sequential Recommendation" https://arxiv.org/abs/2106.06165

162PythonJun 11, 20215 years ago
coldstartrecommendationsequential-modelstransformer

Similar Papers

Cite this paper

@article{fan2021modeling,
  title  = {Modeling Sequences as Distributions with Uncertainty for Sequential Recommendation},
  author = {Ziwei Fan and Zhiwei Liu and Lei Zheng and Shen Wang and Philip S. Yu},
  year   = {2021},
  eprint = {2106.06165},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2106.06165}
}

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

Discussion