Example: dental hygienist

Time Series Classification from Scratch with Deep …

time Series Classification from Scratch with DeepNeural Networks: A Strong BaselineZhiguang Wang, Weizhong YanGE Global Research{ , OatesComputer Science and Electric EngineeringUniversity of Maryland Baltimore We propose a simple but strong baseline for timeseries classification from Scratch with deep neural networks. Ourproposed baseline models are pure end-to-end without any heavypreprocessing on the raw data or feature crafting. The proposedFully Convolutional Network (FCN) achieves premium perfor-mance to other state-of-the-art approaches and our explorationof the very deep neural networks with the ResNet structure isalso competitive. The global average pooling in our convolutionalmodel enables the exploitation of the Class Activation Map(CAM) to find out the contributing region in the raw data forthe specific labels. Our models provides a simple choice forthe real world application and a good starting point for thefuture research.}

Time Series Classification from Scratch with Deep Neural Networks: A Strong Baseline Zhiguang Wang, Weizhong Yan GE Global …

Tags:

  Form, Series, With, Time, Deep, Scratch, Classification, Neural, Time series classification from scratch with deep, Time series classification from scratch with deep neural

Information

Domain:

Source:

Link to this page:

Please notify us if you found a problem with this document:

Other abuse

Advertisement

Transcription of Time Series Classification from Scratch with Deep …

1 time Series Classification from Scratch with DeepNeural Networks: A Strong BaselineZhiguang Wang, Weizhong YanGE Global Research{ , OatesComputer Science and Electric EngineeringUniversity of Maryland Baltimore We propose a simple but strong baseline for timeseries classification from Scratch with deep neural networks. Ourproposed baseline models are pure end-to-end without any heavypreprocessing on the raw data or feature crafting. The proposedFully Convolutional Network (FCN) achieves premium perfor-mance to other state-of-the-art approaches and our explorationof the very deep neural networks with the ResNet structure isalso competitive. The global average pooling in our convolutionalmodel enables the exploitation of the Class Activation Map(CAM) to find out the contributing region in the raw data forthe specific labels. Our models provides a simple choice forthe real world application and a good starting point for thefuture research.}

2 An overall analysis is provided to discuss thegeneralization capability of our models, learned features, networkstructures and the classification INTRODUCTIONTime Series data is ubiquitous. Both human activities andnature produces time Series everyday and everywhere, likeweather readings, financial recordings, physiological signalsand industrial observations. As the simplest type of time seriesdata, univariate time Series provides a reasonably good start-ing point to study such temporal signals. The representationlearning and classification research has found many potentialapplication in the fields like finance, industry, and health , learning representations and classifying time se-ries are still attracting much attention. As the earliest baseline,distance-based methods work directly on raw time serieswith some pre-defined similarity measures such as Euclideandistance or Dynamic time warping (DTW) [1] to performclassification.

3 The combination of DTW and the k-nearest-neighbors classifier is known to be a very efficient approachas a golden standard in the last methods suppose to extract a set of featuresthat are able to represent the global/local time Series , these features are quantized to form a Bag-of-Words (BoW), then given to the classifiers [2]. Feature-basedapproaches mostly differ in the extracted features. To namea few recent benchmarks, The bag-of-features framework(TSBF) [3] extracts the interval features with different scalesfrom each interval to form an instance, and each time seriesforms a bag. A supervised codebook is built with the randomforest for classifying the time Series . Bag-of-SFA-Symbols(BOSS) [4] proposes a distance based on the histogramsof symbolic Fourier approximation words. Its extension, theBOSSVS method [5] combines the BOSS model with thevector space model to reduce the time complexity and improvethe performance by ensembling the models with differencewindow size.

4 The final classification is performed with theOne-Nearest-Neighbor based approaches combine different classifierstogether to achieve a higher accuracy. Different ensembleparadigms integrate various feature sets or classifiers. TheElastic Ensemble (PROP) [6] combines 11 classifiers based onelastic distance measures with a weighted ensemble ensemble (SE) [7] produces the classifiers throughthe shapelet transform in conjunction with a heterogeneousensemble. The flat collective of transform-based ensembles(COTE) is an ensemble of 35 different classifiers based on thefeatures extracted from both the time and frequency the above approaches need heavy crafting on datapreprocessing and feature engineering. Recently, some efforthas been spent to exploit the deep neural network, especiallyconvolutional neural networks (CNN) for end-to-end timeseries classification. In [8], a multi-channel CNN (MC-CNN)is proposed for multivariate time Series classification.

5 Thefilters are applied on each single channel and the features areflattened across channels as the input to a fully connectedlayer. The authors applied sliding windows to enhance thedata. They only evaluate this approach on two multivariatetime Series datasets, where there is no published benchmarkfor comparison. In [9], the author proposed a multi-scale CNNapproach (MCNN) for univariate time Series sampling, skip sampling and sliding windows are usedfor preprocessing the data to manually prepare for the multi-scale settings. Although this approach claims the state-of-the-art performance on 44 UCR time Series datasets [10], the heavypreprocessing efforts and a large set of hyperparameters makeit complicated to deploy. The proposed window slicing methodfor data augmentation seems to be provide a standard baseline to exploit deep neuralnetworks for end-to-end time Series classification without anycrafting in feature engineering and data preprocessing.

6 Thedeep multilayer perceptrons (MLP), fully convolutional net-works (FCN) and the residual networks (ResNet) are evaluatedon the same 44 benchmark datasets with other a pure end-to-end training on the raw time seriesdata , the ResNet and FCN achieve comparable or betterperformance than COTE and MCNN. The global averagepooling in our convolutional model enables the exploitation [ ] 14 Dec + ReLU256BN + ReLU128BN + ReLUInput64BN + ReLU64BN + ReLU64BN + ReLUGlobal Pooling128BN + ReLU128BN + ReLU128BN + ReLU128BN + ReLU128BN + ReLU128BN + ReLUSoftmaxGlobal Pooling+++(a)MLP(b)FCN(C)ResNetFig. 1. The network structure of three tested neural networks. Dash line indicates the operation of Class Activation Map (CAM) to find out the contributingregion in the raw data for the specific NETWORKARCHITECTURESWe tested three deep neural network architectures to providea fully comprehensive Multilayer PerceptronsOur plain baselines are basic MLP by stacking three fully-connected layers.

7 The fully-connected layers each has 500neurons following two design rules: (i) using dropout [11]at each layer s input to improve the generalization capability ;and (ii) the non-linearity is fulfilled by the rectified linear unit(ReLU)[12] as the activation function to prevent saturation ofthe gradient when the network is deep . The network ends witha softmax layer. A basic layer block is formalized as x=fdropout,p(x)y=W x+bh=ReLU(y)(1)This architecture is mostly distinguished from the seminalMLP decades ago by the utilization of ReLU and helps to stack the networks deeper and dropout largelyprevent the co-adaption of the neurons to help the modelgeneralizes well especially on some small datasets. However,if the network is too deep , most neuron will hibernate as theReLU totally halve the negative part. The Leaky ReLU [13]might help, but we only use three layers MLP with the ReLUto provide a fundamental baselines.

8 The dropout rates at theinput layer, hidden layers and the softmax layer are{ , , }, respectively (Figure 1(a)).B. Fully Convolutional NetworksFCN has shown compelling quality and efficiency for se-mantic segmentation on images [14]. Each output pixel is aclassifier corresponding to the receptive field and the networkscan thus be trained pixel-to-pixel given the category-wisesemantic segmentation our problem settings, the FCN is performed as a featureextractor. Its final output still comes from the softmax basic block is a convolutional layer followed by a batchnormalization layer [15] and a ReLU activation layer. Theconvolution operation is fulfilled by three 1-D kernels with thesizes{8,5,3}without striding. The basic convolution blockisy=W x+bs=BN(y)h=ReLU(s)(2) is the convolution operator. We build the final networksby stacking three convolution blocks with the filter sizes{128,256, 128}in each block.

9 Unlike the MCNN and MC-CNN, Weexclude any pooling operation. This strategy is also adopted inthe ResNet [16] as to prevent overfitting. Batch normalizationis applied to speed up the convergence speed and help improvegeneralization. After the convolution blocks, the features arefed into a global average pooling layer [17] instead of a fullyconnected layer, which largely reduces the number of final label is produced by a softmax layer (Figure 1(b)).C. Residual NetworkResNet extends the neural networks to a very deep structuresby adding the shortcut connection in each residual block toenable the gradient flow directly through the bottom achieves the state-of-the-art performance in object detectionand other vision related tasks [16]. We explore the ResNetstructure since we are really interested to see how the verydeep neural networks perform on the time Series data. Ob-viously, the ResNet overfits the training data much easierbecause the datasets in UCR is comparatively small and lackof enough variants to learn the complex structures with suchdeep networks, but it is still a good practice to import themuch deeper model and analyze the pros and reuse the convolutional blocks in Equation 2 to buildeach residual block.

10 LetBlockkdenotes the convolutionalblock with the number of filtersk, the residual block isformalized ash1=Blockk1(x)h2=Blockk2(h1)h3=Blockk3( h2)y=h3+x h=ReLU(y)(3)The number of filterski={64,128,128}. The final ResNetstacks three residual blocks and followed by a global averagepooling layer and a softmax layer. As this setting simply reusesthe structures of the FCN, certainly there are better structuresfor the problem, but our given structures are adequate toprovide a qualified demonstration as a baseline (Figure 1(c)).III. EXPERIMENTS ANDRESULTSA. Experiment SettingsWe test our proposed neural networks on the same subsetof the UCR time Series repository, which includes 44 distincttime Series datasets, to compare with other benchmarks. Allthe dataset has been split into training and testing by only preprocessing in our experiment is z-normalizationon both training and test split with the mean and standarddeviation of the training part for each dataset.


Related search queries