Skip to main content

Advertisement

Log in

Web APIs recommendation with neural content embedding for mobile multimedia computing

  • Published:
Wireless Networks Aims and scope Submit manuscript

Abstract

In the development of applications for mobile multimedia computing, it has been a core problem to improve the efficiency of applications development. The use of Web APIs has played an important role in applications development and mashups creation, but it takes a lot of time to find a suitable Web API. In this paper, we propose to employ APIs recommendation to solve this problem. We use the matrix factorization (MF) model to predict the relationship between user and Web APIs. The relationship between user and Web APIs is represented by latent features. But different from MF model, we find that the relationship between Web APIs have an impact on prediction performance. This paper uses the embedding technique and mines the latent relationships between APIs and we develop a novel prediction model that leverages the latent relationships between APIs, which is named as LRM (LRM is short for latent relationships mining). The latent relations are input into the LRM model to produce the relation prediction between APIs and developers. The experimental results show that our method achieves high performance and behaves the best compared to existing baselines.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5
Fig. 6

Similar content being viewed by others

Notes

  1. https://www.programmableweb.com/

References

  1. Almarimi, N., Ouni, A., Bouktif, S., Mkaouer, M. W., Kula, R. G., & Saied, M. A. (2019). Web service api recommendation for automated mashup creation using multi-objective evolutionary search. Applied Soft Computing, 85, 105830.

    Article  Google Scholar 

  2. Bianchini, D., Antonellis, V. D., & Melchiori, M. (2011) Semantics-enabled web API organization and recommendation. In Proceedings of international conference on conceptual modeling (pp. 34–43).

  3. Bianchini, D., Antonellis, V. D., & Melchiori, M. (2013) Advanced web API search patterns adding collective knowledge to public repository facets. In The 15th international conference on information integration and web-based applications & services (pp. 211–219).

  4. Cao, B., Liu, X. F., Rahman, M. M., Li, B., Liu, J., & Tang, M. (2020). Integrated content and network-based service clustering and web apis recommendation for mashup development. IEEE Transactions on Services Computing (TSC), 13(1), 99–113.

    Article  Google Scholar 

  5. Chan, W., Cheng, H., & Lo, D. (2012) Searching connected API subgraph via text phrases. In 20th ACM SIGSOFT symposium on the foundations of software engineering (FSE) (p. 10).

  6. Fletcher, K. K. (2019) Regularizing matrix factorization with implicit user preference embeddings for web api recommendation. In 2019 IEEE international conference on services computing (SCC) (pp. 1–8).

  7. Gao, H., Zhang, Y., Miao, H., & Ramon, J. D. B. (2021) Sdtioa: Modeling the timed privacy requirements of iot service composition: A user interaction perspective for automatic transformation from bpel to timed automata. Mobile Networks and Applications (MONET).

  8. Gao, H., Zhou, L., Kim, J. Y., Li, Y., & Huang, W. (2021) Applying probabilistic model checking to the behavior guidance and abnormality detection for mci patients under wireless sensor network. ACM Transactions on Sensor Networks (TOSN).

  9. He, P., Zhu, J., Zheng, Z., Xu, J., & Lyu, M. R. (2014) Location-based hierarchical matrix factorization for web service recommendation. In Proceedings of IEEE international conference on web services (ICWS) (pp. 297–304).

  10. Hung, P. T., & Yamanishi, K. (2021). Word2vec skip-gram dimensionality selection via sequential normalized maximum likelihood. Entropy, 23(8), 997.

    Article  MathSciNet  Google Scholar 

  11. Koren, Y. (2010). Factor in the neighbors: Scalable and accurate collaborative filtering. ACM Transactions on Knowledge Discovery from Data, 4(1), 1:1-1:24.

    Article  MathSciNet  Google Scholar 

  12. Koren, Y., Bell, R. M., & Volinsky, C. (2009). Matrix factorization techniques for recommender systems. Computer, 42(8), 30–37.

    Article  Google Scholar 

  13. Kwapong, B. A., & Fletcher, K. K. (2019) A knowledge graph based framework for web api recommendation. In 2019 IEEE world congress on services (pp. 115–120).

  14. Lastra-Díaz, J. J., Goikoetxea, J., Taieb, M. A. H., García-Serrano, A., Aouicha, M. B., Agirre, E., & Sánchez, D. (2021). A large reproducible benchmark of ontology-based methods and word embeddings for word similarity. Information Systems, 96, 101636.

    Article  Google Scholar 

  15. Liang, H., Xu, Y., Li, Y., & Nayak, R. (2008) Collaborative filtering recommender systems using tag information. In Proceedings of the 2008 IEEE/WIC/ACM international conference on web intelligence and international conference on intelligent agent technology (pp. 59–62).

  16. Ma, X., Xu, H., Gao, H., & Bian, M. (2021). Real-time multiple-workflow scheduling in cloud environments. IEEE Transactions on Network and Service Management (TNSM), 18(4), 4002–4018.

    Article  Google Scholar 

  17. McMillan, C., Hariri, N., Poshyvanyk, D., Cleland-Huang, J., & Mobasher, B. (2012) Recommending source code for use in rapid software prototypes. In 34th international conference on software engineering (ICSE) (pp. 848–858).

  18. Nguyen, P. T., Rocco, J. D., Ruscio, D. D., Ochoa, L., Degueule, T., & Penta, M. D. (2019) FOCUS: A recommender system for mining API function calls and usage patterns. In J. M. Atlee, T. Bultan, J. Whittle (eds.) Proceedings of the 41st international conference on software engineering (ICSE). pp. 1050–1060.

  19. Rahman, M. M., Liu, X. F., & Cao, B. (2017) Web API recommendation for mashup development using matrix factorization on integrated content and network-based service clustering. In 2017 IEEE international conference on services computing (SCC) (pp. 225–232).

  20. Robillard, M. P.(2005) Automatic generation of suggestions for program investigation. In M. Wermelinger, H. C. Gall (eds.) Proceedings of the 10th European software engineering conference held jointly with 13th ACM SIGSOFT international symposium on foundations of software engineering (pp. 11–20).

  21. Thung, F. (2016) API recommendation system for software development. In D. Lo, S. Apel, S. Khurshid (eds.) Proceedings of the 31st international conference on automated software engineering (ASE) (pp. 896–899).

  22. Valcarce, D., Parapar, J., & Barreiro, A. (2016) Language models for collaborative filtering neighbourhoods. In Proceedings of the 38th European conference on information retrieval research (Vol. 9626, pp. 614–625).

  23. Wang, J., & Yin, J. (2013) Combining user-based and item-based collaborative filtering techniques to improve recommendation diversity. In 6th international conference on biomedical engineering and informatics (BMEI) (pp. 661–665).

  24. Xu, Y., Zhang, H., Gao, H., Song, S., Yin, Y., Hei, L., Ding, Y., & Barroso, R. J. D. (2021). Preference discovery from wireless social media data in apis recommendation. Wireless Networks, 27(5), 3441–3451.

    Article  Google Scholar 

  25. Yilmaz, S., & Toklu, S. (2020). A deep learning analysis on question classification task using word2vec representations. Neural Computing and Applications, 32(7), 2909–2928.

    Article  Google Scholar 

  26. Zhang, Q., Zheng, W., & Lyu, M.R. (2011) Flow-augmented call graph: A new foundation for taming API complexity. In Proceedings of 14th international conference fundamental approaches to software engineering (FASE) (Vol. 6603, pp. 386–400).

  27. Zhao, W., Wang, B., Yang, M., Ye, J., Zhao, Z., Chen, X., & Shen, Y. (2020). Leveraging long and short-term information in content-aware movie recommendation via adversarial training. IEEE Transactions on Cybernetics, 50(11), 4680–4693.

    Article  Google Scholar 

  28. Zheng, Z., Ma, H., Lyu, M. R., & King, I. (2009) Wsrec: A collaborative filtering based web service recommender system. In Proceedings of IEEE international conference on web services (ICWS) (pp. 437–444).

  29. Zimmermann, T., Weißgerber, P., Diehl, S., & Zeller, A. (2005). Mining version histories to guide software changes. IEEE Transactions on Software Engineering (TSE), 31(6), 429–445.

    Article  Google Scholar 

Download references

Acknowledgements

This paper is supported by Fundamental Research Funds for the Central Universities (JB210311), Natural Science Foundation of China (No. 61802291) and China Postdoctoral Science Foundation (No. BX20180235).

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Yuyu Yin.

Additional information

Publisher's Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Rights and permissions

Springer Nature or its licensor (e.g. a society or other partner) holds exclusive rights to this article under a publishing agreement with the author(s) or other rightsholder(s); author self-archiving of the accepted manuscript version of this article is solely governed by the terms of such publishing agreement and applicable law.

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Xu, Y., Ding, Y., Jiang, Z. et al. Web APIs recommendation with neural content embedding for mobile multimedia computing. Wireless Netw 29, 1567–1576 (2023). https://doi.org/10.1007/s11276-022-03203-6

Download citation

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s11276-022-03203-6

Keywords

Navigation