TCN for Anomaly Detection in TS (2019,34)Permalink
ContentsPermalink
- Abstract
- Introduction
- Convolutional Sequence Model
- TCN
- Dilated Convolutions
- Residual Connections
- Multi-scale Feature Maps for Prediction
- Anomaly Detection
AbstractPermalink
TCN = causal convolutions & dilations
→ apply TCN for “anomaly detection”
Steps
-
1) apply TCN to predict trend
-
2) prediction errors are fitted by Multivariate Gaussian distribution &
used to calculate the anomaly scores
1. IntroductionPermalink
propose anomaly detection algorithm in unsupervised way
- 1) TCN : predictor model
- 2) Multivariate Gaussian : identify anomaly points in TS
2. Convolutional Sequence ModelPermalink
Notation
- X : time series
- xt∈Rm : each time point
Prediction model
- predict next l values, with window of length L
Residuals between
- 1) prediction values
- 2) real values
are calculated & fit a Multivariate Gaussian distribution model
(1) TCNPermalink
2 constraints
- 1) output of the network should have the same length as input
- 2) can only use information of past time steps
→ zero padding & no cheating
(2) Dilated ConvolutionsPermalink
to memorize LONG term
( should make larger receptive field)
(3) Residual ConnectionsPermalink
- pass
(4) Multi-scale Feature Maps for PredictionPermalink
to capture different scale patterns
- not only one last layer,
- but also use multiple layers!
3. Anomaly DetectionPermalink
implemented in point-wise
prediction errors distribution on training data, is modeled with Multivariate Gaussian
Anomaly score :
- et : observation prediction error
→ x(t) is classified as “anomalous”, if at>τ