Work

Sequential Anomaly Detection for Log Data Using Deep Learning

Year: 2021
Type: dissertation
Abstract: \nSoftware development with continuous integration changes needs frequent testing for\nassessment. Analyzing the test output manually is time-consuming and automating\nthis process could be beneficial to an organization. The goal of this thesis project is\nto do the automated anomaly detection analysis of software test output files provided\nby Volvo Group Trucks Technology, to achieve this we evaluated four different neural\nnetwork architectures. The four neural network architectures are two recurrent\nneural networks with long short-term memory (LSTM) where one is unidirectional\nand one is bidirectional as well as two autoencoders (an LSTM-based sequence-tosequence\nmodel and a Transformer) that aim to reconstruct a sequence from the files.\nIn order to evaluate the performance of the neural network architectures two datasets\nwere utilized. The first dataset is from the Hadoop Distributed File System (HDFS)\nand this is a publicly available dataset where all logs are labelled as either anomalous\nor non-anomalous. The second dataset are log files resulting from software testing\nprovided by Volvo Group Trucks Technology which contain no labels. The networks\nwere evaluated in two different settings when trained on the HDFS data. In the first\nsetting the logs labelled as anomalous were filtered out making it a semi-supervised\napproach and in the second setting the logs labelled as anomalous were kept which\nmakes it an unsupervised approach. Lastly the networks were trained on the data\nprovided by Volvo Group Trucks Technology which is unlabeled, the objective of\napproach is to evaluate how the networks perform in an unsupervised setting. In\naddition, an analysis of the size of the data sets used to train the networks were\nperformed.\nThe results show that for the data provided by Volvo Group Trucks Technology the\nsize of the dataset used for training the networks influenced the performance of the\nanomaly detection where a smaller dataset performed better than a larger dataset.\nMoving on to the HDFS dataset, a smaller dataset for the unsupervised setting was\nalso better than a larger dataset. However, for the HDFS data the semi-supervised\napproach outperformed the unsupervised setting regardless of the size of the training\ndataset.
Authors: Hammargren, Lina, Wu, Wei
Language: English
Open Access status: green
OpenAlex ID: W7062139489
Cites: 31
Cited by:
Related to: 10