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 条
  • [41] Web service recommendation for mashup creation based on graph network
    Yu, Ting
    Yu, Dongjin
    Wang, Dongjing
    Hu, Xueyou
    JOURNAL OF SUPERCOMPUTING, 2023, 79 (08): : 8993 - 9020
  • [42] A Recommendation Method for Electronic Components Based on Knowledge Graph
    Yu, Xudong
    Zhou, Yanhui
    Pu, Fei
    Zhang, Guilian
    PROCEEDINGS OF 2024 3RD INTERNATIONAL CONFERENCE ON CYBER SECURITY, ARTIFICIAL INTELLIGENCE AND DIGITAL ECONOMY, CSAIDE 2024, 2024, : 451 - 455
  • [43] A Knowledge Graph Embedding Based Approach for Learning Path Recommendation for Career Goals
    Nguyen, Thu Tran Minh
    Tran, Thinh Pham Quoc
    COMPUTATIONAL COLLECTIVE INTELLIGENCE (ICCCI 2021), 2021, 12876 : 66 - 78
  • [44] Hierarchical Aggregation Based Knowledge Graph Embedding for Multi-task Recommendation
    Wang, Yani
    Zhang, Ji
    Zhou, Xiangmin
    Zhang, Yang
    WEB AND BIG DATA, PT III, APWEB-WAIM 2022, 2023, 13423 : 174 - 181
  • [45] GRE: A GAT-Based Relation Embedding Model of Knowledge Graph for Recommendation
    Wang, Jihu
    Shi, Yuliang
    Cheng, Lin
    Zhang, Kun
    Chen, Zhiyong
    COMPUTER SUPPORTED COOPERATIVE WORK AND SOCIAL COMPUTING, CHINESECSCW 2021, PT II, 2022, 1492 : 77 - 91
  • [46] HRS: Hybrid Recommendation System based on Attention Mechanism and Knowledge Graph Embedding
    Dong, Chunfang
    Ju, Xuchan
    Ma, Yue
    PROCEEDINGS OF 2021 IEEE/WIC/ACM INTERNATIONAL CONFERENCE ON WEB INTELLIGENCE AND INTELLIGENT AGENT TECHNOLOGY WORKSHOPS AND SPECIAL SESSIONS: (WI-IAT WORKSHOP/SPECIAL SESSION 2021), 2021, : 406 - 413
  • [47] DINRec: Deep Interest Network Based API Recommendation Approach for Mashup Creation
    Xiao, Yong
    Liu, Jianxun
    Hu, Rong
    Cao, Buqing
    Cao, Yingcheng
    WEB INFORMATION SYSTEMS ENGINEERING - WISE 2019, 2019, 11881 : 179 - 193
  • [48] A Novel Darknet Traffic Classification Method based on Knowledge Graph with Dynamic Embedding Learning
    Hu, Xiaoyan
    Li, Ning
    Cheng, Guang
    Li, Ruidong
    Wu, Hua
    ICC 2023-IEEE INTERNATIONAL CONFERENCE ON COMMUNICATIONS, 2023, : 3799 - 3804
  • [49] TeCre: A Novel Temporal Conflict Resolution Method Based on Temporal Knowledge Graph Embedding
    Ma, Jiangtao
    Zhou, Chenyu
    Chen, Yonggang
    Wang, Yanjun
    Hu, Guangwu
    Qiao, Yaqiong
    INFORMATION, 2023, 14 (03)
  • [50] Personalized Knowledge Recommendation Based on Knowledge Graph in Petroleum Exploration and Development
    Huang, Gang
    Yuan, Man
    Li, Chun-Sheng
    Wei, Yong-he
    INTERNATIONAL JOURNAL OF PATTERN RECOGNITION AND ARTIFICIAL INTELLIGENCE, 2020, 34 (10)