TopC-CAMF: A Top Context-Based Matrix Factorization Recommender System

  • Rosni Lumbantoruan Institut Teknologi Del
  • Paulus Simanjuntak Institut Teknologi Del
  • Inggrid Aritonang Institut Teknologi Del
  • Erika Simaremare Institut Teknologi Del
Keywords: Context Aware, Matrix Factorization, Personalization, Context Extraction


Online activities have been more and more vital as the digital business has expanded. Users can conduct most activities online such as online shops, hotel bookings, or online educations and courses. A large number of social users are drawn to the abundance of goods available on the Internet. The huge amount of information makes it impossible for social users to navigate it properly and efficiently.  Many companies have offered a personalization to tackle this issue. It is proven that the personalized recommendation systems are able to suggest items to users based on their interests and needs that best suit them, which can be captured from user’s contextual information. However, most of the studies capture this contextual information from the predefined contexts such as location and time. In this study, the personalized user context from the user’s text review that they posted as they gave rating to an item was obtained. To this end, a new approach based on the matrix factorization recommendation model, TopC-CAMF, was proposed. TopC-CAMF investigates and finds the most important contexts or needs for each user by leveraging the deep learning model. First, all important contexts from user’s text reviews were extracted. The next step was representing user preferences with the variations of most important contexts, namely top 5, top 10, top 15, top 20, and top 25 contexts. Then, the best top context variation was evaluated and the optimal one was used as the input for the matrix factorization method in providing better recommendations.  Extensive experiments using three real datasets were conducted to prove the effectiveness of the TopC-CAMF in terms of root mean square error (RMSE), mean absolute error (MAE), mean squared error (MSE), normalized discounted cumulative gain (NDCG), and Recall.


G. Zhang, Y. Liu, and X. Jin, “A Survey of Autoencoder-Based Recommender Systems,” Front. Comput. Sci., Vol. 14, No. 2, pp. 430–450, Apr. 2020.

A.H. Ali and M.Z. Abdullah, “Recent Trends in Distributed Online Stream Processing Platform for Big Data: Survey,” 2018 1st Annu. Int. Conf. Inf., Sci. (AiCIS), 2018, pp. 140–145.

S. Raza and C. Ding, “Progress in Context-Aware Recommender Systems-An Overview,” Comput. Sci. Rev., Vol. 31, pp. 84–97, Feb. 2019.

M.C. Rodríguez-Hernández and S. Ilarri, “AI-Based Mobile Context-Aware Recommender Systems from an Information Management Perspective: Progress and Directions,” Knowl.-Based Syst., Vol. 215, pp. 1–29, Mar. 2021.

M.H. Abdi, G.O. Okeyo, and R.W. Mwangi, “Matrix Factorization Techniques for Context-Aware Collaborative Filtering Recommender Systems: A Survey,” Comput. Inf. Sci., Vol. 11, No. 2, pp. 1–10, Mar. 2018.

D. Monti, G. Rizzo, and M. Morisio, “A Systematic Literature Review of Multicriteria Recommender Systems,” Artif. Intell. Rev., Vol. 54, No. 1, Jan. 2021.

Z. Cui et al., “Personalized Recommendation System Based on Collaborative Filtering for IoT Scenarios,” IEEE Trans. Serv. Comput., Vol. 13, No. 4, pp. 685–695, Jul.-Aug. 2020.

S. Kulkarni and S.F. Rodd, “Context Aware Recommendation Systems: A Review of the State of the Art Techniques,” Comput. Sci. Rev., Vol. 37, pp. 1–33, Aug. 2020.

F. Sun et al., “Bert4rec: Sequential Recommendation with Bidirectional Encoder Representations from Transformer,” Int. Conf. Inf., Knowl. Manag., 2019, pp. 1441–145.

Z. Lu, P. Du, and J.-Y. Nie, “VGCN-BERT: Augmenting BERT with Graph Embedding for Text Classification,” Adv. Inf. Retr., 2020, pp. 369–382.

