APIRec: deep knowledge and diversity-aware web API recommendation

With the increasing number of Web Services, providing accurate and efficient Web APIs to meet the growing demands of developers for Mashups has become a significant challenge. Most existing methods may have not explicitly considered the deep semantic relationships between Web APIs and Mashups, leading to poor recommendation accuracy. In addition to the accuracy of recommendation results, diversity is also considered a key factor in broadening user perspectives and enhancing user satisfaction. However, most current methods have failed to simultaneously explore the assistance of knowledge graphs in accuracy and diversity. To address this problem, this paper proposes a deep knowledge and diversity-awarded Web API recommendation approach (named APIRec). Firstly, We utilize the Mashup-API collaborative invocation pattern and service category attributes to construct a streamlined knowledge graph. Secondly, in this hybrid Mashup-API structure, high-order relations between entities are explicitly implemented in the knowledge graph using an end-to-end approach to uncover hidden relationships among entities. Subsequently, attention mechanisms are employed to model and measure the importance of neighbors. Finally, to enhance the diversity of recommendation results, Maximal Marginal Relevance (MMR) is utilized to measure the accuracy and diversity of the recommended results simultaneously. To verify the effectiveness of APIRec, we conduct extensive experiments on real-world datasets collected from ProgrammableWeb.com. The experimental results show that APIRec outperforms other state-of-the-art approaches by $${\textbf {2.62}}\%$$ , $${\textbf {4.20}}\%$$ , and $${\textbf {22.69}}\%$$ in terms of mean precision (MP), mean recall (MR), and mean inter-list diversity (MILD), respectively.

Authors

Institutions

Publication Details

Journal
Service Oriented Computing and Applications
Published
2024-11-11
DOI
https://doi.org/10.1007/s11761-024-00427-6
Citations
2
Primary Topic
Recommender Systems and Techniques
Type
article
Field-Weighted Citation Impact
1.56

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

APIRec: deep knowledge and diversity-aware web API recommendation

Xinqiang Xie, Qingbo Zhang, Fanfei Song, Rong Pu et al.
2 citations
Service Oriented Computing and Applications
Recommender Systems and Techniques
1.56
article

APIRec: deep knowledge and diversity-aware web API recommendation

Xinqiang Xie, Qingbo Zhang, Fanfei Song, Rong Pu, Bin Wang, Wei Wang
article en
2 citations

Abstract

With the increasing number of Web Services, providing accurate and efficient Web APIs to meet the growing demands of developers for Mashups has become a significant challenge. Most existing methods may have not explicitly considered the deep semantic relationships between Web APIs and Mashups, leading to poor recommendation accuracy. In addition to the accuracy of recommendation results, diversity is also considered a key factor in broadening user perspectives and enhancing user satisfaction. However, most current methods have failed to simultaneously explore the assistance of knowledge graphs in accuracy and diversity. To address this problem, this paper proposes a deep knowledge and diversity-awarded Web API recommendation approach (named APIRec). Firstly, We utilize the Mashup-API collaborative invocation pattern and service category attributes to construct a streamlined knowledge graph. Secondly, in this hybrid Mashup-API structure, high-order relations between entities are explicitly implemented in the knowledge graph using an end-to-end approach to uncover hidden relationships among entities. Subsequently, attention mechanisms are employed to model and measure the importance of neighbors. Finally, to enhance the diversity of recommendation results, Maximal Marginal Relevance (MMR) is utilized to measure the accuracy and diversity of the recommended results simultaneously. To verify the effectiveness of APIRec, we conduct extensive experiments on real-world datasets collected from ProgrammableWeb.com. The experimental results show that APIRec outperforms other state-of-the-art approaches by $${\textbf {2.62}}\%$$ , $${\textbf {4.20}}\%$$ , and $${\textbf {22.69}}\%$$ in terms of mean precision (MP), mean recall (MR), and mean inter-list diversity (MILD), respectively.

Service Oriented Computing and Applications
Neusoft (China) (CN), Dalian Maritime University (CN), Northeastern University (CN)
National Natural Science Foundation of China
Openalex Percentile: Top 12%
Recommender Systems and Techniques
1.56
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.