EUVIMEDEUVIMED entdecken
Crossref

Loader: A Log Anomaly Detector Based on Transformer

Tong Xiao, Zhe Quan, Zhi-Jie Wang, Yuquan Le, Yunfei Du, Xiangke Liao, Kenli Li, Keqin Li

IEEE Transactions on Services Computing · 2023-09 · 16 (5) · 3479-3492

DOI: 10.1109/tsc.2023.3280575 ↗

Kurz gefasst

Fachartikel in der Zeitschrift IEEE Transactions on Services Computing, 2023-09. Verfasst von Tong Xiao und 7 weiteren Autor:innen. Die Arbeit wurde bisher 44-mal zitiert (Crossref) und nennt 42 Literaturangaben. Gefördert von: National Key R&D Program of China, National Natural Science Foundation of China.

AbstractBibliografische AngabenZitierenVerwandte Studien

Abstract (Originalsprache)

Detecting anomalies in logs is crucial for service and system management, since logs are widely used to record the runtime status, and are often the only data available for postmortem analysis. Since anomalies are usually rare in real-world services and systems, a common and feasible practice is to mine or learn normal patterns from logs, and deem those violating the normal patterns as anomalies. As log sequences are a kind of time series data, RNN (Recurrent Neural Network) and its variants have been extensively employed to capture the normal patterns. Nevertheless, the sequential nature of RNN and its variants makes them hard to parallelize and capture long-term dependencies, which may hinder their performance. To address this issue, in this paper we propose Loader, a novel semi-supervised lo g a nomaly d etector based on Transform er , because the Transformer architecture eschews recurrence and is able to draw global dependencies. Loader leverages the Transformer encoder to capture normal patterns from normal log sequences. When detecting, it gives a set of candidate log templates, that may appear after the input log substring under normal conditions. If the template of the actual next log message is not within the candidate set, this implies an anomaly. Previous similar methods select the most possible $k$ k log templates as candidates in any case, so the performance is sensitive to $k$ k , and it is nontrivial to pick a proper $k$ k . To alleviate this, we design a more flexible and robust ‘top- $p$ p ’ algorithm, which determines the candidate set based on the cumulative probability of the most possible log templates. Extensive experiments are conducted based on three public log datasets, the experimental results validate the effectiveness and competitiveness of our approach.

Förderung

  • National Key R&D Program of China
  • National Natural Science Foundation of China

Zitieren

APA

Xiao, T., Quan, Z., Wang, Z., Le, Y., Du, Y., Liao, X., Li, K., & Li, K. (2023). Loader: A Log Anomaly Detector Based on Transformer. IEEE Transactions on Services Computing, 16(5), 3479-3492. https://doi.org/10.1109/tsc.2023.3280575

Vancouver

Xiao T, Quan Z, Wang Z, Le Y, Du Y, Liao X, et al. Loader: A Log Anomaly Detector Based on Transformer. IEEE Transactions on Services Computing. 2023;16(5):3479-3492. doi:10.1109/tsc.2023.3280575

BibTeX
@article{Xiao2023,
  author = {Xiao, Tong and Quan, Zhe and Wang, Zhi-Jie and Le, Yuquan and Du, Yunfei and Liao, Xiangke and Li, Kenli and Li, Keqin},
  title = {Loader: A Log Anomaly Detector Based on Transformer},
  journal = {IEEE Transactions on Services Computing},
  year = {2023},
  volume = {16},
  number = {5},
  pages = {3479--3492},
  doi = {10.1109/tsc.2023.3280575}
}
Kostenlos starten →