Skip to main content

An API Recommendation Method Based on Beneficial Interaction

  • Conference paper
  • First Online:
Collaborative Computing: Networking, Applications and Worksharing (CollaborateCom 2022)

Abstract

With the wide application of Mashup technology, it has become one of the hot and challenging problems in the field of service computing that how to recommend the API to developers to satisfy their Mashup requirements. The existing service recommendation methods based on Graph Neural Network (GNN) usually construct feature interaction graph by the interactions of service features, and regard it as the input of GNN to achieve service prediction and recommendation. In fact, there are some distinctions in the interactions between service features, and the importance of interactions is also different. To address this problem, this paper proposes an API recommendation method based on beneficial feature interaction, which can distinguish and extract beneficial feature interaction pairs from a large number of service feature interaction relationships. Firstly, feature extraction of Mashup requirements and API services is performed, and the correlation between API services is calculated based on the label and description document of the API services and used as a basis for recommending API services to Mashup requirements. Secondly, edge prediction component is used to extract beneficial feature pairs from input features of Mashup requirements and API services to generate beneficial feature interaction diagram between features. Thirdly, the beneficial feature interaction diagram is used as input of the graph neural network to predict and generate the API services set of recommendations for the Mashup requirements. Finally, the experiment on ProgrammableWeb dataset shows that the AUC of the proposed method has increased 20%, 24%, 27%, 13% and 21% respectively than that of AFM, NFM, DeepFM, FLEN and DCN, which means the proposed method improves the accuracy and quality of service recommendation.

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

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 84.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 109.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

