[go: up one dir, main page]
More Web Proxy on the site http://driver.im/ skip to main content
research-article

Diversity-driven automated web API recommendation based on implicit requirements

Published: 01 March 2023 Publication History

Abstract

With the rapid growth of the web API sharing community, Mashup development has become a popular way for software developers to quickly create Mashup applications. Mashup development allows developers to quickly implement the functionality they want by combining a chosen set of web APIs, which greatly improves development efficiency. However, the existence of numerous web API candidates make it difficult to select the appropriate API quickly. Most existing automated web API recommendation approaches focus on the developer’s description of requirements but typically overestimate the developer’s ability to fully describe their application’s requirements, thus ignoring their implicit and diversified functional requirements. In this paper, we propose a novel automated approach called DI-RAR to retrieve and recommend web API groups for Mashup creation. Specifically, we formulate an automated web API recommendation task as a nondeterministic polynomial problem. First, a self-attention model assigns weights to query to distinguish the core and non-core requirements. then Dynamic planning retrieval generates steiner trees to retrieve API groups and uncovers strongly related implicit requirements to enrich the mashup’s functions. Finally we apply simhash technique to filter similar results and finally provide diverse API groups. experiments based on a real-world dataset are performed to demonstrate the feasibility and efficiency of DI-RAR.

Highlights

We distinguish core requirements from non-core requirements using a self-attention mechanism with query keywords provided by developers to improve recommendation accuracy.
A weighted Mashup correlation graph is constructed to model the functional correlation between Mashups, on which Steiner tree evolutionary retrieval is performed to discover the implicit requirements by associating functionally related Mashups.
We recommend more diverse API groups to developers by differentiating them using the Simhash technique to satisfy developers’ diversified functional requirements.

References

