AI Chat Paper
Note: Please note that the following content is generated by AMiner AI. SciOpen does not take any responsibility related to this content.
{{lang === 'zh_CN' ? '文章概述' : 'Summary'}}
{{lang === 'en_US' ? '中' : 'Eng'}}
Chat more with AI
PDF (2 MB)
Collect
Submit Manuscript AI Chat Paper
Show Outline
Outline
Show full outline
Hide outline
Outline
Show full outline
Hide outline
Open Access | Online First

C-DAWAR: Towards Diversity-Aware Web APIs Recommendation for Mashup Creation Based on Contrastive Learning

College of Information and Electrical Engineering, China Agricultural University, Beijing 100083, China
Department of Medical Physics and Engineering, School of Medicine, Shiraz University of Medical Sciences, Shiraz 71348-14336, Iran, and also with IT Services, Lidoma Sanat Mehregan Part Ltd., Shiraz 71581, Iran
Software Competence Center Hagenberg, Hagenberg 4232, Austria
Department of Electrical and Software Engineering, University of Calgary, Calgary T2N 1N4, Canada
Show Author Information

Abstract

In a manner of keyword search, a software developer could develop mashup applications with more sophisticated functions by choosing a set of Web application programming interfaces (APIs) from an extensive pool of available options, which can surprisingly save the development costs to ensure up-to-date mashup development. However, when faced with a large and high variety of Web APIs, developers often encounter several challenges, such as functional incompatibility and limited diversity. Moreover, although the number of Web APIs is enormous, available interaction datasets are extremely sparse, which may increase the risk of development failures. Recently, contrastive learning (CL) performs well in dealing with data sparsity problems by comparing the original and augmented representations learned from a bipartite graph. Thus, we propose a CL-based diversity-aware web APIs recommendation (C-DAWAR) approach to recommend diversified and compatible Web APIs for mashup creation. Specifically, C-DAWAR first constructs a Web APIs correlation graph to identify the minimal group Steiner trees within the constructed graph. It then learns node representation using contrastive learning in a self-supervised manner. In particular, after the graph convolution operation in the contrastive learning pipeline, C-DAWAR applies the self-attention mechanism to better capture global features. Finally, determinantal point processes (DPP) is employed to enhance the diversity of the recommended results. Comprehensive experimental results on widely used real-world datasets demonstrate the effectiveness of C-DAWAR.

References

【1】
【1】
 
 
Tsinghua Science and Technology

{{item.num}}

Comments on this article

Go to comment

< Back to all reports

Review Status: {{reviewData.commendedNum}} Commended , {{reviewData.revisionRequiredNum}} Revision Required , {{reviewData.notCommendedNum}} Not Commended Under Peer Review

Review Comment

Close
Close
Cite this article:
Wang Y, Yang L, Gong W, et al. C-DAWAR: Towards Diversity-Aware Web APIs Recommendation for Mashup Creation Based on Contrastive Learning. Tsinghua Science and Technology, 2026, https://doi.org/10.26599/TST.2025.9010118

734

Views

60

Downloads

0

Crossref

0

Web of Science

0

Scopus

0

CSCD

Received: 25 May 2025
Revised: 28 June 2025
Accepted: 11 July 2025
Published: 14 July 2026
© The author(s) 2026.

The articles published in this open access journal are distributed under the terms of the Creative Commons Attribution 4.0 International License (http://creativecommons.org/licenses/by/4.0/).