Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

Self-Attentive Sequential Recommendation

About

Sequential dynamics are a key feature of many modern recommender systems, which seek to capture the `context' of users' activities on the basis of actions they have performed recently. To capture such patterns, two approaches have proliferated: Markov Chains (MCs) and Recurrent Neural Networks (RNNs). Markov Chains assume that a user's next action can be predicted on the basis of just their last (or last few) actions, while RNNs in principle allow for longer-term semantics to be uncovered. Generally speaking, MC-based methods perform best in extremely sparse datasets, where model parsimony is critical, while RNNs perform better in denser datasets where higher model complexity is affordable. The goal of our work is to balance these two goals, by proposing a self-attention based sequential model (SASRec) that allows us to capture long-term semantics (like an RNN), but, using an attention mechanism, makes its predictions based on relatively few actions (like an MC). At each time step, SASRec seeks to identify which items are `relevant' from a user's action history, and use them to predict the next item. Extensive empirical studies show that our method outperforms various state-of-the-art sequential models (including MC/CNN/RNN-based approaches) on both sparse and dense datasets. Moreover, the model is an order of magnitude more efficient than comparable CNN/RNN-based models. Visualizations on attention weights also show how our model adaptively handles datasets with various density, and uncovers meaningful patterns in activity sequences.

Wang-Cheng Kang, Julian McAuley• 2018

Related benchmarks

TaskDatasetResultRank
RecommendationGowalla--
153
Sequential RecommendationML 1M
NDCG@100.6097
130
Sequential RecommendationYelp
Recall@100.064
120
Sequential RecommendationAmazon Beauty (test)
NDCG@1032.2
117
Sequential RecommendationAmazon Beauty
NDCG@1032.35
84
RecommendationYelp (test)
NDCG@204.68
82
Sequential RecommendationYelp (Overall)
Hit Rate @100.594
63
Sequential RecommendationSports
Recall@105.01
62
Sequential RecommendationBeauty
HR@1044.01
58
RecommendationAmazon Sports (test)
Recall@104.01
57
Showing 10 of 477 rows
...

Other info

Follow for update