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 条
  • [31] 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
  • [32] 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)
  • [33] Knowledge Graph Enhanced Web API Recommendation via Neighbor Information Propagation for Multi-service Application Development
    Chen, Zhen
    Li, Yujie
    Wang, Yuying
    Liu, Xiaowei
    Xing, Yifan
    Liu, Linlin
    You, Dianlong
    Shen, Limin
    COLLABORATIVE COMPUTING: NETWORKING, APPLICATIONS AND WORKSHARING, COLLABORATECOM 2022, PT I, 2022, 460 : 20 - 40
  • [34] A Novel Embedding Model for Knowledge Graph Completion Based on Quaternion
    Gao, Haipeng
    Yang, Kun
    Yang, Yuxue
    Qin, Ke
    2021 IEEE 9TH INTERNATIONAL CONFERENCE ON INFORMATION, COMMUNICATION AND NETWORKS (ICICN 2021), 2021, : 470 - 474
  • [35] SMR: Medical Knowledge Graph Embedding for Safe Medicine Recommendation
    Gong, Fan
    Wang, Meng
    Wang, Haofen
    Wang, Sen
    Liu, Mengyue
    BIG DATA RESEARCH, 2021, 23
  • [36] Similarity attributed knowledge graph embedding enhancement for item recommendation
    Khan, Nasrullah
    Ma, Zongmin
    Ullah, Aman
    Polat, Kemal
    INFORMATION SCIENCES, 2022, 613 : 69 - 95
  • [37] A movie recommendation method based on knowledge graph and time series
    Zhang, Yiwen
    Zhang, Li
    Dong, Yunchun
    Chu, Jun
    Wang, Xing
    Ying, Zuobin
    JOURNAL OF INTELLIGENT & FUZZY SYSTEMS, 2023, 45 (03) : 4715 - 4724
  • [38] New method for news recommendation based on Transformer and knowledge graph
    Feng L.-Z.
    Yang Y.
    Wang Y.-W.
    Yang G.-J.
    Zhejiang Daxue Xuebao (Gongxue Ban)/Journal of Zhejiang University (Engineering Science), 2023, 57 (01): : 133 - 143
  • [39] POI Recommendation Based on Heterogeneous Graph Embedding
    Mighan, Sima Naderi
    Kahani, Mohsen
    Pourgholamali, Fateme
    2019 9TH INTERNATIONAL CONFERENCE ON COMPUTER AND KNOWLEDGE ENGINEERING (ICCKE 2019), 2019, : 188 - 193
  • [40] An IoT Ontology Class Recommendation Method Based on Knowledge Graph
    Wang, Xi
    Yin, Chuantao
    Fan, Xin
    Wu, Si
    Wang, Lan
    KNOWLEDGE SCIENCE, ENGINEERING AND MANAGEMENT, PT I, 2021, 12815 : 666 - 678