arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1808.09781cs.IRcs.LG
收藏

自注意顺序推荐

Self-Attentive Sequential Recommendation

UC San Diego(加州大学圣地亚哥分校)

Wang-Cheng Kang, Julian McAuley

摘要:

序列动态是许多现代推荐系统的一个关键特征,它们试图根据用户最近执行的操作来捕获用户活动的“上下文”。为了捕捉这种模式,两种方法已经激增:马尔可夫链(MC)和递归神经网络(RNN)。马尔可夫链假设用户的下一个动作可以根据他们的最后一个(或最后几个)动作来预测,而RNN原则上允许揭示长期语义。一般来说,基于MC的方法在极其稀疏的数据集中表现最好,其中模型简约性至关重要,而RNN在更密集的数据集中表现更好,其中更高的模型复杂性是可以承受的。我们工作的目标是平衡这两个目标,通过提出一个基于自注意力的顺序模型(SASRec),允许我们捕获长期语义(如RNN),但是,使用注意力机制,基于相对较少的动作(如MC)进行预测。在每个时间步,SASRec试图从用户的行为历史中识别哪些项目是“相关的”,并使用它们来预测下一个项目。大量的实证研究表明,我们的方法在稀疏和密集数据集上的性能优于各种最先进的序列模型(包括MC/CNN/基于RNN的方法)。此外,该模型比基于CNN/RNN的模型效率高一个数量级。注意力权重的可视化还显示了我们的模型如何自适应地处理具有不同密度的数据集,并揭示活动序列中有意义的模式。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