A novel knowledge graph embedding based API recommendation method for Mashup development

被引:37
|
作者
Wang, Xin [1 ]
Liu, Xiao [2 ]
Liu, Jin [1 ,3 ]
Chen, Xiaomei [4 ]
Wu, Hao [4 ]
机构
[1] Wuhan Univ, Sch Comp Sci, Wuhan, Peoples R China
[2] Deakin Univ, Sch Informat Technol, Geelong, Vic, Australia
[3] Chinese Acad Sci, Inst Informat Engn, Key Lab Network Assessment Technol, Beijing, Peoples R China
[4] Yunnan Univ, Sch Informat Sci & Engn, Kunming, Yunnan, Peoples R China
来源
WORLD WIDE WEB-INTERNET AND WEB INFORMATION SYSTEMS | 2021年 / 24卷 / 03期
基金
中国国家自然科学基金;
关键词
Web API recommendation; Mashup development; Deep random walk; Knowledge graph; Graph embedding; WEB;
D O I
10.1007/s11280-021-00894-3
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Web API is an efficient and cost-effective method for service-oriented software development, and Mashup is a popular technology which combines multiple services to create more powerful services to address the increasing complexity of business requirements and speed up the software development process. Here, accurate and efficient API recommendation is vital for successful Mashup development. Currently, many existing methods combine various technologies and adopt diverse features, which results in complex models at the cost of higher computational overhead but with very limited improvement on recommendation accuracy. To address such an issue, in this paper, we propose an unsupervised API recommendation method based on deep random walks on knowledge graph. Specifically, we first construct a refined knowledge graph utilizing Mashup-API co-invocation patterns and service category attributes, and then we learn implicit low-dimensional embedding representations of entities from truncated random walks by treating walks as the equivalent of sentences. Meanwhile, to improve the recommendation accuracy, we design an entity bias procedure to reflect different entity preference (namely API-based neighborhood or Mashup-based neighborhood). Finally, we estimate the relevance between Mashup requirements and the existing services (Mashups and APIs) to obtain the API recommendation list. Since the API recommendation results can be obtained through unsupervised feature learning, automatic API recommendation can be provided for Mashup developers in real time. Comprehensive experimental results on a real-world dataset demonstrate that our proposed method can outperform several state-of-the-art methods in both recommendation accuracy and efficiency.
引用
收藏
页码:869 / 894
页数:26
相关论文
共 50 条
  • [1] A novel knowledge graph embedding based API recommendation method for Mashup development
    Xin Wang
    Xiao Liu
    Jin Liu
    Xiaomei Chen
    Hao Wu
    World Wide Web, 2021, 24 : 869 - 894
  • [2] Cooperative Mashup Embedding Leveraging Knowledge Graph for Web API Recommendation
    Zhang, Chunxiang
    Qin, Shaowei
    Wu, Hao
    Zhang, Lei
    IEEE ACCESS, 2024, 12 : 49708 - 49719
  • [3] A Novel Approach for API Recommendation in Mashup Development
    Li, Chune
    Zhang, Richong
    Huai, Jinpeng
    Sun, Hailong
    2014 IEEE 21ST INTERNATIONAL CONFERENCE ON WEB SERVICES (ICWS 2014), 2014, : 289 - 296
  • [4] Mashup-Oriented API Recommendation via Random Walk on Knowledge Graph
    Wang, Xin
    Wu, Hao
    Hsu, Ching-Hsien
    IEEE ACCESS, 2019, 7 : 7651 - 7662
  • [5] High-Order-Modal Knowledge Graph Powered API Recommendation for Mashup Development
    Hu, Beichen
    Xie, Xihao
    Shen, Junhao
    Zhang, Jia
    Lee, Sengdar J.
    Lee, Seungwon
    2024 IEEE INTERNATIONAL CONFERENCE ON SOFTWARE SERVICES ENGINEERING, SSE 2024, 2024, : 204 - 213
  • [6] A Knowledge Graph based Framework for Web API Recommendation
    Kwapong, Benjamin A.
    Fletcher, Kenneth K.
    2019 IEEE WORLD CONGRESS ON SERVICES (IEEE SERVICES 2019), 2019, : 115 - 120
  • [7] Graph Embedding Based API Graph Search and Recommendation
    Chun-Yang Ling
    Yan-Zhen Zou
    Ze-Qi Lin
    Bing Xie
    Journal of Computer Science and Technology, 2019, 34 : 993 - 1006
  • [8] Graph Embedding Based API Graph Search and Recommendation
    Ling, Chun-Yang
    Zou, Yan-Zhen
    Lin, Ze-Qi
    Xie, Bing
    JOURNAL OF COMPUTER SCIENCE AND TECHNOLOGY, 2019, 34 (05) : 993 - 1006
  • [9] A Knowledge Graph Embedding Based Service Recommendation Method for Service-Based System Development
    Xie, Fang
    Zhang, Yiming
    Przystupa, Krzysztof
    Kochan, Orest
    ELECTRONICS, 2023, 12 (13)
  • [10] Graph Embedding Based Recommendation Techniques on the Knowledge Graph
    Grad-Gyenge, Laszlo
    Kiss, Attila
    Filzmoser, Peter
    ADJUNCT PUBLICATION OF THE 25TH CONFERENCE ON USER MODELING, ADAPTATION AND PERSONALIZATION (UMAP'17), 2017, : 354 - 359