Elsevier

Neurocomputing

Volume 411, 21 October 2020, Pages 229-238
Neurocomputing

TEAN: Timeliness enhanced attention network for session-based recommendation

https://doi.org/10.1016/j.neucom.2020.06.063Get rights and content

Abstract

Session-based recommendation task attracts more researchers’ attention in recent years. However, previous approaches suffer from limited timeliness since they overlook dynamic features of items and temporal semantic information, which results in inappropriate prediction. In this study, we propose an attention-based model named Timeliness Enhanced Attention Network (TEAN). It first extracts features of user and item from static and dynamic perspectives and then employs temporal semantic information by a time-cross mechanism. Our model is capable of ranking items based on timeliness enhanced features. Besides, we apply a pre-training method based on word2vec to learn embedding vector for users, items and temporal semantic information in an elegant way. Experiments on three datasets of different domains demonstrate that our approach improves performance opposed to other methods.

Introduction

Session-based recommendation system [1](SBRS), as one of sequential recommendation tasks, has been proposed to improve personality by understanding users’ dynamic and evolving needs. By tracking an ongoing session between a user and system, SBRS aims to predict next action(e.g. click on an item) based on recent interactions in that session.

Traditional methods based on collaborative filtering (CF) [2], [3], [4] that rely on long-term preference might fail to catch exact needs of users since they ignore the context of a session. For capturing sequential patterns, early Marchov Chain(MC) [5], [6], [7] based approaches have been proposed, which assume next action is only based on previous action (or several actions). Another method, recurrent neural network (RNN) [8], which builds up the context of previous actions via a hidden state, has led to vital progress. Both methods could be used for SBRS, while they are limited in some situations. The major problem for MC-based methods is that the state space becomes unmanageable when including all possible sequences of user selections over all items. For RNN, the hidden state it learns probably overlooks some factors related to a user’s main purpose. Recently, The transformer [9] model and its main method named self-attention, which is effective for extracting the inner relations of sequences, have achieved state-of-art performance. Inspired by this method, some attention-based models [10], [11] for sequential recommendation have been proposed, that are not only capable of encoding users’ historical actions into a context vector, but also finding out the key factors to the user’s intent.

Timeliness is significant for SBRS since user’s preferences, item’s popularity or characteristics, and temporal semantic information are always changing, which requires timely recommendation algorithms to catch these changes in time. However, existing methods suffer from limited timeliness when making recommendations: (1) Most methods consider an item’s features, but few of them explicitly utilize its dynamic features and represent it as static features (e.g. attributes features), which makes it difficult to predict when items have similar static features. In this situation, the dynamic features of items can be represented through their historical users who interacted with them. Then the item with more users who have similar preferences with the current user will be recommended. (2) Temporal semantic information about when interaction happens, also influences timeliness which existing models ignore. For example, well-timed items (e.g. coat in winter) are more likely to be interacted by users. Besides, users intend to interact with individual items in some festivals or days. In other words, recommendation algorithms should take into account the influences of temporal semantic information on users and items.

In this study, we propose a Timeliness Enhanced Attention Network to solve the above problems. The design of our model follows one principle: the right user meets the right item at the right time. In TEAN, we first use a word2vec [12] based pre-training method to get embedding vectors for users, items, and temporal semantic information. Then, we represent the right user by fusing static features and dynamic features of current session, using attention mechanism. The right item is represented similarly, but its dynamic features are reflected in the historical users who interacted with it. Next, we apply a time-cross mechanism to describe the influence of temporal semantic information on the user and the item. Finally, our model predicts the probability that the user interacts with the item. The dynamic features of items and time-cross mechanism improve timeliness of our model, which leads to better recommendations.

The contributions of this article are summarized as follows:

  • We propose a novel framework for session-based recommendations, which employs attention mechanisms to capture user’s behaviors and item’s characteristics while applying time-cross mechanism to learn temporal information.

  • Our proposed model obtains item’s dynamic features from its historical users and temporal semantic features from whole interaction data, which are integrated into attention networks, resulting in enhanced timeliness.

  • We carry out extensive experiments on three benchmark datasets. Several detailed comparative experiments are performed to demonstrate the merits and advantages of TEAN.

Section snippets

Related works

In this section, how the traditional recommendation algorithms work on SBRS is summarized firstly. Based on the advantages of capturing sequential patterns, we then introduce some sequential recommendation algorithms. In addition, attention-based algorithms are also surveyed.

The proposed approach: TEAN

In this section, we first define the SBRS task, then we describe the overview of TEAN and explain each component in detail.

Experiments

In this section, we evaluate the performance of TEAN on three datasets. We first introduce the datasets, comparative methods, and evaluation metrics used in our experiments. Then we explain the parameters of TEAN. TEAN is compared with other methods, and a detailed analysis is presented at last.

Conclusion and future work

In the task of session-based recommendation, timeliness is vital for accurate recommendations. In this paper, we propose timeliness enhanced attention network for SBRS, which aims to improve the timeliness of the attention network. The main idea is to introduce dynamic features of items and temporal semantic features to get better representations of users and items, which eventually affect the prediction results of the model. Besides, we also employ a pre-training method to obtain better

Declaration of Competing Interest

The authors declare that they have no known competing financial interests or personal relationships that could have appeared to influence the work reported in this paper.

CRediT authorship contribution statement

