Skip to main content

Context Enhanced Recurrent Neural Network for Session-Aware Recommendation

  • Conference paper
  • First Online:
Technologies and Applications of Artificial Intelligence (TAAI 2023)

Abstract

Recommender systems, which suggest items that users might find most interesting based on their previous web-clicks or purchased items, have a wide range of applications. While recent methods employing recurrent neural networks, such as session-based, session-aware, and context-aware recommendations, have achieved impressive results, there remains potential for further enhancements. In this study, we introduce a two-layered Gated Recurrent Unit (GRU) architecture augmented with context through the integration of an Attention Mechanism, termed CAII (Context-Aware II). CAII employs Context-Aware Modeling and Attentive Session Modeling to predict the items users are most likely to be interested in. The performance of CAII is assessed using the Amazon EC dataset, which includes context information like prices and images. Evaluated based on Recall and Mean Reciprocal Rank (MRR), CAII not only surpasses traditional methods such as Most-Popular and Item-k-Nearest Neighbor (Item-kNN), but also outperforms established models like GRU4Rec and Multi-View Recurrent Neural Network (MVRNN). Compared to the advanced recommendation method Weighted II-RNN, CAII shows an improvement of 0.6% for Recall@20 and 1.19% for MRR@20. Interestingly, the highest Recall was observed when CAII was enhanced solely with price context. However, when both price and image contexts were incorporated, CAII achieved the best MRR. These results demonstrate the efficacy of CAII in enhancing recommender systems.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 59.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 79.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

References

  1. Barkan, O., Koenigstein, N.: ITEM2VEC: neural item embedding for collaborative filtering. In: 2016 IEEE 26th International Workshop on Machine Learning for Signal Processing (MLSP), pp. 1–6. IEEE (2016)

    Google Scholar 

  2. Chen, P.Y.: Session-aware recommendation using hierarchical recurrent network. Master thesis, Feng Chia University, Taiwan (2019)

    Google Scholar 

  3. Cui, Q., Wu, S., Liu, Q., Zhong, W., Wang, L.: MV-RNN: a multi-view recurrent neural network for sequential recommendation. IEEE Trans. Knowl. Data Eng. 32(2), 317–331 (2020)

    Article  Google Scholar 

  4. Gu, W., Dong, S., Zeng, Z.: Increasing recommended effectiveness with markov chains and purchase intervals. Neural Comput. Appl. 25(5), 1153–1162 (2014)

    Article  Google Scholar 

  5. Hidasi, B., Karatzoglou, A., Baltrunas, L., Tikk, D.: Session-based recommendations with recurrent neural networks. arXiv:1511.06939 (2016)

  6. Hidasi, B., Quadrana, M., Karatzoglou, A., Tikk, D.: Parallel recurrent neural network architectures for feature-rich session-based recommendations. In: Proceedings of the 10th ACM Conference on Recommender Systems, pp. 241–248. ACM, New York (2016)

    Google Scholar 

  7. Hidasi, B., Karatzoglou, A.: Recurrent neural networks with top-k gains for session-based recommendations. In: Proceedings of the 27th ACM International Conference on Information and Knowledge Management, pp. 843–852. ACM, New York (2018)

    Google Scholar 

  8. Linden, G., Smith, B., York, J.: Amazon.com recommendations: item-to-item collaborative filtering. IEEE Internet Comput. 7(1), 76–80 (2003)

    Google Scholar 

  9. Liu, Q., Wu, S., Wang, D., Li, Z., Wang, L.: Context-aware sequential recommendations. In: Proceedings of the 16th IEEE International Conference on Data Mining (ICDM), pp. 1053–1058. IEEE (2016)

    Google Scholar 

  10. Luo, X., Zhou, M., Li, S., Shang, M.: An inherently nonnegative latent factor model for high-dimensional and sparse matrices from industrial applications. IEEE Trans. Industr. Inf. 14(5), 2011–2022 (2018)

    Article  Google Scholar 

  11. Luo, X., et al.: Incorporation of efficient second-order solvers into latent factor models for accurate prediction of missing QoS data. IEEE Trans. Cybernet. 48(4), 1216–1228 (2018)

    Article  Google Scholar 

  12. Phuong, T.M., Thanh, T.C., Bach, N.X.: Neural session-aware recommendation. IEEE Access 7, 86884–86896 (2019)

    Article  Google Scholar 

  13. Quadrana, M., Karatzoglou, A., Hidasi, B., Cremonesi, P.: Personalizing session-based recommendations with hierarchical recurrent neural networks. In: Proceedings of the Eleventh ACM Conference on Recommender Systems, pp. 130–137. ACM, New York (2017)

    Google Scholar 

  14. Rakkappan, L., Rajan, V.: Context-aware sequential recommendations with stacked recurrent neural networks. In: Proceedings of the 28th International Conference on World Wide Web, pp. 3172–3178. ACM, New York (2019)

    Google Scholar 

  15. Rendle, S., Freudenthaler, C., Schmidt-Thieme, L.: Factorizing personalized Markov chains for next-basket recommendation. In: Proceedings of the 19th International Conference on World Wide Web, pp. 811–820. ACM, New York (2010)

    Google Scholar 

  16. Ruocco, M., Skrede, O.S.L., Langseth, H.: Inter-session modeling for session-based recommendation. arXiv:1706.07506 (2017)

  17. Sarwar, B., Karypis, G., Konstan, J., Riedl, J.: Item-based collaborative filtering recommendation algorithms. In: Proceedings of the 10th International Conference on World Wide Web, pp. 285–295. ACM, New York (2001)

    Google Scholar 

  18. Shani, G., Heckerman, D., Brafman, R.I.: An MDP-based recommender system. J. Mach. Learn. Res. 6(43), 1265–1295 (2005)

    MathSciNet  Google Scholar 

  19. Yuan, W., Wang, H., Yu, X., Liu, N., Li, Z.: Attention-based context-aware sequential recommendation model. Inf. Sci. 510, 122–134 (2020)

    Article  Google Scholar 

  20. Zimdars, A., Chickering, D.M., Meek, C.: Using temporal data for making recommendations. arXiv:1301.2320 (2013)

  21. Amazon Dataset. http://jmcauley.ucsd.edu/data/amazon. Accessed 02 Aug 2021

Download references

Acknowledgements

The authors thank the reviewers for the valuable comments. This study was support in part by Feng Chia University under grant 22H00310, and National Science and Technology Council under grant MOST109-2221-E-035-064.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Ming-Yen Lin .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2024 The Author(s), under exclusive license to Springer Nature Singapore Pte Ltd.

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Hsueh, SC., Shih, MS., Lin, MY. (2024). Context Enhanced Recurrent Neural Network for Session-Aware Recommendation. In: Lee, CY., Lin, CL., Chang, HT. (eds) Technologies and Applications of Artificial Intelligence. TAAI 2023. Communications in Computer and Information Science, vol 2075. Springer, Singapore. https://doi.org/10.1007/978-981-97-1714-9_5

Download citation

  • DOI: https://doi.org/10.1007/978-981-97-1714-9_5

  • Published:

  • Publisher Name: Springer, Singapore

  • Print ISBN: 978-981-97-1713-2

  • Online ISBN: 978-981-97-1714-9

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics