人工智能机器学习High-Speed Rail Operating Environment Recognition Based on Neural Network and Adversarial Training_第1页
人工智能机器学习High-Speed Rail Operating Environment Recognition Based on Neural Network and Adversarial Training_第2页
人工智能机器学习High-Speed Rail Operating Environment Recognition Based on Neural Network and Adversarial Training_第3页
人工智能机器学习High-Speed Rail Operating Environment Recognition Based on Neural Network and Adversarial Training_第4页
人工智能机器学习High-Speed Rail Operating Environment Recognition Based on Neural Network and Adversarial Training_第5页
已阅读5页,还剩10页未读, 继续免费阅读

付费下载

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

2019IEEE31stInternationalConferenceonToolswithArtificialIntelligence(ICTAI)

High-speedRailOperatingEnvironment

RecognitionBasedonNeuralNetworkand

AdversarialTraining

XiaoxueHou∗,JieAn∗,MiaomiaoZhang∗§,BowenDu†§,JingLiu‡§

∗SchoolofSoftwareEngineering,TongjiUniversity,Shanghai,China

†DepartmentofComputerScience,UniversityofWarwick,Coventry,England

‡SchoolofSoftwareEngineering,EastChinaNormalUniversity,Shanghai,China

Abstract—Neuralnetworkisoneofthekeytechnologiesfor

deeplearning.Experimentsonsomestandardtestdatasetsshow

thattheirrecognitionabilityhasreachedthelevelofhuman

beings.However,theyareextremelyvulnerabletoadversarial

examples,thatis,addingsomesubtleperturbationstotheinput

examplecancausethemodeltogiveawrongoutputwithhigh

confidence.Inthispaper,weproposeanon-contactapproach

basedonneuralnetworkandadversarialtrainingtorecognize

thehigh-speedrailoperatingenvironment.Wefirstbuiltthe

environmentdatasetandtrainedneuralnetworkmodelstodo

therecognition.Wefoundthatourmodelhadhighprediction

accuracy,butwithpoorsecuritysinceitwaseasytoattack

ourmodelusingBasicIterativeMethods(BIM).Toimprove

itssecurity,weperformedadversarialtrainingbasedonthe

adversarialtrainingdatasetwebuilt.Theevaluationexperiments

indicatedthatthisapproachcouldimprovethesecurityofour

modelatthesametimeensuringthepredictionaccuracyonthe

originaltestdataset.

IndexTerms—Recognition,Neuralnetwork,Adversarialat-

tack,Defense

I.INTRODUCTION

Neuralnetworkisoneofthedeeplearningalgorithms[1].It

mimicsthestructureandoperationmechanismofbiological

neuralnetwork.Inthepasttenyears,theresearchworkof

neuralnetworkshasbeendeepened,andgreatprogresshas

beenmade.Neuralnetworkhassuccessfullysolvedmany

practicalproblemsintheareasofpatternrecognition,in-

telligentrobotics,automaticcontrol,predictiveestimation,

biology,medicineandeconomy[2].

However,whenneuralnetworkdistinguishesadversarial

examples,theeffectisextremelyunstable.Justdeliberately

addingsomesubtleperturbationstotheinputexamplethat

isundetectablebyhumanscancausethemodeltogivea

wrongoutputwithhighconfidence[3].Therefore,itisofgreat

significancetofurtherstudythereasonsfortheadversarial

examplesanddefensemethodsofthem.

Inthispaper,wefocusonthetaskofhigh-speedrail

operatingenvironmentrecognition.Nowadays,Chinesehigh-

speedrailconstructionindustryhasenteredaperiodofvig-

SupportedbyNSFC61472279,61972284,61972150,61572195.

§Correspondingauthors:miaomiao@,B.Du@warwick.ac.uk,

jliu@

orousdevelopment,whichisparticularlyimportanttothe

diagnosisandtreatmentofhigh-speedrailfailures.However,

differenthigh-speedrailfaultshavedifferentdiscrimination

andtreatmentmethodsindifferentoperatingenvironments[4].

Takethearcdetectioninpantograph-catenarysystemasan

example[5].Thelightbrightnesshasobviousaffectonthe

arcdetection,andinmanyarcdetectingmethods,wealways

havetodistinguishtheoperatingenvironemntbeforedetecting

