Skip to main content

Knowledge Graph Enhanced Web API Recommendation via Neighbor Information Propagation for Multi-service Application Development

  • Conference paper
  • First Online:
Collaborative Computing: Networking, Applications and Worksharing (CollaborateCom 2022)

Abstract

In cloud era, Web APIs have been the best carrier for service delivery, capability replication and data output in multi-service application development. Currently, the number of Web APIs on the Internet is huge and growing exponentially. To enable accurate and fast Web API selection for developers, researchers have proposed a variety of Web API recommendation methods. However, existing methods cannot solve the inherent data sparsity problem well. In addition, existing methods use context information indirectly by finding neighbors or discretely through embedding techniques, while rich semantic information in the Web API ecosystem is ignored. To solve the above problems, we firstly crawl and analyze Web API data to construct a Web API knowledge graph, which laid a data foundation for alleviating the data sparsity problem. Then, we propose a knowledge graph-enhanced Web API recommendation model, so as to improve recommendation accuracy by capturing high-order structural information and semantic information. Typically, multivariate representations of user and Web API are made by the neighbor information propagation in Web API knowledge graph. The proposed model supports end-to-end learning for beneficial feature extraction. Finally, experiments results demonstrate the proposed model outperforms baselines significantly, thereby promoting the development of Web API economy.

