The International Arab Journal of Information Technology (IAJIT)


A Personalized Recommendation for Web API

With the explosive growth of Web of Things (WoT) and social web, it is becoming hard for device owners and users to find suitable web Application Programming Interface (API) that meet their needs among a large amount of web APIs. Social- aware and collaborative filtering-based recommender systems are widely applied to recommend personalized web APIs to users and to face the problem of information overload. However, most of the current solutions suffer from the dilemma of accuracy- diversity where the prediction accuracy gains are typically accompanied by losses in the diversity of the recommended APIs due to the influence of popularity factor on the final score of APIs (e.g., high rated or high-invoked APIs). To address this problem, the purpose of this paper is developing an improved recommendation model called (Personalized Web API Recommendation) PWR, which enables to discover APIs and provide personalized suggestions for users without sacrificing the recommendation accuracy. To validate the performance of our model, seven variant algorithms of different approaches (popularity-based, user- based and item-based) are compared using MovieLens 20M dataset. The experiments show that our model improves the recommendation accuracy by 12% increase with the highest score among compared methods. Additionally it outperforms the compared models in diversity over all lengths of recommendation lists. It is envisaged that the proposed model is useful to accurately recommend personalized web API for users.

[1] Adomavicius G. and Tuzhilin A., “Toward the Next Generation of Recommender Systems: A Survey of the State of The Art and Possible Extensions,” IEEE Transactions on Knowledge and Data Engineering, vol. 17, no. 6, pp. 734- 749, 2005.

[2] Arnaboldi V., Campana M., Delmastro F., and Pagani E., “A Personalized Recommender System for Pervasive Social Networks,” Pervasive and Mobile Computing, vol. 36, pp. 3- 24, 2017.

[3] Cao B., Liu J., Tang M., Zheng Z., and Wang G., “Mashup Service Recommendation Based on User Interest and Social Network,” in Proceedings of the 20th International Conference on Web Services, Santa Clara, pp. 99-106, 2013.

[4] Cao B., Liu J., Wen Y., Li H., Xiao Q., and Chen J., “QoS-aware Service Recommendation based on Relational Topic Model and Factorization Machines for IoT Mashup Applications,” Journal of Parallel and Distributed Computing, vol. 132, pp. 177-189, 2019.

[5] Deng S., Huang L., and Xu G., “Social network- based Service Recommendation with Trust Enhancement,” Expert Systems with Applications, vol. 41, no. 18, pp. 8075-8084, 2014.

[6] Gao F., Xing C., Du X., and Wang S., “Personalized Service System Based on Hybrid )LOWHULQJ IRU 'LJLWDO /LEUDU\´Tsinghua Science and Technology, vol. 12, no. 1, pp. 1-8, 2007. 444 The International Arab Journal of Information Technology, Vol. 18, No. 3A, Special Issue 2021

[7] Gao H., Qin X., Barroso R., Hussain W., Xu Y., and Yin Y., “Collaborative Learning-Based Industrial IoT API Recommendation for Software- Defined Devices: The Implicit Knowledge Discovery Perspective,” IEEE Transactions on Emerging Topics in Computational Intelligence, pp. 1-11, 2020.

[8] Hou L., Liu K., Liu J., and Zhang R., “Solving The Stability Aaccuracy-Diversity Dilemma of Recommender Systems,” Physica A: Statistical Mechanics and its Applications, vol. 468, pp. 415- 424, 2017.

[9] Huang Q. and Ouyang W., “Fuzzy Collaborative Filtering with Multiple Agents,” Journal of Shanghai University, vol. 11, no. 3, pp. 290-295, 2007.

[10] Jin X., Chun S., Jung J., and Lee K., “IoT Service Selection based on Physical Service Model and Absolute Dominance Relationship,” in Proceedings of the 7th International Conference on Service Oriented Computing and Applications, Matsue, pp. 65-72, 2014.

[11] Kalai A., Zayani C., Amous I., Abdelghani W., and Sedes F., “Social Collaborative Service Recommendation Approach based on User’s Trust and Domain-specific Expertise,” Future Generation Computer Systems, vol. 80, pp. 355- 367, 2018.

[12] Karta K., “An Investigation on Personalized Collaborative Filtering for Web Service Selection,” Honours Programme Thesis, University of Western Australia, 2005.

[13] Linden G., Smith B., and York J., “ Recommendations: Item-to-Item Collaborative Filtering,” IEEE Internet Computing, vol. 7, no. 1, pp. 76-80, 2003.

[14] Liu J., Tang M., Zheng Z., Liu X., and Lyu S., “Location-aware and Personalized Collaborative Filtering for Web Service Recommendation,” IEEE Transactions on Services Computing, vol. 9, no. 5, pp. 686-699, 2016.

