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
基金
中国国家自然科学基金;
关键词
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 条
  • [31] Data service Mashup recommendation method based on frequent sub-graph mining
    Zhang Z.-M.
    Wang G.-L.
    Zhang S.
    Han Y.-B.
    Dianzi Keji Daxue Xuebao/Journal of the University of Electronic Science and Technology of China, 2016, 45 (02): : 263 - 269
  • [32] API-PROGRAM: An API Package Recommendation Model Based on the Graph Representation Learning Method
    Qi, Qing
    Cao, Jian
    Liu, Yancen
    SERVICE-ORIENTED COMPUTING (ICSOC 2021), 2021, 13121 : 859 - 866
  • [33] Hybrid recommendation based on graph embedding
    Zeng, Cheng
    Zhang, Haifeng
    Ren, Junwei
    Wen, Chaodong
    He, Peng
    CHINA COMMUNICATIONS, 2021, 18 (11) : 243 - 256
  • [34] Workflow Recommendation Based on Graph Embedding
    Yu, Xiaoming
    Wu, Wenjun
    Liao, Xingchuang
    2020 IEEE WORLD CONGRESS ON SERVICES (SERVICES), 2020, : 89 - 94
  • [35] Hybrid Recommendation Based on Graph Embedding
    Cheng Zeng
    Haifeng Zhang
    Junwei Ren
    Chaodong Wen
    Peng He
    ChinaCommunications, 2021, 18 (11) : 243 - 256
  • [36] Hierarchical attentive knowledge graph embedding for personalized recommendation
    Sha, Xiao
    Sun, Zhu
    Zhang, Jie
    ELECTRONIC COMMERCE RESEARCH AND APPLICATIONS, 2021, 48
  • [37] A novel Knowledge Graph recommendation algorithm based on Graph Convolutional Network
    Guo, Hui
    Yang, Chengyong
    Zhou, Liqing
    Wei, Shiwei
    CONNECTION SCIENCE, 2024, 36 (01)
  • [38] Knowledge graph confidence-aware embedding for recommendation
    Huang, Chen
    Yu, Fei
    Wan, Zhiguo
    Li, Fengying
    Ji, Hui
    Li, Yuandi
    NEURAL NETWORKS, 2024, 180
  • [39] Temporal Knowledge Graph Embedding for Effective Service Recommendation
    Mezni, Haithem
    IEEE TRANSACTIONS ON SERVICES COMPUTING, 2022, 15 (05) : 3077 - 3088
  • [40] Web service recommendation for mashup creation based on graph network
    Ting Yu
    Dongjin Yu
    Dongjing Wang
    Xueyou Hu
    The Journal of Supercomputing, 2023, 79 : 8993 - 9020