计算机科学 ›› 2020, Vol. 47 ›› Issue (4): 67-73.doi: 10.11896/jsjkx.190300056

• 数据库&大数据&数据科学 • 上一篇    下一篇

基于评分偏好和项目属性的协同过滤算法

朱磊, 胡沁涵, 赵雷, 杨季文   

  1. 苏州大学计算机科学与技术学院 江苏 苏州215006
  • 收稿日期:2019-03-15 出版日期:2020-04-15 发布日期:2020-04-15
  • 通讯作者: 胡沁涵(huqinhan@suda.edu.cn)
  • 基金资助:
    国家自然科学基金项目(61572335),江苏高校优势学科建设工程资助项目

Collaborative Filtering Algorithm Based on Rating Preference and Item Attributes

ZHU Lei, HU Qin-han, ZHAO Lei, YANG Ji-wen   

  1. Department of Computer Science and Technology,Soochow University,Suzhou,Jiangsu 215006,China
  • Received:2019-03-15 Online:2020-04-15 Published:2020-04-15
  • Contact: HU Qin-han,born in 1987,master.His main research interests include machine learning and intelligent information processing technology
  • About author:ZHU Lei,born in 1993,postgraduate.His main research interests include recommender systems and intelligent information processing technology.
  • Supported by:
    This work was supported by the National Natural Science Foundation of China (61572335),Priority Academic Program Development of Jiangsu Higher Education Institutions.

摘要: 针对传统的协同过滤推荐由于数据稀疏性导致物品间相似性计算不准确、推荐准确度不高的问题,文中提出了一种基于用户评分偏好模型、融合时间因素和物品属性的协同过滤算法,通过改进物品相似度度量公式来提高推荐的准确度。首先考虑到不同用户的评分习惯存在差异这一客观现象,引入评分偏好模型,通过模型计算出用户对评分类别的偏好,以用户对评分类别的偏好来代替用户对物品的评分,重建用户-物品评分矩阵;其次基于时间效应,引入时间权重因子,将时间因素纳入评分相似度计算中;然后结合物品的属性,将物品属性相似度和评分相似度进行加权,完成物品最终相似度的计算;最后通过用户偏好公式来计算用户对候选物品的偏好,依据偏好对用户进行top-N推荐。在MovieLens-100K和MovieLens-Latest-Small数据集上进行了充分实验。结果表明,相比已有的经典的协同过滤算法,所提算法的准确率和召回率在MovieLens-100K数据集上提高了9%~27%,在MovieLens-Latest-Small数据集上提高了16%~28%。因此,改进的协同过滤算法能有效提高推荐的准确度,有效缓解数据稀疏性问题。

关键词: 评分偏好, 时间权重, 物品属性, 相似度, 协同过滤

Abstract: Aiming at the impact of data sparsity of traditional collaborative filtering algorithm resulting in inaccuracy of item similarity,this paper proposed an improved collaborative filtering algorithm based on user rating preference model by incorporating time factor and item attributes.The algorithm improves the accuracy by modifying item similarity formula.Firstly,a preference model is introduced by considering the differences of user’s rating habits.A user-item rating matrix is rebuilt by replacing user’s rating of item with the preference for rating class.Then time weight function is designed and put into rating similarity based on time effect.What’s more,item similarity is calculated by incorporating item attributes similarity and rating similarity.Finally,top-N recommendation is completed after calculating user preference for item by the user preference formula.The experiment results suggest that the precision and recall of the proposed algorithm is increased by 9%~27% on the MovieLens-100K dataset and 16%~28% on the MovieLens-Latest-Small dataset than classical approaches.Therefore,the improved algorithm can improve recommendation accuracy and mitigate the problem of data sparsity effectively.

Key words: Collaborative filtering, Item attributes, Rating preference, Similarity, Time weight

中图分类号: 

  • TP311
