Computer Engineering and Applications ›› 2021, Vol. 57 ›› Issue (15): 118-123.DOI: 10.3778/j.issn.1002-8331.2007-0084

Previous Articles     Next Articles

Context-Aware Recommendation Algorithm Fused with User Session Data

LU Xiangzhi, SUN Fuzhen, WANG Shaoqing, XU Shangshang   

  1. College of Computer Science and Technology, Shandong University of Technology, Zibo, Shandong 255049, China
  • Online:2021-08-01 Published:2021-07-26



  1. 山东理工大学 计算机科学与技术学院,山东 淄博 255049


In view of the current situation that the current session recommendation algorithm does not fully consider the user’s context information, in order to enhance the personalized recommendation effect of the session-based recommendation algorithm, a context-aware recommendation algorithm fused with user session data is proposed. Context information is mapped to low-dimensional real vector features through embedding, and low-dimensional vector features are incorporated into a session-based recurrent neural network recommendation model through three combinations of Add, Stack, and MLP. A loss function based on BPR is designed to dynamically depict the user preference of session sequence, which enhances personalized recommendation capabilities. Experiments on the Adressa dataset show that compared with the baseline algorithm GRU4REC, the proposed algorithm improves the indicator Recall@20 by 3.2% and MRR@20 by 27%.

Key words: recommendation algorithm, context, session, recurrent neural network



关键词: 推荐算法, 上下文, 会话, 循环神经网络