themagnitudesofarc.Atpresent,onlyafewhigh-speedrail

systemsareequippedwithenvironmentalsensorstomonitor

theoperatingenvironment,mostofthemdonothavesensor

devices[6].Andenvironmentalsensorsoftenfail.Inactual

work,thistaskismainlyfulfilledbythestaffplayingbackthe

monitoringvideotomanuallyrecognizetheenvironmentbased

ontheirobservationsandexperiences.Thiskindofdiagnosis

isnotrigoroussinceitisnotcontinuousintimeandspace,and

therearesomehiddendangerstomakemistakes.Therefore,

creatinganon-contactmethodtorecognizethehigh-speedrail

operatingenvironmentautomaticallyisofvitalimportance.

Hereisthestructureofthispaper.InsectionII,wesumma-

rizetherelatedresearchesofconvolutionalneuralnetworks,

adversarialexamplesandtheirdefensemethods,toleadour

approach.AndtheninsectionIII,webuilddatasetfrommon-

itoringvideosofthehigh-speedrailoperatingenvironmentto

supportthetask.NextinsectionIV,wetrainseveralneural

networkmodelsandchooseonewithbestpredictionaccuracy

todotherecognition.InsectionV,toimprovethesecurityof

themodelweobtainedbefore,weperformadversarialattacks

andadversarialtraining.InsectionVI,wegivesummary,

limitationsandfutureworkofourresearch,andfinallywe

giveconclusioninsectionVII.

II.STATEOFTHEART

Deeplearning[7]isamethodbasedoncharacterizing

andlearningdatawhichusesunsupervisedorsemi-supervised

featurelearningandhierarchicalfeatureextractionalgorithms

insteadofmanualextractiontogetfeatures.Thegoalofchar-

acterizationlearningistofindbetterrepresentationsandcreate

bettermodelstolearntheserepresentationsfromlarge-scale

unlabeleddata.Theexpressionissimilarwiththeadvancement

2375-0197/19/$31.00©2019IEEE

DOI10.1109/ICTAI.2019.00120

840

Authorizedlicenseduselimitedto:NortheasternUniversity.DownloadedonMay22,2020at14:00:10UTCfromIEEEXplore.Restrictionsapply.

ofneuroscience[8].Sofartherehavebeenseveraldeeplearn-

ingframeworks,suchasdeepneuralnetworks,convolutional

neuralnetworksanddeepbeliefnetworksaswellasrecurrent

neuralnetworks,whichhavebeensuccessfullyappliedinthe

fieldsofcomputervision,speechrecognition,naturallanguage

processing,audiorecognitionandbioinformatics[9]–[12].

Theconceptofadversarialexampleswasfirstproposedby

ChristianSzegedyetal.in2013[3],hepointedoutthatwhen

deliberatelyaddingsomesubtleperturbationsontheinput

examplewhichwerenoticedbyhumanscouldcausethemodel

togiveawrongoutputwithhighconfidence.

Goodfellowetal.[13]explainedthatthereasonwhyitis

difficultforneuralnetworkstoresistagainstdisturbancesis

thelinearcharacteristicsofneuralnetworks,andtheydesigned

FastGradientSignMethod(FGSM)toquicklygenerateadver-

sarialexamples,whichconfirmsthehigh-dimensionallinearity

ofthedesignofmoderndeepneuralnetworks.FGSMisa

commonwhite-boxattackmethodwithaverysimpleidea.

Itmainlyusesthelossfunctionofthemodeltoobtainthe

adversarialperturbationfortheinputgradient,andthenadds

ittotheinputtogenerateadversarialexamples.Wedefinean

adversarialexamplex˜ofaninputxasx˜=x+η,whereηis

definedas:η∞≤,andisrequiredtobesmallenough

tobediscardedbytheneuralnetworkmodel.Weconsider

thedotproductbetweenaweightvectorωandanadversarial

examplex˜as:

ωTx˜=ωTx+ωTη(1)

Adversarialtrainingisawaytodealwithadversarial

examples.Thenetwork’srobustnessisgraduallyimprovedby

continuouslyenteringnewtypesofadversarialexamplesand

performingadversarialtraining.Inordertoensureeffective-

ness,thismethodrequirestheuseofhigh-intensityadversarial

