• No results found

An Improved Collaborative Filtering Algorithm Based on RLPSO

N/A
N/A
Protected

Academic year: 2020

Share "An Improved Collaborative Filtering Algorithm Based on RLPSO"

Copied!
5
0
0

Loading.... (view fulltext now)

Full text

(1)

2017 2nd International Conference on Artificial Intelligence and Engineering Applications (AIEA 2017)

ISBN: 978-1-60595-485-1

An Improved Collaborative Filtering Algorithm

Based on RLPSO

YONGLI YANG, ZHENHU NING, YONGQUAN CAIC FEI XUE, SHIQIANG ZHANG and HAIFENG LIU

ABSTRACT

Confront of the large amount of data generated by the Internet and how to make the inherent advantages. The recommendation system is widely used as a means of making effective use of large data and is followed by the people. Collaborative filtering recommendation algorithm cannot avoid the bottleneck of computing performance problems in the recommendation process. In this paper, we propose an improved collaborative filtering recommendation algorithm RLPSO_KM_CF. Firstly, the RLPSO (Reverse-learning and local-learning PSO) algorithm is used to find the optimal solution of particle swarm and output the optimized clustering center. Then, the RLPSO_KM algorithm is used to cluster the user information. Finally, the traditional collaborative filtering algorithm is combined with RLPSO_KM clustering to effectively recommend the target user. The experimental results show that the RLPSO_KM_CF algorithm has a significant improvement in the recommended accuracy and has a higher stability.

KEYWORDS

Collaborative Filtering Algorithm, RLPSO Algorithm, K-means Algorithm.

INTRODUCTION

Recommendation system played an important role in the video, news, social network, music, books, electricity business and other fields as a way to make effective use of large data with the rapid development of information technology [1]. In terms of collaborative filtering, it can be divided into user-based and item-based recommendations.

_________________________________________

Yongli Yang, Faculty of Information Technology, Beijing University of Technology, Beijing 100124, China; [email protected]

Corresponding author: Zhenhu Ning, Faculty of Information Technology, Beijing University of Technology, Beijing 100124, China [email protected]

Yongquan Cai, Faculty of Information Technology, Beijing University of Technology, Beijing 100124, China; [email protected]

Fei Xue, School of Information, Beijing Wuzi University, Beijing 101149, China; [email protected]

Shiqiang Zhang, Faculty of Information Technology, Beijing University of Technology, Beijing 100124, China [email protected]

(2)

Machine Learning Model that concluded LFM, ALS, Limited Boltzmann Machine[2] and a series of model-based recommendation algorithm is also increasing in the development of artificial intelligence today[3].

However, despite the recommendation system have attracted much attention in the enterprise and the Internet. But there are other issues like cold start, sparseness and for ZB-level data on how to quickly deal with in the recommendation process. The user and project information are clustered to form several user-project subgroups and the experiment shows that the accuracy of the proposed algorithm is improved compared with the original algorithm [4]. The authors in [5] propose the algorithm based on the combination of temporal behavior and probability matrix decomposition. The algorithm accurately identifies the user's personal interest and effectively improves the recommendation accuracy. The hierarchical weighted similarity is introduced to measure the similarity of users at different levels in order to select the neighboring users of the target that can significantly improve the scoring effect [6]. Through the time factor to make up for the user's preferences change, training model separate from prediction phase, and the time series of the user is applied to the prediction phase without increasing the complexity of the training model to improve the recommended accuracy[7]. The work in [8] defines the candidate neighbors through the development of distributed scoring management strategy and to ensure the recommendation mechanism to quickly locate candidate neighbors by building the index. So predict the target user's top-N recommendation set in the cloud computing environment. The results show that the algorithm improves the recommendation accuracy and effectiveness. Confront of these problems that processing of data in the recommendation system and the bottleneck problem of computing speed. At the same time, the collaborative filtering recommendation algorithm user's neighbor refers to all users. However, users with higher similarity are clearly more valuable than other users. So this paper proposes RLPSO_KM_CF collaborative filtering recommendation algorithm.

RLPSO_KM_CF ALGORITHM BASED ON RLPSO

The RLPSO algorithm is an improved PSO algorithm [9] which performs local search by the difference of the historical position of the particle swarm. And the algorithm introduces the inverse learning sub-particle swarm avoids the premature convergence [10].

Clustering algorithms are followed in the field of data mining and artificial intelligence, K-means algorithm [11] is also popular, which the input value is the number of clustering k and n data objects used, the output value is k clustering datasets.

