《机器学习》课程教学资源(讲稿)基于上下文的服务推荐 Context-Aware Service Recommendation

Outline ■Background >Why do those Web services need to be recommended? >What's the challenge? Context-aware Recommendation >What kind of context information can we use? >Basic method Context-aware feature learning >User context-aware features learning >Service service-aware features learning ■Experiment >Experimental Result >Performance Comparison ■Reference 2017/615 XDU ZJU
Background ➢Why do those Web services need to be recommended? ➢What’s the challenge? Context-aware Recommendation ➢What kind of context information can we use? ➢Basic method Context-aware feature learning ➢User context-aware features learning ➢Service service-aware features learning Experiment ➢ Experimental Result ➢ Performance Comparison Reference Outline 2017/6/15 XDU & ZJU 2

Background Generdestricted Web Service WSDL(XML) Interface SOAP >A Web service is a self-describing programmable application used to achieve interoperability and accessibility over a network 'Services Computing;Zhang,L.et WS=WSDL+Interface+SOAP Popularity >Amazon Relational Database Service >Amazon Simple Storage Service R D 如果请求中包含了P以证授权态数,则返回值中包含当前爱权用户的对于这本书裙收#的k。关于AP似 证须权的信息请参阅P爱枫说明 ■ Other similar component Thttp://api.doubancom/baok/subjeet/(subje They are almost >Open API: the same 他可以涌过s0n支并10位、13位,而且支持在其中 Douban,Sina Weibo,RenRe Thttp://spi.douban.com/bk/subjee/isn/[isbaID] -Amazon,Facebook,MySpac 20171615 XDU ZJU GET http://spi.douban.com/book/subjeet/isbn/9T87543639133
Background Web Service ➢ A Web service is a self-describing programmable application used to achieve interoperability and accessibility over a network ~ ‘Services Computing’, Zhang, L. etc. 2017/6/15 3 Other similar component ➢ Open API: − Douban, Sina Weibo, RenRen, 51.com − Amazon, Facebook, MySpace, Twitter, eBay, Google Maps WSDL(XML) Interface SOAP WS=WSDL+Interface+SOAP Popularity ➢ Amazon Relational Database Service ➢ Amazon Simple Storage Service etc. They are almost the same Generalrestricted XDU & ZJU

Background ■ Backgroud Amazon Relational Database Service .t awsdocumentation >Cloud Computing>the number of Web services exploding elational Amazon RDS Best Practices maron ged with ■Decision Basis Amazon Simple Storage Service nmnlog >QoS(response time,throughput,availability et MySQL an Welcome to Amazon S3 Problem Oracle on >Everyone wants to invoke the one whose gos is the best. DB Instance >Is there a service suitable for everyone?No.>WhContext Service uery AP >So the real problem is which one should I invoke?obrton o Budkets SOAP API aries Operations on Objects ·Amazon S3 Resources e Command History Personalization Prediction tory 2017/615 XDU ZJU
Background Backgroud ➢ Cloud Computing the number of Web services is exploding 2017/6/15 4 Amazon Relational Database Service Amazon Simple Storage Service Problem ➢ Everyone wants to invoke the one whose qos is the best. ➢ Is there a service suitable for everyone? No. Why? Context ➢ So the real problem is : which one should I invoke? Personalization & Prediction Decision Basis ➢ QoS(response time, throughput, availability etc.) XDU & ZJU

Background Formalization of the Problem Similar with rating prediction >Personalized QoS prediction in e-commerce systems User-Service Invocation Matrix Sufficient service1 service2 service3 service4 million Features user1 911 关 年 然 + user2 法 q22 然 益 Effective user3 关 关 关 关 Model user4 q41 关 关 q44 Cold-Start user5 关 q53 Problem → ■ Challenge million >Data Sparsity>Cold Start Problem >Large Scale Feasibility 20171615 XDU ZJU
Background Formalization of the Problem ➢ Personalized QoS prediction ➢ User-Service Invocation Matrix 2017/6/15 5 service1 service2 service3 service4 user1 q11 user2 q22 user3 user4 q41 q44 user5 q53 ➢ Large Scale Feasibility Challenge ➢ Data Sparsity Cold Start Problem million million Sufficient Features + Effective Model Cold-Start Problem Similar with rating prediction in e-commerce systems XDU & ZJU

Context-aware recommendation Contextual Features Selection Basis:factors dominating QoS:physical configuration Service CPU,Memory, Service Provider Bandwidth etc. User Network Bandwidth etc. Connection etc. Feature Quantification >User-User:Geographical Distance Service-Service:Service Provider →Why? 2017/1615 XDU ZJU
Context-aware recommendation Contextual Features Selection ➢ Basis: factors dominating QoS: physical configuration 2017/6/15 6 Service User Service Provider Network Connection etc. CPU, Memory, Bandwidth etc. Bandwidth etc. Feature Quantification ➢ User-User: Geographical Distance ➢ Service-Service: Service Provider Why? XDU & ZJU

Context-aware recommendation Feature Quantification (Con.) >Observation Just the same with browsing in -For the exactly same service or user: Internet city,town,community Users in different locations usually experience different QoS Users in the same location usually experience similar QoS Services operated by different providers usually offer different QoS Services operated by the same providers usually offer similar QoS ■Assumption: ■Reasonable? >Users located nearly with each other have similar IT infrastructure >Services provided by the same company have similar physica configuration 201716115 XDU ZJU
Context-aware recommendation Feature Quantification (Con.) ➢ Observation – For the exactly same service or user: 2017/6/15 7 Assumption: ➢Users located nearly with each other have similar IT infrastructure ➢Services provided by the same company have similar physical configuration ✓ Users in different locations usually experience different QoS ✓ Users in the same location usually experience similar QoS city, town, community Just the same with browsing in Internet ✓ Services operated by different providers usually offer different QoS ✓ Services operated by the same providers usually offer similar QoS Reasonable? XDU & ZJU

Context-aware recommendation The State of Assumption:Reasonable? the Internet Private Cloud Seoul shorter response time Standard Reserved Instances Comapratively Small (Defaut) Reasonable Large Et灯e Large ration Standard Re Extra Large s517 50.299 per Hour Doubie Extra Large 1034 longer response EC2 Company 3 time Beijing Micro Reserved Instances 52 $0.012 per Hour Web service invocation scenario Extra Large 5272 $0.169 per Hour Doubla Extra Large 5544 $0.338 par Hour Quadruple Extra Large 51098 $0.676 per Hour High-CPU Reserved Instances 5161 09 per Hour Extra Large 544 $0.36 per Hour Cluster Compute Reserved Instances Algorithm:the basic model Quadruple Extra Large N/A N/A Eight Extra Large 1762 50.904 per Hour High-Memory Cluster Reserved Instances >Collaborative Filtering/Matrix Factorization traditiona recommender system 2017/615 XDU ZJU
Context-aware recommendation Assumption: Reasonable? 2017/6/15 8 Comapratively Reasonable Web service invocation scenario Algorithm: the basic model ➢ Collaborative Filtering/Matrix Factorization traditional recommender system XDU & ZJU

Context-aware recommendation ■Related Work→Collabor Similar Service S: Invocation U >Explore similar users and ser Experience U 924 invocation records much like recomm U Whose invocation is similar with mine? >Pearson Correlation Coefficient Similarity Computation Sim(a,w0)= ∑(gn-a,g。-) ∑e(9。-q,gy-4,) V∑g.-.}V∑9.-了 5m-2.-a.a,- ■Predicted Results Memory-based & >Self Average Weighted Average Heuristic Pu=u+ ∑est Sim(.,XL,-a) ∑eo Sim,4X.- ∑ Pu=i+ Sim(u,ua) ∑esSim(,i.) 20171615 XDU ZJU
Related Work Collaborative Filtering ➢ Explore similar users and services through their historical invocation records much like recommender systems Context-aware recommendation 2017/6/15 9 Similar Service Invocation Experience Whose invocation is similar with mine? ➢ Pearson Correlation Coefficient Similarity Computation i I ui u i I ai a i I ai a ui u q q q q q q q q Sim a u 2 2 ( ) ( ) ( )( ) ( , ) U u U uj j u ui i u U ui i uj j q q q q q q q q Sim i j 2 2 ( ) ( ) ( )( ) ( , ) Predicted Results ➢ Self Average + Weighted Average ( ) ( ) ( , ) ( , )( ) u S a a u S u a u a ui a a a Sim u u Sim u u r u p u ( ) ( ) ( , ) ( , )( ) i S i k i S i k i k ui k k k Sim i i Sim i i r i p i Memory-based & Heuristic XDU & ZJU