[1]
Wang X., Wu H., Hsu C.-H., Mashup-oriented API recommendation via random walk on knowledge graph, IEEE Access 7 (2019) 7651–7662,.
[2]
Almarimi N., Ouni A., Bouktif S., Mkaouer M.W., Kula R.G., Saied M.A., Web service API recommendation for automated mashup creation using multi-objective evolutionary search, Appl. Soft Comput. 85 (2019),.
[3]
Dai H., Yu J., Li M., Wang W., Liu A.X., Ma J., Qi L., Chen G., Bloom filter with noisy coding framework for multi-set membership testing, IEEE Trans. Knowl. Data Eng. (2022).
[4]
Morise H., Atarashi K., Oyama S., Kurihara M., Neural collaborative filtering with multicriteria evaluation data, Appl. Soft Comput. 119 (2022),.
[5]
Zheng Z., Li X., Tang M., Xie F., Lyu M.R., Web service QoS prediction via collaborative filtering: A survey, IEEE Trans. Serv. Comput. 15 (4) (2022) 2455–2472,.
[6]
Huang Q., Xia X., Xing Z., Lo D., Wang X., API method recommendation without worrying about the task-API knowledge gap, in: Proceedings of the 33rd ACM/IEEE International Conference on Automated Software Engineering, ACM, Montpellier France, 2018, pp. 293–304,.
[7]
Ray B., Garain A., Sarkar R., An ensemble-based hotel recommender system using sentiment analysis and aspect categorization of hotel reviews, Appl. Soft Comput. 98 (2021),.
[8]
Qi L., Lin W., Zhang X., Dou W., Xu X., Chen J., A correlation graph based approach for personalized and compatible web APIs recommendation in mobile APP development, IEEE Trans. Knowl. Data Eng. (2022),.
[9]
Wu S., Shen S., Xu X., Chen Y., Zhou X., Liu D., Xue X., Qi L., Popularity-aware and diverse web APIs recommendation based on correlation graph, IEEE Trans. Comput. Soc. Syst. (2022),.
[10]
Zhou X., Liang W., Li W., Yan K., Shimizu S., Wang K.I.-K., Hierarchical adversarial attacks against graph-neural-network-based IoT network intrusion detection system, IEEE Internet Things J. 9 (12) (2022) 9310–9319,.
[11]
Chouchen M., Ouni A., Mkaouer M.W., Kula R.G., Inoue K., WhoReview: A multi-objective search-based approach for code reviewers recommendation in modern code review, Appl. Soft Comput. 100 (2021),.
[12]
Zhou J., Cao K., Zhou X., Chen M., Wei T., Hu S., Throughput-conscious energy allocation and reliability-aware task assignment for renewable powered in-situ server systems, IEEE Trans. Comput.-Aided Des. Integr. Circuits Syst. 41 (3) (2021) 516–529.
[13]
Liu X., Huang L., Ng V., Effective API recommendation without historical software repositories, in: Proceedings of the 33rd ACM/IEEE International Conference on Automated Software Engineering, ACM, Montpellier France, 2018, pp. 282–292,.
[14]
Qi L., Song H., Zhang X., Srivastava G., Xu X., Yu S., Compatibility-aware web API recommendation for mashup creation via textual description mining, ACM Trans. Multimed. Comput. Commun. Appl. 17 (1s) (2021) 1–19,.
[15]
Fletcher K., Regularizing matrix factorization with implicit user preference embeddings for web API recommendation, in: 2019 IEEE International Conference on Services Computing, SCC, 2019, pp. 1–8,.
[16]
Wang Z., Zhao H., Shi C., Profiling the design space for graph neural networks based collaborative filtering, in: Proceedings of the Fifteenth ACM International Conference on Web Search and Data Mining, ACM, Virtual Event AZ USA, 2022, pp. 1109–1119,.
[17]
Peerzade S.S., Web service recommendation using PCC based collaborative filtering, in: 2017 International Conference on Energy, Communication, Data Analytics and Soft Computing, ICECDS, IEEE, Chennai, 2017, pp. 2920–2924,.
[18]
Xu W., Cao J., Hu L., Wang J., Li M., A social-aware service recommendation approach for mashup creation, in: 2013 IEEE 20th International Conference on Web Services, 2013, pp. 107–114,.
[19]
Chouiref Z., Belkhir A., Benouaret K., Hadjali A., A fuzzy framework for efficient user-centric Web service selection, Appl. Soft Comput. 41 (2016) 51–65,.
[20]
Zhao L., Tan W., Xie N., Huang L., An optimal service selection approach for service-oriented business collaboration using crowd-based cooperative computing, Appl. Soft Comput. 92 (2020),.
[21]
Li Y., Liao C., Wang Y., Wang C., Energy-efficient optimal relay selection in cooperative cellular networks based on double auction, IEEE Trans. Wireless Commun. 14 (8) (2015) 4093–4104,.
[22]
Xu X., Jiang Q., Zhang P., Cao X., Khosravi M.R., Alex L.T., Qi L., Dou W., Game theory for distributed IoV task offloading with fuzzy neural network in edge computing, IEEE Trans. Fuzzy Syst. (2022),.
[23]
Zhang Y., Wang K., He Q., Chen F., Deng S., Zheng Z., Yang Y., Covering-based web service quality prediction via neighborhood-aware matrix factorization, IEEE Trans. Serv. Comput. 14 (5) (2021) 1333–1344,.
[24]
Zhang Y., Cui G., Deng S., Chen F., Wang Y., He Q., Efficient query of quality correlation for service composition, IEEE Trans. Serv. Comput. 14 (3) (2021) 695–709,.
[25]
Li Y., Liu J., Cao B., Wang C., Joint optimization of radio and virtual machine resources with uncertain user demands in mobile cloud computing, IEEE Trans. Multimed. 20 (9) (2018) 2427–2438,.
[26]
Wang X., Lv J., Huang M., Li K., Li J., Ren K., Energy-efficient ICN routing mechanism with QoS support, Comput. Netw. 131 (2018) 38–51,.
[27]
Zhang Y., Yin C., Wu Q., He Q., Zhu H., Location-aware deep collaborative filtering for service recommendation, IEEE Trans. Syst. Man Cybern. Syst. 51 (6) (2021) 3796–3807,.
[28]
Wang X., Liu X., Liu J., Chen X., Wu H., A novel knowledge graph embedding based API recommendation method for Mashup development, World Wide Web 24 (3) (2021) 869–894,.
[29]
Wu D., Luo X., Shang M., He Y., Wang G., Wu X., A data-characteristic-aware latent factor model for web services QoS prediction, IEEE Trans. Knowl. Data Eng. 34 (6) (2022) 2525–2538,.
[30]
Zhang X., Liu J., Cao B., Xiao Q., Wen Y., Web service recommendation via combining Doc2Vec-based functionality clustering and DeepFM-based score prediction, in: 2018 IEEE Intl Conf on Parallel and Distributed Processing with Applications, Ubiquitous Computing and Communications, Big Data and Cloud Computing, Social Computing and Networking, Sustainable Computing and Communications, ISPA/IUCC/BDCloud/SocialCom/SustainCom, 2018, pp. 509–516,.
[31]
Xia B., Fan Y., Tan W., Huang K., Zhang J., Wu C., Category-aware API clustering and distributed recommendation for automatic mashup creation, IEEE Trans. Serv. Comput. 8 (5) (2015) 674–687,.
[32]
Mnih V., Heess N., Graves A., Recurrent models of visual attention, Adv. Neural Inf. Process. Syst. 3 (2014) 9.
[33]
Bahdanau D., Cho K., Bengio Y., Neural machine translation by jointly learning to align and translate, 2016, [Cs, Stat] arXiv:1409.0473.
[34]
Vaswani A., Shazeer N., Parmar N., Uszkoreit J., Jones L., Gomez A.N., Kaiser L., Polosukhin I., Attention is all you need, in: Guyon I., Luxburg U.V., Bengio S., Wallach H., Fergus R., Vishwanathan S., Garnett R. (Eds.), Advances in Neural Information Processing Systems, Vol. 30, Curran Associates, Inc., 2017.
[35]
Shi M., Tang Y., Huang Y., Lin M., Mashup tag completion with attention-based topic model, Serv. Orient. Comput. Appl. 15 (1) (2021) 43–54,.
[36]
Shi M., Tang Y., Liu J., Functional and contextual attention-based LSTM for service recommendation in mashup creation, IEEE Trans. Parallel Distrib. Syst. 30 (5) (2019) 1077–1090,.
[37]
Fletcher K.K., An attention model for mashup tag recommendation, in: Wang Q., Xia Y., Seshadri S., Zhang L.-J. (Eds.), Services Computing – SCC 2020, Vol. 12409, Springer International Publishing, Cham, 2020, pp. 50–64,.
[38]
Dai H., Xu Y., Chen G., Dou W., Tian C., Wu X., He T., ROSE: Robustly safe charging for wireless power transfer, IEEE Trans. Mob. Comput. 21 (6) (2022) 2180–2197,.
[39]
Dai H., Wang X., Lin X., Gu R., Shi S., Liu Y., Dou W., Chen G., Placing wireless chargers with limited mobility, IEEE Trans. Mob. Comput. (2021) 1,.
[40]
Shi M., Tang Y., Liu J., TA-BLSTM: tag attention-based bidirectional long short-term memory for service recommendation in mashup creation, in: 2019 International Joint Conference on Neural Networks, IJCNN, IEEE, Budapest, Hungary, 2019, pp. 1–8,.
[41]
Qi L., He Q., Chen F., Dou W., Wan S., Zhang X., Xu X., Finding all you need: web APIs recommendation in web of things through keywords search, IEEE Trans. Comput. Soc. Syst. 6 (5) (2019) 1063–1072,.
[42]
Mao X., Huang S., Li R., Shen L., Automatic keywords extraction based on co-occurrence and semantic relationships between words, IEEE Access 8 (2020) 117528–117538,.
[43]
Wang L., Niu J., Song H., Atiquzzaman M., SentiRelated: A cross-domain sentiment classification algorithm for short texts through sentiment related index, J. Netw. Comput. Appl. 101 (2018) 111–119,.
[44]
Pennington J., Socher R., Manning C., Glove: global vectors for word representation, in: Proceedings of the 2014 Conference on Empirical Methods in Natural Language Processing, EMNLP, Association for Computational Linguistics, Doha, Qatar, 2014, pp. 1532–1543,.
[45]
Mikolov T., Grave E., Bojanowski P., Puhrsch C., Joulin A., Advances in pre-training distributed word representations, 2017, arXiv. arXiv:1712.09405. https://doi.org/10.48550/arXiv.1712.09405.
[46]
Mikolov T., Sutskever I., Chen K., Corrado G.S., Dean J., Distributed representations of words and phrases and their compositionality, Adv. Neural Inf. Process. Syst. 26 (2013).
[47]
Jain D., Kumar A., Garg G., Sarcasm detection in mash-up language using soft-attention based bi-directional LSTM and feature-rich CNN, Appl. Soft Comput. 91 (2020),.
[48]
Gu R., Chen Y., Liu S., Dai H., Chen G., Zhang K., Che Y., Huang Y., Liquid: Intelligent resource estimation and network-efficient scheduling for deep learning jobs on distributed GPU clusters, IEEE Trans. Parallel Distrib. Syst. 33 (11) (2022) 2808–2820,.
[49]
Gu R., Zhang K., Xu Z., Che Y., Fan B., Hou H., Dai H., Yi L., Ding Y., Chen G., Huang Y., Fluid: Dataset abstraction and elastic acceleration for cloud-native deep learning training jobs, in: 2022 IEEE 38th International Conference on Data Engineering, ICDE, 2022, pp. 2182–2195,.
[50]
Zhou J., Li L., Vajdi A., Zhou X., Wu Z., Temperature-constrained reliability optimization of industrial cyber-physical systems using machine learning and feedback control, IEEE Trans. Autom. Sci. Eng. (2021) 1–12,.
[51]
Zhou X., Yang X., Ma J., Wang K.I.-K., Energy-efficient smart routing based on link correlation mining for wireless edge computing in IoT, IEEE Internet Things J. 9 (16) (2022) 14988–14997,.
[52]
Xu Y., Zhang C., Wang G., Qin Z., Zeng Q., A blockchain-enabled deduplicatable data auditing mechanism for network storage services, IEEE Trans. Emerg. Top. Comput. 9 (3) (2021) 1421–1432,.
[53]
Liu H., Kou H., Yan C., Qi L., Link prediction in paper citation network to construct paper correlation graph, EURASIP J. Wireless Commun. Networking 2019 (1) (2019) 233,.
[54]
Lv J., Wang X., Huang M., Cheng H., Li F., Solving 0-1 knapsack problem by greedy degree and expectation efficiency, Appl. Soft Comput. 41 (2016) 94–103,.
[55]
Pentland A., Diversity of idea flows and economic growth, J. Soc. Comput. 1 (1) (2020) 71–81,.
[56]
Manku G.S., Jain A., Das Sarma A., Detecting near-duplicates for web crawling, in: Proceedings of the 16th International Conference on World Wide Web, 2007, pp. 141–150,.
[57]
Parejo J.A., Segura S., Fernandez P., Ruiz-Cortés A., QoS-aware web services composition using GRASP with path relinking, Expert Syst. Appl. 41 (9) (2014) 4211–4223,.
[58]
Kong L., Li G., Rafique W., Shen S., He Q., Khosravi M.R., Wang R., Qi L., Time-aware missing healthcare data prediction based on ARIMA model, IEEE/ACM Trans. Comput. Biol. Bioinform. (2022) 1–10,.
[59]
Qi L., Yang Y., Zhou X., Rafique W., Ma J., Fast anomaly identification based on multi-aspect data streams for intelligent intrusion detection toward secure industry 4.0, IEEE Trans. Ind. Inform. (2021),.
[60]
He Q., Wang X., Mao F., Lv J., Cai Y., Huang M., Xu Q., CAOM: A community-based approach to tackle opinion maximization for social networks, Inform. Sci. 513 (2020) 252–269,.
[61]
Zhou P., Lv J., Ma L., Chen Y., Yang S., An ant colony inspired cache allocation mechanism for heterogeneous information centric network, IEEE Access 9 (2021) 55485–55496,.
[62]
Li Y., Xia S., Zheng M., Cao B., Liu Q., Lyapunov optimization-based trade-off policy for mobile cloud offloading in heterogeneous wireless networks, IEEE Trans. Cloud Comput. 10 (1) (2022) 491–505,.
[63]
Wang Q., Zhu C., Zhang Y., Zhong H., Zhong J., Sheng V.S., Short text topic learning using heterogeneous information network, IEEE Trans. Knowl. Data Eng. (01) (2022) 1,.
[64]
Zhou J., Zhang M., Sun J., Wang T., Zhou X., Hu S., DRHEFT: Deadline-constrained reliability-aware HEFT algorithm for real-time heterogeneous MPSoC systems, IEEE Trans. Reliab. 71 (1) (2022) 178–189,.
[65]
Wang W., Wang Y., Duan P., Liu T., Tong X., Cai Z., A triple real-time trajectory privacy protection mechanism based on edge computing and blockchain in mobile crowdsourcing, IEEE Trans. Mob. Comput. (2022) 1–18,.
[66]
Zhang Q., Wang Y., Yin G., Tong X., Sai A.M.V.V., Cai Z., Two-stage bilateral online priority assignment in spatio-temporal crowdsourcing, IEEE Trans. Serv. Comput. (2022) 1–14,.
[67]
Xu Y., Ren J., Zhang Y., Zhang C., Shen B., Zhang Y., Blockchain empowered arbitrable data auditing scheme for network storage as a service, IEEE Trans. Serv. Comput. 13 (2) (2020) 289–300,.
[68]
Zhang C., Xu Y., Hu Y., Wu J., Ren J., Zhang Y., A blockchain-based multi-cloud storage data auditing scheme to locate faults, IEEE Trans. Cloud Comput. (2021) 1,.

