LogBERT: Log Anomaly Detection via BERT
About
Detecting anomalous events in online computer systems is crucial to protect the systems from malicious attacks or malfunctions. System logs, which record detailed information of computational events, are widely used for system status analysis. In this paper, we propose LogBERT, a self-supervised framework for log anomaly detection based on Bidirectional Encoder Representations from Transformers (BERT). LogBERT learns the patterns of normal log sequences by two novel self-supervised training tasks and is able to detect anomalies where the underlying patterns deviate from normal log sequences. The experimental results on three log datasets show that LogBERT outperforms state-of-the-art approaches for anomaly detection.
Haixuan Guo, Shuhan Yuan, Xintao Wu• 2021
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Anomaly Detection | BGL Log | AUROC0.9366 | 22 | |
| Log Anomaly Detection | 16 Log Sources (cross-domain) | Mean F1 Score51.1 | 10 | |
| Anomaly Detection | Liberty 2 Log | AUROC0.9429 | 9 | |
| Anomaly Detection | Spirit2 Log | AUROC95.27 | 9 | |
| Anomaly Detection | Liberty 2 | AUROC0.9429 | 9 | |
| Anomaly Detection | Spirit 2 | AUROC0.9527 | 9 | |
| Anomaly Detection | Thunderbird Log | AUROC92.37 | 9 | |
| Anomaly Detection | Thunderbird | AUROC92.37 | 9 |
Showing 8 of 8 rows