examples,andthenetworkarchitecturemusthavesufficient

expressivepower.Thismethodrequiresalargeamountof

trainingdataandthusitiscalledbruteforceadversarial

training.Thisbruteforceadversarialtrainingcanregularize

thenetworktoreduceoverfitting[15].

Imagedenoising[16]isawaytoremovethenoiseexistsin

theimageandrestoretheimagetomaketheclassifiergivea

correctpredictionoutput.Therearesometraditionaldenoising

methodsincludemedianfilterandBM3D,andalsowecanuse

neuralnetworkstodenoise.

Imagecompressionisusedtoreducetheredundantin-

formationoftheimagewhilemaintainingthesignificant

information,sincethereisastrongsimilarityandcorrelation

betweenadjacentpixelsinthelocalstructureofimage.Dzi-

ugaiteetal.[17]usedJPGimagecompressiontoreducethe

impactofadversarialperturbationstoimprovetheprediction

accuracy.Thismethodiseffectiveforsomepartoftheattack

methods,butalsoreducestheaccuracyoforiginalinputswhile

compressingimages.

Therearealsosomeotherdefensemethods,andtheresearch

directionofdefensemethodsisfullofcontroversyandchanges

witheachpassingday.

Ascanbeseenfromequation1,asmalladversarialper-

turbationcansignificantlyincreasetheoutputofneurons.

Goodfellowpointedoutthatiftheamountofchangeinthe

adversarialperturbationwasexactlythesameasthedirection

ofthegradient,thentherewouldbeamaximalchangein

theclassificationresults.Weassumethatthedimensionofthe

weightvectorisandthemeanoftheweightvectoris,thennm

themaximumvalueofis.Andnow,ωηmnη=sign(ω)T

inwhichsignfunctionguaranteestheamountofchangein

theadversarialperturbationisthesameasthedirectionofthe

gradient.

Weconsiderthatistheparameterofamodel,istheθy

targetwithinput,andisthelossoftheneuralxJ(θ,x,y)

network,sothemax-normperturbationisgivenasequation2,

whichisalsothedefinitionofthefastgradientsignmethod:

η=sign(∇

xJ(θ,x,y))(2)

Theone-stepmethodperformsimageperturbationbyin-

creasingthelossfunctionoftheclassifierbyalarge-scale

operation[14],anditcanbedirectlyextendedtoincreasethe

variationofthelossfunctionthroughmultiplesmallsteps,so

thatwegetBasicIterativeMethods(BIM).

Recentlymoreandmoreresearchersstarttostudythede-

fenseofadversarialexamples.Althoughpeople’sunderstand-

ingofadversarialexampleshasbeenimproved,therelated

defensemethodsalsohavebeenimproved,butsofar,thereis

nouniversalandcompletesolution.

III.DATASETBUILDINGANDDATAPREPROCESSING

Ouroriginaldatasourceisthemonitoringvideoofthehigh-

speedrailoperatingenvironmentintheareasofChineseJinan

andChongqing.Thisvideocoversavarietyoftopographical

features,shootingangles,vehicletypes,timeperiodsand

weatherconditions.Wetransferredthevideointoimageswith

224×224pixels.Throughtheanalysisofthevideoandthe

keyfactorsintherecognitionofthehigh-speedrailoperating

environment,wedividedtheoriginaldatasetinto6categories

accordingtofourindicators,asindicatedintableI,whichare

whetherdaytime,whetherfoggy,whetherrainyandwhether

inthetunnelwiththelabelsof0,1,2,3,4and5.

TABLEI:ClassificationBasis

IndicatorDaytimeFoggyRainyIntheTunnel

0YYNN

1YNNN

2YNYN

3NNNN

4NNYN

5NNNY

Actuallyinthemonitoringvideostherearealsomanyother

indicators,forexample,thevehicletypesinclude380Aand

380D.However,thesekindsofindicatorsarelessimportantto

therecognitionsincewecantakesimilaractionstodealwith

differentproblemshappenedwithdifferentvehicletypes.The

841

Authorizedlicenseduselimitedto:NortheasternUniversity.DownloadedonMay22,2020at14:00:10UTCfromIEEEXplore.Restrictionsapply.

indicatorswechoosearebasedonweatherrecognition,time

periodrecognitionandspecificcasesrecognition.

