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 条
  • [41] Web API Recommendation for Mashup development using Matrix Factorization on Integrated Content and Network-Based Service Clustering
    Rahman, Md Mahfuzer
    Liu, Xiaoqing
    Cao, Buqing
    2017 IEEE INTERNATIONAL CONFERENCE ON SERVICES COMPUTING (SCC), 2017, : 225 - 232
  • [42] Knowledge Embedding Enabled Cyber Security Defense for Networked System: A Novel Risk Detection Method based on Knowledge Graph
    Zhao, Angxiao
    Feng, Wenying
    Hu, Ning
    Zhao, Dawei
    Gu, Zhaoquan
    PROCEEDINGS OF THE 2024 27 TH INTERNATIONAL CONFERENCE ON COMPUTER SUPPORTED COOPERATIVE WORK IN DESIGN, CSCWD 2024, 2024, : 3146 - 3151
  • [43] Explicable recommendation based on knowledge graph
    Cai, Xingjuan
    Xie, Lijie
    Tian, Rui
    Cui, Zhihua
    EXPERT SYSTEMS WITH APPLICATIONS, 2022, 200
  • [44] Research progress of recommendation system based on knowledge graph
    Wang H.-X.
    Tong X.-R.
    Zhejiang Daxue Xuebao (Gongxue Ban)/Journal of Zhejiang University (Engineering Science), 2023, 57 (08): : 1527 - 1540
  • [45] Contextualized Knowledge Graph Embedding for Explainable Talent Training Course Recommendation
    Yang, Yang
    Zhang, Chubing
    Song, Xin
    Dong, Zheng
    Zhu, Hengshu
    Li, Wenjie
    ACM TRANSACTIONS ON INFORMATION SYSTEMS, 2024, 42 (02)
  • [46] Item sequential recommendation based on graph embedding model
    Chenkun Zhang
    Cheng Wang
    Applied Intelligence, 2022, 52 : 15764 - 15784
  • [47] Item sequential recommendation based on graph embedding model
    Zhang, Chenkun
    Wang, Cheng
    APPLIED INTELLIGENCE, 2022, 52 (14) : 15764 - 15784
  • [48] Neural Library Recommendation by Embedding Project-Library Knowledge Graph
    Li, Bo
    Quan, Haowei
    Wang, Jiawei
    Liu, Pei
    Cai, Haipeng
    Miao, Yuan
    Yang, Yun
    Li, Li
    IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2024, 50 (06) : 1620 - 1638
  • [49] A POI-Sensitive Knowledge Graph based Service Recommendation Method
    Hu, Sihang
    Tu, Zhiying
    Wang, Zhongjie
    Xu, Xiaofei
    2019 IEEE INTERNATIONAL CONFERENCE ON SERVICES COMPUTING (IEEE SCC 2019), 2019, : 197 - 201
  • [50] An Intelligent Recommendation Method for Power Big Data Based on Knowledge Graph
    Zhang, Yiying
    Zhou, Baoxian
    Chen, Xi
    Shang, Jing
    2021 IEEE INTERNATIONAL SYMPOSIUM ON CIRCUITS AND SYSTEMS (ISCAS), 2021,