skip to main content
10.1145/3373017.3373034acmotherconferencesArticle/Chapter ViewAbstractPublication PagesacswConference Proceedingsconference-collections
research-article

Attentional Matrix Factorization with Document-context awareness and Implicit API Relationship for Service Recommendation

Published: 04 February 2020 Publication History

Abstract

The rapid development of the mashup approach significantly plays a pivot role in building Web-based and mobile applications. Easy accessibility of data and functions are the main advantages for programmers to develop mashups from abundant sources of APIs. However, it simultaneously brings more difficulties to choose suitable APIs for a mashup, especially when the historical relations between APIs and mashups are very sparse. Existing probabilistic matrix factorization (PMF) recommender systems can effectively exploit the latent features of the invocations with the same weight. However, not all features are equally significant and predictive, and the useless features may bring noises to the model. Also, many current works explored the influence of mashups’ relationships, but few of them sheds lights on the relationship between APIs and their contextual interaction, which can be mined from their content description. This paper improves the PMF model by distinguishing the importance of latent feature interactions. We present an Attentional PMF model, which leverages a neural attention network to learn the significance of feature interactions and uses Doc2Vec technique for mining the contextual information. We also exploit the relationship between APIs from both their contextual similarities and invocation history and add them to the prediction model as a regularization part. Our experiments are performed with datasets from ProgrammableWeb. The results show that our model significantly outperforms some state-of-art recommender systems in mashup service applications.

References

[1]
David M Blei, Andrew Y Ng, and Michael I Jordan. 2003. Latent dirichlet allocation. Journal of machine Learning research 3, Jan (2003), 993–1022.
[2]
Jesús Bobadilla, Fernando Ortega, Antonio Hernando, and Abraham Gutiérrez. 2013. Recommender systems survey. Knowledge-based systems 46 (2013), 109–132.
[3]
C Buqing, Mingdong Tang, and Xing Huang. 2014. Cscf: A mashup service recommendation approach based on content similarity and collaborative filtering. International Journal of Grid & Distributed Computing 7, 2 (2014).
[4]
Jingyuan Chen, Hanwang Zhang, Xiangnan He, Liqiang Nie, Wei Liu, and Tat-Seng Chua. 2017. Attentive collaborative filtering: Multimedia recommendation with item-and component-level attention. In Proceedings of the 40th International ACM SIGIR conference on Research and Development in Information Retrieval. ACM, 335–344.
[5]
Yehuda Koren. 2010. Factor in the neighbors: Scalable and accurate collaborative filtering. ACM Transactions on Knowledge Discovery from Data (TKDD) 4, 1(2010), 1.
[6]
Quoc Le and Tomas Mikolov. 2014. Distributed representations of sentences and documents. In International conference on machine learning. 1188–1196.
[7]
Guang Ling, Michael R Lyu, and Irwin King. 2014. Ratings meet reviews, a combined approach to recommend. In Proceedings of the 8th ACM Conference on Recommender systems. ACM, 105–112.
[8]
Carmen Martinez-Cruz, Carlos Porcel, Juan Bernabé-Moreno, and Enrique Herrera-Viedma. 2015. A model to represent users trust in recommender systems using ontologies and fuzzy linguistic modeling. Information Sciences 311(2015), 102–118.
[9]
Tomas Mikolov, Kai Chen, Greg Corrado, and Jeffrey Dean. 2013. Efficient estimation of word representations in vector space. arXiv preprint arXiv:1301.3781(2013).
[10]
Andriy Mnih and Koray Kavukcuoglu. 2013. Learning word embeddings efficiently with noise-contrastive estimation. In Advances in neural information processing systems. 2265–2273.
[11]
Andriy Mnih and Ruslan R Salakhutdinov. 2008. Probabilistic matrix factorization. In Advances in neural information processing systems. 1257–1264.
[12]
Hafida Naïm, Mustapha Aznag, Nicolas Durand, and Mohamed Quafafou. 2016. Semantic pattern mining based web service recommendation. In International Conference on Service-Oriented Computing. Springer, 417–432.
[13]
Chanyoung Park, Donghyun Kim, Jinoh Oh, and Hwanjo Yu. 2016. Improving top-K recommendation with truster and trustee relationship in user trust network. Information Sciences 374(2016), 100–114.
[14]
Md Mahfuzer Rahman, Xiaoqing Liu, and Buqing Cao. 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). IEEE, 225–232.
[15]
Horst Rinne. 2008. The Weibull distribution: a handbook. Chapman and Hall/CRC.
[16]
Jun Xiao, Hao Ye, Xiangnan He, Hanwang Zhang, Fei Wu, and Tat-Seng Chua. 2017. Attentional factorization machines: Learning the weight of feature interactions via attention networks. arXiv preprint arXiv:1708.04617(2017).
[17]
Lina Yao, Quan Z Sheng, Anne HH Ngu, Jian Yu, and Aviv Segev. 2014. Unified collaborative and content-based web service recommendation. IEEE Transactions on Services Computing 8, 3 (2014), 453–466.
[18]
Lina Yao, Xianzhi Wang, Quan Z Sheng, Boualem Benatallah, and Chaoran Huang. 2018. Mashup recommendation by regularizing matrix factorization with API co-invocations. IEEE Transactions on Services Computing(2018).
[19]
Yang Zhong, Yushun Fan, Wei Tan, and Jia Zhang. 2016. Web service recommendation with reconstructed profile from mashup descriptions. IEEE Transactions on Automation Science and Engineering 15, 2(2016), 468–478.

Cited By

View all
  1. Attentional Matrix Factorization with Document-context awareness and Implicit API Relationship for Service Recommendation

    Recommendations

    Comments

    Information & Contributors

    Information

    Published In

    cover image ACM Other conferences
    ACSW '20: Proceedings of the Australasian Computer Science Week Multiconference
    February 2020
    367 pages
    ISBN:9781450376976
    DOI:10.1145/3373017
    Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

    Publisher

    Association for Computing Machinery

    New York, NY, United States

    Publication History

    Published: 04 February 2020

    Permissions

    Request permissions for this article.

    Check for updates

    Author Tags

    1. attention network
    2. contextual interaction
    3. invocation
    4. recommender systems

    Qualifiers

    • Research-article
    • Research
    • Refereed limited

    Conference

    ACSW '20
    ACSW '20: Australasian Computer Science Week 2020
    February 4 - 6, 2020
    VIC, Melbourne, Australia

    Acceptance Rates

    Overall Acceptance Rate 61 of 141 submissions, 43%

    Contributors

    Other Metrics

    Bibliometrics & Citations

    Bibliometrics

    Article Metrics

    • Downloads (Last 12 months)9
    • Downloads (Last 6 weeks)0
    Reflects downloads up to 22 Dec 2024

    Other Metrics

    Citations

    Cited By

    View all

    View Options

    Login options

    View options

    PDF

    View or Download as a PDF file.

    PDF

    eReader

    View online with eReader.

    eReader

    HTML Format

    View this article in HTML Format.

    HTML Format

    Media

    Figures

    Other

    Tables

    Share

    Share

    Share this Publication link

    Share on social media