Web API Recommendation via Exploring Textual and Structural Semantics With Contrastive Learning and Joint Training
With the advancement of service computing technology, software developers tend to consume a variety of Web APIs (Application Programming Interfaces, also named Web services) from Web API markets to create feature-rich Mashup applications to save time and cost. Under such a background, the ever-increasing number of Web APIs makes the service discovery become a challenge. Thus, Web API recommendation becomes an effective means for service discovery. However, the existing approaches to Web API recommendation still have limitations in extracting rich semantics sufficiently from functional description documents and service networks, resulting in a limited recommendation performance. To further improve the recommendation performance, this paper proposes an effective Web API recommendation approach via exploring textual and structural semantics with contrastive learning and joint training, named CLJT. On one side, discriminative feature representations from textual and structural semantics could be derived by contrastive learning with information correlation across views. On the other side, the derived representations could be applicable to Web API recommendation by joint training of the representation tasks and the recommendation task. Extensive experiments are conducted over a real-world dataset crawled from ProgrammableWeb.com. The experimental results demonstrate the superiority of the proposed approach compared to the baseline methods.
Authors
- Buqing Cao (ORCID: https://orcid.org/0000-0003-0009-8020)
- Guosheng Kang (ORCID: https://orcid.org/0000-0003-1275-5921)
- Hongshuai Ren
- Yu Xu (ORCID: https://orcid.org/0000-0002-7304-5045)
- Jianxun Liu (ORCID: https://orcid.org/0000-0003-0722-152X)
- Wanjun Chen (ORCID: https://orcid.org/0000-0002-4937-1692)
Institutions
- Hunan University of Science and Technology (CN)
- University of Cambridge (GB)
- British Heart Foundation (GB)
- Yunnan University of Finance And Economics (CN)
Publication Details
- Journal
- IEEE Transactions on Network and Service Management
- Published
- 2024-12-11
- DOI
- https://doi.org/10.1109/tnsm.2024.3515103
- Citations
- 2
- Primary Topic
- Web Data Mining and Analysis
- Type
- article
- Field-Weighted Citation Impact
- 1.56