Theweatherconditionsourvideosincludearefoggy,rainy

andsunny,whichwillaffecttheairhumindity,lightintensity

andwhethertoenabletheemergencymode[18].Environmen-

talsensorisanotherchoicetorecognizethem,whileitisvery

fragileinharshenvironments,andalsoexpensivetoinstall.In

thiscasetheweatherrecognitionisanimportantpartofhigh-

speedrailoperatingenvironmentrecognition.Thetimeperiods

inourvideosincludedaytime,duskandnight.Considering

thatinthedaytimeandduskthelightismuchbrighterthan

itisatnight,weonlytakedaytimeandnighttocategory

images,sotheimagesintheduskarealsocategoriedasin

thedaytime.Asforspecificcases,weonlyconsiderwhether

itisinthetunnel,sincethemonitoringscreenoverexposures

whentherailentersandleavesthetunnel,whichshouldbe

excludedfromthenormalanalysis.

Accordingtotheanalysisabove,wegetthedatasetwith

30,000imagesbelongingto6categories.Figure1showsa

partofimagesbelongingtoeachofthesixcategories.

Thedivisionofthedatasetplaysakeyroleinneuralnetwork

training.Itisawaytodividethedatasetintotrainingdataset

andtestdataset[19],trainingdatasetisforthetrainingof

themodelandtestdatasetisforthemodelevaluationof

generalizationability.However,therearealsomanyhyper-

parametersinsidetheneuralnetworkthatneedstobeselected

manually,suchasthenumberoflayersofthemodelandthe

numberofneuronsineachlayerofthemodel.Wehaveto

adjustthosehyper-parameterstogetthemodelwithbetter

generalizationability,andthisiswhyweintroducevalidation

dataset.Goodfellowinhisbook[20]pointedoutthetraining

dataset,validationdatasetandtestdatasetcouldbedividedin

aratioof6:2:2iftheamountofthedatawasabout10,000,

sincewehavetotally30,000imagesinourdataset,weget

trainingdataset,validationdatasetandtestdatasetseparately

with21600,7200and7200images.

Therecognitiontaskisregardedasamulti-classification

problem.Inthistask,featuresarenotcontinuousvalues,

butcategoricalvalues.Hereweusenumbersof(0,1,2,3,

4,5)toseparatelyrepresentthesixcategories,whichwill

greatlyimprovethecomputingefficiency.However,evenafter

convertingthemtodigitalrepresentations,theintegerfeature

representationcannotbedirectlyusedintheclassifier.Because

forsuchcontinuousinput,theclassifierconsiderstheclasses

tobeordered,butactuallytheyareunordered.Webinarizethe

integerlabelssothattheyareregardedbytheclassifierasa

vectorfromtheeuclideanspace.

Normalizationisanotherimportantpartwhenwepreprocess

thedata.Itismainlyforthespeedofdataprocessing,

andittransfersdimensionedexpressionsintodimensionless

expressionssothatindicatorsofdifferentunitsormagnitudes

canbecomparedandweighted.Sincetherangeofimage

pixelsisbetween0and255,wedividetheimagepixelsby

255torealizenormalization.

Tillnowthedatasetfortheneuralnetworkmodeltraining

isfinelyprepared.

(a)DaytimeFoggy(b)DaytimeSunny

(c)DaytimeRainy(d)NightSunny

(e)NightRainy(f)IntheTunnel

Fig.1:ExamplesofSixCategories

IV.NEURALNETWORKMODELTRAINING

Afterbuildingthedataset,webegintotrainneuralnetwork

modelstosolvetherecognitiontask.Convolutionalneural

network[21]isakindoffeedforwardneuralnetworkswith

convolutionalcomputationanddeepstructure.Itisoneofthe

representativealgorithmsofdeeplearningandhasachieved

verygoodresultsinthefieldsofcomputervision.Sofarthere

hasbeenmanypopularconvolutionalneuralnetworkmodels,

suchasLeNet,AlexNet,ZFNet,VGG-16andResNet[22].

LeNet[23],bornin1994,isoneoftheclassicstructures

ofconvolutionalneuralnetworks.Itusesfeaturessuchas

842

Authorizedlicenseduselimitedto:NortheasternUniversity.DownloadedonMay22,2020at14:00:10UTCfromIEEEXplore.Restrictionsapply.

