IEEE Access (Jan 2024)

Cooperative Mashup Embedding Leveraging Knowledge Graph for Web API Recommendation

  • Chunxiang Zhang,
  • Shaowei Qin,
  • Hao Wu,
  • Lei Zhang

DOI
https://doi.org/10.1109/ACCESS.2024.3384487
Journal volume & issue
Vol. 12
pp. 49708 – 49719

Abstract

Read online

Creating top-notch Mashup applications is becoming increasingly difficult with an overwhelming number of Web APIs. Researchers have developed various API recommendation techniques to help developers quickly locate the right API. In particular, deep learning-based solutions have attracted much attention due to their excellent representation learning capabilities. However, existing methods mainly use textual or graphical information, and do not fully consider the two, which may lead to suboptimal representation and damage recommendation performance. In this paper, we propose a Cooperative Mashup Embedding (CME) neural framework that integrates knowledge graph embedding and text encoding, using Node2Vec to convert entities into numerical vectors and BERT to encode text descriptions. A cooperative embedding method was developed to optimize the entire model while capturing graph and text data knowledge. In addition, the representations obtained by the framework of the three recommendation models are derived. Experimental results on the ProgrammableWeb dataset indicate that our proposed method outperforms the SOTA methods in recommendation performance metrics Top@{1,5,10}. Precision and Recall have increased from 3% to 11%, while NDCG and MAP have improved from 3% to 6%.

Keywords