EFFICIENT SEQUENTIAL DECISION‐MAKING ALGORITHMS FOR...

55
EFFICIENT SEQUENTIAL DECISION‐MAKING ALGORITHMS FOR CONTAINER INSPECTION OPERATIONS Sushil Mi;al and Fred Roberts Rutgers University & DIMACS David Madigan Columbia University & DIMACS

Transcript of EFFICIENT SEQUENTIAL DECISION‐MAKING ALGORITHMS FOR...

Page 1: EFFICIENT SEQUENTIAL DECISION‐MAKING ALGORITHMS FOR ...dimacs.rutgers.edu/Workshops/PortSecurity/Slides/container.pptx.pdf · Sushil Mi;al and Fred Roberts Rutgers University &

EFFICIENTSEQUENTIALDECISION‐MAKINGALGORITHMSFORCONTAINERINSPECTION

OPERATIONS

SushilMi;alandFredRobertsRutgersUniversity&DIMACS

DavidMadiganColumbiaUniversity&DIMACS

Page 2: EFFICIENT SEQUENTIAL DECISION‐MAKING ALGORITHMS FOR ...dimacs.rutgers.edu/Workshops/PortSecurity/Slides/container.pptx.pdf · Sushil Mi;al and Fred Roberts Rutgers University &

•CurrentlyinspecLngonlysmall%ofcontainersarrivingatports

PortofEntryInspecLonAlgorithms

•Goal:FindwaystointerceptillicitnuclearmaterialsandweaponsdesLnedfortheU.S.viathemariLmetransportaLonsystem

Page 3: EFFICIENT SEQUENTIAL DECISION‐MAKING ALGORITHMS FOR ...dimacs.rutgers.edu/Workshops/PortSecurity/Slides/container.pptx.pdf · Sushil Mi;al and Fred Roberts Rutgers University &

PortofEntryInspecLonAlgorithms

Aim:Developdecisionsupportalgorithmsthatwillhelpusto“opLmally”interceptillicitmaterialsandweaponssubjecttolimitsondelays,manpower,andequipment

Findinspec*onschemesthatminimizetotalcostincludingcostoffalseposi*vesandfalsenega*ves

MobileVACIS:truck‐mountedgammarayimagingsystem

Page 4: EFFICIENT SEQUENTIAL DECISION‐MAKING ALGORITHMS FOR ...dimacs.rutgers.edu/Workshops/PortSecurity/Slides/container.pptx.pdf · Sushil Mi;al and Fred Roberts Rutgers University &

SequenLalDecisionMakingProblem• Containersarrivingareclassifiedintocategories• Simplecase:0=“ok”,1=“suspicious”• Containershavea;ributes,eitherinstate0or1• Samplea)ributes:

– Doestheship’smanifestsetoffanalarm?– IstheneutronorGammaemissioncountabovecertainthreshold?

– DoesaradiographimagereturnaposiLveresult?– DoesaninducedfissiontestreturnaposiLveresult?

• Inspec3onscheme:– specifieswhichinspec*onsaretobemadebasedonpreviousobserva*ons

• Different“sensors”detectpresenceorabsenceofvariousa;ributes

Page 5: EFFICIENT SEQUENTIAL DECISION‐MAKING ALGORITHMS FOR ...dimacs.rutgers.edu/Workshops/PortSecurity/Slides/container.pptx.pdf · Sushil Mi;al and Fred Roberts Rutgers University &

•SimplestCase:A;ributesareinstate0or1

•Then:Containerisabinarystringlike011001

•So:ClassificaLonisadecisionfunc*onF thatassignseachbinarystringtoacategory.

F011001 0 or 1

Ifa;ributes2,3,and6arepresent,assigncontainertocategoryF(011001).

SequenLalDecisionMakingProblem

Page 6: EFFICIENT SEQUENTIAL DECISION‐MAKING ALGORITHMS FOR ...dimacs.rutgers.edu/Workshops/PortSecurity/Slides/container.pptx.pdf · Sushil Mi;al and Fred Roberts Rutgers University &

•Iftherearetwocategories,0and1,decisionfuncLonFisa Booleanfunc*on.

•Example:

•ThisfuncLonclassifiesacontainerasposiLveiffithasatleasttwoofthea;ributes.

abcF(abc)00000010010001111000101111011111

SequenLalDecisionMakingProblem

Page 7: EFFICIENT SEQUENTIAL DECISION‐MAKING ALGORITHMS FOR ...dimacs.rutgers.edu/Workshops/PortSecurity/Slides/container.pptx.pdf · Sushil Mi;al and Fred Roberts Rutgers University &

