University of Limerick
Browse

Systematic evaluation of deep learning models for log-based failure prediction

Download (2.46 MB)
journal contribution
posted on 2024-06-28, 10:19 authored by Fatemeh HadadiFatemeh Hadadi, Joshua H. Dawes, Donghwan ShinDonghwan Shin, Domenico Bianculli, Lionel C BriandLionel C Briand

With the increasing complexity and scope of software systems, their dependability is crucial. The analysis of log data recorded during system execution can enable engineers to automatically predict failures at run time. Several Machine Learning (ML) techniques, including traditional ML and Deep Learning (DL), have been proposed to automate such tasks. However, current empirical studies are limited in terms of covering all main DL types—Recurrent Neural Network (RNN), Convolutional Neural Network (CNN), and transformer—as well as examining them on a wide range of diverse datasets. In this paper, we aim to address these issues by systematically investigating the combination of log data embedding strategies and DL types for failure prediction. To that end, we propose a modular architecture to accommodate various configurations of embedding strategies and DL-based encoders. To further investigate how dataset characteristics such as dataset size and failure percentage affect model accuracy, we synthesised 360 datasets, with varying characteristics, for three distinct system behavioural models, based on a systematic and automated generation approach. Using the F1 score metric, our results show that the best overall performing configuration is a CNN-based encoder with Logkey2vec. Additionally, we provide specific dataset conditions, namely a dataset size > 350 or a failure percentage > 7.5%, under which this configuration demonstrates high accuracy for failure prediction.

Funding

Lero_Phase 2

Science Foundation Ireland

Find out more...

DevOps for Complex Cyber-physical Systems

European Commission

Find out more...

History

Publication

Empirical Software Engineering 29, 105

Publisher

Springer

Other Funding information

This work was supported by the Canada Research Chair and Discovery Grant programs of the Natural Sciences and Engineering Research Council of Canada (NSERC), by a University of Luxembourg’s 1621 joint research program grant. The experiments conducted in this work were enabled in part 1623 by Digital Alliance of Canada(alliancecan.ca).

Also affiliated with

  • LERO - The Science Foundation Ireland Research Centre for Software

Department or School

  • Computer Science & Information Systems

Usage metrics

    University of Limerick

    Categories

    Exports

    RefWorks
    BibTeX
    Ref. manager
    Endnote
    DataCite
    NLM
    DC