(a)TrainAccuracy(b)TrainLoss

(a)TrainAccuracy(b)TrainLoss

(c)ValidationAccuracy(d)ValidationLoss

Fig.2:ResultsofLeNetModel

(c)ValidationAccuracy(d)ValidationLoss

convolution,parametersharingandpoolingtoextractfeatures,

avoidingalargeamountofcomputationalcost,andfinally

applysfullyconnectedneuralnetworksforclassificationand

identification.

In2012,Krizhevsky[24]usedtheconvolutionalneural

networktowintheILSVRC2012imageclassificationcontest

andproposedtheAlexNetmodel,whichspurredthewaveof

neuralnetworkresearchwithmanyinnovativemethods.

Inthispaper,wetriedbothLeNetmodelandAlexNetmodel

totrain.WeadoptedKerasframework[25]withtheversion

of2.2.4tobuildourneuralnetworkmodels.Kerasisahighly

modularneuralnetworklibrarysupportedbyGoogle,whose

backendisbasedonTensorflowandTheano.Itiswrittenin

PythonandsupportsbothGPUandCPU.Thefirstreleaseof

KeraswasinMarch2015,anditisfavoredfortheeaseof

useandsimplesyntax,makingdevelopmentfaster[26].

After20epochstraining,theprecisionaccuracyandtheloss

functionoftrainingandvalidationofLeNetmodelareshown

ontheTensorboardinFigure2.Itshowsthattheprediction

accuracyoftrainingandvalidationarebothrisinggradually,

andtheyfinallycloseto1,thelossfunctionoftrainingand

validationaretendingtoconvergence,whichindicatesthatthe

trainingeffectisstable.

Andafter20epochstraining,theprecisionaccuracyandthe

lossfunctionoftrainingandvalidationofAlexNetmodelare

shownontheTensorboardinFigure3.

Inourexperiments,wefoundthatAlexNetmodelwasover-

fittingonourdataset,sinceboththelossfunctioncurveand

accuracyfunctioncurveofvalidationhavesevereconcussion,

whichshowsthatthemodelhasverypoorstability.Soin

thiscase,wechooseLeNetmodeltosolvethetask.We

appliedLeNetmodelforthepredictiononthetestdataset,

andobtainedthepredictionaccuracyof0.9837,whichshows

thatthefittingdegreeofthemodelisacceptable.

TheLeNetmodelconsistsoftwoconvolutionallayers,two

maxpoolinglayersandtwofully-connectedlayers.Figure4

isthestructureofourmodel,whichshowsthearchitecture,

inputandoutputoflayers.

Fig.3:ResultsofAlexNetModel

Fig.4:StructureofLeNetModel

843

Authorizedlicenseduselimitedto:NortheasternUniversity.DownloadedonMay22,2020at14:00:10UTCfromIEEEXplore.Restrictionsapply.

Theconv2d_1_inputistheinputlayer,whichprovidesthe

originalimageswiththeinputshapeof224×224×3forthe

model,thatis,thepixelsoftheimagesare224×224,andthey

arecolorimageswithchannelnumberof3.Theconv2d_1is

theconvolutionallayer,andithas32kernelswiththesize

of5×5andstridesizeof1.Sincetheitdoesnotusefull

zerocomplement,theoutputsizeofthislayeris224-5+1=220,

withthedepthof32,thatis220×220×32.Thetotalnumber

ofparametersofthislayeris5×5×1×32×3+32=2432.The

maxpooling2d_1isthedown-samplinglayerwithpoolsize

of2×2andthestridesizeof2,sotheoutputsizeofthis

layeris110×110×32.Thislayerusestheimageprinciple

oflocalcorrelationtosubsampletheimages,whichcould

reducetheamountofdataprocessingwhileretaininguseful

information.Theconv2d_2istheconvolutionallayerwith

64kernels,thesizeofthemis5×5andthestridesize

is1.Itdoesnotusefullzerocomplement,neither.The

outputsizeofthislayeris110-5+1=106,withdepthof

64,thatis106×106×64.Thetotalnumberofparameters

ofthislayeris5×5×1×64×32+64=51264,32isthedepth

oftheinput.Thelayermaxpooling2d_2isalsothedown-