Cited By

View all
  • (2025)High-order complementary cloud application programming interface recommendation with logical reasoning for incremental developmentEngineering Applications of Artificial Intelligence10.1016/j.engappai.2024.109698140:COnline publication date: 15-Jan-2025
  • (2023)Privacy-preserving Point-of-interest Recommendation based on Simplified Graph Convolutional Network for Geological TravelingACM Transactions on Intelligent Systems and Technology10.1145/362067715:4(1-17)Online publication date: 4-Sep-2023

Recommendations

Comments

Please enable JavaScript to view thecomments powered by Disqus.

Information & Contributors

Information

Published In

cover image Applied Soft Computing
Applied Soft Computing  Volume 136, Issue C
Mar 2023
1100 pages

Publisher

Elsevier Science Publishers B. V.

Netherlands

Publication History

Published: 01 March 2023

Author Tags

  1. Mashup
  2. Dynamic programming
  3. Evolutionary retrieval
  4. Requirement-aware
  5. Diversity recommendation

Qualifiers

  • Research-article

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)0
  • Downloads (Last 6 weeks)0
Reflects downloads up to 04 Feb 2025

Other Metrics

Citations

Cited By

View all
  • (2025)High-order complementary cloud application programming interface recommendation with logical reasoning for incremental developmentEngineering Applications of Artificial Intelligence10.1016/j.engappai.2024.109698140:COnline publication date: 15-Jan-2025
  • (2023)Privacy-preserving Point-of-interest Recommendation based on Simplified Graph Convolutional Network for Geological TravelingACM Transactions on Intelligent Systems and Technology10.1145/362067715:4(1-17)Online publication date: 4-Sep-2023

View Options

View options

Figures

Tables

Media

Share

Share

Share this Publication link

Share on social media