Context-aware recommendation Statistical Machine Generative Model Learning Probabilistic Matrix Factorization(PMF) 0/1 p(QIU.S.a:)-IITINla,lU!s,. Gaussian Distribution Zero-Mean Spherical p(UIoi)=IIN(U,I0.ciD)/p(SIog)=IIN(S,10.oD) Gaussian Prior Bayesian p(U,S O)p(lU,S)xp(U)xp(S) Inference Maximize Posterior Probability(MAP) Inp(U,SIQ.oo.oi.oj) Logarithm P(U.SIO)=IIIIN[a,IU!s, 1 221,4,-05,y Transformation 22习 Maximization.→ ×1NU,I0,o0 Minimization ×ΠN(S,10,oI) 2空,mj+oni =1=1 1= 2017/615 XDU ZJU
Context-aware recommendation Probabilistic Matrix Factorization(PMF) 2017/6/15 10 m i n j I j Q T S ij i Q ij p Q U S N q U S 1 1 2 2 ( | , , ) | , Generative Model Statistical Machine Learning m i U i U p U N U I 1 2 2 ( | ) ( | 0, ) n j S j S p S N S I 1 2 2 ( | ) ( | 0, ) p(U, S | Q) p(Q |U, S) p(U) p(S) n j j S m i i U m i n j I j Q T ij i N S I N U I p U S Q N q U S Q ij 1 2 1 2 1 1 2 ( | 0, ) ( | 0, ) ( , | ) | , Gaussian Distribution 0/1 Zero-Mean Spherical Gaussian Prior Bayesian Inference Maximize Posterior Probability(MAP) I MD ND C U U S S I q U S p U S Q Q U S m i n j ij n j j T j S m i i T i U m i n j j T ij ij i Q Q U S (( )ln ln ln ) 2 1 2 1 2 1 ( ) 2 1 ln ( , | , , , ) 2 2 2 1 1 1 2 1 2 1 1 2 2 2 2 2 Logarithm Transformation Maximization Minimization XDU & ZJU

Context-aware recommendation ■ Probabilistic Matrix Factorization >MF can factorize the high-rank user-service invocation feature space into the joint low-rank feature space >Q={q):mXn user-service invocation matrix >UERd*m,SERd*n:user and service feature matrices US,Inner product of two d-rank feature vectors Indicator function(0/1) Shinimizaton functon i=1=1 Regularization Term How can the context information be merged into the m-2空4aEN阳 basic model? Objective Optimization Function 20171615 XDU ZJU
Context-aware recommendation Probabilistic Matrix Factorization ➢ MF can factorize the high-rank user-service invocation feature space into the joint low-rank feature space ➢ Q={qij}: m×n user-service invocation matrix ➢ U∈Rdm, S∈Rdn : user and service feature matrices 2017/6/15 11 j T qij Ui S m i n j j T ij ij i U S I q U S 1 1 2 , ( ) 2 1 min 2 2 1 1 2 2 2 ( ) 2 1 min F S F U m i n j j T L I ij qij Ui S U S Inner product of two d-rank feature vectors Minimization function Objective Optimization Function Indicator function(0/1) How can the context information be merged into the basic model? Regularization Term XDU & ZJU
按次数下载不扣除下载券;
注册用户24小时内重复下载只扣除一次;
顺序:VIP每日次数-->可用次数-->下载券;
- 《机器学习》课程教学资源(讲稿)自然语言理解、主题建模与基于NN的语言生成 Natural Language Processing, Topic Modeling and Neural Text Generation.pdf
- 《机器学习》课程教学资源(讲稿)推荐系统入门——任务、特征与方法概述(Recommender System).pdf
- 《机器学习》课程教学资源(讲稿)The Structure of an Academic Paper in CS(for Starters).pdf
- 《机器学习》课程教学资源(讲稿)Academic Paper Writing for Starters.pdf
- 西安电子科技大学:《信息检索》课程教学资源(讲义)文本挖掘中的概率图模型、矩阵方法与变量求解.pdf
- 西安电子科技大学:《数据通信与计算机网络》课程教学资源(PPT课件)数字数据通信技术——异步与同步传输.pptx
- 西安电子科技大学:《数据通信与计算机网络》课程教学资源(PPT课件)HDLC帧结构——高级数据链路控制协议(帧结构).pptx
- 西安电子科技大学:《并行计算》课程教学资源(课件讲稿)Python并发编程部分(Python并发程序设计).pdf
- 西安电子科技大学:《并行计算》课程教学资源(课件讲稿)Python并发与并行程序设计(语言基础部分).pdf
- 西安电子科技大学:《并行计算》课程教学资源(课件讲稿)Java并发与并行程序设计.pdf
- 西安电子科技大学:《并行计算》课程教学资源(课件讲稿)Java并发程序设计(并行程序设计基础与样例).pdf
- 西安电子科技大学:《并行计算》课程教学资源(课件讲稿)并行程序设计基础与样例(第二部分,交互问题与计算圆周率).pdf
- 西安电子科技大学:《并行计算》课程教学资源(课件讲稿)并行程序设计基础与样例(第一部分).pdf
- 西安电子科技大学:《并行计算》课程教学资源(课件讲稿)并行计算机性能测评.pdf
- 西安电子科技大学:《并行计算》课程教学资源(课件讲稿)并行计算机系统结构(第二部分).pdf
- 西安电子科技大学:《并行计算》课程教学资源(课件讲稿)并行计算机系统结构模型(第一部分,含第一次作业).pdf
- 西安电子科技大学:《并行计算》课程教学资源(课件讲稿)课程概述 Parallel Computing(主讲:徐悦甡).pdf
- 西安电子科技大学:《信息检索》课程教学资源(课件讲稿)推荐系统(Recommender System).pdf
- 西安电子科技大学:《信息检索》课程教学资源(课件讲稿)文本分类(Text Classification).pdf
- 西安电子科技大学:《信息检索》课程教学资源(课件讲稿)课程回顾与复习(主讲:徐悦甡).pdf
- 《机器学习》课程教学资源(讲稿)对(文本)聚类中一些问题的讨论(Thinking in Clustering).pdf
- 《机器学习》课程教学资源(讲稿)主题模型与层次主题模型(Topic Model and Hierarchical Topic Model).pdf
- 长沙理工大学:《大学计算机基础》课程教学资源(课件讲稿)第1章 计算机系统基础.pdf
- 长沙理工大学:《大学计算机基础》课程教学资源(课件讲稿)第3章 文字处理软件Word 2010.pdf
- 长沙理工大学:《大学计算机基础》课程教学资源(课件讲稿)第2章 操作系统基础.pdf
- 长沙理工大学:《大学计算机基础》课程教学资源(课件讲稿)第4章 电子表格处理软件Excel 2010.pdf
- 长沙理工大学:《大学计算机基础》课程教学资源(课件讲稿)第5章 演示文稿制作软件PowerPoint 2010.pdf
- 长沙理工大学:《大学计算机基础》课程教学资源(课件讲稿)第6章 计算机网络基础.pdf
- 长沙理工大学:《大学计算机基础》课程教学资源(课件讲稿)第7章 多媒体技术基础.pdf
- 长沙理工大学:《大学计算机基础》课程教学资源(课件讲稿)第8章 数据库技术基础.pdf
- 中国人民大学:《移动平台应用开发》课程教学资源(教案讲义)智能移动平台应用开发教学大纲(主讲:杨刚).pdf
- 中国人民大学:《移动平台应用开发》课程教学资源(课件讲义)第10章 Widget组件开发.pdf
- 中国人民大学:《移动平台应用开发》课程教学资源(课件讲义)第9章 位置服务与地图应用.pdf
- 中国人民大学:《移动平台应用开发》课程教学资源(课件讲义)第8章 数据存储与访问.pdf
- 中国人民大学:《移动平台应用开发》课程教学资源(课件讲义)第7章 后台服务.pdf
- 中国人民大学:《移动平台应用开发》课程教学资源(课件讲义)组件通信——消息机制和广播.pdf
- 中国人民大学:《移动平台应用开发》课程教学资源(课件讲义)第5章 Android组件通信.pdf
- 中国人民大学:《移动平台应用开发》课程教学资源(课件讲义)第4章 Android用户界面.pdf
- 中国人民大学:《移动平台应用开发》课程教学资源(课件讲义)Android应用程序生命周期.pdf
- 中国人民大学:《移动平台应用开发》课程教学资源(课件讲义)第3章 Android系统框架.pdf