References

  1. Zheng, L., Noroozi, V., Philip, S.Y.: Joint deep modeling of users and items using reviews for recommendation. In: Proceedings of the Tenth ACM International Conference on Web Search and Data Mining, pp. 425–434 (2017)

    Google Scholar 

  2. Liu, Q., Wu, S., Wang, L., et al.: Predicting the next location: a recurrent model with spatial and temporal contexts. In: Proceedings of the Thirtieth AAAI Conference on Artificial Intelligence, pp. 194–200 (2016)

    Google Scholar 

  3. Fan, W., Ma, Y., Li, Q., et al.: Graph neural networks for social recommendation. The World Wide Web Conference, pp. 417–426 (2019)

    Google Scholar 

  4. Cao, B., Liu, J., Tang, M., et al.: Mashup service recommendation based on usage history and service network. Int. J. Web Services Res. (IJWSR) 10(4), 82–101 (2013)

    Article  Google Scholar 

  5. Klusch, M., Fries, B., Sycara, K.: OWLS-MX: a hybrid semantic web service matchmaker for OWL-S services. Web Semantics Science Services & Agents on the World Wide Web 7(2), 121–133 (2009)

    Article  Google Scholar 

  6. Xu, S., Raahemi, B.: A semantic-based service discovery framework for collaborative environments. Int. J. Simulation Modelling (IJSIMM) 15(1), 83–96 (2016)

    Article  Google Scholar 

  7. Yao, L., Sheng, Q.: Unified collaborative and content-based web service recommendation. IEEE Trans. Serv. Comput. 8(3), 453–466 (2015)

    Article  Google Scholar 

  8. Zheng, Z., Ma, H., Michael, R., et al.: Collaborative web service QoS prediction via neighborhood integrated matrix factorization. IEEE Trans. Serv. Comput. 6(3), 289–299 (2013)

    Article  Google Scholar 

  9. Chen, X., Zheng, Z., Yu, Q., et al.: Web service recommendation via exploiting location and QoS information. IEEE Trans. Parallel and Distributed Syst. 25(7), 1913–1924 (2014)

    Article  Google Scholar 

  10. Wang, X., Zhu, J., Zheng, Z., et al.: A spatial-temporal QoS prediction approach for time-aware web service recommendation. ACM Trans. Web 10(1), 1–25 (2016)

    Article  Google Scholar 

  11. Rendle, S.: Factorization machines. In: 2010 IEEE International Conference on Data Mining. Dec. 13- 17, pp. 995–1000 (2010)

    Google Scholar 

  12. Rendle, S.: Factorization machines with LibFM. ACM Trans. Intelligent Syst. Technol. (TIST) 3(3), 1–22 (2012)

    Article  Google Scholar 

  13. Lu, A.: Web service reputation evaluation model based on QoS and user recommendation. Yanshan University, pp. 18–26 (2010)

    Google Scholar 

  14. Cao, B., Liu, X., Rahman, M., et al.: Integrated content and network-based service clustering and web APIs recommendation for mashup development. IEEE Trans. Serv. Comput. 13(1), 99–113 (2017)

    Article  Google Scholar 

  15. Gao, W., Chen, L., Wu, J., et al.: Manifold-learning based API recommendation for mashup creation. In: 2015 IEEE International Conference on Web Services, June. 27-July. 2, pp. 432–439 (2015)

    Google Scholar 

  16. Gao, W., Chen, J.W., et al.: Joint modeling users, services, mashups, and topics for service recommendation. In: 2016 IEEE International Conference on Web Services (ICWS), June. 27-July. 2, pp. 260–267 (2016)

    Google Scholar 

  17. Xia, B., Fan, Y., Tan, W., et al.: Category-aware API clustering and distributed recommendation for automatic mashup creation. IEEE Trans. Serv. Comput. 8(5), 674–687 (2015)

    Article  Google Scholar 

  18. Liu, X., Fulia, I.: Incorporating user, topic, and service-related latent factors into web service recommendation. In: 2015 IEEE International Conference on Web Services (ICWS), June 27-July 2, pp. 185–192 (2015)

    Google Scholar 

  19. He, X.N., Liao, L.Z., Zhang, H.W., et al.: Neural collaborative filtering. In: Proceedings 26th International Conference on World Wide Web, pp. 173–182 (2017)

    Google Scholar 

  20. Sun, K., Qian, T., Chen, T., et al.: Where to go next: modeling long- and short-term user preferences for point-of-interest recommendation. In: National Conference on Artificial Intelligence Association for the Advancement of Artificial Intelligence (2020)

    Google Scholar 

  21. Zhu, Q., Zhou, X., Wu, J., et al.: A knowledge-aware attentional reasoning network for recommendation. In: National Conference on Artificial Intelligence Association for the Advancement of Artificial Intelligence (2020)

    Google Scholar 

  22. Su, Y., Zhang, R., Erfani, S., Xu, Z.: Detecting beneficial feature interactions for recommender systems. In: Proceedings of the 34th AAAI Conference on Artificial Intelligence (AAAI) (2021)

    Google Scholar 

  23. Tishby, N., Pereira, F., Bialek, W.: The Information Bottleneck Method. arXiv preprint physics/0004057

    Google Scholar 

  24. Louizos, C., Welling, M., Kingma, D.: Learning Sparse Neural Networks through L_0 Regularization. arXiv preprint/1712 01312

    Google Scholar 

  25. Xiao, J., Ye, H., He, X., et al.: Attentional factorization machines: learning the weight of feature interactions via attention networks. In: proceedings of the Twenty-Sixth International Joint Conference on Artificial Intelligence (IJCAI), pp. 3120–3125 (2017)

    Google Scholar 

  26. He, X., Chua, T.: Neural factorization machines for sparse predictive analytics. In: Proceedings of the 40th International ACM SIGIR conference on Research and Development in Information Retrieval, Aug, pp. 355–364 (2017)

    Google Scholar 

  27. Guo, H., Tang, R., Ye, Y., Li, Z., He, X.: DeepFM: A Factorization-Machine based Neural Network for CTR Prediction. arXiv preprint arXiv:1703 04247

    Google Scholar 

  28. Chen, W., Zhan, L., Ci, Y., et al.: FLEN: Leveraging Field for Scalable CTR Prediction. arXiv preprint arXiv:1911 04690

    Google Scholar 

  29. Wang, R., Fu, B., Fu, G., et al.: Deep&Cross Network for Ad Click Predictions. In: Proceedings of the ADKDD’17, August, pp. 1–7 (2017)

    Google Scholar 

Download references

Acknowledgment

Our work is supported by the National Natural Science Foundation of China (No. 61873316, 61872139, 61832014, and 61702181), the National Key R&D Program of China (No.2018YFB1402800), Hunan Provincial Natural Science Foundation of China under grant No. 2021JJ30274, and the Educational Commission of Hunan Province of China (No.20B244). Buqing Cao is the corresponding author of this paper.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Buqing Cao .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2022 ICST Institute for Computer Sciences, Social Informatics and Telecommunications Engineering

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Wang, S., Cao, B., Xie, X., Zhang, L., Kang, G., Liu, J. (2022). An API Recommendation Method Based on Beneficial Interaction. In: Gao, H., Wang, X., Wei, W., Dagiuklas, T. (eds) Collaborative Computing: Networking, Applications and Worksharing. CollaborateCom 2022. Lecture Notes of the Institute for Computer Sciences, Social Informatics and Telecommunications Engineering, vol 460 . Springer, Cham. https://doi.org/10.1007/978-3-031-24383-7_4

Download citation

  • DOI: https://doi.org/10.1007/978-3-031-24383-7_4

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-031-24382-0

  • Online ISBN: 978-3-031-24383-7

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics