The rapid growth in the number and diversity of Web APIs, coupled with the myriad of functionally similar Web APIs, makes it difficult to find most suitable Web APIs for users to accelerate and accomplish Mashup development. Even if the existing methods show improvements in Web APIs recommendation, it is still challenging to recommend Web APIs with high accuracy and good diversity. In this paper, we propose an integrated content and network-based service clustering and Web APIs recommendation method for Mashup development. This method, first develop a two-level topic model by using the relationship among Mashup services to mine the latent useful and novel topics for better service clustering accuracy. Moreover, based on the clustering results of Mashups, it designs a collaborative filtering (CF) based Web APIs recommendation algorithm. This algorithm, exploits the implicit co-invocation relationship between Web APIs inferred from the historical invocation history between Mashups clusters and the corresponding Web APIs, to recommend diverse Web APIs for each Mashups clusters. The method is expected to not only find much better matched Mashups with high accuracy, but also diversify the recommendation result of Web APIs with full coverage. Finally, based on a real-world dataset from ProgrammableWeb, we conduct a comprehensive evaluation to measure the performance of our method. Compared with existing methods, experimental results show that our method significantly improves the accuracy and diversity of recommendation results in terms of precision, recall, purity, entropy, DCG and HMD.
22 October 2018 in IEEE Transactions on Parallel and Distributed Systems
Service recommendation is a fundamental task in many application environments (e.g., Mashup creation and cloud computing). In the past, various methods have been proposed to facilitate the service selection process based on the original functional descriptions. However, the mined features from the descriptions are usually too sparse for training a well-performed model. In addition, most methods neglect to differentiate the weights of various features, while words included in descriptions usually exhibit different intentions (e.g., functional or non-functional). To address these challenges, in this paper we propose a text expansion and deep model-based approach for service recommendation. Specifically, we first expand the description of services at sentence level based on a novel probabilistic topic model that learns topics of words, sentences and descriptions in a stratified fashion. The expansion process can bridge the vocabulary gap between services and user queries with the collective semantic similarity of sentences and descriptions. Then, we propose a Long Short-Term Memory-based model to recommend services with two attention mechanisms - a functional attention mechanism that takes tags as functional prior to mine the function-related features of services and Mashups, and a contextual attention mechanism that considers Mashup requirements as application scenario to help select the most appropriate service. We evaluate the proposed approach on a real-world dataset and the results show it has an improvement of 34% in F-measure over the basic LSTM model.
3 November 2021 in IEEE Transactions on Network and Service Management
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.
Knowledge representation of networked systems is fundamental in many disciplines. To date, most existing methods for representation learning primarily focus on networks with simplex labels, yet real-world objects (nodes) are inherently complex in nature and often contain rich semantics or labels, e.g., a user may belong to diverse interest groups of a social network, resulting in multi-label networks for many applications. A multi-label network not only has multiple labels for each node, the labels are often highly correlated making existing methods ineffective or even fail to handle such correlation for node representation learning. In this paper, we propose a novel multi-label graph convolutional network (MuLGCN) for learning node representation of multi-label networks. To fully explore label-label correlation and network topology structures, we propose to model a multi-label network as two Siamese GCNs: a node-node-label graph and a label-label-node graph. The two GCNs each handle one aspect of representation learning for nodes and labels, respectively, and they are seamlessly integrated under one objective function. The learned label representations can effectively preserve the inner-label interaction and node label properties, and are then aggregated to enhance the node representation learning under a unified training framework. Experiments validate the effectiveness of our proposed approach.
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.
Genetic algorithms (GAs) have been widely applied in Steiner tree optimization problems. However, as the core operation, existing crossover operators for tree-based GAs suffer from producing illegal offspring trees. Therefore, some global link information must be adopted to ensure the connectivity of the offspring, which incurs heavy computation. To address this problem, this article proposes a new crossover mechanism, called leaf crossover (LC), which generates legal offspring by just exchanging partial parent chromosomes, requiring neither the global network link information, encoding/decoding nor repair operations. Our simulation study indicates that GAs with LC outperform GAs with existing crossover mechanisms in terms of not only producing better solutions but also converging faster in networks of varying sizes.