samplinglayerwithpoolsizeof2×2andstrideof2,sothe

outputsizeofthislayeris53×53×64.Theflatten_1layer

flattensallthenodes,sotheoutputis53×53×64=179776.

Thefirstfully-connectedlayerdense_1has100nodes,so

theoutputsizeis100andthetotalnumberofparametersof

thislayeris179776×100+100=17977700.Theoutputlayer

dense_2isalsothefully-connectedlayerwith6nodes,so

theoutputsizeis6,andthetotalnumberofparametersof

thislayeris100×6+6=606.Totalnumberofparametersis

2432+51264+17977700+606=18032002.

TABLEII:Originalimagesandtheircorrespondingadversar-

ialexamplesgeneratedbyFGSMandBIMmethod.

FGSMBIM

NumberOriginalClass

NewClassConfidenceNewClassConfidence

1030.6200583630.9932944

2150.690275950.7287956

3100.6379760500.7664373

4150.3925197450.44168004

5150.800803750.8255589

6200.606658100.8976936

7300.757142900.85842884

8340.539640510.5554841

9340.902646940.78059787

10430.8752317430.82832044

11530.88636330.831025

12530.7462628530.944448

V.AAATDVERSARIALTTACKSANDDVERSARIALRAINING

InordertocheckthesecurityoftheLeNetmodelwe

obtainedintheprevioussection,weapplyadversarialattack

methodstoattackthemodel.Actuallytherearemanyattack

methods,whileconsideringthecomplexityofalgorithmsand

ourhardwaredevices,wetakebothBIMmethodandFGSM

methodtoattackthemodel,whichareintroducedinthe

sectionIbefore.

Therearetwotypesofadversarialattackmethods,thatare

untargetedadversarialattacksandtargetedadversarialattacks.

Untargetedadversarialattacksjustwanttoconfusethemodel

togiveawrongoutput,whiletargetedadversarialattackswant

themodeltogiveawrongdesiredoutput.Inthissection,we

implementuntargetedadversarialattackssincewejustwant

toconfusethemodel.

Wesettheiterationnumberas50,andepsilonas0.1,

whichistheallowablefluctuationrangeofthesample.We

conductedtheexperimentsformanytimeandfinallyfound

theseappropriatevalues,thatis,weregardedtheadversarial

examplesandoriginalimagesasthesamecategorywhen

epsilonis0.1.

AscanbeseenintableII,wetake12setsofexamplesto

showinthepaper,andeachsetcontainstheoriginalimageand

Fig.5:NumberofAdversarialExamplesComparedWith

NumberofOriginalImages

adversarialexamplesgeneratedbyBIMmethodandFGSM

method.SpecificimagescanbefoundinAppendixA.

Theattackexperimentsonthetestdatasetshowthatalmost

alloftheadversarialexamplescreatedbyBIMlookverysim-

ilartotheoriginalexamples,whiletherearesomedifferences

betweenoriginalexamplesandadversarialexamplescreated

byFGSM,whichprovesthatourmodelisvulnerabletothe

BIMmethod,andBIMmethodismoreeffectivethanFGSM

methodonourmodel.

Figure5showsthenumberofadversarialexamplesgener-

atedbyBIMineachcategorycomparedwiththenumberof

originalimages.TheattacksuccessrateofBIMonourtest

datasetis5351/6000=0.89.

Toimprovethesecurityofourmodel,weperformadver-

sarialtraining.

Firstly,webuilttheadversarialexampledataset,whichis

madeupofbothoriginalimagesandadversarialexamples

generatedbyBIMmethod.Wegot5351adversarialexamples

afterusingBIMmethodtoattackourtestdataset,withthe

numberofeachclassas705,1147,400,904,1200and995.

844

Authorizedlicenseduselimitedto:NortheasternUniversity.DownloadedonMay22,2020at14:00:10UTCfromIEEEXplore.Restrictionsapply.

(a)TrainAccuracy(b)TrainLoss

(c)ValidationAccuracy(d)ValidationLoss

Fig.6:ResultsAfterAdversarialTraining

Wepickedtheoriginalimageswiththesamenumberineach

class,andmixedthemup,soinouradversarialexample

dataset,wegot10702images,withtheratiooforginalimages

andadversarialexamplesas1:1.Thereasonwhywedont

