




版權(quán)說(shuō)明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請(qǐng)進(jìn)行舉報(bào)或認(rèn)領(lǐng)
文檔簡(jiǎn)介
providedbyPurdueE-Viewmetadata,citationandsimilarpapersat broughttoyoubyprovidedbyPurdueE-PurduePurduee-DepartmentofComputerScienceTechnical
DepartmentofComputerJohnR.PurdueUniversity,Report74-Rice,JohnR.,"TheAlgorithmSelectionProblem—AbstractModels"(1974).DepartmentofComputerScienceTechnicalReports.Paper68.ThisdocumenthasbeenmadeavailablethroughPurduee-Pubs,aserviceofthePurdueUniversityLibraries.Pleasecontactepubs@foradditionalinformation.\\THEALGORITHMSELECTIONPROBLEM-ABSTRACTJohnR,ComputerScienceDepart亞ntPurdueUniversityWestLafayette,Indiana CSD-TR1 Theproblemofselectinganeffectiveorgoodorbestalgorithmarisesinawidevarietyofsituations, Thecontextofthesesituationsoftenobscuresthecommonfeaturesofthisselectionproblemandthepurposeofthisreportistoformulateabstractmodelsappropriateforconsideringit, Withintheframeworkestablishedbythesemodelswepresentavarietyofqueationsthatcan(andusuallyshould)beaskedinanyspecificapplication,1Itshouldbemadeclearthatwedonotbelievetha七theaemodelswillleaddirectly(bysimplespecialization)tosuperiorselectionprocedures,Thiswill alwaysrequireexploitationofthespecificnatureofthesitua-tionathand. Evenso, wedobelievethatthesemodelswillclarifytheconsiderationofthisproblemand,inparticular,showthatsomeapproachesusedarebasedonnaiveass皿ptionsabou亡theselectionassumption,Thisisthefirstofa'seriesofreportswhichconsiderthefollow土ngAbetract沁ConcreteNumericalAnalysis-SelectionofQuadratureAlgorithmsOperatingSystems-SelectionofSchedulingAlgorithmsArtificialIntelligence-LearningAlgorithmsApproximationTheoryforSelectionProceduresComputationofSelectionProceduresThethreeconcreteexampleswhichthereadercanusetointerprettheabstractionsinthisreportmaybesummarizedasfollows: Oneisgivenafunctionf(x),,aninterval[a,b]andtolerancee> OneistoselectanalgorithmtoJbf(x)dxwhichisefficient(usesfewevaluationsoff(x))andreliableanestimatewithinthespecifiedo: Oneisgivenanenvironmentforalargecomputeroperation, Informationknownj;ncludesthemixofjobsbetweenbatch,interactiveandsemi-interactive,somebasiccharacteristicsoftheseclassesofjobsandthecharacteristicsofthecomputeroperation. Oneistoselectanalgorithmtoscheduletheexecutionofthesejobswhichpro-duce(a)highbatchthroughput,(b)goodresponsetointeractivejobs,(c)goodservicetosemi-inte0activejobsand(d)highpriorityArtificial互t斗上拉竺:OneisgivenadescriptionofthegameTic-Tac- Oneistoselectanalgorithmtoplaythegamewhicheffective,i,e,neverlosesandwinswheneveranopponent'smistake
Aselectionprocedureisinvariablyobtainedbyassigningvalues22parametersingeneral"form". Moreprecisely,theselectionprocedure isanalgorithmandaspecificclassischosenwithfreeparametersandtheseparametersarethenchosensoastosatisfy(aswellastheycan)theobjectivesoftheselectionproblem. Classicalformsincludethingslikepolynomials(withcoefficientsasparameters)andlinearmappings(withmatrixcoefficientsorweightsasparameters). Otherrelevantformsaredecisiontrees(withsize,shapeandindividualdecisionelementsaaparameters)andprogram?(withvariousprogramelementsasparameters).ThemodelspresentedhereareprimarilyaimedatalgorithmproblemswiththefollowingthreeProblemS巴竺.:Thesetofproble畫involvedisverylargeandquite Thissetisofhighdimensioninthesenaethatthereareanumberofindependentcharacteristicsoftheproblemswhichareimportan七forthealgor扛血selectionandperformance. Thereiausuallyconsiderablyun-cer七aintyabouttheaecharacteristic?andtheir3 :Thesetofalgorithmsthatneedstobe3islargeanddiverse. Ideallytheremaybemillionsofalgorithmsandprac-ticallytheremaybedozensofthem. Incountingalgorithmswedonotdistinguishbetweentwowhichareidenticalexceptforthevalueofsomenumericparameter. Againthissetisofhighdim巳nsionsandthereisuncertaintyabouttheinfluence.ofalgorithmcharacteristics.PerfomanceMeasure: Thecriteriatomeasuretheperformanceofaparticularalgorithmforaparticularproblemarecomplexandhardtocom-pare(e.g.onewantsfastexecution,highaccuracyandsimplicity). thereisconsiderableuncertaintyinassigningandinterpretingtheseTHEBASICMODEL. WedescribethebasicabstractmodelbythediagraminFigure1. Theitemeinthismodelaredefinedbelowindetail soastobecompletelyclearaboutthenatureofthemodel.xE
4PROBLEM 4n\ Schematicdiagramofthebasicmodelforthealgorithmselectionproblem. Theobjectiveistodetermine soastohavehighalgorithmDefinitionsforthebasic夕?Problemapaceorx?Memberof務(wù)problemtobe AlgorithmapaceorA?Memberof過(guò)',algor扛hmapplicabletoproblemsfromS?Mappingfrom夕to矣n?n-dimenaionalrealvectorspaceofperformance Mappingfrom過(guò)x夕to5iindete五iningperformanceIIII=Normon劣nprovidiJlgonenumber七oevaluateanperformanceonaparticularForcompletenesswenowstate Qivenall theotheritemsintheabove Theremustbe, ofcourse,'somecri七eriaforthisselectionandwepresentfourprimaryonesbelow:BestSelection. Choosethatselectionmappin B(x)whichgivesmaximumperformanceforeachalgorithm:JJp(B(x),x)II之11p(A,x)| for BestSelectionforaSubclassof Oneistochooseonealgorithmtoapplytoeverymemberofasubclass名CthatselectionmappingS{x) degradationformembersof務(wù)(comparedtochoosingm立Ilp(B(x),x)II
-llp(A。),x)111三ma_:<_llfr(B(x),x)xEfor
-//p(A,x)/55BestSelectionfromaSubclassofMa過(guò)堅(jiān) Oneistorestrict亡mappingS tobeofacertainformorfromacertainsubclass$飛。* mappingfrom夕to過(guò).ChoosethatselectionmappingS 夕0whichminimizestheperformancedegradationfor membersofmax[llp(B(x),xl'II-IIP(S*(x),x)lll三max[llp(B(x),x)II-IIP(S(x),x)lllforallSE*BestSelectionfromaSubclassofMa過(guò)堅(jiān)sandProblems.Oneistochoosejustonealgorithmfromasubclass9cjtoapplyeverymemberofasubclass9l,立Choosethatselectionmappings~(x)fromYe,whichminimizes七h(yuǎn)eperformancedegradationforallmembersof令*max_[llp(B(x),xII-llp(s"(x),x)lllminmax[llp(B(x),x)II-llp(S(x),x)lll 6Thesefourcriteriadonotexhaustthemeaningfulcriteriabuttheydoillustratetheprincipalideas. Therearefivemainstepstotheanalysisandsolutionof'thealgorithmselectionproblemasfollows6江 Determinationofthesubclassesofandmappingstobe還聲(Exis七 Doesabestselectionmapping Isthereauniquebestselectionmapping? Whatpropertiescharacterizethebestselectionmappingandservetoidentifyit? WhatmethodscanbeusedtoactuallythebestselectionThereaderfamiliarwiththetheoryofapproximationoffunctions observethatthisframeworkisfa口iliarandthatwemayputthatclassicaltheorywithinthis Thespace夕isafunctionandthealgorithmspacef¥maybeidentifiedwithasubspaceof夕algorithmentersaathemeansofevaluatingelementsof mappingp(A,x) Ilx(t)-A(t)夕wherethenormistakenon夕.Thustheperformancemeasurespace劣1andthenormmappingisTherearetworemarksneededaboutthisobservation. First,thebodyofsignificantmaterielinapproximationtheoryislarge, Itwouldrequire,nodoubt,from2000to4000pagestopresentareasonablycom-pleteandconciseexpositionoftheresultscurrentlyknown, impliesthatthereisaveryrichbodyofmaterialwaitingtobeappliedtothealgorithmselectionproblem,eitherdirectlyorbyanalogy, andmoreimportant,thealgorithmselectionproblemisanessentialexten-7sionandgeneralizationofapproximationtheory.Wewillseeconcreteexamplesofthisproblemwhere七h(yuǎn)ecurrent七h(yuǎn)eoryofapproximationhasnothingrelevanttoapplyexceptbythefaintestanalogies,7Wenextpresenttwoconcreteexamplestoillustratethis (AQuadratureproblem). Givenf(x)Ec-[O,l]and E>0, f。x(t)dxwithinEbyacompositeNewton-Cotesformulaofdegreekandwith兒pointswithaminimumnumberofevaluationsof We 夕=c4[0,1]x 12(whereIdenotesthepositiveintegers)na1intheperformancemeasurespaceWechoosetwo各={x(t)Ix(t)hasatmos七1inflection linearfunctionof x(O),x(l/3),x(2/3)andThusS(x)wouldhavethegeneralformwith10parame七rfdcserer\il!ehtes0Ossss11 rfdcserer\il!ehtes0Ossss11 (upahrtxs。丿丿(()ot(Ea0sch/-s(、丿)ot(Ea0sch/-s(、丿( (Asgameplayingproblem). Weare todeviseanalgorichmforplayingTic-Tac-Toe. Theproblemspaeisthesetofpartialgamesof Whilethisnumberislarge,thereareinfactonly28distinctreasonablegamesif oneeliminatesblunders,symmetriesandboardrotations,Theapace mayberepresentedasaspaceoflargetablesofresponsesforeachsituation. However,werestrictourselectiontoadecisiontreethatinvolvesonlytheexistenceofimmediatewinningpositionsandvacant7 ThealgorithmformmaythenberepresentedasshowninFigure7Thereare30parameters inthisformoftheselectionmappingtakeonthevalues"yes"or Only15oftheseare addition七h(yuǎn)ere·are16parametersa,whichtakeononeofthefollowingfivePlaythewinningBlocktheopponent'sPlayinthecenterPlayinacorner(firstfreeoneclockwisefromupper Playinaside(firstfreeoneclockwisefromDoIhaveawinningposition Doesopponenthavea IsthecenterIsacornerS5:r心 TheformoftheselectionmappingfortheTic-Tac-Toe EachSij扭a"yes"or"no"andeachaiisoneoffivemoves.8Anexaminationofthisgameshowsthatwehavebeenoverlyelaborate8Thuswemayassigns11?"yes"and\z?"no"andthenaiMove1i1,2,...,8iscertainlycalledfor.However,itisstillofinteresttoreflectuponhowonewouldcomputethisifonehadnoaprioriinfor~mationabout七h(yuǎn)egame. Anexaminationofvariousinstancesofthealgorithmselectionproblemshowsthatthereisanotheringredientalmostalwayspresent. Itissometimesexplicitandsometimesno七andwecallthisselectionbasedonfeaturesoftheproblem. modelisdescribedbythediagrsminFigure3.f(x)E夕
AEAE
PE99IIpII=ALGORITHM diagramofthemodelwithselectionbasedonfeaturesoftheproblem.Theadditionaldefinitionsforthismodel夕=Featurespaceidentifiedwith劣mheretosuggestit issimplerandof1叩erdimensionthan夕.F?Mappingfrom少to夕whichassociatesfeatureswithNotethattheselectionmappingnowdependsonlyonthefeaturesf(x)butyettheperformancemappingstilldependsontheproblemx, Theintroduc-tionoffeaturesmaybeviewedasawaytosystematizethein七roductionproblemsubclassesinthebasicThepreviousstatementofthealgorithmselectionproblemandthe forselectionarestill validforthisnewmodelaswellasthefivestepsintheanalysisandsolutionoftheproblem. Thedeter-minationofthefeaturestobeusedisfrequentlypartoftheprocess,oftenoneofthemostimportantparts. Onemayviewthefeaturesasanattempttointroduceanapproximatecoordinatesystemin9. thoseproblemswiththesamefeatur七swouldhavethesameperformanceforanyalgorithmbeingconsidered. Sincethisidealisrarelyachieved,wemayposeaeveralspecificquestionsaboutthedeterminationof-BestFeatur七sfoo_a;Prtieular杜 Giv,analgorithmAandthedimensionmof夕,whatmfeaturesarethebestforthepredic-tion?oftheperformanceofA. Let_.儀f)denotetheequivalenceclassofall thoseproblamsx,yE夕的thatF(x)?F(y) Wethenwishtodeterminethe*場(chǎng)(f)*
and
ciatedequivalenced_(A) fE yE丘
IIP(A,x)-p(A,y)11三fE
IIP(A,x)-p(A,y)Theselectionofbestfeaturescorrespondstotheselectionofapproximatingsubspacesinapproximationtheo巧?andleadsonetoideas*n-widthsandentropyoftheproblemspace
Roughlyspeaking, d_is江then·theeffectivedimensionof夕(fortheproblemathand)isprobably*largerthanmand,conversely, d_issmallthentheeffectiveof夕扭closetoBestFeaturesforaClassof Givenaandthedimensionmof鄉(xiāng) whatmfeaturesarethebestforpredictionoftheperformanceofalgorithmAE? Withthepreviousnotationwewishto
neF?
場(chǎng)夕(f)so*d(過(guò)。 fE夕AE過(guò) x,YE場(chǎng)
IIP(A,x)-p(A,y)< Ilp(A,x)-p(A,y)fE歹AE.J:I x,yE場(chǎng) BestFeaturesforaSubclassofSelectionMappings. Givenasubclass夕。ofselec己onmappingsfrom夕to.9Jf,whatmfeaturesare七h(yuǎn)ebestforpredi吐ionoftheperformanceofalgorithms? Withtheprevious notationwewishtodetermine and丘 so*dm(夕。)= fE
m刁SE夕
X,YE場(chǎng)
Ilp(S(f),x)-p(S(f),y)I
Ilp(S(f),x)-p(S(f),Y)IfE
SE夕Thedetermina七ionofthebest(orevengood}featuresisoneofthemostimportant,yetnebulous,aspectsofthealgorithmselectionproblem.Manyproblemspaces夕areknownonlyinvaguetermsandhenceanexperimentalapproachisoftenusedtoevaluatetheperformanceofalgorithmsover夕.Thatis,onechoosesasamplefrom夕andrestrictsconsiderationstothissample. Anappropriatesampleisobviou吐ycrucialtothisapproachandif onehasagoodsetoffeaturesfor夕.thenonecanatleastforcethesampletoberepresentativewithrespecttothesefeatures. Notethatthedefinitionofbestfeatures-issuchthattheyaretheitemsofinfor-mationmostrelevanttotheperformanceofalgorithmsfortheproblematInsomewellunderstoodareas.ofcomputationthereisagenerallyagreedupon(if notexplicitlystated)setoffea七ures. Forexample,considertheproblemofsolvingalinearsystemAx?bofequations. Thefeaturesin-cludedescriptorslike: smallorder,sparse,band,diagonallydominant,positivedefinite,ill-conditioned,etc. Givenvaluesforthesefesturesanexperiencednumericalanalystcanselectanappropriatealgorithmthisproblemwithconsiderable Theselectionproblemforratureisalreadymuchmoredifficult andthesolutionofsimultaneoussystemsofnonlinearequationsisverypoorlyunderstood. Ifthissituationexistsforproblems七h(yuǎn)athavebeenstudiedforoneortwocenturiesthenoneshouldnotbesurprisedbythedifficultiesanduncertaintiesforproblemsthathavejustappearedinthepastoneortwoALTERNATEDEFINIT Iheprecedingsectionswehaveuniformlytakenaminimaxapproachtothedefinitionofbestoroptimumselection. Thatis,wehaveminimizedtheeffectoftheworstcase.Itisreasonabletoignoretheperformancefortheworstcaseand,instead,con吐deroptimizingsomesortofaveragebehavior. Inthissectionweex-hibittheresultingmathematicalproblemscorrespondingtousingaleastsquaresorleastdeviationapproach(thesecorrespondtoL2andL1optimiza-tioninmathematicalterms). WehaveidentifiedsevenproblemslabelAthroughG. ProblemAisunaffectedbytheseconsiderationssoletuscon-sider紅oblemB: BestSelectionforaSubclassofProblems. Weuse notationintroducedwiththeoriginalmathematicalstatementofthisprob-lemwhichMinimax rllp(B(x),x)II-
Ilp(A*,xll]l三 [|lp(B(x),x)|XE夕
-Ilp(A,x)IIfor AEThecorrespondingmathematicalstatementsfortheleastsquaresandleastdeviationapproachare:罕f_[IIP(B(x),x)II-forallAE
LeastDeviations勻 jjp(A?,xlllldx三歲ol11p(B(x),xlll-for AETheuseofintegralsintheseformulationsimpliesthatatopologyhasbeenintroducedintheproblemspace夕.Manycommonexample臼for夕aredis-creteinnatureandinthesecasesthetopologyintroducedreducestheintegralstosums. Thiatechnicalityisunlikelytocauserealdifficultiesandwecontinuetouseintegralsasthisgivestheneatestformulations.Notethattheonlydifferencebetweenthetwonewformulationsis (2or1)intheintegrand. Thuswemayavoidrepeatingthesefo亡mulationstwicebymakingthisavariable,sayr, whichhasvalues1or2,Notethatinapproximationtheoryit isshownthatminimaxisthelimitingcaseasr+mso thatall threeapproachescanbeexpressedinoneformula-tionwithrasaparameter.RecallthatProblemCistheBeatSelectionfromaSubclassofMa匹蟲逞Thealternativemathematicalformulationofthisproblem』||p(B(x),x)I/-1/p(S。(x),x)I/rdx三占11/p(B(x),x)Ifor SE夕ThealternativeformulationforProblemDisidenticaltothisexceptthattheproblemsubcla的氣replace夕asthedomainofintegration.Thenextthreeproblemsinvolvefeaturesandwechoosetouseacon-sistentapproachfor七h(yuǎn)e That weuseleastontheproblemspacewealsouseitonthefeaturespace夕and亡hespace立.Ifwed:(A,歲 fE
x,y
Ilp(A,x)-p(A,y)|
thenforProblem BestFeatureforaPar .the*istofindthefeaturemappingF?andassociatedequivalenceclasses礦whichminimized:(A, m心?d:(A,豆·臣d:(A,歲Fo工ProblemFwed;(Wo·爐)一
J IIP(A,x)-p(A,y)11fE歹AE..Ql'ox,y鄒 thentheobjectiveistodetermineF*..and
歲
so滬。)=d;(叱,礦)=臣nd;心。,Asimilarapproachto yieldsasimilarexpressionexceptthattheintegralover isreplacedbyanintegraloverYa· manypracticalproblemsthereislittletoguideoneintheofaparticularformulationofthemathematicaloptimizationproblem,i.e.shouldwechooser=1, 2or00? Thesechoicesmightnotbeparticularlysignificantinthelargercontext,buttheyareverysignificantindeterminingthedifficultyoftheresultingmathematicaloptimizationproblem. Alessonlearnedfrompracticalapproximationtheorymightbeapplicableinthislarger Thislessonis,roughly,tha七thecrucialingredientsforsuccessareproperchoicesofthesubclasses夕0'%。and Oncethesearemadeproperlythenthemathematicaloptimhationshouldbemadeforthatvalueof thatgivestheleastdifficul七y. Iftheproblemiscompletelylinearthen 2(leastsquares)almostalwaysresultsintheleastmathematicaldiffi- Thesituationisvariablefornonlinearproblems. Notethattherearepracticalapproximationproblemswherethechoiceofriscrucialandnodoubttherearesimilarcasesforthealgorithmselectionproblem.Wearesayingthatthechoiceofrisimportantonlyinaninfrequentnumberofinstances.THEMODELWITHVARIABLEPERFOR四CECRITERIA. Wehaveaaaumedaofarthatthereissfixed口aytome88uretheperformanceofaparticularalgorithmforaparticularproblem. Thereare,however,manysituationswhereit isreasonabletoviewtheperformancecriteriaasinputtotheselectionproblem, Consider,forexample,theselectionofaprogramtosolveordinarydifferentialequationsand七h(yuǎn)ecriteriaofaccuracy,reliability,andcareofuse, Indifferentsituationstheweightgiventoeachofthesemightvaryfromalmostzerotoalmost100%,AmodelforthisversionoftheselectionproblemisshowninthediagramofFigure4,XE
f(x)ef(x)eFE應(yīng)
I
四nPEIIPII= SchematicdiagramofthemodelwithselectionbasedonfeaturesandvariableperformanceTheadditionaldefinitionforthismodelgNormfunctionfrom礦x劣ntoRlwhichmeasurestheperformancep(A,x)withthecriteriaSomeofthemappingsnowhavechangeddomains,buttheirna七ureisthesame.Thechoiceof劣nforthecriteriaspaceisclearlyarbitrary(andperhapsunnecessarilyrestrictive)butit isn
溫馨提示
- 1. 本站所有資源如無(wú)特殊說(shuō)明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請(qǐng)下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請(qǐng)聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁(yè)內(nèi)容里面會(huì)有圖紙預(yù)覽,若沒(méi)有圖紙預(yù)覽就沒(méi)有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫(kù)網(wǎng)僅提供信息存儲(chǔ)空間,僅對(duì)用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對(duì)用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對(duì)任何下載內(nèi)容負(fù)責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請(qǐng)與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶因使用這些下載資源對(duì)自己和他人造成任何形式的傷害或損失。
最新文檔
- 口罩創(chuàng)意美術(shù)課件
- 人工智能訓(xùn)練師與數(shù)字素養(yǎng)能力培訓(xùn)體系
- 基護(hù)呼吸的評(píng)估與護(hù)理
- 園林道路綠化設(shè)計(jì)答辯
- 國(guó)慶假期安全教育指南
- 特來(lái)電合同協(xié)議
- 工廠貨物轉(zhuǎn)讓協(xié)議書范本
- 電子設(shè)備合同協(xié)議模板
- 地產(chǎn)公司分紅合同協(xié)議
- 天津?qū)幒涌h公開(kāi)招聘農(nóng)村(村務(wù))工作者筆試題含答案2024年
- 急診腹痛醫(yī)學(xué)課件
- 石材鋪裝工程相關(guān)規(guī)范質(zhì)量標(biāo)準(zhǔn)
- 李定信先生著作《訂正中國(guó)羅盤52層詳解(中國(guó)羅盤大更正)》 x
- DB43∕T 1817-2020 公路貨運(yùn)車輛不停車超限超載檢測(cè)系統(tǒng)建設(shè)與使用技術(shù)規(guī)范
- 蠕變、應(yīng)力松弛、滯后和內(nèi)耗講解
- 道德經(jīng)試題及答案
- (精心整理)歷年南京中考英語(yǔ)常考詞匯及例句解析
- 冷卻水預(yù)處理(預(yù)膜)方案
- 鋼筆書法比賽用紙精美五言格
- 完全競(jìng)爭(zhēng)市場(chǎng)習(xí)題及答案
- 高中氧化還原反應(yīng)方程式大全
評(píng)論
0/150
提交評(píng)論