BinaryDecisionTreeApproach•BinaryDecisionTree:

–Nodesaresensorsorcategories(0or1)–Twoarcsexitfromeachsensornode,labeledlegandright.–Taketherightarcwhensensorsaysthea;ributeispresent,legarcotherwise

abcF(abc)00000010010001111000101111011111

Page 8: EFFICIENT SEQUENTIAL DECISION‐MAKING ALGORITHMS FOR ...dimacs.rutgers.edu/Workshops/PortSecurity/Slides/container.pptx.pdf · Sushil Mi;al and Fred Roberts Rutgers University &

CostofaBDT• CostofaBDTcomprisesof:– CostofuLlizaLonofthetreeand– CostofmisclassificaLon

0 0|0 0|0 1|0 1|0

1 0|1 0|1 1|1 1|1

0 0|0 1|0 1|0 1|0 1|0

1 0|1 0|1 0|1 1|1 0|1 1|1 0|1

( ) ( )

( )

( )

( )

a a b a b c a c

a a b a b c a c

a b c a c FP

a b a b c a c FN

f P C P C P P C P C

P C P C P P C P C

P P P P P P C

P P P P P P P P C

! = + + +

+ + + +

+ +

+ + +

ABDT, τwithn=3

P1ispriorprobabilityofoccurrenceofabadcontainer

Pi|j isthecondiLonalprobabilitythatgiventhecontainerwasinstatej,itwasclassifiedas i

Page 9: EFFICIENT SEQUENTIAL DECISION‐MAKING ALGORITHMS FOR ...dimacs.rutgers.edu/Workshops/PortSecurity/Slides/container.pptx.pdf · Sushil Mi;al and Fred Roberts Rutgers University &

SensorThresholds

Ps=0|0 + Ps=1|0 = 1Ps=1|1 + Ps=0|1 = 1

•Tscanbeadjustedforminimumcost

•Anandet.al.reportedthecheapesttreesobtainedfromanextensivesearchoverarangeofsensorthresholds.Forexample:forn=4,194,481testswereperformedwiththresholdsvaryingbetween[‐4,4]withastepsizeof0.4

Page 10: EFFICIENT SEQUENTIAL DECISION‐MAKING ALGORITHMS FOR ...dimacs.rutgers.edu/Workshops/PortSecurity/Slides/container.pptx.pdf · Sushil Mi;al and Fred Roberts Rutgers University &

• Approach:– BuildsonideasofStroudandSaeger1atLosAlamosNaLonalLaboratory

– InspecLonschemesareimplementedasBinaryDecisionTreeswhichareobtainedfromvariousBooleanfuncLonsofdifferenta;ributes

– Only“Complete”and“Monotonic”BooleanfuncLonsgivepotenLallyacceptableBinarydecisiontrees

– n=4

1Stroud,P.D.andSaegerK.J.,“Enumera*onofIncreasingBooleanExpressionsandAlterna*veDigraphImplementa*onsforDiagnos*cApplica*ons”,ProceedingsVolumeIV,Computer,Communica*onandControlTechnologies,(2003),328‐333

Previouswork:Aquickoverview

Page 11: EFFICIENT SEQUENTIAL DECISION‐MAKING ALGORITHMS FOR ...dimacs.rutgers.edu/Workshops/PortSecurity/Slides/container.pptx.pdf · Sushil Mi;al and Fred Roberts Rutgers University &

OpLmumThresholdComputaLon• ExtensivesearchoverarangeofthresholdshassomepracLcaldrawbacks:– Largenumberofthresholdvaluesforeverysensor

– Largestepsize– GrowsexponenLallywiththenumberofsensors(computaLonallyinfeasibleforn>4)

• Therefore,weuLlizenon‐linearopLmizaLontechniqueslike:

– Gradientdescentmethod

– Newton’smethod

Page 12: EFFICIENT SEQUENTIAL DECISION‐MAKING ALGORITHMS FOR ...dimacs.rutgers.edu/Workshops/PortSecurity/Slides/container.pptx.pdf · Sushil Mi;al and Fred Roberts Rutgers University &

SearchingthroughaGeneralizedTreeSpace

• WeexpandthespaceoftreesfromStroudandSaeger’s“Complete”and“Monotonic”BooleanFuncLonstoCompleteandMonotonicBDTs,because…

• UnlikeBooleanfuncLons,BDTsmaynotconsiderallsensoroutputstogiveafinaldecision