This paper first introduces the RLPSO_KM algorithm which is described below. Then the RLPSO_KM algorithm is used to cluster the user information. Then, the traditional cooperative filtering algorithm [12] is combined with the RLPSO_KM cluster to effectively recommend the target user.

(3)

mix, the minimum inertia weight man, the disturbance coefficient d0, the time factor H0, the maximum particle flying velocity vamp.

Output: Optimized k clustering centers. Begin

Step 1: Initialize the particle swarm. From the Datasets D randomly selected k data items as the particle position and velocity of each dimension of the initial value and loop this process N times;

Step 2: Initialize the particle swarm optimal position and suboptimal position. Calculate the fitness value of each particle in the particle group by using fitness formula to select the initial value of the optimal and suboptimal position of the particle population;

Step 3: Initialize the worst particle swarm W;

Step 4: Iterate search for particles; While (t< tmax ||ρ<10e-6)

A. Adjust ω according to the weight adjustment formula;

B. Update the particle position and velocity under the position and speed update formula;

C. Calculate f(x) for each particle in the light of the fitness formula; D. Update the optimal particle value;

E. Update Pg1 and Pg2;

F. Local search under the search formula;

G. Adjust d0 in line with the perturbation coefficient formula;

H. If meet the reverse learning conditions (the algorithm local convergences or reaches the thresholds) adjust the vamp;

h1. Update the speed and position of the reverse learning particle according to the reverse learning speed and position formula;

h2. Update the position and velocity of the remaining particles in reverse learning according to the position and speed update formula of the reverse learning;

End If

I. Calculate ρ according to convergence function; J. if (ρ> thresholds)

Break; K.t ++; End While

Step 5: Output the optimal solution of the particle swarm;

Step 6: Run the K-means clustering algorithm and output the optimized clustering centers;

End

EXPERIMENTS AND RESULTS

The Experimental Environment and Parameter Settings

(4)

improved Top-N clustering collaborative filtering recommendation algorithm KCF, and the RLPSO_KM_CF algorithm. The RLPSO_KM clustering algorithm is used to divide the users into 2, 3, 4, 5, 6, 7 and 8 clusters, and the traditional user-based collaborative filtering recommendation algorithm is applied to each cluster in each time. Finally, calculate the average recall rate and MAE value.

Experiments Results

[image:4.612.89.507.326.707.2]

Table 1 is the recall rate of the RLPSO_KM_CF algorithm when the number of clusters is different. Among them, when the number of clusters is 1, RLPSO_KM_CF algorithm is the traditional UserCF algorithm. When the iterations are about 25, the recall rate basically has achieved the maximum. When the clustering factor k is 4 and the iterations are about 15, the algorithm is obviously convergent, and the recall rate is 0.117136. Compared with the traditional collaborative filtering algorithm, RLPSO_KM_CF algorithm is improved by 3.2%, which is 1.1% higher than the KCF algorithm. But the algorithm recommended accuracy will decline when the number of users who calculate the similarity with the target user will decrease as the clustering factor increases.

TABLE 1. RECALL RATE.

5 10 15 20 25 30 35 40 45

User-CF 0.113911 0.113911 0.113911 0.113911 0.113911 0.113911 0.113911 0.113911 0.113911

P=1 0.114125 0.114125 0.114125 0.114125 0.114125 0.114125 0.114125 0.114125 0.114125

P=2 0.114253 0.114568 0.115103 0.115458 0.115914 0.116102 0.116102 0.116102 0.116102

P=3 0.115106 0.115364 0.115587 0.115986 0.116513 0.116324 0.116324 0.116324 0.116324

P=4 0.116332 0.116946 0.117136 0.117136 0.117136 0.117136 0.117136 0.117136 0.117136

P=5 0.115876 0.116648 0.116796 0.116843 0.116984 0.116854 0.116948 0.116948 0.117106

P=6 0.115536 0.115874 0.115968 0.116205 0.116532 0.116314 0.116103 0.116002 0.116006

P=7 0.115369 0.115524 0.115698 0.115859 0.115836 0.115795 0.115568 0.115869 0.115597

P=8 0.114863 0.114962 0.115164 0.115568 0.115502 0.115548 0.115256 0.115368 0.115568

(5)

