Published January 1, 2020 | Version v1
Journal article Open

Unsupervised Anomaly Detection With LSTM Neural Networks

  • 1. Staffordshire Univ, Dept Elect Engn, Stanford, CA 94305 USA
  • 2. Bilkent Univ, Dept Elect & Elect Engn, TR-06800 Ankara, Turkey

Description

We investigate anomaly detection in an unsupervised framework and introduce long short-term memory (LSTM) neural network-based algorithms. In particular, given variable length data sequences, we first pass these sequences through our LSTM-based structure and obtain fixed-length sequences. We then find a decision function for our anomaly detectors based on the one-class support vector machines (OC-SVMs) and support vector data description (SVDD) algorithms. As the first time in the literature, we jointly train and optimize the parameters of the LSTM architecture and the OC-SVM (or SVDD) algorithm using highly effective gradient and quadratic programming-based training methods. To apply the gradient-based training method, we modify the original objective criteria of the OC-SVM and SVDD algorithms, where we prove the convergence of the modified objective criteria to the original criteria. We also provide extensions of our unsupervised formulation to the semisupervised and fully supervised frameworks. Thus, we obtain anomaly detection algorithms that can process variable length data sequences while providing high performance, especially for time series data. Our approach is generic so that we also apply this approach to the gated recurrent unit (GRU) architecture by directly replacing our LSTM-based structure with the GRU-based structure. In our experiments, we illustrate significant performance gains achieved by our algorithms with respect to the conventional methods.

Files

bib-1a026d7f-227e-478f-b0fa-5f7e77440e21.txt

Files (164 Bytes)

Name Size Download all
md5:674bc88efdba3da8f3aa3e571d94f84c
164 Bytes Preview Download