A Deep Graph Convolutional Network Based Web API Classification Approach for Mashup Creation

Lianyong Qi,Boyuan Yan,Jiaqi Zheng,Xiaolong Xu,Wanchun Dou,Xiaokang Zhou,Jie Zhang
DOI: https://doi.org/10.1109/hpcc-dss-smartcity-dependsys60770.2023.00044
2023-01-01
Abstract:Software developers create mashups of their interest by searching, selecting, and combining web Application Programming Interfaces (APIs) with diverse functionalities. However, achieving the selection of APIs relies on a crucial prerequisite: accurate classification of APIs. However, the traditional web API classification methods are often based on a single piece of API function's information such as manual annotations and description documents which decreases the accuracy of API classification results significantly, especially for the web API sharing communities with sparse data (e.g., programmeableweb.com). To tackle this issue, we propose BDGCN which improves some existing web API classification approaches by adding isomorphic graph of strong correlation among different web APIs on the basis of API description documents. Concretely, at the first, we integrate the information of multiple dimensions of web APIs as embedded inputs in which we then build an API-API strongly correlated isomorphic network to strengthen the association among API individuals, and to initialize the embedding vector from the description of each API by tuning the pre-trained Bidi-rectional Encoder Representation from Transformers (BERT) model. Besides, in order to smooth the impact of high-order features between neighboring nodes, a deep graph convolutional network is introduced in this paper that is consistent with the problem. In fact, we set up a categorization layer and utilize cross-entropy function to achieve accurate classification of APIs. Experimental results demonstrate the superiority of our method compared to the existing methods.
What problem does this paper attempt to address?