资源预览内容
第1页 / 共20页
第2页 / 共20页
第3页 / 共20页
第4页 / 共20页
第5页 / 共20页
第6页 / 共20页
第7页 / 共20页
第8页 / 共20页
第9页 / 共20页
第10页 / 共20页
亲,该文档总共20页,到这儿已超出免费预览范围,如果喜欢就下载吧!
资源描述
On?LineAlgorithmsinMachineLearning AvrimBlum CarnegieMellonUniversity?PittsburghPA?Email?avrim?cs?cmu?edu Abstract?TheareasofOn?LineAlgorithmsandMachineLearningare bothconcernedwithproblemsofmakingdecisionsaboutthepresent basedonlyonknowledgeofthepast?Althoughtheseareasdi?erinterms oftheiremphasisandtheproblemstypicallystudied?thereareacollec? tionofresultsinComputationalLearningTheorythat?tnicelyintothe ?on?linealgorithms?framework?Thissurveyarticlediscussessomeofthe results?models?andopenproblemsfromComputationalLearningThe? orythatseemparticularlyinterestingfromthepointofviewofon?line algorithms? Theemphasisinthisarticleisondescribingsomeofthesimpler?morein? tuitiveresults?whoseproofscanbegivenintheirentirity?Pointerstothe literaturearegivenformoresophisticatedversionsofthesealgorithms? ?Introduction TheareasofOn?LineAlgorithmsandMachineLearningarebothconcernedwith problemsofmakingdecisionsfromlimitedinformation?Althoughtheydi?erin termsoftheiremphasisandtheproblemstypicallystudied?thereareacollection ofresultsinComputationalLearningTheorythat?tnicelyintothe?on?lineal? gorithms?framework?Thissurveyarticlediscussessomeoftheresults?models? andopenproblemsfromComputationalLearningTheorythatseemparticularly interestingfromthepointofviewofon?linealgorithms?Thisarticleisnotmeant tobecomprehensive?Itsgoalistogivethereaderasenseofsomeoftheinter? estingideasandproblemsinthisareathathavean?on?linealgorithms?feelto them? Webeginbydescribingtheproblemof?predictingfromexpertadvice?which hasbeenstudiedextensivelyinthetheoreticalmachinelearningliterature?We presentsomeofthealgorithmsthathavebeendevelopedandthatachievequite tightboundsintermsofacompetitiveratiotypeofmeasure?Nextwebroaden ourdiscussiontoconsiderseveralstandardmodelsofon?linelearningfromexam? ples?andexaminesomeofthekeyissuesinvolved?Wedescribeseveralinteresting algorithmsforon?linelearning?includingtheWinnowalgorithmandanalgo? rithmforlearningdecisionlists?anddiscussissuessuchasattribute?e?cient learningandthein?niteattributemodel?andlearningtargetfunctionsthat changeovertime?Finally?weendwithalistofimportantopenproblemsinthe areaandadiscussionofhowideasfromComputationalLearningTheoryand On?LineAlgorithmsmightbefruitfullycombined? Toaidinthe?owofthetext?mostofthereferencesanddiscussionsofhistory areplacedinspecial?history?subsectionswithinthearticle? ?PredictingfromExpertAdvice Webeginwithasimple?intuitiveproblem?Alearningalgorithmisgiventhe taskeachdayofpredictingwhetherornotitwillrainthatday?Inorderto makethisprediction?thealgorithmisgivenasinputtheadviceofn?experts? Eachday?eachexpertpredictsyesorno?andthenthelearningalgorithmmust usethisinformationinordertomakeitsownprediction?thealgorithmisgiven nootherinputbesidestheyes?nobitsproducedbytheexperts?Aftermaking itsprediction?thealgorithmisthentoldwhetherornot?infact?itrainedthat day?Supposewemakenoassumptionsaboutthequalityorindependenceof theexperts?sowecannothopetoachieveanyabsolutelevelofqualityinour predictions?Inthatcase?anaturalgoalinsteadistoperformnearlyaswellasthe bestexpertsofar?thatis?toguaranteethatatanytime?ouralgorithmhasnot performedmuchworsethanwhicheverexperthasmadethefewestmistakesto date?Inthelanguageofcompetitiveanalysis?thisisthegoalofbeingcompetitive withrespecttothebestsingleexpert? Wewillcallthesequenceofeventsinwhichthealgorithm?receivesthe predictionsoftheexperts?makesitsownprediction?andthen?istold thecorrectanswer?atrial?Formostofthisdiscussionwewillassumethat predictionsbelongtothesetf?g?thoughwewilllaterconsidermoregeneral sortsofpredictions?e?g?many?valuedandreal?valued? ?ASimpleAlgorithm Theproblemdescribedaboveisabasicversionoftheproblemof?predictingfrom expertadvice?extensions?suchaswhenpredictionsareprobabilities?orwhen theyaremoregeneralsortsofsuggestions?aredescribedinSection?below? WenowdescribeasimplealgorithmcalledtheWeightedMajorityalgorithm? Thisalgorithmmaintainsalistofweightsw ? ?w n ?oneforeachexpert?and predictsbasedonaweightedmajorityvoteoftheexpertopinions? TheWeightedMajorityAlgorithm?simpleversion? ?Initializetheweightsw ? ?w n ofalltheexpertsto? ?Givenasetofpredictionsfx ? ?x n gbytheexperts?outputthepre? dictionwiththehighesttotalweight?Thatis?output?if X i?x i ? w i ? X i?x i ? w i andoutput?otherwise? ?Whenthecorrectanswer?isreceived?penalizeeachmistakenexpert bymultiplyingitsweightby?Thatis?ifx i ?thenw i ?w i ?if x i ?thenw i isnotmodi?ed? Goto? Theorem?ThenumberofmistakesMmadebytheWeightedMajorityalgo? rithmdescribedaboveisnevermorethan?m?lgn?wheremisthenumber ofmistakesmadebythebestexpertsofar? Proof?LetWdenotethetotalweightofalltheexperts?soinitiallyW?n?If thealgorithmmakesamistake?thismeansthatatleasthalfofthetotalweightof expertspredictedincorrectly?andthereforeinStep?thetotalweightisreduced byatleastafactorof?Thus?ifthealgorithmmakesMmistakes?wehave? W?n? M ? Ontheotherhand?ifthebestexperthasmademmistakes?thenitsweightis ? m andsoclearly? W? m ? Combining?and?y
收藏 下载该资源
网站客服QQ:2055934822
金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号