Knowledge Graph Enhanced Web API Recommendation via Neighbor Information Propagation for Multi-service Application Development
Zhen Chen,Yujie Li,Yuying Wang,Xiaowei Liu,Yifan Xing,Linlin Liu,Dianlong You,Limin Shen
DOI: https://doi.org/10.1007/978-3-031-24383-7_2
2022-01-01
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.