The wide adoption of Service Oriented Architecture (SOA) has driven the creation of a massive amount of applications on the Internet, which includes the popular Mashups composed from multiple existing Web APIs. The availability of a large number of Web APIs with diverse functionalities on the Web makes it difficult for users to find APIs meeting their needs for Mashup development. To relieve this difficulty, recommending Web APIs for Mashup development has become an effective solution. A dozen of service recommendation approaches were proposed based on multi-dimensional features extracted from the service repository over the last couple of years, e.g., similarity based matching methods, matrix factorization based models, and factorization machine based models. Among these existing works, Factorization Machine (FM) based models, in particular the deep learning based FM models, have shown better performance compared with other conventional collaborative filtering techniques. Despite their superiority, the deep learning based FMs still have some strong model assumptions that can harm the recommendation accuracy. For example, it models factorized interactions with the same weight and ignores the non-linear and complex inherent structure in data. In a real-world service recommendation scenario, different predictor variables usually have different predictive power and not all features are predictable for estimating the target. Also, higher-order feature interactions are usually underlain in complex user-service environments. To address these deficiencies, this paper proposes a hybrid factorization machine model with a novel neural network architecture, named NAFM, which integrates a deep neural network to capture the non-linear and complex feature interactions and uses an attention mechanism to capture the varying importance of feature interactions. Comprehensive experiments are conducted on a real-world dataset from ProgrammableWeb. The experimental results show that the proposed approach outperforms the existing state-of-the-art models for service recommendation.
4 January 2023 in IEEE Transactions on Network and Service Management
With the increasing number of Web services, how to provide developers with Web services that meet their Mashup requirements accurately and efficiently has become a challenging problem. Therefore, focusing on the problem of “recommending appropriate services to build high-quality Mashup applications”, this paper proposes a Web service recommendation method via combining bilinear graph attention representation and xDeepFM (eXtreme Deep Factorization Machine) quality prediction. This method is based on content and structure-oriented service func-tion classification and combines it with the service invocation prediction based on multi-dimensional quality attributes. Firstly, it uses the Word2Vec model to learn the latent semantic repre-sentations from service description documents. Then, it constructs the service relationship network according to tags and shared annotation relationships of Web services. Next, a bilinear aggre-gator is used to model the pairwise interactions between neighbor service nodes. Integrated with the traditional weighted sum ag-gregator, a bilinear graph neural network (BGNN) with stronger node representation ability is constructed. It exploits BGNN to calculate the representation of service nodes in the network and divides services into different functionality clusters. Finally, the high-quality representation results are combined with mul-ti-dimensional QoS attributes. Aiming at the Web services in the service cluster, it utilizes xDeepFM to model and mine the com-plex interactions between Web services’ features, and predict and rank the invocation scores of Web services. The experimental results on the real dataset of ProgrammableWeb show that com-pared with the other ten methods, the proposed approach has better performance in terms of Accuracy, Recall, F1, Logloss, and AUC, and has better performance in classification and recom-mendation.
10 August 2022 in IEEE Transactions on Network and Service Management
Clustering Web services can improve the quality and efficiency of service discovery and management within a service repository. Nowadays, Web services frequently interact (e.g., composition relation and tag sharing relation) with each other to form a complex and heterogeneous service relationship network. The rich network relations inherently reflect either positive or negative clustering association between Web services, which can be a strong supplement to service semantics for characterizing functional affinities between Web services. In this paper, we propose to cluster Web services by utilizing both description documents and the structural information from the service relationship network. We first learn the content semantic information from service description documents based on the widely used Doc2vec model, and meanwhile, learn the structural semantic information from the service relationship network based on a network representation learning algorithm. Then, we propose to pretrain the content and structural semantic information to obtain the most relevant and unified features through training a service classification model with partially labeled data. Finally, a spectral clustering algorithm is utilized for Web services clustering based on the above unified features with preserved content and structural semantics. Therefore, the proposed services clustering approach takes advantage of both service content semantic and service network structure semantic based similarity between services. Extensive experiments are conducted on a real-world dataset from ProgrammableWeb, composed of 12919 Web API services. Experimental results demonstrate that our approach yields an improvement of 4.78% in precision and 5.4% in recall over the state-of-the-art method.
20 June 2023 in IEEE Transactions on Services Computing
The rapid growth in the number and diversity of Web service, coupled with the myriad of similar Web service in functionality, makes it challenging to find most suitable Web service for users to accelerate and accomplish Mashup development. Therefore, this paper proposes a Web service recommendation method via integrating heterogeneous graph attention network representation and FiBiNET (Feature Importance and Bilinear feature Interaction NETwork) score prediction. In this method, firstly, a heterogeneous information service network is constructed by using composite service information, atomic service information, and their respective attribute information. Secondly, the meta-paths are defined according to different semantic information and service similarity matrixes are built by using commuting matrix and meta-path-based similarity measurement technology. A two-layer attention model is designed to calculate the node level attention and meta-path-level attention of the services respectively, and generate the feature representation of Web service. Thirdly, for the Web services in the service cluster, combining their feature representations with multi-dimensional QoS attributes, the FiBiNET is exploited to dynamically learn the importance of features and complex feature interactions, and predict the score of Web services. Finally, the experiments are performed on the real Web service dataset. The experimental results show that the proposed method is better than the other nine methods in terms of accuracy, recall, F1, and AUC, and achieves better classification and recommendation quality.
20 May 2021 in Concurrency and Computation: Practice and Experience
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.