Fig 1 shows the MAE curve drawn under the 1M data set of the Movie Lens. It can be clearly seen that the MAE value of the RLPSO_KM_CF algorithm is the fastest when the clustering factor increases at the beginning of the experiment. When the clustering factor is 4, The MAE value of RLPSO_KM_CF is the smallest, and the result is the best. With the clustering factor increases the MAE value gradually increases after decreasing from Fig 1. This also shows that the target user neighborhood set is relatively small and the recommendation precision is reduced with the increase of the clustering factor.

CONCLUSION

Users with higher similarity are clearly more valuable than other users. So this paper proposes RLPSO_KM_CF collaborative filtering recommendation algorithm. The RLPSO_KM algorithm is used to cluster the user information, and the traditional collaborative filtering algorithm is combined with the RLPSO_KM cluster to effectively recommend the target user. We can consider choosing some clustering algorithms suitable for sparse matrix and traditional cooperative filtering algorithm in the face of cold start problem and scarcity of scoring matrix in the future research.

ACKNOWLEDGEMENTS

Corresponding author: Zhenhu Ning, Faculty of Information Technology, Beijing University of Technology, Beijing 100124, China [email protected].

REFERENCES

1. Ricci F., Rokach L., Shapira B. Introduction to Recommender Systems Handbook [M]//

Recommender Systems Handbook. Springer US, 2011:1-35.

2. Salakhutdinov R., Mnih A., Hinton G. Restricted Boltzmann machines for collaborative filtering [C]// International Conference on Machine Learning. ACM, 2007: 791-798.

3. Zhenhua Huang, Jiawen Zhang, Chunqi Tian, et al.Study on recommendation algorithm based on

sorting learning [J]. Journal of Software, 2016, 27(3): 691-713.

4. Xu B., Bu J., Chen C., et al. An exploration of improving collaborative recommender systems via user-item subgroups [C]// 2012: 21-30.

5. Guangfu Sun, Le Wu, Qi Liu, et al. Cooperative filtering recommendation algorithm Based on timing behavior [J]. Journal of Software, 2013(11): 2721-2733.

6. Wenqiang Li, HongJi Xu, Mingyang Ji, Zhengzheng Xu, Haiteng Fang. A Hierachy Weighting Similarity Measure to Improve User-Based Collaborative Filtering Algorithm [C]. 2016 2nd IEEE International Conference on Computer and Communications. 2016: 843-846.

7. Sun L., Michael E.I., Wang S., et al. A Time-Sensitive Collaborative Filtering Model in Recommendation Systems [C]// IEEE International Conference on Internet of Things. IEEE, 2016: 340-344.

8. Xun Hu, Xiangwu Meng, Yujie Zhang, et al. A Recommendation Algorithm for Converting Project

Characteristics and Mobile User Trust Relationship [J]. Journal of Software, 2014 (8): 1817-1830. 9. Kenndy J., Eberhart R.C., Particle swarm optimization//Proceedings of the IEEE International

Conference on Neural Networks. Piscataway, USA, 1995, 4: 1942-1948.

10. Xuewen Xia, Jingnan Liu, Kefu Gao, Et al. Particle swarm optimization with reverse learning and local learning ability [J]. Journal of Computers, 2015(7): 1397-1407.

11. Arora G., Kumar A., Devre G.S., et al. Movie Recommendation System Based on User’s Similarity [J]. International Journal of Computer Science and Mobile Computing, 2014, 3(4): 765-770.

12. JiaWei Han Micheline Kamber Jian Pei.Data Mining Concepts and Techniques Thrid Edition [M].

Figure

TABLE 1. RECALL RATE.

References

Related documents

In order to overcome the shortcomings of traditional method of similarity calculation, optimization of rating similarity, individual tendency, confidence level and

We present a Collaborative Filtering recommender system based on the traditional Matrix Factorization which incorporates items’ contextual information in order to

The collaborative filtering uses the given large amount of user feedbacks such as ratings, clicks purchases, etc., collaborative filtering algorithm works by discovering the

Data Sparcity : Large datasets are used for recommender system in which user item matrix used by collaborative filtering will be vey large and sparse and

To compare the efficiency of the two algorithms, during the performance comparison of traditional recommendation algorithm and SVM-based collaborative filtering in the paper,

Through numerous experimental schemes, this paper analyzes the overall performance of collaborative filtering advice set of rules primarily based on person score distinction and

A significant role is play by a Collaborative Filtering (CF) methods in the recommendation process and because of that Collaborative filtering is most extensively used

Abstract—the most common technique used for recommendations is collaborative filtering. Recommender systems based on collaborative filtering predict user preferences for products