Dongpei Chen: Conceptualization, Methodology, Software, Writing - original draft, Data curation, Visualization. Xingming Zhang: Supervision, Writing - review & editing, Validation. Haoxiang Wang: Writing - review & editing. Weina Zhang: Writing - review & editing.

Dongpei Chen, received the B.S. degree from School of Computer Science and Engineering of South China University of Technology, and now he is studying for M.S. degree in School of Computer Science and Engineering of South China University of Technology. His research interests include Machine Learning, Information Retrieval and Natural Language Processing.

References (33)

  • D. Wu et al.

    A deep latent factor model for high-dimensional and sparse matrices in recommender systems

    IEEE Trans. Syst. Man Cybern. Syst.

    (2019)
  • J. B. Schafer, J.A. Konstan, J. Riedl, Recommender systems in e-commerce, in: S.I. Feldman, M.P. Wellman (Eds.),...
  • Y. Koren et al.

    Matrix factorization techniques for recommender systems

    IEEE Comput.

    (2009)
  • X. Su et al.

    A survey of collaborative filtering techniques

    Adv. Artif. Intell.

    (2009 2009,)
  • M. Weimer, A. Karatzoglou, Q.V. Le, A.J. Smola, COFI RANK – maximum margin matrix factorization for collaborative...
  • S. Kabbur, X. Ning, G. Karypis, FISM: factored item similarity models for top-n recommender systems, in: I.S. Dhillon,...
  • S. Rendle, C. Freudenthaler, L. Schmidt-Thieme, Factorizing personalized markov chains for next-basket recommendation,...
  • R. He, J.J. McAuley, Fusing similarity models with markov chains for sparse sequential recommendation, in: F. Bonchi,...
  • B. Hidasi, A. Karatzoglou, L. Baltrunas, D. Tikk, Session-based recommendations with recurrent neural networks, in: Y....
  • A. Vaswani, N. Shazeer, N. Parmar, J. Uszkoreit, L. Jones, A.N. Gomez, L. Kaiser, I. Polosukhin, Attention is all you...
  • C. Zhou, J. Bai, J. Song, X. Liu, Z. Zhao, X. Chen, J. Gao, Atrank: An attention-based user behavior modeling framework...
  • W. Kang, J.J. McAuley, Self-attentive sequential recommendation, in: IEEE International Conference on Data Mining, ICDM...
  • T. Mikolov, K. Chen, G. Corrado, J. Dean, Efficient estimation of word representations in vector space, in: Y. Bengio,...
  • B. Twardowski, Modelling contextual information in session-aware recommender systems with neural networks, in: S. Sen,...
  • X. Luo et al.

    Latent factor-based recommenders relying on extended stochastic gradient descent algorithms

    IEEE Trans. Syst. Man Cybern. Syst.

    (2019)
  • M. Shang et al.

    Randomized latent factor model for high-dimensional and sparse matrices from industrial applications

    IEEE CAA J. Autom. Sinica

    (2019)
  • Cited by (5)

    • Deep multi-graph neural networks with attention fusion for recommendation

      2022, Expert Systems with Applications
      Citation Excerpt :

      Recently, Tao et al. (2020) developed a multimodal graph attention network that leveraged the gated attention mechanism to capture the more complex interaction patterns hidden in user behaviors. Chen, Zhang, Wang and Zhang (2020) constructed an attention-based model to obtain the dynamic features of items and temporal semantic information for session-based recommendation tasks. Overall, the existing works on GNN-based recommendation mainly focus on how to introduce the available information such as historical interaction behaviors and auxiliary information into the recommendation model in a better way.

    • Fake news detection model based on credibility measurement for Indonesian online news

      2021, Journal of Theoretical and Applied Information Technology
    • Towards an assessment grid for intelligent modeling assistance

      2020, Proceedings - 23rd ACM/IEEE International Conference on Model Driven Engineering Languages and Systems, MODELS-C 2020 - Companion Proceedings

    Dongpei Chen, received the B.S. degree from School of Computer Science and Engineering of South China University of Technology, and now he is studying for M.S. degree in School of Computer Science and Engineering of South China University of Technology. His research interests include Machine Learning, Information Retrieval and Natural Language Processing.

    Xingming Zhang, received the Ph.D. degree from the Institute of Computing Technology, Chinese Academy of Sciences, Beijing, China, in 1996. He is currently a Professor, Doctoral Supervisor, and Vice-dean with the School of Computer Science and Engineering, South China University of Technology, Guangzhou, China. He is a member of the Standing Committee of the Technical Committee of Education, China Computer Federation, and an Executive Director of the Computer Federation of Guangdong Province. His research focuses on image processing, video coding and surveillance.

    HaoXiang Wang, received the B.S. degree in Computer Science and Technology, in Zhejiang University of Technology, China and M.S. and Ph.D. degrees in the School of Computing, University of Leeds, UK in 2003 and 2008. From 2008, he has been working in the School of Computer Science and Engineering, South China University of Technology, Guangzhou, China. His research interests include Data Analysis, Scientific Visualization, and Network Science.

    Weina Zhang, received the B.S. degree from Information and Computing Science, in Hunan University of Technology, M.S. degree from System Analysis and Integration, in South China University of Technology, and now she is studying for Ph.D. degree in School of Computer Science and Engineering of SCUT. Her research interests include Recommendation System, Information Retrieval and Ma- chine Learning.

    View full text