Anomaly Detection in Operating System Logs with Deep Learning-Based Sentiment Analysis
- 13 November 2020
- journal article
- research article
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Transactions on Dependable and Secure Computing
- Vol. 18 (5) , 2136-2148
Abstract
The purpose of sentiment analysis is to detect an opinion or polarity in text data. We can apply such an analysis to detect negative sentiment, which represents the anomalous activities in operating system (OS) logs. Existing methods involve manual searching, predefined rules, or traditional machine learning techniques to detect such suspicious events. In this article, we propose a novel deep learning-based sentiment analysis technique to check whether there are anomalous activities in OS logs. Log messages are modeled as sentences and we identify the sentiments using the gated recurrent unit (GRU) networks. OS log datasets inherently have a class imbalance in the sense that the number of negative sentiment is much lower than that of the number of positive ones. In order to address the class imbalance, we build a GRU layer on top of a class imbalance solver using the Tomek link method. Experimental results demonstrate that the proposed method can detect anomalous events in OS logs with an overall F1 and accuracy of 99.84 and 99.93 percent, respectively.Keywords
Funding Information
- Indonesia Lecturer Scholarship
This publication has 42 references indexed in Scilit:
- An OS-level Framework for Anomaly Detection in Complex Software SystemsIEEE Transactions on Dependable and Secure Computing, 2014
- Glove: Global Vectors for Word Representation2014
- Convolutional Neural Networks for Sentence Classification2014
- Opinion Mining with Deep Recurrent Neural Networks2014
- An instance level analysis of data complexityMachine Learning, 2013
- Logging and Log Analysis2011
- Sentiment strength detection in short informal textJournal of the American Society for Information Science and Technology, 2010
- Anomaly detectionACM Computing Surveys, 2009
- Improving Identification of Difficult Small Classes by Balancing Class Distribution2001
- Finding structure in timeCognitive Science, 1990