27 June 2024 in IEEE Transactions on Network and Service Management
With the rapid development of service computing, a large number of methods for Web service recommendation have been proposed. However, the existing approaches using Mashup description information ignore the fact that the users without knowledge of Web APIs are not able to describe their needs in detail, let alone find Web services that meet those needs and are compatible with each other. Meanwhile, most approaches that utilize Web API collaboration network based on Mashup-API invocation relationships do not effectively capture the local and global structure between APIs and mine hidden API compatibility information in the network. This paper introduces the KS-GNN model, a novel approach that utilizes graph neural network and auto-encoder techniques for Web API recommendation. Firstly, we utilize KeyBert to extract keywords related to Web services from functional descriptions. Then, we embed the extracted keywords and use their embedded representations as node representation vectors on the Web API collaboration network. Finally, considering local and global structural relationships in the Web API collaborative network and the network structural relationships for message passing, KS-GNN performs keyword searching on the Web API collaborative network, to recommend the top-K Web services that match the user’s query. Experimental results on the ProgrammableWeb dataset show that KS-GNN outperforms other deep learning-based factorization machine recommendation models. In the meantime, we also confirm that the method of extracting keywords using KeyBert outperforms other keyword extraction methods.
2 October 2024 in IEEE Transactions on Artificial Intelligence
With the growing popularity of the Internet, Web applications have become increasingly essential in our daily lives. Web Application Programming Interfaces (Web APIs) play a crucial role in facilitating interaction between applications. However, most Web service platforms are suffering from the imbalance of Web services now, many services of good quality but low popularity are difficult to be invoked even once and do not create direct connections with the users. Some graph-based Web service recommendation methods also often present a long-tailed distribution of recommended Web services due to limited Mashup-API invocation relationships. To relieve this problem and promote service recommendation, in this paper, we propose a community structure and popularity-based approach by constructing an evolving cooperation network for Web APIs. We leverage the Louvain algorithm in community detection to assign community structure to each Web API and consider both the popularity and community structure in constructing the network. By optimizing the Barabάsi-Albert (BA) evolving network model, we demonstrate that our approach outperforms the BA, Bianconi-Barabάsi (BB), and Popularity-Similarity Optimization (PSO) models in Web service clustering. Based on our proposed evolutionary network model for the evolutionary extension of API cooperation network and used for downstream Web service recommendation tasks, the experimental results also show that our recommended approach outperforms some other baseline models for Web service recommendation.