• Advantages:– Allowsmore,potenLallyusefultreestoparLcipateintheanalysis

– HelpsdefininganirreducibletreespaceforsearchoperaLons

– MovesfocusfromBooleanFuncLonstoBinaryDecisionTrees

Page 13: EFFICIENT SEQUENTIAL DECISION‐MAKING ALGORITHMS FOR ...dimacs.rutgers.edu/Workshops/PortSecurity/Slides/container.pptx.pdf · Sushil Mi;al and Fred Roberts Rutgers University &

RevisiLngMonotonicity• MonotonicDecisionTrees– Abinarydecisiontreewillbecalledmonotonicifall

thelegleafsareclass“0”andalltherightleafsareclass“1”.

• Example:

abcF(abc)00000010010101111000101111001111

Page 14: EFFICIENT SEQUENTIAL DECISION‐MAKING ALGORITHMS FOR ...dimacs.rutgers.edu/Workshops/PortSecurity/Slides/container.pptx.pdf · Sushil Mi;al and Fred Roberts Rutgers University &

RevisiLngCompleteness• CompleteDecisionTrees– Abinarydecisiontreewillbecalledcompleteifeverysensoroccursatleastonceinthetreeandatanynon‐leafnodeinthetree,itslegandrightsub‐treesarenotidenLcal.

• Example:

abcF(abc)00000011010101111000101111011111

Page 15: EFFICIENT SEQUENTIAL DECISION‐MAKING ALGORITHMS FOR ...dimacs.rutgers.edu/Workshops/PortSecurity/Slides/container.pptx.pdf · Sushil Mi;al and Fred Roberts Rutgers University &

TheCMTreeSpace

No.ofaPributes

Dis*nctBDTsTreesFromCMBooleanFunc*ons

CompleteandMonotonicBDTs

2 74 4 4

3 16,430 60 114

4 1,079,779,602 11,808 66,000

Page 16: EFFICIENT SEQUENTIAL DECISION‐MAKING ALGORITHMS FOR ...dimacs.rutgers.edu/Workshops/PortSecurity/Slides/container.pptx.pdf · Sushil Mi;al and Fred Roberts Rutgers University &
Page 17: EFFICIENT SEQUENTIAL DECISION‐MAKING ALGORITHMS FOR ...dimacs.rutgers.edu/Workshops/PortSecurity/Slides/container.pptx.pdf · Sushil Mi;al and Fred Roberts Rutgers University &

TreeSpaceTraversal• GreedySearch

1. RandomlystartatanytreeintheCMtreespace2. FinditsneighboringtreesusingneighborhoodoperaLons3. Movetotheneighborwiththelowestcost4. IterateLllthesoluLonconverges

– TheCMTreespacehasalotoflocalminima.Forexample:9inthespaceof114treesfor3sensorsand193inthespaceof66,000treesfor4sensors.

• ProposedSoluLons• StochasLcSearchMethodwithSimulatedAnnealing• GeneLcAlgorithmsbasedSearchMethod

Page 18: EFFICIENT SEQUENTIAL DECISION‐MAKING ALGORITHMS FOR ...dimacs.rutgers.edu/Workshops/PortSecurity/Slides/container.pptx.pdf · Sushil Mi;al and Fred Roberts Rutgers University &

TreeSpaceIrreducibility

• WehaveprovedthattheCMtreespaceisirreducibleundertheneighborhoodoperaLons

• SimpleTree:– AsimpletreeisdefinedasaCMtreeinwhicheverysensoroccursexactlyonceinsuchawaythatthereisexactlyonepathinthetreewithallsensorsinit.

Page 19: EFFICIENT SEQUENTIAL DECISION‐MAKING ALGORITHMS FOR ...dimacs.rutgers.edu/Workshops/PortSecurity/Slides/container.pptx.pdf · Sushil Mi;al and Fred Roberts Rutgers University &

ToProve:Givenanytwotreesτ1,τ2inCMtreespace,τn,τ2canbereachedfromτ1byanarbitrarysequenceofneighborhoodoperaLons

Weprovethisinthreedifferentsteps:1. Anytreeτ1canbeconvertedtoasimpletreeτs12. Anysimpletreeτs1canbeconvertedtoanyothersimple

treeτs23. Anysimpletreeτs2canbeconvertedtoanytreeτ2

CMTreespace,τn

Simpletreesτ1

τs1 τs2

τ2

Page 20: EFFICIENT SEQUENTIAL DECISION‐MAKING ALGORITHMS FOR ...dimacs.rutgers.edu/Workshops/PortSecurity/Slides/container.pptx.pdf · Sushil Mi;al and Fred Roberts Rutgers University &

Results

• SignificantcomputaLonalsavingsoverpreviousmethods

• Haverunexperimentswithupto10sensors

• GeneLcalgorithmsespeciallyusefulforlargerscaleproblems

Page 21: EFFICIENT SEQUENTIAL DECISION‐MAKING ALGORITHMS FOR ...dimacs.rutgers.edu/Workshops/PortSecurity/Slides/container.pptx.pdf · Sushil Mi;al and Fred Roberts Rutgers University &

CurrentWork

• Treeequivalence

• TreereducLonandirreducibletrees

• CanonicalformrepresentaLonoftheequivalenceclassoftrees

• RevisiLngcompletenessandmonotonicity

Page 22: EFFICIENT SEQUENTIAL DECISION‐MAKING ALGORITHMS FOR ...dimacs.rutgers.edu/Workshops/PortSecurity/Slides/container.pptx.pdf · Sushil Mi;al and Fred Roberts Rutgers University &

ThankYou!

Page 23: EFFICIENT SEQUENTIAL DECISION‐MAKING ALGORITHMS FOR ...dimacs.rutgers.edu/Workshops/PortSecurity/Slides/container.pptx.pdf · Sushil Mi;al and Fred Roberts Rutgers University &

MonotonicBooleanFunc3ons:•Giventwostringsx1x2…xn, y1y2…yn

•Fismonotoniciffxi ≥ yi foralliimpliesthatF(x1x2…xn) ≥ F(y1y2…yn).

CompleteBooleanFunc3ons:•BooleanfuncLonFisincompleteifFcanbecalculatedbyfindingatmostn-1a;ributesandknowingthevalueoftheinputstringonthosea;ributes•Inotherwords,Fiscompleteifallthea;ributescontributetowardstheoutput

Previouswork:Aquickoverview

Page 24: EFFICIENT SEQUENTIAL DECISION‐MAKING ALGORITHMS FOR ...dimacs.rutgers.edu/Workshops/PortSecurity/Slides/container.pptx.pdf · Sushil Mi;al and Fred Roberts Rutgers University &

Previouswork:Aquickoverview• StroudandSaeger:“bruteforce”algorithmforenumeraLng

binarydecisiontreesimplemenLngcomplete,monotonicBooleanfuncLonsandchoosingleastcostBDT.

263,515,92068945x10185

11,8081141,079,779,6024

60916,4303

42742

BDTsfromCMBooleanFunc*ons

CMBooleanExpressions

Dis*nctBDTsNo.ofaPributes

Infeasiblebeyondn>4!

Page 25: EFFICIENT SEQUENTIAL DECISION‐MAKING ALGORITHMS FOR ...dimacs.rutgers.edu/Workshops/PortSecurity/Slides/container.pptx.pdf · Sushil Mi;al and Fred Roberts Rutgers University &

ProblemswithStandardApproaches• GradientDescentMethod:SetngthevalueofthestepsizeheurisLcally,since:– Toosmallstepsize:longLmetoconverge

– Toobigstepsize:mightskiptheminimum

• Newton’sMethod:

– TheconvergencedependslargelyonthestarLngpoint– OccasionallydrigsinthewrongdirecLonandhencefailstoconverge.

• SoluLon:combina*onofgradientdescentandNewton’smethods

Page 26: EFFICIENT SEQUENTIAL DECISION‐MAKING ALGORITHMS FOR ...dimacs.rutgers.edu/Workshops/PortSecurity/Slides/container.pptx.pdf · Sushil Mi;al and Fred Roberts Rutgers University &

TheCombinedMethod1. IniLalizeTasvectorofrandomsensorthresholdvalues

2. Compute∂f ,Hf(τ)3. IfHf(τ)isnotposiLvedefinite,thenfindacloseapproximaLon

4. IfHf(τ)isnotwell‐condiLoned,thentakeafewstepsusinggradientdescentunLlitbecomeswell‐condiLoned

5. TakeastepusingNewton’smethod6. Repeatsteps1‐5unLlthesoluLonconverges7. Repeatsteps1‐6afewLmesandchoosetheoverallminimumcost

Page 27: EFFICIENT SEQUENTIAL DECISION‐MAKING ALGORITHMS FOR ...dimacs.rutgers.edu/Workshops/PortSecurity/Slides/container.pptx.pdf · Sushil Mi;al and Fred Roberts Rutgers University &

TreeNeighborhoodandTreeSpace• Structurebasedmethods

• ClassificaLonbasedmethods

• Wechoosestructurebasedneighborhoodmethodsbecause:

• Smallchangesintreestructuredonoteffectthecostsignificantly,and…

• AllBDTswithsameBooleanfuncLonmaydifferalotincost

Page 28: EFFICIENT SEQUENTIAL DECISION‐MAKING ALGORITHMS FOR ...dimacs.rutgers.edu/Workshops/PortSecurity/Slides/container.pptx.pdf · Sushil Mi;al and Fred Roberts Rutgers University &

TreeNeighborhoodandTreeSpace

• DefinetreeneighborhoodsuchthattheCompleteandMonotonic(CM)treespaceisirreducible

• Irreducibility– AnytreeintheCMtreespacecanbereachedfromanyothertreebyusingtheneighborhoodoperaLonsrepeLLvely

– AnirreducibleCMtreespacehelps“search”forthecheapesttreesusingneighborhoodoperaLons

Page 29: EFFICIENT SEQUENTIAL DECISION‐MAKING ALGORITHMS FOR ...dimacs.rutgers.edu/Workshops/PortSecurity/Slides/container.pptx.pdf · Sushil Mi;al and Fred Roberts Rutgers University &

SearchOperaLons

• SplitPickaleafnodeandreplaceitwithasensorthatisnotalreadypresentinthatbranch,andtheninsertarcsfromthatsensorto0andto1.

Page 30: EFFICIENT SEQUENTIAL DECISION‐MAKING ALGORITHMS FOR ...dimacs.rutgers.edu/Workshops/PortSecurity/Slides/container.pptx.pdf · Sushil Mi;al and Fred Roberts Rutgers University &

SearchOperaLons

• SwapPickanon‐leafnodeinthetreeandswapitwithitsparentnodesuchthatthenewtreeissLllmonotonicandcompleteandnosensoroccursmorethanonceinanybranch.

Page 31: EFFICIENT SEQUENTIAL DECISION‐MAKING ALGORITHMS FOR ...dimacs.rutgers.edu/Workshops/PortSecurity/Slides/container.pptx.pdf · Sushil Mi;al and Fred Roberts Rutgers University &

SearchOperaLons

• MergePickaparentnodeoftwoleafnodesandmakeitaleafnodebycollapsingthetwoleafnodesbelowit,orpickaparentnodewithoneleafnode,collapsebothofthemandshigthesub‐treeupinthetreebyonelevel.

Page 32: EFFICIENT SEQUENTIAL DECISION‐MAKING ALGORITHMS FOR ...dimacs.rutgers.edu/Workshops/PortSecurity/Slides/container.pptx.pdf · Sushil Mi;al and Fred Roberts Rutgers University &

SearchOperaLons

• ReplacePickanodewithasensoroccurringmorethanonceinthetreeandreplaceitwithanyothersensorsuchthatnosensoroccursmorethanonceinanybranch.

Page 33: EFFICIENT SEQUENTIAL DECISION‐MAKING ALGORITHMS FOR ...dimacs.rutgers.edu/Workshops/PortSecurity/Slides/container.pptx.pdf · Sushil Mi;al and Fred Roberts Rutgers University &

StochasLcSearchMethod1. RandomlystartatanytreeinCMspace

2. Finditsneighboringtrees,andfindtheiropLmumcosts

3. Selectmoveaccordingtothefollowingprobability.Ifweareattheithtreeτi,thentheprobabilityofgoingtoitskthneighborτik,isgivenby

whereniisthenumberofneighboringtreesofτi4. IniLalizethetemperaturet = 1,andloweritindiscreteunequal

stepsagereverymhopsunLlthesoluLonconverges

5. Repeatsteps1‐4afewLmesandchoosetheoverallminimum

( )

( )

1

1

1

( ) ( )

( ) ( )i

t

i ik

ki nt

i ij

j

f fP

f f

! !

! !=

=

"

Page 34: EFFICIENT SEQUENTIAL DECISION‐MAKING ALGORITHMS FOR ...dimacs.rutgers.edu/Workshops/PortSecurity/Slides/container.pptx.pdf · Sushil Mi;al and Fred Roberts Rutgers University &

TreeSpaceIrreducibility

1. τ1τs1:

•Repeatedsubtreemerger•Toremoveanodeatdepthk, atmostk-2 needtobecheckedforcompleteness•WeprovethatthereisatleastonenodeinasubtreeatanyLme,thatcanbemergedwithoutdisturbingtheoverallcompletenessconstraint

Page 35: EFFICIENT SEQUENTIAL DECISION‐MAKING ALGORITHMS FOR ...dimacs.rutgers.edu/Workshops/PortSecurity/Slides/container.pptx.pdf · Sushil Mi;al and Fred Roberts Rutgers University &

TreeSpaceIrreducibility

2. τs1τs2:

•Firstconvertτs1tohavesimilar“skeleton”asτs2•ThenuserepeatedSwapoperaLons

SPLIT SPLITMERGE

MERGE

SWAPSWAPSWAP

Page 36: EFFICIENT SEQUENTIAL DECISION‐MAKING ALGORITHMS FOR ...dimacs.rutgers.edu/Workshops/PortSecurity/Slides/container.pptx.pdf · Sushil Mi;al and Fred Roberts Rutgers University &

TreeSpaceIrreducibility

3. τs2τ2:

•TheprocessofgoingfromatreetoasimpletreeisenLrelyreversible.Forexample:

–anysplitoperaLoncanbereversedusingamergeoperaLonandvice‐versa

–swapandreplaceoperaLonscanbereversedbyoppositeswapandreplaceoperaLons,respecLvely

•Therefore,τ2τs2impliesτs2τ2

Page 37: EFFICIENT SEQUENTIAL DECISION‐MAKING ALGORITHMS FOR ...dimacs.rutgers.edu/Workshops/PortSecurity/Slides/container.pptx.pdf · Sushil Mi;al and Fred Roberts Rutgers University &

GeneLcAlgorithmsbasedSearch

• TheunderlyingideaistogetapopulaLonof“be;er”treesfromacurrentpopulaLonof“good”treesbyusingthebasicoperaLons:– SelecLon– Crossover–MutaLon

• “be;er”decisiontreescorrespondtotheonescheaperthanthecurrentones(“good”)

Page 38: EFFICIENT SEQUENTIAL DECISION‐MAKING ALGORITHMS FOR ...dimacs.rutgers.edu/Workshops/PortSecurity/Slides/container.pptx.pdf · Sushil Mi;al and Fred Roberts Rutgers University &

GeneLcAlgorithmsbasedSearch

• Selec*on:– Selectarandom,iniLalpopulaLonofNtreesfromCMtreespace

• Crossover:– PerformedkLmesbetweeneverypairoftreesinthecurrentbestpopulaLon,bestPop

Page 39: EFFICIENT SEQUENTIAL DECISION‐MAKING ALGORITHMS FOR ...dimacs.rutgers.edu/Workshops/PortSecurity/Slides/container.pptx.pdf · Sushil Mi;al and Fred Roberts Rutgers University &

GeneLcAlgorithmsbasedSearch

– ForeachcrossoveroperaLonbetweentwotreesτiandτj,werandomlyselectanodeineachtreeandexchangetheirsubtrees

– However,weimposecertainrestricLonontheselecLonofnodes,sothattheresultanttreessLlllieinCMtreespace

Page 40: EFFICIENT SEQUENTIAL DECISION‐MAKING ALGORITHMS FOR ...dimacs.rutgers.edu/Workshops/PortSecurity/Slides/container.pptx.pdf · Sushil Mi;al and Fred Roberts Rutgers University &

GeneLcAlgorithmsbasedSearch

• Muta*on:

– Performedagereverym generaLonsofthealgorithm

– WedotwotypesofmutaLons:

1. Generateallneighborsofthecurrentbest

populaLonandputthemintothegenepool

2. ReplaceafracLonofthetreesofbestPopwithrandomtreesfromtheCMtreespace

Page 41: EFFICIENT SEQUENTIAL DECISION‐MAKING ALGORITHMS FOR ...dimacs.rutgers.edu/Workshops/PortSecurity/Slides/container.pptx.pdf · Sushil Mi;al and Fred Roberts Rutgers University &

ResultsI‐ThresholdOpLmizaLon

• ManyLmestheminimumobtainedusingtheopLmizaLonmethodwasconsiderablylessthantheonefromtheextensivesearchtechnique.

0 20 40 60 80 100

100

150

200

250

300

350

400

450

500

Tree Number

Total Cost

Tree costs at optimum thresholds

Combined Optimization

Extensive search

Page 42: EFFICIENT SEQUENTIAL DECISION‐MAKING ALGORITHMS FOR ...dimacs.rutgers.edu/Workshops/PortSecurity/Slides/container.pptx.pdf · Sushil Mi;al and Fred Roberts Rutgers University &

