University of Oulu

Hashemi, S., Mäntylä, M. SiaLog: detecting anomalies in software execution logs using the siamese network. Autom Softw Eng 29, 61 (2022). https://doi.org/10.1007/s10515-022-00365-7

SiaLog : detecting anomalies in software execution logs using the siamese network

Saved in:
Author: Hashemi, Shayan1; Mäntylä, Mika1
Organizations: 1M3S Research Unit, ITEE, University of Oulu, Oulu, Finland
Format: article
Version: published version
Access: open
Online Access: PDF Full Text (PDF, 1.6 MB)
Persistent link: http://urn.fi/urn:nbn:fi-fe2023032433130
Language: English
Published: Springer Nature, 2022
Publish Date: 2023-03-24
Description:

Abstract

Detecting anomalies in software logs has become a notable concern for software engineers and maintainers as they represent anomalies in software execution paths and states. This paper propose a novel anomaly detection approach based on the Siamese network on top of Recurrent Neural Networks(RNN). Accordingly, we introduce a novel training pair generation algorithm to train the Siamese network which reduces generated training significantly while maintaining the F₁ score. Additionally, we propose a hybrid model by combining the Siamese network with a traditional feedforward neural network to make end-to-end training possible, reducing engineering effort in setting up a deep-learning-based log anomaly detector. Furthermore, we provides validations of the approach on the Hadoop Distributed File System (HDFS), Blue Gene/L (BGL), and Hadoop map-reduce task log datasets. To the best of our knowledge, the proposed approach outperforms other methods on the same dataset at the F₁ scores of respectively 0.99, 0.99, and 0.94 on HDFS, BGL, and Hadoop datasets, resulting in a new state-of-the-art performance. To further evaluate the proposed method, we examine our method’s robustness to log evolutions by evaluating the model on synthetically evolved log sequences; we got the F₁ score of 0.95 on the HDFS dataset at the noise ratio of 20%. Finally, we dive deep into some of the side benefits of the Siamese network. Accordingly, we introduce an unsupervised log evolution monitoring method alongside a visualization technique that facilitates model interpretability.

see all

Series: Automated software engineering
ISSN: 0928-8910
ISSN-E: 1573-7535
ISSN-L: 0928-8910
Volume: 29
Issue: 2
Article number: 61
DOI: 10.1007/s10515-022-00365-7
OADOI: https://oadoi.org/10.1007/s10515-022-00365-7
Type of Publication: A1 Journal article – refereed
Field of Science: 213 Electronic, automation and communications engineering, electronics
Subjects:
Funding: This work has been supported by the Academy of Finland (grant IDs 298020 and 328058). Additionally, the authors gratefully acknowledge CSC - IT Center for Science, Finland, for their generous computational resources.
Academy of Finland Grant Number: 298020
328058
Detailed Information: 298020 (Academy of Finland Funding decision)
328058 (Academy of Finland Funding decision)
Copyright information: © The Author(s) 2022. This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article’s Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article’s Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by/4.0/.
  https://creativecommons.org/licenses/by/4.0/