Supported by National Natural Science Foundation of China, No. 62102348, 62276226. Natural Science Foundation of Hebei Province, China, No. F2022203012, F2021203038. Science and Technology Research Project of Hebei University, No. QN2020183. Innovation Capability Improvement Plan Project of Hebei Province, No. 22567626H.

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 84.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 109.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. Zhang, L., Zhang, J., Cai, H.: Services Computing. Springer, Heidelberg (2007). https://doi.org/10.1007/978-3-540-38284-3

    Book  Google Scholar 

  2. Niknejad, N., Ismail, W., Ghani, I., Nazari, B., Bahari, M., et al.: Understanding Service-Oriented Architecture (SOA): a systematic literature review and directions for further investigation. Inf. Syst. 91, 101491 (2022)

    Article  Google Scholar 

  3. Hustad, E., Olsen, D.: Service-oriented architecture. Creating a sustainable digital infrastructure: the role of service-oriented architecture. Procedia Comput. Sci. 181, 597–604 (2021)

    Article  Google Scholar 

  4. Tang, B., Yan, M., Zhang, N., et al.: Co-attentive representation learning for web services classification. Expert Syst. Appl. 180, 115070 (2021)

    Article  Google Scholar 

  5. Qi, L., Song, H., Zhang, X., et al.: Compatibility-aware web API recommendation for mashup creation via textual description mining. ACM Trans. Multimedia Comput. Commun. Appl. 17(1s), 1–19 (2021)

    Article  Google Scholar 

  6. Adeleye, O., Yu, J., Wang, G., et al.: Constructing and evaluating evolving web-API networks-a complex network perspective. IEEE Trans. Serv. Comput. (2021)

    Google Scholar 

  7. Ebesu, T., Shen, B., Fang, Y.: The 41st International ACM SIGIR Conference on Research & Development in Information Retrieval, pp. 515–524 (2018)

    Google Scholar 

  8. Cui, Z., Xu, X., Fei, X., Cai, X., et al.: Personalized recommendation system based on collaborative filtering for IoT scenarios. IEEE Trans. Serv. Comput. 13(4), 685–695 (2020)

    Article  Google Scholar 

  9. Yi, B., Shen, X., Liu, H., et al.: Deep matrix factorization with implicit feedback embedding for recommendation system. IEEE Trans. Industr. Inf. 15(8), 4591–4601 (2019)

    Article  Google Scholar 

  10. Chen, C., Zhang, M., Ma, W., et al.: Efficient non-sampling factorization machines for optimal context-aware recommendation. In: Proceedings of the Web Conference 2020, pp. 2400–2410 (2020)

    Google Scholar 

  11. Tang, M., Jiang, Y., Liu, J., et al.: Location-aware collaborative filtering for QoS-based service recommendation. In: 2012 IEEE 19th International Conference on Web Services, pp. 202–209(2012)

    Google Scholar 

  12. Chen, K., Mao, H., Shi, X., et al.: Trust-aware and location-based collaborative filtering for Web service QoS prediction. In: 2017 IEEE 41st Annual Computer Software and Applications Conference (COMPSAC), vol. 2, pp. 143–148 (2017)

    Google Scholar 

  13. Zhang, Y., Wang, K., He, Q., et al.: Covering-based web service quality prediction via neighborhood-aware matrix factorization. IEEE Trans. Serv. Comput. 14(5), 1333–1344 (2019)

    Article  Google Scholar 

  14. Fletcher, K.K.: A quality-aware web API recommender system for mashup development. In: Ferreira, J.E., Musaev, A., Zhang, L.-J. (eds.) SCC 2019. LNCS, vol. 11515, pp. 1–15. Springer, Cham (2019). https://doi.org/10.1007/978-3-030-23554-3_1

    Chapter  Google Scholar 

  15. Chen, Z., Shen, L., Li, F.: Your neighbors are misunderstood: on modeling accurate similarity driven by data range to collaborative web service QoS prediction. Futur. Gener. Comput. Syst. 95, 404–419 (2019)

    Article  Google Scholar 

  16. Jannach, D., Lerche, L., Zanker, M.: Recommending based on implicit feedback. In: Brusilovsky, P., He, D. (eds.) Social Information Access. LNCS, vol. 10100, pp. 510–569. Springer, Cham (2018). https://doi.org/10.1007/978-3-319-90092-6_14

    Chapter  Google Scholar 

  17. Xiong, R., Wang, J., Zhang, N., et al.: Deep hybrid collaborative filtering for web service recommendation. Expert Syst. Appl. 110, 191–205 (2018)

    Article  Google Scholar 

  18. Cao, Y., Liu, J., Shi, M., et al.: Service recommendation based on attentional factorization machine. In: 2019 IEEE International Conference on Services Computing (SCC), pp. 189–196 (2019)

    Google Scholar 

  19. Zhao, H., Wang, J., Zhou, Q., Wang, X., Wu, H.: Web API recommendation with features ensemble and learning-to-rank. In: Jin, H., Lin, X., Cheng, X., Shi, X., Xiao, N., Huang, Y. (eds.) BigData 2019. CCIS, vol. 1120, pp. 406–419. Springer, Singapore (2019). https://doi.org/10.1007/978-981-15-1899-7_29

    Chapter  Google Scholar 

  20. Huang, J., Zhao, W.X., Dou, H., et al.: Improving sequential recommendation with knowledge-enhanced memory networks. In: The 41st International ACM SIGIR Conference on Research & Development in Information Retrieval, pp. 505–514 (2018)

    Google Scholar 

  21. Kwapong, B., Fletcher, K.: A knowledge graph based framework for web API recommendation. In: 2019 IEEE World Congress on Services (SERVICES), vol. 2642, pp. 115–120 (2019)

    Google Scholar 

  22. Kwapong, B., Anarfi, R., Fletcher, K.K.: A knowledge graph approach to mashup tag recommendation. In: 2020 IEEE International Conference on Services Computing (SCC), pp. 92–99 (2020)

    Google Scholar 

  23. Wang, X., Wu, H., Hsu, C.H.: Mashup-oriented API recommendation via random walk on knowledge graph. IEEE Access 7, 7651–7662 (2018)

    Article  Google Scholar 

  24. Geng, J., Cao, B., Ye, H., et al.: Web service recommendation based on knowledge graph convolutional network and Doc2Vec. In: 2020 IEEE World Congress on Services (SERVICES), pp. 95–100 (2020)

    Google Scholar 

  25. Rendle, S.: Factorization machines. In: 2010 IEEE International Conference on Data Mining, pp. 995–1000 (2010)

    Google Scholar 

  26. Xiao, J., Ye, H., He, X., et al.: Attentional factorization machines: learning the weight of feature interactions via attention networks. arXiv preprint arXiv:1708.04617 (2017)

  27. He, X., Chua, T.S.: Neural factorization machines for sparse predictive analytics. In: Proceedings of the 40th International ACM SIGIR Conference on Research and Development in Information Retrieval, pp. 355–364 (2017)

    Google Scholar 

  28. Wang, H., Zhang, F., Zhao, M., et al.: Multi-task feature learning for knowledge graph enhanced recommendation. In: The World Wide Web Conference, pp. 2000–2010 (2019)

    Google Scholar 

  29. Wang, H., Zhao, M., Xie, X., et al.: Knowledge graph convolutional networks for recommender systems. In: The World Wide Web Conference, pp. 3307–3313 (2019)

    Google Scholar 

  30. Wang, H., Zhang, F., Zhang, M., et al.: Knowledge-aware graph neural networks with label smoothness regularization for recommender systems. In: Proceedings of the 25th ACM SIGKDD International Conference on Knowledge Discovery & Data Mining, pp. 968–977 (2019)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Zhen Chen .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2022 ICST Institute for Computer Sciences, Social Informatics and Telecommunications Engineering

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Chen, Z. et al. (2022). Knowledge Graph Enhanced Web API Recommendation via Neighbor Information Propagation for Multi-service Application Development. In: Gao, H., Wang, X., Wei, W., Dagiuklas, T. (eds) Collaborative Computing: Networking, Applications and Worksharing. CollaborateCom 2022. Lecture Notes of the Institute for Computer Sciences, Social Informatics and Telecommunications Engineering, vol 460 . Springer, Cham. https://doi.org/10.1007/978-3-031-24383-7_2

Download citation

  • DOI: https://doi.org/10.1007/978-3-031-24383-7_2

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-031-24382-0

  • Online ISBN: 978-3-031-24383-7

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics