BERT-Log: Anomaly Detection for System Logs Based on Pre-trained Language Model. Issue 1 (31st December 2022)
- Record Type:
- Journal Article
- Title:
- BERT-Log: Anomaly Detection for System Logs Based on Pre-trained Language Model. Issue 1 (31st December 2022)
- Main Title:
- BERT-Log: Anomaly Detection for System Logs Based on Pre-trained Language Model
- Authors:
- Chen, Song
Liao, Hai - Abstract:
- ABSTRACT: Logs are primary information resource for fault diagnosis and anomaly detection in large-scale computer systems, but it is hard to classify anomalies from system logs. Recent studies focus on extracting semantic information from unstructured log messages and converting it into word vectors. Therefore, LSTM approach is more suitable for time series data. Word2Vec is the up-to-date encoding method, but the order of words in sequences is not taken into account. In this article, we propose BERT-Log, which regards the log sequence as a natural language sequence, use pre-trained language model to learn the semantic representation of normal and anomalous logs, and a fully connected neural network is utilized to fine-tune the BERT model to detect abnormal. It can capture all the semantic information from log sequence including context and position. It has achieved the highest performance among all the methods on HDFS dataset, with an F1-score of 99.3%. We propose a new log feature extractor on BGL dataset to obtain log sequence by sliding window including node ID, window size and step size. BERT-Log approach detects anomalies on BGL dataset with an F1-score of 99.4%. It gives 19% performance improvement compared to LogRobust and 7% performance improvement compared to HitAnomaly.
- Is Part Of:
- Applied artificial intelligence. Volume 36:Issue 1(2022)
- Journal:
- Applied artificial intelligence
- Issue:
- Volume 36:Issue 1(2022)
- Issue Display:
- Volume 36, Issue 1 (2022)
- Year:
- 2022
- Volume:
- 36
- Issue:
- 1
- Issue Sort Value:
- 2022-0036-0001-0000
- Page Start:
- Page End:
- Publication Date:
- 2022-12-31
- Subjects:
- Artificial intelligence -- Periodicals
006.3 - Journal URLs:
- http://www.tandfonline.com/toc/uaai20/current ↗
http://www.tandfonline.com/ ↗ - DOI:
- 10.1080/08839514.2022.2145642 ↗
- Languages:
- English
- ISSNs:
- 0883-9514
- Deposit Type:
- Legaldeposit
- View Content:
- Available online (eLD content is only available in our Reading Rooms) ↗
- Physical Locations:
- British Library DSC - 1571.650000
British Library DSC - BLDSS-3PM
British Library HMNTS - ELD Digital store - Ingest File:
- 24360.xml