Abstract
Both the functional properties and the non-functional properties (known as quality of service, QoS) should be considered when recommending services. In mobile environment, the services are referred to under different contexts. Context-aware collaborative filtering is often employed to predict the QoS of candidate services when a user submits a service request. Existing collaborative filtering based methods seldom analyze the actual impact of each context property on the QoS properties in context-similarity mining. To address the problem, we propose a QoS prediction method based on the context-QoS association mining in this paper. The method is composed of two steps. We firstly propose an algorithm to mine the association between the context and the QoS properties. Then, a QoS prediction approach is proposed by taking the association and the context similarity into consideration. To study the effectiveness of our approach, we experiment on real world dataset. Experimental results show that our proposed method can improve the accuracy of QoS prediction.
Access provided by CONRICYT-eBooks. Download conference paper PDF
Similar content being viewed by others
Keywords
1 Introduction
With the increase of the Web service providers, more and more Web services continue to be published. Therefore, many services could meet the functional requirements of the user. As a result, the user tends to prefer the Web service with the best Quality of Service performance [1]. QoS has become the key factor in service selection and service recommendation [2].
Collaborative filtering is widely used in QoS prediction by many Web services recommendation methods [3, 4]. Collaborative filtering is a very effectiveness mechanism in selecting the service with the optimal QoS values. In early collaborative filtering-based approaches, the contexts when the service is invoked are rarely taken care of.
In mobile environment, the services are referred to under different context. The QoS performance varies when the mobile Web service is invoked under different context. The context properties should be considered in QoS prediction for a specific user [5, 6]. Context-aware collaborative filtering-based methods are proposed to address the problem [7]. These web service QoS prediction methods work by collecting user observed QoS records and matching together users who invoke the web services under similar context. In others words, the users who refer to the service under similar context would have similar QoS experiences. Therefore, the QoS values are predicted based on the QoS data of the users with similar context.
However, current context-aware collaborative filtering-based methods assume that the QoS values are affected by many context properties [8]. Actually, some context properties may have strong correlation to the Web service QoS performance, while other context properties may have weak or no correlation to QoS performance. However, current methods are lack of accurate association analysis.
To address the problem, we propose a context-aware QoS prediction approach based on context-QoS association mining (QPAM). Our approach mainly consists of two steps. Firstly, we mine the association between the context properties and the QoS properties as a fundamental step for further work of QoS prediction. Secondly, we predict the QoS values of candidate service for current user based on the results of step 1. We filter out the irrelevant context properties so that the accuracy of prediction would not be affected. We experiment on real world dataset to study the effectiveness of our method. Experimental results show that our proposed method can improve the accuracy of QoS prediction.
The main contribution of this paper includes: (1) context-QoS mining to get the relevant context properties and filter out the irrelevant context properties. (2) a context-aware QoS prediction approach based on Context-QoS association mining to improve accuracy of QoS prediction.
The rest of paper is organized as follows. Section 2 introduces the related work. Section 3 defines some notations and describes the overview of our method. Section 4 describes the technical detail of our method. Section 5 shows the experimental results. Section 6 concludes the whole paper and presents future work finally.
2 Related Work
Considering that there are plenty of functionally equivalent candidates, the QoS performance plays a vital role in service selecting. A large number of QoS-aware methods has been employed in service recommendation [9]. Chen et al. [10] introduced a map containing visualized information regarding QoS among the recommended services, so that the service consumers can understand the service performance better.
The definitions of context and context-awareness are various. Dey [11] defined context as an information such as location, date, time, nearby things and nearby people and the situation of an entity is characterized by the information. The Web service QoS performance has strong correlation to some user contexts i.e. time interval, location. And they take the user contexts into account when predicting QoS values and selecting the optimal Web services. Chen et al. [12] proposed a LoRec (location-aware Web service recommender) system by employing the location information to improve the accuracy of the QoS prediction. Yu et al. [8] presented a time-aware Collaborative Filtering algorithm to predict the QoS values, by calculating the similarity between service users and candidates at different time intervals. Tang et al. [13] proposed a collaborative filtering algorithm base on location awareness to recommend Web services to the current user. Yu presented that the picture conversion service has low QoS performance at the intervals during which a discount is provided [8]. Tang presented that weather forecast services has relationship with the location so it is helpful to recommend the current user services through users with similar locations [13].
The service recommendation methods based on context-awareness are usually combined with the CF (collaborative filtering)–based methods.CF finds similar users or items and recommend items by employing information from them to the current user [14]. Zheng et al. [3] presented a collaborative filtering method based on the past experiences of collaborative service users by employing data from similar service users who have similar experience with the current service user. Jiang et al. [15] described an algorithm combining personalized user-based and item-based collaborative filtering called PHCF (Personalized Hybrid Collaborative Filtering) to recommend the current service user the optimal Web services accurately.
The above methods only assume that the QoS values are affected by many context properties. Actually, some context properties may have strong correlation to the Web service QoS performance, while other context properties may have weak or no correlation to QoS performance. There, current methods are lack of accurate association analysis. We will address the problem in this paper.
3 Overview
3.1 Problem Definition
Definition 1:
Service.
\( Service \,set S = \left\{ { s_{1} , s_{2} , \cdots , s_{k} } \right\} \) is a set of functional equivalent mobile services that meets the need of the current user. The service set contains \( k \) services.
Definition 2:
Users.
\( User \,U = \left\{ { u_{1} , u_{2} , \cdots , u_{l} } \right\} \) is a set of users that have invoked services at least once. The user set contains \( l \) users.
Definition 3:
QoS properties.
\( QoS\,properties \,Q = \left\{ { q_{1} ,\,q_{2} , \cdots ,\,q_{m} } \right\} \) is a set of quality properties that is invoked by service users. Q contains \( m \) properties.
Definition 4:
Context properties.
\( Context\,C = \left\{ { c_{1} , c_{2} , \cdots , c_{n} } \right\} \) is the set of context attributes of users that has invoked at least one services in S. The set contains \( n \) context properties. Context properties include location, time, season, temperature, network environment etc.
Definition 5:
Record.
\( R_{ij} = \left\{ { < \left( {q_{1}^{ij} ,\,q_{2}^{ij} , \cdots ,\,q_{m}^{ij} } \right),\,\left( {c_{1}^{ij} ,\,c_{2}^{ij} , \cdots ,\,c_{n}^{ij} } \right) > } \right\} \) is the set of historical service invocation records. \( R_{ij} \) is the service invocation record of \( s_{i} \) is invoked by \( u_{j} \).
3.2 Framework of Our Method
Figure 1 shows the framework of our method. Our method mainly consists of two phases. The first phase is context-QoS association mining. This phase consists of two sub-phases: QoS-based service clustering and association mining. The second phase is QoS prediction based on mining results. This phase also consists of two sub-phases: properties filtering and QoS prediction.
We will describe the technical detail of our proposed method in the next section.
4 Methodology
4.1 Context-QoS Association Mining
In this section, we analyze the association between each QoS property and each context property. Suppose \( R_{i} \) denotes all records that are related to service \( s_{i} \). We now cluster the records based on QoS. To cluster the records, the distance between two records \( R_{i1} \) and \( R_{i2} \) on QoS property \( q_{j} \) can be calculated by the following:
Based on the calculation of distance between two records, we now mine the invocation records to obtain the context-QoS association. The algorithm is illustrated in Algorithm 1. Firstly, we cluster all records of a specific service \( s_{i} \) in the candidate services by using K-means clustering. Then, for each context property \( c_{k} \), we calculate the overlapping degree between any two clusters \( g_{1} \) and \( g_{2} \). The values of the context property \( c_{k} \) are divided into a group of interval partitions \( {\text{P}} = \left\{ {p_{1, } p_{2} , p_{3} \ldots } \right\} \). We now construct a vector \( V_{gn} = \left\{ {v_{gn}^{1} , v_{gn}^{2} , \ldots } \right\} \) for each cluster \( g_{n} \). The value of \( v_{gn}^{1} \) is the number of records \( R_{gn} \) in \( g_{n} \) that the value of \( R_{gn} .c_{k} \) belongs to \( p_{1} \). We define the overlapping degree between any two clusters to measure the similarity between them. The overlapping degree is based on calculating vector similarity of two clusters. The overlapping degree between any two clusters \( g_{1} \) and \( g_{2} \) is calculated by the following:
After we calculate the overlapping degree between any two clusters. Then, we calculate the average overlapping degree \( \overline{d} \) of service \( S_{i} \) based on Eq. (7). The weight \( \varpi_{mn} \) of the overlapping degree between any two clusters is calculated in Eq. (8). If the average overlapping degree is smaller than \( \sigma \), we consider the context property has impact on the QoS. Otherwise, the context property has no impact on the QoS.
Through context-QoS association mining, we can obtain CI = {ci 1 ,ci 2 ,…,ci max }. As we known, CI is a set of context properties that has impact on QoS property q i .
4.2 QoS Prediction
After obtain the context-QoS association, the context properties that have impact on QoS are utilized for service recommendation. Euclidean distance is adopted by us to calculate The distance between two records \( r_{1} \) and \( r_{2} \) based on context properties. The distance between \( r_{1} \) and \( r_{2} \) in max context property dimensions is calculated by the following:
Based on the calculation of distance between two services, we cluster all candidate services by using K-means clustering to predict the QoS values.
The algorithm consists of the following steps:
- Step 1: :
-
Construct a virtual record Rv. The \( CI\psi \) values of \( Rv\psi \) are assigned according to the context environment of current user. Add \( Rv\psi \) to WSR.
- Step 2: :
-
Select \( k\psi \) records from \( WSR\psi \) as the centroids.
- Step 3: :
-
Assign each record in the set \( WSR\psi \) to the nearest centroid.
- Step 4: :
-
\( k\psi \) new centroids are calculated based on the clusters obtained from the previous step.
- Step 5: :
-
Repeat steps 2 and 3 until all sub-clusters are stable. In other words, all centroids no longer move.
- Step 6: :
-
Search for the sub-cluster C which \( Rv\psi \) belongs to.
- Step 7: :
-
The average values on q i of the records in C is the prediction results.
Through the above seven steps, we can predict the QoS values.
5 Experiment
5.1 Experimental Setup
A set of experiments are conducted on the dataset WSDream published by Z. Zheng et al. Because we are the first to mine the context-QoS association, we compare our method with the RANDOM method. RADNOM refers to a set of methods that lack accurate association analysis when predicting the value of each QoS property based the context aware collaborative filtration, such as location-aware method [13] etc. Different from our method, RANDOM randomly decides whether a QoS property is affected by a context property. We use AE (the average error) to evaluate the QoS prediction accuracy. The definition of AE is demonstrated by the following:
where \( q_{prediction} \) denotes the predicted value of the QoS property \( q_{j} \) and \( q_{real} \) denotes the actual value of the QoS attribute \( q_{j} \). \( \sigma \) is set to 0.4 in our experiments.
5.2 Performance Evaluation
We randomly select 12 services from WSDream for response-time prediction and select 12 services from WSDream for throughout prediction. For each service, the related records store the response-time, the throughout, the time, and the interval ID etc. The records are divided into two sets: the training set and the test set.
Figure 2 shows the AE of the response-time prediction. Figure 3 shows the AE of the throughout prediction. It is evident that our method can reduce the prediction error based on mining the association between each QoS property and each context property. RANDOM randomly decides whether a QoS property is affected by a context property. There is a higher chance that an important context property is ignored or an irrelevant context property is taken into consideration. Therefore, our method show a higher accuracy.
6 Conclusion and Future Work
We proposed a mobile service recommendation approach based on context-QoS association mining. The approach employs a context-QoS association mining algorithm and a recommendation algorithm to improve the accuracy of context-aware QoS prediction. The experiment results on WS-Dream dataset show the proposed method improves predictive accuracy and outperforms the compared methods.
Our future work will include (1) introduce other factors (trust, social information) to achieve better accuracy of recommendation; and (2) employ user preference to provide personalized services recommendation.
References
Ma, Y., Wang, S., Yang, F., Chang, R.N.: Predicting QoS values via multi-dimensional QoS data for web service recommendations. In: 2015 IEEE 22nd International Conference on Web Services, pp. 249–256 (2015)
Tao, C.H., Feng, Z.Y.: Novel QoS-aware web service recommendation model. Appl. Res. Comput. 27, 3898–3902 (2010)
Zheng, Z., Ma, H., Lyu, M.R., King, I.: QoS-aware web service recommendation by collaborative filtering. IEEE Trans. Serv. Comput. 4, 140–152 (2011)
Wu, X., Cheng, B., Chen, J.: Collaborative filtering service recommendation based on a novel similarity computation method. IEEE Trans. Serv. Comput. 5, 1–11 (2015)
Xiao, H., Zou, Y., Ng, J., Nigul, L.: An approach for context-aware service discovery and recommendation. In: 2010 IEEE 17th International Conference on Web Services, pp. 163–170 (2010)
Liu, D., Meng, X.W., Chen, J.L.: A framework for context-aware service recommendation. In: 2008 IEEE 10th International Conference on Advanced Communication Technology, pp. 2131–2134 (2008)
Kuang, L., Xia, Y., Mao, Y.: Personalized services recommendation based on context-aware QoS prediction. In: 2012 IEEE 19th International Conference on Web Services, pp. 400–406 (2012)
Yu, C., Huang, L.: Time-aware collaborative filtering for QoS-based service recommendation. In: 2014 IEEE 21st International Conference on Web Services, pp. 265–272 (2014)
Moraru, A., Fortuna, C., Fortuna, B., Slavescu, R.R.: A hybrid approach to QoS-aware web service classification and recommendation. In: 2009 IEEE 5th International Conference on Intelligent Computer Communication and Processing, pp. 343–346 (2009)
Chen, X., Zheng, Z., Liu, X., Huang, Z., Sun, H.: Personalized QoS-aware web service recommendation and visualization. IEEE Trans. Serv. Comput. 6, 35–47 (2013)
Dey, A.K.: Providing architectural support for building context-aware applications. Elementary Education, 25, pp. 106–111 (2000)
Chen, X., Zheng, Z., Yu, Q., Lyu, M.R.: Web service recommendation via exploiting location and QoS information. IEEE Trans. Parallel Distrib. Syst. 25, 1913–1924 (2014)
Tang, M., Jiang, Y., Liu, J., Liu, X.: Location-aware collaborative filtering for QoS-based service recommendation. In: 2012 IEEE 19th International Conference on Web Services, pp. 202–209 (2012)
Herlocker, J.L., Konstan, J.A., Borchers, A., Riedl, J.: An algorithmic framework for performing collaborative filtering. In: International ACM SIGIR Conference on Research & Development in Information Retrieval, pp. 230–237 (1999)
Jiang, Y., Liu, J., Tang, M., Liu, X.: An effective web service recommendation method based on personalized collaborative filtering. In: 2013 IEEE 20th International Conference on Web Services, pp. 211–218 (2013)
Acknowledgment
This work was supported by Science and Technology on Information Transmission and Dissemination in Communication Networks Laboratory. The research was supported by NSFC (61571066).
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2017 ICST Institute for Computer Sciences, Social Informatics and Telecommunications Engineering
About this paper
Cite this paper
Hu, Y., Sun, Q., Li, J. (2017). QoS Prediction Based on Context-QoS Association Mining. In: Wang, S., Zhou, A. (eds) Collaborate Computing: Networking, Applications and Worksharing. CollaborateCom 2016. Lecture Notes of the Institute for Computer Sciences, Social Informatics and Telecommunications Engineering, vol 201. Springer, Cham. https://doi.org/10.1007/978-3-319-59288-6_29
Download citation
DOI: https://doi.org/10.1007/978-3-319-59288-6_29
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-319-59287-9
Online ISBN: 978-3-319-59288-6
eBook Packages: Computer ScienceComputer Science (R0)