A Service Recommendation Algorithm Based on Knowledge Graph and Collaborative Filtering

With the rapid development of the Internet, the number of Web APIs is increasing. How to recommend accurate and appropriate Web APIs to mashups has become a focus and difficulty in the field of service computing. The existing methods are mainly based on collaborative filtering technology, but these...

Full description

Bibliographic Details
Main Authors: Bo Jiang, Junchen Yang, Yanbin Qin, Tian Wang, Muchou Wang, Weifeng Pan
Format: Article
Language:English
Published: IEEE 2021-01-01
Series:IEEE Access
Subjects:
Online Access:https://ieeexplore.ieee.org/document/9388789/
id doaj-0c3619ea5b2d46219b3d7329cb7eb037
record_format Article
spelling doaj-0c3619ea5b2d46219b3d7329cb7eb0372021-04-07T23:00:50ZengIEEEIEEE Access2169-35362021-01-019508805089210.1109/ACCESS.2021.30685709388789A Service Recommendation Algorithm Based on Knowledge Graph and Collaborative FilteringBo Jiang0Junchen Yang1https://orcid.org/0000-0002-4280-8644Yanbin Qin2Tian Wang3Muchou Wang4Weifeng Pan5https://orcid.org/0000-0001-6355-1385School of Computer Science and Information Engineering, Zhejiang Gongshang University, Hangzhou, ChinaSchool of Computer Science and Information Engineering, Zhejiang Gongshang University, Hangzhou, ChinaSchool of Computer Science and Information Engineering, Zhejiang Gongshang University, Hangzhou, ChinaSchool of Computer Science and Information Engineering, Zhejiang Gongshang University, Hangzhou, ChinaWenzhou University Library, Wenzhou University, Wenzhou, ChinaSchool of Computer Science and Information Engineering, Zhejiang Gongshang University, Hangzhou, ChinaWith the rapid development of the Internet, the number of Web APIs is increasing. How to recommend accurate and appropriate Web APIs to mashups has become a focus and difficulty in the field of service computing. The existing methods are mainly based on collaborative filtering technology, but these methods have problems such as the data sparsity and cold start, which leads to poor recommendation effects. This paper proposes a service recommendation model based on knowledge graph and collaborative filtering. In this model, the knowledge graph connects the APIs and mashups related information to mine the potential relations between mashups and APIs, hence reducing the impact of data sparsity. All the API entities in the service knowledge graph are embedded into the low-dimensional space through the representation learning algorithm, then the distances between the API vectors are calculated to recommend the related APIs. In addition, in order to solve the cold-start problem of recommending APIs to target mashups that have no APIs usage, the similarities of functional sets extracted from mashups are calculated to recommend APIs for target mashups. At the same time, the model obtains the Mashup-API usage record, using the technology of collaborative filtering to recommend appropriate APIs to target mashups. Finally, the similarities of the above recommended APIs are normalized and sorted to form the final recommendation result. The experimental results show that our proposed model significantly improves the accuracy of service recommendation.https://ieeexplore.ieee.org/document/9388789/Web API recommendationknowledge graphrepresentation learningcollaborative filtering
collection DOAJ
language English
format Article
sources DOAJ
author Bo Jiang
Junchen Yang
Yanbin Qin
Tian Wang
Muchou Wang
Weifeng Pan
spellingShingle Bo Jiang
Junchen Yang
Yanbin Qin
Tian Wang
Muchou Wang
Weifeng Pan
A Service Recommendation Algorithm Based on Knowledge Graph and Collaborative Filtering
IEEE Access
Web API recommendation
knowledge graph
representation learning
collaborative filtering
author_facet Bo Jiang
Junchen Yang
Yanbin Qin
Tian Wang
Muchou Wang
Weifeng Pan
author_sort Bo Jiang
title A Service Recommendation Algorithm Based on Knowledge Graph and Collaborative Filtering
title_short A Service Recommendation Algorithm Based on Knowledge Graph and Collaborative Filtering
title_full A Service Recommendation Algorithm Based on Knowledge Graph and Collaborative Filtering
title_fullStr A Service Recommendation Algorithm Based on Knowledge Graph and Collaborative Filtering
title_full_unstemmed A Service Recommendation Algorithm Based on Knowledge Graph and Collaborative Filtering
title_sort service recommendation algorithm based on knowledge graph and collaborative filtering
publisher IEEE
series IEEE Access
issn 2169-3536
publishDate 2021-01-01
description With the rapid development of the Internet, the number of Web APIs is increasing. How to recommend accurate and appropriate Web APIs to mashups has become a focus and difficulty in the field of service computing. The existing methods are mainly based on collaborative filtering technology, but these methods have problems such as the data sparsity and cold start, which leads to poor recommendation effects. This paper proposes a service recommendation model based on knowledge graph and collaborative filtering. In this model, the knowledge graph connects the APIs and mashups related information to mine the potential relations between mashups and APIs, hence reducing the impact of data sparsity. All the API entities in the service knowledge graph are embedded into the low-dimensional space through the representation learning algorithm, then the distances between the API vectors are calculated to recommend the related APIs. In addition, in order to solve the cold-start problem of recommending APIs to target mashups that have no APIs usage, the similarities of functional sets extracted from mashups are calculated to recommend APIs for target mashups. At the same time, the model obtains the Mashup-API usage record, using the technology of collaborative filtering to recommend appropriate APIs to target mashups. Finally, the similarities of the above recommended APIs are normalized and sorted to form the final recommendation result. The experimental results show that our proposed model significantly improves the accuracy of service recommendation.
topic Web API recommendation
knowledge graph
representation learning
collaborative filtering
url https://ieeexplore.ieee.org/document/9388789/
work_keys_str_mv AT bojiang aservicerecommendationalgorithmbasedonknowledgegraphandcollaborativefiltering
AT junchenyang aservicerecommendationalgorithmbasedonknowledgegraphandcollaborativefiltering
AT yanbinqin aservicerecommendationalgorithmbasedonknowledgegraphandcollaborativefiltering
AT tianwang aservicerecommendationalgorithmbasedonknowledgegraphandcollaborativefiltering
AT muchouwang aservicerecommendationalgorithmbasedonknowledgegraphandcollaborativefiltering
AT weifengpan aservicerecommendationalgorithmbasedonknowledgegraphandcollaborativefiltering
AT bojiang servicerecommendationalgorithmbasedonknowledgegraphandcollaborativefiltering
AT junchenyang servicerecommendationalgorithmbasedonknowledgegraphandcollaborativefiltering
AT yanbinqin servicerecommendationalgorithmbasedonknowledgegraphandcollaborativefiltering
AT tianwang servicerecommendationalgorithmbasedonknowledgegraphandcollaborativefiltering
AT muchouwang servicerecommendationalgorithmbasedonknowledgegraphandcollaborativefiltering
AT weifengpan servicerecommendationalgorithmbasedonknowledgegraphandcollaborativefiltering
_version_ 1721535694907637760