ResultsII‐SearchingCMTreeSpace

• StochasLcSearchMethod:• Successfullyperformedexperimentsforupton =5• Forexample,for4sensors(66,000trees)

– 100differentexperimentswereperformed

– Eachexperimentwasstarted10LmesrandomlyatsometreeandchainswereformedbymakingstochasLcmovesintheneighborhood,unLlconvergence

– Only4890treeswereexaminedonaverageforeveryexperiment

– Globalminimumwasfound82Lmeswhilethesecondbesttreewasfound10Lmes

Page 43: EFFICIENT SEQUENTIAL DECISION‐MAKING ALGORITHMS FOR ...dimacs.rutgers.edu/Workshops/PortSecurity/Slides/container.pptx.pdf · Sushil Mi;al and Fred Roberts Rutgers University &

ResultsII‐SearchingCMTreeSpace

• GeneLcAlgorithmsbasedMethod:• Successfullyperformedexperimentsforupton =10• For4sensors(66,000trees)

– 100differentexperimentswereperformed

– EachexperimentwasstartedwitharandompopulaLonof20treesandwasconLnuedfor27generaLonseach;themutaLonsareperformedagerevery3generaLons

– Only1440treeswereexaminedonaverageforeveryexperiment

– Globalminimumwasfoundall100Lmes– ThealgorithmreturnsawholepopulaLonofgoodtreesmostofwhichbelongto50besttrees

Page 44: EFFICIENT SEQUENTIAL DECISION‐MAKING ALGORITHMS FOR ...dimacs.rutgers.edu/Workshops/PortSecurity/Slides/container.pptx.pdf · Sushil Mi;al and Fred Roberts Rutgers University &

ResultsII‐SearchingCMTreeSpace

• Similarly,forn=5,thetreespaceconsistsofmorethan22.5billiontrees,wealwaysobtainedoneofthefollowingbesttrees:

• Eachofthesetreescosts41.4668

Page 45: EFFICIENT SEQUENTIAL DECISION‐MAKING ALGORITHMS FOR ...dimacs.rutgers.edu/Workshops/PortSecurity/Slides/container.pptx.pdf · Sushil Mi;al and Fred Roberts Rutgers University &

ResultsII‐SearchingCMTreeSpace

• Forn=10,followingwerethebesttreesoverafewruns:

Page 46: EFFICIENT SEQUENTIAL DECISION‐MAKING ALGORITHMS FOR ...dimacs.rutgers.edu/Workshops/PortSecurity/Slides/container.pptx.pdf · Sushil Mi;al and Fred Roberts Rutgers University &

CurrentWork• TreeEquivalence

–DecisionEquivalence:TwoormoredecisiontreesarecalleddecisionequivalentiftheirunderlyingBooleanfuncLonissame–CostEquivalence:Twotreesarecalledcostequivalentifftheyare“transposes”ofeachother.Forexample:

–ThesizeoflargestequivalenceclassalsoincreasesmorethandoubleexponenLallywithn–Therefore,wedefineaspaceofequivalenceclassesofdecisiontrees,withaunique,canonicalrepresentaLonofeachclass

Page 47: EFFICIENT SEQUENTIAL DECISION‐MAKING ALGORITHMS FOR ...dimacs.rutgers.edu/Workshops/PortSecurity/Slides/container.pptx.pdf · Sushil Mi;al and Fred Roberts Rutgers University &

CurrentWork• TreeReducLonandIrreducibleTrees

–Atransposeofacompletetreecanbeincomplete.Forexample:

–IrreducibleTrees:Atreewillbecalledirreducible,ifallthetreesbelongingtoitsequivalenceclassarecomplete

Page 48: EFFICIENT SEQUENTIAL DECISION‐MAKING ALGORITHMS FOR ...dimacs.rutgers.edu/Workshops/PortSecurity/Slides/container.pptx.pdf · Sushil Mi;al and Fred Roberts Rutgers University &

CurrentWork• CanonicalFormRepresentaLon

– WechosealexicographicrepresentaLonoftheequivalenceclass– “Pull‐up”thelexicographicallysmallestsensorastheroot

nodeandrecursivelyrepeattheprocedureinthelegandrightsubtrees

– AcanonicalformrepresentaLonofanequivalenceclassenablesusto“shrink”thetreespace

– Everytreeisfirstconvertedtoitscanonicalform,beforecheckingforitscost,thereforecheckingthecostofonlyonetreefromanequivalenceclassissufficient

Page 49: EFFICIENT SEQUENTIAL DECISION‐MAKING ALGORITHMS FOR ...dimacs.rutgers.edu/Workshops/PortSecurity/Slides/container.pptx.pdf · Sushil Mi;al and Fred Roberts Rutgers University &

CurrentWork• CanonicalFormRepresentaLon:Example

Page 50: EFFICIENT SEQUENTIAL DECISION‐MAKING ALGORITHMS FOR ...dimacs.rutgers.edu/Workshops/PortSecurity/Slides/container.pptx.pdf · Sushil Mi;al and Fred Roberts Rutgers University &

CurrentWork• RevisiLngCompleteness:

1. Atanynodeinatree,thelegandrightsubtreesshouldnotbe

cost‐equivalent

2. Atanynodeinatree,thelegandrightsubtreesshouldnothave

idenLcalBooleanfuncLon

• 2covers1,therefore…

• Equi‐completeBDT:Abinarydecisiontreewillbecalledequi‐

completeifeverysensoroccursatleastonceinthetreeand,atany

non‐leafnode,thelegandrightsubtreesdonotcorrespondtosame

BooleanfuncLon.

Page 51: EFFICIENT SEQUENTIAL DECISION‐MAKING ALGORITHMS FOR ...dimacs.rutgers.edu/Workshops/PortSecurity/Slides/container.pptx.pdf · Sushil Mi;al and Fred Roberts Rutgers University &

CurrentWork• RevisiLngMonotonicity:

1. Acost‐equivalenttreeofamonotonictreecanbenon‐monotonic(‘0’asrightleaf,‘1’aslegleaforboth).

• Equi‐monotonicBDT:Abinarydecisiontreewillbecalledequi‐monotonic,ifallthetreesbelongingtoitsequivalenceclassaremonotonic.

Page 52: EFFICIENT SEQUENTIAL DECISION‐MAKING ALGORITHMS FOR ...dimacs.rutgers.edu/Workshops/PortSecurity/Slides/container.pptx.pdf · Sushil Mi;al and Fred Roberts Rutgers University &

Discussion

1. TheexhausLvesearchmethod,forfindingtheopLmumthresholdsforagiventree,becomepracLcallyinfeasiblebeyondaverysmallnumberofsensors.

2. ThethresholdopLmizaLontechniquediscussedinourworkprovidefasterandbe;erwaystocalculatetheopLmaltotalcostofatree.

3. TheexhausLvesearchmethod,forfindingthecheapesttreeintheenLrespaceoftreesisalsohardtoextendbeyondaverysmallnumberofsensors.

4. WedescribedacoupleofefficientsearchmethodstofindthebesttreesintheCMtreespace

Page 53: EFFICIENT SEQUENTIAL DECISION‐MAKING ALGORITHMS FOR ...dimacs.rutgers.edu/Workshops/PortSecurity/Slides/container.pptx.pdf · Sushil Mi;al and Fred Roberts Rutgers University &

Discussion

5. ExpandingtheideasofmonotonicityandcompletenessfromBDFstoBDTsisreasonablebecause:• certaintreesobtainedfromincomplete/non‐

monotonicBDFsarepotenLallyvalidBDTsand,• itfacilitatestreesearchalgorithms

6. WeprovedthattheproposedCMtreespaceisirreducibleunderthedefinedneighborhoodoperaLons.

7. WediscussedtheideasoftreeequivalenceandtreereducLonthathelpus“shrink”thetreespace

8. Wedescribewaytorepresentanequivalenceclasswithaunique,canonicalform.

Page 54: EFFICIENT SEQUENTIAL DECISION‐MAKING ALGORITHMS FOR ...dimacs.rutgers.edu/Workshops/PortSecurity/Slides/container.pptx.pdf · Sushil Mi;al and Fred Roberts Rutgers University &

FutureWork

• Amorebasicandrigorousanalysisofmonotonicityisrequired

• DifferentinstancesofasensorinatreecanbesettodifferentthresholdsforopLmumcost

• Sensormodels,otherthantheoneweusecouldbetried

Page 55: EFFICIENT SEQUENTIAL DECISION‐MAKING ALGORITHMS FOR ...dimacs.rutgers.edu/Workshops/PortSecurity/Slides/container.pptx.pdf · Sushil Mi;al and Fred Roberts Rutgers University &

• Dr.FredRoberts

• DIMACS,NSFandONR

• Dr.PeterMeerandOncelTuzel

• Dr.EndreBoros

Acknowledgements