[15] Lu Q., Guo F., and Zhang R., “User-based Collaborative Filtering Recommendation Method Combining with Privacy Concerns Intensity in Mobile Commerce,” International Journal of Wireless and Mobile Computing, vol. 17, no. 1, pp. 63-70, 2019.

[16] Mashal I., Alsaryrah O., and Chung T., “Performance Evaluation of Recommendation Algorithms on Internet of Things Services,” Physica A: Statistical Mechanics and its Applications, vol. 451, pp. 646-656, 2016.

[17] Meissa M., Benharzallah S., Kahloul L., and Kazar O., “Social-aware Web API Recommendation in IoT,” in Proceedings of the International Arab Conference on Information Technology, Giza, pp. 1-5, 2020.

[18] Periyasamy K., Jaiganesh J., Ponnambalam K., Rajasekar J., and Arputharaj K., “Analysis and Performance Evaluation of Cosine Neighbourhood Recommender System,” The International Arab Journal of Information Technology, vol. 14, no. 5, pp. 747-754, 2017.

[19] Resnick P., Iacovou N., Suchak M., Bergstrom P., and Riedl J., “Grouplens: An Open Architecture for Collaborative Filtering of Net News,” in Proceedings of the ACM Conference on Computer Supported Cooperative Work, Chapel Hill North Carolina, pp. 175-186, 1994.

[20] Shao L., Zhang J., Wei Y., Zhao J., Xie B., and Mei H., “Personalized QoS Prediction for Web Services via Collaborative Filtering,” in Proceedings of the International Conference on Web Services, Salt Lake City, pp. 439-446, 2007.

[21] Sreenath R. and Singh M., “Agent-based Service Selection,” Journal on Web Semantics, vol. 1, no. 3, pp. 261-279, 2003.

[22] Tang M., Xia Y., Tang B., Zhou Y., Cao B., and Hu R., “Mining Collaboration Patterns between $3,V IRU 0DVKXS &UHDWLRQ LQ :HE RI 7KLQJV´ IEEE Access, vol. 7, pp. 14206-14215, 2019.

[23] Xiong W., Li B., He L., Chen M., and Chen J., “Collaborative web service QoS Prediction on Unbalanced Data Distribution,” in Proceedings of the International Conference on Web Services, Anchorage, pp. 377-384, 2014.

[24] Yao L., Sheng Q., Ngu A., and Li X., “Things of Interest Recommendation by Leveraging Heterogeneous Relations in the Internet of Things,” ACM Transactions on Internet Technology, vol. 16, no. 2, pp. 1-25, 2016.

[25] Yao L., Sheng Q., Ngu A., Ashman H., and Li X., “Exploring Recommendations in Internet of Things,” in Proceedings of the ACM International Conference on Research and Development in Information Retrieval, Gold Coast Queensland, pp. 855-858, 2014.

[26] Zhang S., Yang W., Xu S., and Zhang W., “A Hybrid Social Network-based Collaborative Filtering Method for Personalized Manufacturing Service Recommendation,” International Journal of Computers Communications and Control, vol. 12, no. 5, pp. 728-740, 2017.

[27] Zhang W., Zhang S., Chen Y., and Pan X., “Combining Social Network and Collaborative Filtering for Personalized Manufacturing Service Recommendation,” International Journal of Production Research, vol. 51, no. 22, pp. 6702- 6719, 2013.

[28] Zheng Z., Zhang Y., and Lyu M., “Distributed QoS Evaluation for Real-world Web Services,” in Proceedings of the International Conference on Web Services, Miami, pp. 83-90, 2010.

[29] Zhou T., Kuscsik Z., Liu J. , Medo M., Wakeling J., and Zhang Y., “Solving the Apparent A Personalized Recommendation for Web API Discovery in Social Web of Things 445 Diversity-accuracy Dilemma of Recommender Systems,” Proceedings of the National Academy of Sciences, vol. 107, no. 10, pp. 4511-4515, 2010. Marwa Meissa is a Phd student in intelligent Computer Science Laboratory University Mohamed Khider Biskra, Algeria. Her interests include service composition, recommender system, social computing and Internet of Things. Saber Benharzallah is a professor and researcher in the computer science department of Batna 2 University (Algeria). Received his Ph. D degree in 2010 from the Biskra University (Algeria). Prof. Benharzallah is currently director of laboratory LAMIE (Batna 2 University). His research interests include Internet of things, service-oriented architecture, context aware systems, Social IoT. Laid Kahloul received the Ph.D. degree in computer software and theory from the Computer Science Department, Biskra University, Biskra, Algeria, in 2012. He is currently a professor with the Computer Science Department, Biskra University, Algeria. Okba Kazar professor in the Computer Science Department of Biskra. He is a member of international conference program committees and the "editorial board" for various magazines. His research interests are artificial intelligence, multi-agent systems, web applications and information systems.