




已閱讀5頁(yè),還剩7頁(yè)未讀, 繼續(xù)免費(fèi)閱讀
版權(quán)說(shuō)明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請(qǐng)進(jìn)行舉報(bào)或認(rèn)領(lǐng)
文檔簡(jiǎn)介
arXiv:1707.01926v1cs.LG6Jul20171GraphConvolutionalRecurrentNeuralNetwork:Data-DrivenTracForecastingYaguangLiRoseYuCyrusShahabiYanLiuDepartmentofComputerScience,UniversityofSouthernCaliforniayaguang,qiyu,shahabi,AbstractSpatiotemporalforecastinghassignicantimplicationsinsustainability,transportationandhealth-caredomain.Tracforecastingisonecanonicalexampleofsuchlearningtask.Thistaskischallengingdueto(1)non-lineartemporaldynamicswithchangingroadconditions,(2)complexspatialdependenciesonroadnetworkstopologyand(3)inherentdicultyoflong-termtimeseriesforecasting.Toaddressthesechallenges,weproposeGraphConvolutionalRecurrentNeuralNetworktoincorporatebothspatialandtemporaldependencyintracow.Wefurtherintegratetheencoder-decoderframeworkandscheduledsamplingtoimprovelong-termforecasting.Whenevaluatedonreal-worldroadnetworktracdata,ourapproachcanaccuratelycapturespatiotemporalcorrelationsandconsistentlyoutperformsstate-of-the-artbaselinesby12%-15%.IntroductionSpatiotemporalforecastingisacrucialtaskforalearningsystemthatoperatesinadynamicenvironment.Accuratespatiotemporalforecastinghasawiderangeofapplicationsrangingfromvideocompressionandunderstanding,astoenergyandsmartgridmanagement,economicsandnance,toenvironmentalandhealthcare.Inthispaper,westudyoneexampleofspatiotemporalforecastingtask:tracforecasting,thecorecomponentoftheintelligenttransportationsystems.Webelieveourapproachisnotlimitedtotransportation,andisreadilyapplicabletootherdomainsaswell.Thegoaloftracforecastingistopredictthefuturespeedsofasensornetworkusingprevioustracspeedsaswellastheunderlyingroadnetworksstructure.Thistaskischallengingmainlyduetothecomplexspatialandtemporaldependencies.Ononehand,tractimeseriesdemonstratestrongtemporaldynamic.Recurringincidentssuchasrushhoursoraccidentscancausenon-stationarybehaviorintracspeeds,leadingtodicultyinlong-termforecasting.Ontheotherhand,multivariatetimeseriesfromasensornetworkcontaincomplexspatialcorrelations.Itisoftenthecasethatsuchspatialcorrelationarehighlylocalized.Figure1showstheweightslearnedfromtheauto-regressivemodelusingweightedaverageforasinglesensorprediction.Thelearnedweightshighlyconcentrateonitscloseneighbors.Anotherimportantcharacteristicsoftracisthe“conservationofow”,whichmeansthenumberofvehiclesinaroadnetworkstaysrelativelythesameduringashorttimeperiod.Intheliterature,tracforecastinghasbeenstudiedfordecades,fallingintotwomaincate-gories:data-drivenapproachandknowledge-drivenapproach.Intransportationandoperationalresearch,knowledge-drivenmethodsusuallyapplyqueuingtheoryandsimulateuserbehaviorsintrac5.Intimeseriescommunity,data-drivenmethodssuchasautoregressiveintegratedmovingaverage(ARIMA)modelandKalmanlteringremainpopular15,14.However,simpletimese-riesmodelsusuallyrelyonthestationarityassumptionofthetimeseries,andhavelimitedcapacity1torepresenthighlynonlineardynamics.Mostrecently,deeplearningmodelsfortracforecastingforecastinghavebeendevelopedin16,28.In10,theauthorsdevelopdeepauto-regressivemodelsformoregeneralspatiotemporalforecastingtask,e.g.,inventoryforecasting.However,thesedeeplearningmodelsonlyapplytounivariatetimeseriesorfocusonshort-termforecasting.Deepneuralnetworkmodelsforthedomainofspatiotemporalforecastingstaylargelyelusive.Ourworkservesasanimportantsteptointegratemanyimportantdevelopmentsindeeprecurrentneuralnetworksintotimeseriesanalysis,particularlyforspa-tiotemporalforecasting.Weleveragerecentadvancesingraphconvolution7,21andsequencemodeling6,3todesigntheGraphConvolutionalRecurrentNeuralNetwork(GCRNN).GCRNNmodelsboththespatialandthetemporaldependenceinthetracnetwork.Specically,weresorttorecurrentneuralnetworktocapturethenon-lineardynamics,andmodifytheGatedRecurrentUnittoincorporatetheunderlyingsensornet-workstructure.Thisisdonethroughtransformationofinputsequencethroughagraphconvolutionalkernel.Figure1:LocalspatialdependencyforToaddresstheerrorpropagationissueinlong-termfore-singlesensorlearnedfromweightedav-castingtask,wefurtherintegratetheencoder-decodererage.Largerweightsindicatehigherframeworkandscheduledsamplingtechnique3.Whencorrelation.evaluatedonthereal-worldtracdata,GCRNNconsistentlyoutperformsstate-of-the-arttracforecastingbaselinesbyalargemargin.Ourcontributionscanbesummarizedasfollows:Weinvestigatedtracforecasting,animportantmultivariatespatiotemporalforecastingtask,andidentieditsuniquespatiotemporaldependencystructure.Weproposedgraphconvolutionrecurrentneuralnetworkasawholisticframeworktoecientlycapturebothspatialandtemporalstructure.Theproposedapproachachievesthebestreportedresultsonreal-worldtracforecastingandobtainedsignicantimprovementoverstate-of-the-artmethods.2RelatedWorkTracforecastingisaclassicproblemintransportationandoperationalresearchwhicharelargelybasedonqueuingtheoryandsimulations9.Data-drivenapproachesfortracforecastinghavereceivedconsiderableattention,detailscanbefoundinarecentsurveypaper25andthereferencestherein.However,existingmachinelearningmodelseitherimposestrongstationaryassumptionsofthedata(e.g.,auto-regressivemodel)orfailtoaccountforhighlynon-lineartemporaldependency(e.g.,latentspacemodel27,8).Recently,deeplearningmodelsdelivernewpromisefortimeseriesforecastingproblem.Forexample,in28,theauthorsstudyunivaritetimeseriesforecastingusingdeepLSTMnetwork.In10,theauthorsproposeaprobabilisticdeepauto-regressiverecurrentframeworktoforecastinventorytimeseriesacrossdierentdomains.Theforecastingproblemwearefacinghereisspatiallycorrelatedtimeseries,whichrequirescarefulmodelingofbothspatialandtemporaldependency.Intermsofgeneralsequencemodeling,RecurrentNeuralNetworks(RNNs)havebecomethestate-of-the-artchoice,leadingtosuccessfulapplicationsinlanguagemodeling2,videogeneration23,speechrecognition17andweathernowcasting26.However,mostexisting2GraphConvolutionalGraphConvolutionalRecurrentLayerRecurrentLayerGraphConvolutionalGraphConvolutionalRecurrentLayerRecurrentLayerInputGraphSignalsPredictions.TimeDelay=1EncoderCopyStatesDecoderFigure2:SystemarchitectureforGraphConvolutionalRecurrentNeuralNetworkdesignedforspatiotemporaltracforecasting.deepsequencemodelsdealswitheitherdiscretetimesequenceorsequencesthatareevenlydistributedoveraregulargrid.Forinstance,convolutionalLSTMnetwork26capturesthespatiotemporalstructureamongpixelsbyapplyingaconvolutionallterovereachframeofthevideostream.Thelanguagesequencesareoftenencodedasdiscretetimeseries.Onthecontrary,timeseriesfromsensornetworksintracforecastingarecontinuoustimesequencesdistributedoveragraph.Closelyrelatedtoourworkisthedeeplearningmodelsfornon-Euclideanstructureddata.Forexample,in20,theauthorsproposeGraphNeuralNetworks(GNN)modelinthevertexspace,whichlearnsnoderepresentationsforthegraph.Lietal.13extendsGNNforsequencemodeling.TheresultingGatedGraphSequenceNeuralnetworkachievesthestate-of-the-artperformanceforprogramverication.Goingfromvertexdomaintospectraldomain,spectralgraphconvolutionalneuralnetworks(GCN)arerstintroducedin4,whichbridgesthespectralgraphtheoryanddeepneuralnetworks.In7,theauthorsfurtherimproveGCNwithfastlocalizedconvolutionslters.OurmodelextendsGCNtomodelmultivariatetimeseriesdistributedonanetwork.OurmodelcoincideswitharecentworkonsequentialgeneralizationofGCN21,however,wefocusoncontinuoustimepredictionandlong-termforecastingbyincorporatingencoder-decoderarchitecture24andscheduledsampling3techniques.3MethodologyWerstformalizethelearningproblemoftracforecastingandidentifyuniquespatiotemporaldependencystructures.Wethenproposeavariationofthedeeprecurrentneuralnetworkmodel.Givenaseriesofroadnetworksnapshots,ourmodeladdressesthreetechnicaldiculties:(1)localizedspatialdependency,(2)temporaldynamicsingraphs,and(3)long-termforecasting.3.1TracForecastingProblemThegoaloftracforecastingistopredictthefuturetracspeedbasedonpreviouslyobservedtracow.Thetracowismeasuredbynspatiotemporalcorrelatedsensorsontheroadnetwork.Thepair-wiserelationshipbetweenthosesensorscanbemodeledasaweightedgraphG=(V,E,A),whereVisanitesetof|V|=nvertices,whileEisasetofedgesandARnnis3Htimesteps,i.e.,Xt+1,Xt+H,whereHistheforecastinghorizon.aweightedadjacencymatrixrepresentingtheconnectivitybetweensensors.Thus,anobservationoftracspeedsatatimetcanbeviewedasagraphsignal,Xt:VRdx,wheredxisthedimensionofsignalineachnode.Thetracforecastingproblemcanbeformulatedasfollows:givensensorgraphGandhistoricaltracmeasurementsofsensors,inferthemostlikelytracmeasurementsinthenextXt+H,Xt+1=argmaxlogP(Xt+H,Xt+1|Xt,XtK+1;G,)Xt+H,Xt+1Supposethateachtimestepis5minutesandHis12,theoutputsofthemodelwillbethetracmeasurementofevery5minutesforallthesensorsinthenexthour.Notethattheaforementionedtracforecastingproblemisdierentfromthesingle-steptimeseriesforecastingproblem.ThepredictiontargetofourproblemisasequenceofmultivariatetimeseriesdistributedoveragraphGwhichcontainsbothspatialandtemporalstructures.Moreover,thepredictionproblemdenedin26canbeconsideredasaspecialcaseofthisproblemwhereGisaregulargrid.3.2SpatialDependencyModelingTractimeseriesfromroadnetworksensorsdemonstratestrongspatialdependency.Itismainlydueto(1)networkconnectivity:highwaynetworksusuallyhavesensorsinstalledevery1-2miles,andtracowofadjacentsensorsarehighlycorrelated;(2)owconservation:thenumberofvehiclesenteringandexitingtheroadsareapproximatelythesame.Unfortunately,recurrentneuralnetworks(RNNs)donotexplicitlymodelsuchspatialdependency.Inthiswork,weaugmentRNNsbyconsideringspatialcorrelationsamongmultivariatetimeseries.GraphAttentionMechanismInRNNs,theactivationisaweightedcombinationofallthehistoricalobservationsandhiddenstates,whilethespatialdependencyoftracisratherlocalized.Inordertoaccountforsuchlocaldependency,wegeneralizetheattentionmechanismfromsequencemodelingtospatialmodeling.Inparticular,weallowthemodeltolearntofocusoncloseneighborhoodsinsteadoftheentirenetwork.Thisisachievedbyrepresentingthehiddenstateofasensorusingacombinationofthehiddenstatesfromnearbysensorsweightedbyattention.Theattentionmechanismisdenedas:fatt(hi,hj)=hiWahj,aij=exp(fatt(hi,hj)knb(i,K)exp(fatt(hi,hk),gi=jnb(i,K)aijhj,(1)wherehidenotesthehiddenstatesofsensoriwhichisextractedusingaRNNsharedacrossallthenodes.nb(i,K)returnsthesetofneighborsthatarewithinK-hopfromnodei,andgirepresentstheaggregatedhiddenstatefornodeithatincorporatesinformationfromneighborhoodnodes.Then,theforecastingtaskofnodeiisimplementedusingafullyconnectedfeedforwardnetworkwithgiastheinput.GraphLaplacianTransformationGraphattentionmechanismenablesexplicitnetworkstructuremodeling,butinpracticeitonlyleadstomarginalperformanceimprovement.Thisispartlybecauseofthedicultyintrainingsuchmodelasitistimeconsumingtocomputepair-wiseattentionforlargenumberofnodes.Anotherreasonisthatgraphattentiononlymodelsthetopologicaldependencyinthevertexdomain,andyetitfailstocapturethe“conservationofow”propertyintrac.WeresolvethisissuebytransformingthetractimeseriesfromvertexdomainintothespectraldomainusinggraphLaplacian.4Figure3:Visualizationofeigen-functions.(a)showssensorlocationsonthemap.(b)and(c)correspondtoeigen-functionswithsmalleigenvalue(lowfrequencyandsmooth)while(d)and(e)correspondtooneswithlargeeigenvalues(highfrequencyandnon-smooth).GraphLaplacianisadiscreteversionofLaplacianoperator,whichcharacterizesthecon-nectivityofthegraph.ApplyingLaplacianoperatory=Lxtothesignalrepresentsone-stepdiusionofthesignalonthegraph.WearguethatitisnaturaltouseGraphLaplacianoperatorfortracforecastingproblems.Ifwemodelthechangeoftracowasxti(t)=jAij(xixj),wehavexti(t)=cLix,whereAijistheelementoftheadjacencymatrixofthegraph,ListhegraphLaplacianandcisaconstant.Thissharessimilarformastheheatequation,whichisgivenbythelaw“conservationofenergyinphysics.Inimageprocessing,thistransformationisknownasgraphconvolutionalkernel,denotedasg.Tracforecastingproblemprovidesanalternativemotivationofperformingsuchtransformation.ToobtaintheLaplacianmatrix,weconstructtheadjacencymatrixbasedonroadnetworkdistancewithathresholdedGaussiankernel22.Figure3visualizestheeigen-functionsofthenormalizedLaplacianmatrixforpartoftheroadnetworkinLosAngeles.Smalleigen-functionsrepresentsmoothspatialdependencywhilelargeonesdenotehighoscillation.WecanmakesomeinterestingobservationsinFigure3,whichcouldhelpexplainthespatialdependencycapturedbyLaplacian.Forexample,in(c)NearUniversalStudiosHollywood,atthecrossingofhighway101,134and170(d)NearRoseBowlStadium,atthecrossingofhighway2and134.Todealwithspatialdependencyatdierentresolutions,wecomputeaweightedsumofkthpowerofLaplacianasthespectraltransformation.ThisisbasedonthefactthatkthpowerofLaplacianissupportedbyexactlyk-hopneighbors22,representingthespreadoftracowatdierentscale.ComputingthekthpowerLaplacianmatrixcanbecomputationallyexpensive,soweapplyChebyshevpolynomialexpansion7forecientapproximation.K1K1K1y=gw(L)x=wkLx=UwkUxwkTk()xtttktkt(2)k=0k=0k=0ofChebyshevcoecientswhileTk()RnnistheChebyshevpolynomialoforderkevaluatedat=2/maxI.ThisapproximationreducesthelteringcomputationalcostfromO(|V|2)wherethegw(L)isthelearnedlterbasedonLaplacianmatrix.parameterwRKisavectortoO(K|E|).3.3TemporalDynamicsModelingWemodelthetemporaldynamicsintheframeworkofrecurrentneuralnetworks.OneofthevariantsofRNNistheGatedRecurrentUnits(GRU)6whichhasasimplerstructureandcompetitiveperformancecomparingwithLSTM.GatedGraphConvolutionWeincorporatespatialdependencyintoGRUbyreplacingthematrixmultiplicationwiththegraphconvolutionGdenedinEquation2.Thisgraphconvolu-5Figure4:Visualizationof24hoursroadnetworktractimeseriesevolutioninspectraldomainwithLaplaciantransformedinput(toprow)andvertexdomainwithrawinput(bottomrow).Spectraldomainenjoysbettersparsity.Theskewnessofthedistributionofthetransformedinputreectsthetraccongestioncondition.tionaloperationisappliedtobothinputsandhiddenstatestoobtainaGraphConvolutionalGatedRecurrentUnit(GCGRU).rt=(WrGxt+UrGht1+br)ut=(WuGxt+UuGht1+bu)ct=tanh(WcGxt+UcG(rtht1)+bc)ht=utht1+(1ut)ctWestackGRUandunrolltherecurrenceforaxednumberofstepsTanduseback-propagationthroughtimeinordertocomputegradients.Figure4showstheroadnetworktracevolutionin24hours,goingthroughmorningrushhourandafternoonrushhour.Wecanseethatinspectraldomain,thetracspeedtimeseriesenjoysbettersparsitythaninthevertexdomain.Thedistributionofthetransformedinputreectthetraccongestioncondition.Withheavycongestioninrushhour,thespectraldistributionofthetimeseriesbecomemoreheavy-tailed.Long-TermForecastingInlong-termforecasting,simplytrainingthemodelforonestepaheadprediction,andthenback-feedingthepredictionsattesttimeispronetoerrorpropagation.Theforecastingerrorinearlierstepscouldbequicklyampliedoverlong-timespan.Wedrawinspirationfromtheencoder-decoderarchitecture24aswellasscheduledsam
溫馨提示
- 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ù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
- 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ì)自己和他人造成任何形式的傷害或損失。
最新文檔
- 品牌代理居間合同協(xié)議
- 殯儀館合同協(xié)議
- 樓盤精裝購(gòu)房合同協(xié)議
- 員工股權(quán)激勵(lì)合同協(xié)議
- 商住房買賣合同協(xié)議
- 山東省聊城市茌平縣重點(diǎn)中學(xué)2025年初三中考數(shù)學(xué)試題系列模擬卷(5)含解析
- 欠款結(jié)算協(xié)議書范本
- 商場(chǎng)拆除合同協(xié)議書模板
- 哺乳期協(xié)議終止合同
- 快消品銷售包干合同協(xié)議
- (二模)湛江市2025年普通高考測(cè)試(二)政治試卷(含答案)
- 給夢(mèng)一個(gè)奔跑的方向-“距離夢(mèng)想大學(xué)有多遠(yuǎn)”-高中熱點(diǎn)大觀園
- 防空掩體知識(shí)培訓(xùn)課件
- 人民醫(yī)院人才隊(duì)伍建設(shè)規(guī)劃人才隊(duì)伍建設(shè)五年規(guī)劃
- 一年級(jí)語(yǔ)文下冊(cè)課件-21 小壁虎借尾巴24-部編版(15張PPT)
- 患者隨訪率低原因分析以及對(duì)策
- 計(jì)量認(rèn)證實(shí)驗(yàn)室程序文件(全套)
- DGC型瓦斯含量直接測(cè)定裝置使用說(shuō)明書
- 普通座式焊接變位機(jī)工裝設(shè)計(jì)全套圖紙
- 銀證合作產(chǎn)品營(yíng)銷手冊(cè)
- 控制體重對(duì)降低巨大兒發(fā)生率的臨床研究
評(píng)論
0/150
提交評(píng)論