[1]ISINKAYE F O,FOLAJIMI Y O,OJOKOH B A.Recommendation systems:Principles,methods and evaluation[J].Egyptian Informatics Journal,2015,16(3):261-273.
[2]MOONEY R J,ROY L.Content-based book recommending using learning for text categorization[C]//Proc of the 5th ACM Conference on Digital libraries.New York:ACM Press,2000:195-204.
[3]PHELAN O,MCCARTHY K,BENNETT M,et al.Terms of a feather:Content-based news recommendation and discovery using twitter[C]//Proc of the 33rd European Conference on IR Research.Berlin:Springer,2011:448-459.
[4]ZHU J,HAN L X,GOU Z N,et al.A fuzzy clustering-based denoising model for evaluating uncertainty in collaborative filtering recommender systems[J].Journal of the Association for Information Science and Technology,2018,69(9):1109-1121.
[5]SU X,KHOSHGOFTAAR T M.A survey of collaborative filtering techniques[J].Advances in Artificial Intelligence,2009,2009(4):1-19.
[6]ZHENG L S,YANG S Q,HE J,et al.An optimized collaborative filtering recommendation algorithm[C]//Proc of the 2nd International Conference on Cloud Computing and Internet of Things.Piscataway,NJ:IEEE.2016:89-92.
[7]LINDEN G,SMITH B,YORK J.Amazon.com recommendations:item-to-item collaborative filtering[J].IEEE Internet Computing,2003,7(1):76-80.
[8]HU J.Application and research of collaborative filtering in e-commerce recommendation system[C]//Proc of the 3rd IEEE International Conference on Computer Science and Information Technology.Piscataway,NJ:IEEE Computer Society,2010:686-689.
[9]SILVA E Q D,CAMILO-JUNIOR C G,PA-SCOAL L M L,et al.An evolutionary approach for combining results of recommender systems techniques based on collaborative filtering[J].Expert Systems with Applications,2016,53:204-218.
[10]ZIEGLER C N,LAUSEN G,SCHMIDT-TH-IEME L.Taxonomy-driven computation of product recommendations[C]//Proc of the 13th ACM Conference on Information and Knowledge Management.New York:ACM Press,2004:406-415.
[11]WENG X L,WANG Z J.Research process of collaborative filtering recommendation algorithm[J].Computer Engineering and Applications,2018,54(1):25-31.
[12]DONG Y,ZHAO C,CHENG W,et a1.A personalized recommendation algorithm with user trust in social network[C]//International Conference of Young Computer Scientists,Engineers and Educators.Singapore:Springer,2016:63-76.
[13]ADOMAVICIUS G,TUZHILIN A.Toward the next generation of recommender systems:A survey of the state-of-the-art and possible extensions[J].IEEE Transactions on Knowledge and Data Engineering,2005,17(6):734-749.
[14]CHEN H,LI Z K,HU W.An improved collaborative recommendation algorithm based on optimized user similarity[J].The Journal of Supercomputing,2016,72(7):2565-2578.
[15]PARIVASH P,HWANG D,JUNG J E.Weighted similarity schemes for high scalability in user-based collaborative filtering[J].Mobile Networks and Applications,2015,20(4):497-507.
[16]LIU J,WU W Q,LI X,et al.Collaborative filtering algorithm based on user interest and item properties[J].Computer Applications and Software,2017,34(5):33-37.
[17]LEE J,LEE D,LEE Y C,et al.Improving the accuracy of top-N recommendation using a preference model[J].Information Sciences,2016,348(c):290-304.
[18]XIANG L.Recommender Systems Practice[M].Beijing:Post & Telecom Press,2012:122-123.
[19]GASMI I,SERIDI-BOUCHELAGHEM H,HOCINE L,et al.Collaborative filtering recommendation based on dynamic changes of user interest[J].Intelligent Decision Technologies,2015,9(3):271-281.
[20]WU F,YU L S,FENG M.A collaborative filtering algorithm based on time effect[J].Computer Engineering & Science,2017,39(11):2095-2101.
[21]JIN X,ZHENG Q,SUN L.An optimization of collaborative filtering personalized recommendation algorithm based on time context information[C]//16th International Conference on Informatics and Semiotics in Organisations (ICISO).Singapore:Springer,2015:146-155.
[22]BREESE J E,HECKERMAN D,KADIE C.Empirical analysis of algorithms for collaborative filtering[C]//Proc of the 14th conference on Uncertainty in artificial intelligence.San Francisco:Morgan Kaufmann Publishes Inc,1998:43-52.
[23]LIU J,YONG W,YAN F.An improved collaborative filtering recommendation algorithm[J].Computer Engineering & Applications,2016,32(9):3019-3018.
[24]BADRUL S,GEORGE K,JOSEPH K,et al.Item-based collaborative filtering recommendation algorithms[C]//Proc of the 10th International World Wide Web Conference.New York:ACM Press,2001:285-295.
[25]ZENG A,GAO S C,XU X Q.Collaborative filtering algorithm incorporating time factor and user preference properties[J].Computer Science,2017,44(9):243-249.
[26]JIN R,SI L,ZHAI C X,et a1.Collaborative filtering with decoupled models for preferences and ratings[C]//Proc of the 12th ACM International Conference on Information and Knowledge Management.New York:ACM Press,2003:309-316.
[27]XIAO W Q,YAO S J,WU S M.Improved top-N collaborative filtering recommendation algorithm[J].Application Research of Computers,2018,35(1):105-108,112.
[28]WEI T T,CHEN L,FAN T T,et al.Collaborative filtering recommendation algorithm based on item popularity weighting[J/OL].Application Research of Computers.[2019-01-23].http://kns.cnki.net/kcms/detail/51.1196.TP.20181224.1632.005.html.
[29]KARYPIS G.Evaluation of item-based top-N recommendation algorithms[C]//Proc of the 10th International Conference on Information and Knowledge Management.New York:ACM Press,2001:247-254.
[1] 吴子仪, 李邵梅, 姜梦函, 张建朋.
基于自注意力模型的本体对齐方法
Ontology Alignment Method Based on Self-attention
计算机科学, 2022, 49(9): 215-220. https://doi.org/10.11896/jsjkx.210700190
[2] 程章桃, 钟婷, 张晟铭, 周帆.
基于图学习的推荐系统研究综述
Survey of Recommender Systems Based on Graph Learning
计算机科学, 2022, 49(9): 1-13. https://doi.org/10.11896/jsjkx.210900072
[3] 王冠宇, 钟婷, 冯宇, 周帆.
基于矢量量化编码的协同过滤推荐方法
Collaborative Filtering Recommendation Method Based on Vector Quantization Coding
计算机科学, 2022, 49(9): 48-54. https://doi.org/10.11896/jsjkx.210700109
[4] 柴慧敏, 张勇, 方敏.
基于特征相似度聚类的空中目标分群方法
Aerial Target Grouping Method Based on Feature Similarity Clustering
计算机科学, 2022, 49(9): 70-75. https://doi.org/10.11896/jsjkx.210800203
[5] 李斌, 万源.
基于相似度矩阵学习和矩阵校正的无监督多视角特征选择
Unsupervised Multi-view Feature Selection Based on Similarity Matrix Learning and Matrix Alignment
计算机科学, 2022, 49(8): 86-96. https://doi.org/10.11896/jsjkx.210700124
[6] 孙晓寒, 张莉.
基于评分区域子空间的协同过滤推荐算法
Collaborative Filtering Recommendation Algorithm Based on Rating Region Subspace
计算机科学, 2022, 49(7): 50-56. https://doi.org/10.11896/jsjkx.210600062
[7] 曾志贤, 曹建军, 翁年凤, 蒋国权, 徐滨.
基于注意力机制的细粒度语义关联视频-文本跨模态实体分辨
Fine-grained Semantic Association Video-Text Cross-modal Entity Resolution Based on Attention Mechanism
计算机科学, 2022, 49(7): 106-112. https://doi.org/10.11896/jsjkx.210500224
[8] 黄少滨, 孙雪薇, 李熔盛.
基于跨句上下文信息的神经网络关系分类方法
Relation Classification Method Based on Cross-sentence Contextual Information for Neural Network
计算机科学, 2022, 49(6A): 119-124. https://doi.org/10.11896/jsjkx.210600150
[9] 蔡晓娟, 谭文安.
一种改进的融合相似度和信任度的协同过滤算法
Improved Collaborative Filtering Algorithm Combining Similarity and Trust
计算机科学, 2022, 49(6A): 238-241. https://doi.org/10.11896/jsjkx.210400088
[10] 王毅, 李政浩, 陈星.
基于用户场景的Android 应用服务推荐方法
Recommendation of Android Application Services via User Scenarios
计算机科学, 2022, 49(6A): 267-271. https://doi.org/10.11896/jsjkx.210700123
[11] 何亦琛, 毛宜军, 谢贤芬, 古万荣.
基于点割集图分割的矩阵变换与分解的推荐算法
Matrix Transformation and Factorization Based on Graph Partitioning by Vertex Separator for Recommendation
计算机科学, 2022, 49(6A): 272-279. https://doi.org/10.11896/jsjkx.210600159
[12] 郭亮, 杨兴耀, 于炯, 韩晨, 黄仲浩.
基于注意力机制和门控网络相结合的混合推荐系统
Hybrid Recommender System Based on Attention Mechanisms and Gating Network
计算机科学, 2022, 49(6): 158-164. https://doi.org/10.11896/jsjkx.210500013
[13] 成科扬, 王宁, 崔宏纲, 詹永照.
基于局部注意力图互迁移的可解释性优化方法
Interpretability Optimization Method Based on Mutual Transfer of Local Attention Map
计算机科学, 2022, 49(5): 64-70. https://doi.org/10.11896/jsjkx.210400176
[14] 陈壮, 邹海涛, 郑尚, 于化龙, 高尚.
基于用户覆盖及评分差异的多样性推荐算法
Diversity Recommendation Algorithm Based on User Coverage and Rating Differences
计算机科学, 2022, 49(5): 159-164. https://doi.org/10.11896/jsjkx.210300263
[15] 董晓梅, 王蕊, 邹欣开.
面向推荐应用的差分隐私方案综述
Survey on Privacy Protection Solutions for Recommended Applications
计算机科学, 2021, 48(9): 21-35. https://doi.org/10.11896/jsjkx.201100083
Viewed
Full text


Abstract

Cited

  Shared   
  Discussed   
No Suggested Reading articles found!