S. Zhang, L. Yao, A. Sun, and Y. Tay, “Deep Learning Based Recommender System: A Survey and New Perspectives,” ACM Comput. Surv., Vol. 52, No. 1, pp. 1–38, Jan. 2020.

R. Lumbantoruan, X.M. Zhou, Y.L. Ren, and Z.F. Bao, “D-CARS: A Declarative Context-Aware Recommender System,” IEEE Int. Conf. Data Mining (ICDM), 2018, pp. 1152–1157.

R. Lumbantoruan, X. Zhou, Y. Ren, and L. Chen, “I-CARS: An Interactive Context-Aware Recommender System,” IEEE Int. Conf. Data Mining (ICDM), 2019, pp. 1240–1245.

R. Lumbantoruan, X. Zhou, and Y. Ren, “Declarative User-Item Profiling Based Context-Aware Recommendation,” Int. Conf. Adv. Data Mining, Appl., 2020, pp. 413–427.

A.S. Tewari, J.P. Singh, and A.G. Barman, “Generating Top-N Items Recommendation Set Using Collaborative, Content Based Filtering and Rating Variance,” Procedia Comput. Sci., Vol. 132, pp. 1678–1684, 2018.

R. Logesh et al., “Enhancing Recommendation Stability of Collaborative Filtering Recommender System Through Bio-Inspired Clustering Ensemble Method,” Neural Comput., Appl., Vol. 32, No. 7, pp. 2141–2164, 2020.

A.K. Sahoo, C. Pradhan, R.K. Barik, and H. Dubey, “DeepReco: Deep Learning Based Health Recommender System Using Collaborative Filtering,” Comput., Vol. 7, No. 2, Jun. 2019.

M. Terzi, M. Rowe, M.A. Ferrario, and J. Whittle, “Text-Based User-kNN: Measuring User Similarity Based on Text Reviews,” in User Modeling, Adaptation, and Personalization. Lecture Notes in Computer Science, Vol. 8538, V. Dimitrova et al., Eds., Cham, Switzerland: Springer, 2014, pp. 195–206.

W. Intayoad, T. Becker, and P. Temdee, “Social Context-Aware Recommendation for Personalized Online Learning,” Wirel. Pers. Commun., Vol. 97, No. 1, pp. 163–179, Nov. 2017.

C. Xu, “A Novel Recommendation Method Based on Social Network Using Matrix Factorization Technique,” Inf. Process., Manag., Vol. 54, No. 3, pp. 463–474, May 2018.

L.R. Divyaa, A. Tamhane, and N. Pervin, “A Clustering Based Social Matrix Factorization Technique for Personalized Recommender Systems,” AMCIS 2018 Proc., 2018, pp. 1–10.

L. Zheng, V. Noroozi, and P.S. Yu, “Joint Deep Modeling of Users and Items Using Reviews for Recommendation,” Proc. 10th ACM Int. Conf. Web Search, Data Min. (WSDM 2017), 2017, pp. 425–433.

R. van den Berg, T.N. Kipf, and M. Welling, “Graph Convolutional Matrix Completion,” 2017, arXiv:1706.02263v2.

H. Zhuang et al., “Ensemble Distillation for BERT-Based Ranking Models,” Proc. 2021 ACM SIGIR Int. Conf. Theory Inf. Retr. (ICTIR 2021), 2021, pp. 131–136.

R. Lumbantoruan, “Declarative Context-Aware Recommendation,” Ph.D. dissertation, RMIT University, Melbourne, Australia, 2021.

L. Baltrunas, B. Ludwig, and F. Ricci, “Matrix Factorization Techniques for Context Aware Recommendation,” Proc. Fifth ACM Conf. Recommender Syst., 2011, pp. 301–304.

How to Cite
Rosni Lumbantoruan, Paulus Simanjuntak, Inggrid Aritonang, & Erika Simaremare. (2022). TopC-CAMF: A Top Context-Based Matrix Factorization Recommender System. Jurnal Nasional Teknik Elektro Dan Teknologi Informasi, 11(4), 258-266.