CoWAR: A General Complementary Web API Recommendation Framework Based on Learning Model

View at publisher
Authors: Guosheng Kang, Qiqi Chen, Jiawei Chen, Jianxun Liu, Buqing Cao, Yu Xu
Cited by: 0
References: 40

Abstract

With the rapid advancement of service computing technologies, the proliferation of Web APIs on the Internet has increased exponentially. However, selecting the most suitable APIs for Mashup creation from this extensive pool presents a significant challenge for users. Numerous Web API recommendation methods have been developed to address this issue, aiming to simplify the complex selection process. Despite these advancements, there has been limited research on the recommendation of complementary functions. In response, we propose CoWAR, a comprehensive framework for recommending complementary Web APIs tailored to Mashup creation, based on the Web APIs previously selected by users. Specifically, we introduce a data labeling algorithm that generates a labeled dataset using Mashup-API interactions derived from historical Mashups and Web APIs. Furthermore, we utilize the Sentence BERT model to generate representation vectors of Web APIs from their functional descriptions. Subsequently, SANFM (Self Attentional Neural Factorization Machines) model is employed to train the complementary Web API recommendation model on the labeled dataset, utilizing the Web APIs' representation vectors. An attention mechanism is integrated into CoWAR to identify varying complementary weights between the selected Web APIs and candidate Web APIs, thereby enhancing recommendation performance. To the best of our knowledge, this is the first work to address the complementary function recommendation problem using a learning-based approach. Experimental validation on a real-world dataset demonstrates the effectiveness of the proposed framework, showing that the learning model outperforms both traditional machine learning-based models and several deep learning-based models.

Fields of Study & Subjects

Recommender Systems and Techniques Service-Oriented Architecture and Web Services Software Engineering Research

Publication details

Journal / source
IEEE Transactions on Reliability
Volume
75
Pages
1160–1174
Publication date
1 January 2026
Language
EN