directlyusetheadversarialexamples,butaddingoriginal

imagesintotheadversarialtrainingdatasetisthatwewantto

improvethesecurityofthemodelatthesametimeensuring

thatthepredictionaccuracyofthemodelwouldnotdecline.

Wesplittheadversarialdatasetintoadversarialtraining

dataset,adversarialvalidationdatasetandadversarialtest

datasetinaratioof6:2:2,thesameasthemodeltraining

before,andperformedadversarialtraining.

Thepredicionaccuracyandthelossfunctionoftheadver-

sarialtrainingdatasetandadversarialvalidationdatasetare

shownontheTensorboardinFigure6.Fortheprediction

accuracyoftheretainedmodel,thevalueis0.9992onthe

originaltestdataset,andis0.9977ontheadversarialtest

dataset.Itshowsthattheretrainedmodelhasbettersecurity

withoutreducingthepredictionaccuracyontheoriginaltest

datasetcomparedwiththepreviousmodel.

VI.DISCUSSION

Inthispaper,webuildaneuralnetworkmodelwithhigh

predictionaccuracyandhighsecuritytodealwiththetaskof

high-speedrailoperatingenvironmentrecognition.Herewe

summarizeourworkasfollows:

1)DatasetBuilding

Webuiltdatasetcontaining30,000imageswithinsix

categories,andsplitthedatasetintotrainingdataset,

validationdatasetandtestdataset.

2)NeuralNetworkModelTraining

Weobtainedaneuralnetworkmodelwithhighpredic-

tionaccuracytosolvethetask.

3)AdversarialAttacksandAdversarialTraining

Weappliedadversarialattackstocheckthesecurity

ofthemodelwetrainedbefore,andtheresultsof

experimentsindicatedthatourmodelhaspoorsecurity

underBIMattack.Toimprovethesecurityofourmodel,

weappliedadversarialtraining.

Sincewealreadyknowthatthedeeplearningmodels

areextremelyvulnerabletoadversarialexamples,wewant

toimprovethesecurityofourmodel.Securityproblemof

deeplearningisahottopic,andtherearemanyadversarial

attackmethodswhichhaveverygoodeffecttoattackthe

deeplearningmodels,andthendefensemethodscomebehind.

However,thereisnouniversalandcompletesolution.We

triedsomeexperiments,andwanttomakeasmallresearch

contributiontothedefenseofadversarialattacks.

Therearemainlytwoaspectsthatrestrictourexperiments,

andforeachonewegivefuturework.

1)Ourhardwaredevicesarenotidealenough.Allofthe

experimentsinthispaperwereperformedontheMac-

BookProwiththeprocessorof2.9GHzIntelCorei5,

whichlimitedthetrainingspeedoftheneuralnetwork

tosomeextent.IfwecouldapplyGPUprocessorto

trainneuralnetworkmodels,wewouldbeabletotrain

farmorethan20epochs,maybe500epochs,soasto

achievehigherpredictionaccuracy.Inaddition,better

processormakesitpossibleforustodoadversarial

trainingmoretimestocontinuallyimprovethesecurity

ofourmodel.

2)Ourdatasetcouldbemoreabundant.Thetypesof

environmentalconditionsthatcurrentlycontainedinour

datasetarerelativelyrich,buttheyarenotenough

tocoveralltheweatherandgeographicalconditions.

Especiallyinourdataset,theimagesinthecategory

ofdaytimerainyaremuchsimplercomparedwiththe

imagesinothercategories.Inthefuture,ifitispossible,

wewilltryformoremonitoringvideosofhigh-speed

railoperatingenvironment,andthenwecouldadjustthe

classificationofthecurrentdatasettogetourresearch

approachapplied.

VII.CONCLUSION

Inthispaper,webuiltaneuralnetworkmodelwithhigh

predictionaccuracyandhighsecuritytodealwiththetask

ofhigh-speedrailoperatingenvironmentrecognition.Firstly,

weestablishedthedatasetbasedonthemonitoringvideo

duringhigh-speedrailoperation,andthenwetrainedneural

networkmodelstosolvethetask.Secondly,wetriedboth

FGSMmethodandBIMmethodtoattackthemodelwe

trainedbefore.Theresultsofexperimentsindicatedthat

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论