Computer Engineering & Science ›› 2023, Vol. 45 ›› Issue (08): 1405-1415.
• Computer Network and Znformation Security • Previous Articles Next Articles
YIN Chun-yong,FENG Meng-xue
Received:
Revised:
Accepted:
Online:
Published:
Abstract: Logs record important information about system operation, and log anomaly detection can quickly and accurately identify the cause of system failures. However, log sequences have problems such as data instability and interdependence between data. Therefore, a new semi-supervised log sequence anomaly detection method is proposed. This method uses the Bidirectional Encoder Representations from Transformers (BERT) model and multi-layer convolutional network to extract log information, obtain the contextual relevance between log sequences and the local relevance of log sequences. Finally, the attention-based Bi-GRU network is used for log sequence anomaly detection. The performance of this model was verified on three datasets. Compared with six benchmark models, this model has the best F1 value and the highest AUC value (0.981 3), and the experimental results show that it can effectively handle the problems of data instability and interdependence between data in log sequences.
Key words: log anomaly detection, bidirectional gate recurrent unit, multilayer convolution, bidirectional encoder representation from transformers, attention mechanism
CLC Number:
YIN Chun-yong, FENG Meng-xue. A semi-supervised log anomaly detection method based on attention mechanism[J]. Computer Engineering & Science, 2023, 45(08): 1405-1415.
0 / / Recommend
Add to citation manager EndNote|Ris|BibTeX
URL: http://joces.nudt.edu.cn/EN/
http://joces.nudt.edu.cn/EN/Y2023/V45/I08/1405