Skip to main content
Cornell University
We gratefully acknowledge support from the Simons Foundation, member institutions, and all contributors. Donate
arxiv logo > cs > arXiv:2307.16714

Help | Advanced Search

arXiv logo
Cornell University Logo

quick links

  • Login
  • Help Pages
  • About

Computer Science > Software Engineering

arXiv:2307.16714 (cs)
[Submitted on 31 Jul 2023 (v1), last revised 23 Jun 2025 (this version, v5)]

Title:A Comprehensive Study of Machine Learning Techniques for Log-Based Anomaly Detection

Authors:Shan Ali, Chaima Boufaied, Domenico Bianculli, Paula Branco, Lionel Briand
View a PDF of the paper titled A Comprehensive Study of Machine Learning Techniques for Log-Based Anomaly Detection, by Shan Ali and Chaima Boufaied and Domenico Bianculli and Paula Branco and Lionel Briand
View PDF HTML (experimental)
Abstract:Growth in system complexity increases the need for automated log analysis techniques, such as Log-based Anomaly Detection (LAD). While deep learning (DL) methods have been widely used for LAD, traditional machine learning (ML) techniques can also perform well depending on the context and dataset. Semi-supervised techniques deserve the same attention as they offer practical advantages over fully supervised methods. Current evaluations mainly focus on detection accuracy, but this alone is insufficient to determine the suitability of a technique for a given LAD task. Other aspects to consider include training and prediction times as well as the sensitivity to hyperparameter tuning, which in practice matters to engineers.
This paper presents a comprehensive empirical study evaluating a wide range of supervised and semi-supervised, traditional and deep ML techniques across four criteria: detection accuracy, time performance, and sensitivity to hyperparameter tuning in both detection accuracy and time performance. The experimental results show that supervised traditional and deep ML techniques fare similarly in terms of their detection accuracy and prediction time on most of the benchmark datasets considered in our study. Moreover, overall, sensitivity analysis to hyperparameter tuning with respect to detection accuracy shows that supervised traditional ML techniques are less sensitive than deep learning techniques. Further, semi-supervised techniques yield significantly worse detection accuracy than supervised techniques.
Comments: Accepted by EMSE'25
Subjects: Software Engineering (cs.SE); Machine Learning (cs.LG)
Cite as: arXiv:2307.16714 [cs.SE]
  (or arXiv:2307.16714v5 [cs.SE] for this version)
  https://doi.org/10.48550/arXiv.2307.16714
arXiv-issued DOI via DataCite
Journal reference: Empir Software Eng 30, 129 (2025)
Related DOI: https://doi.org/10.1007/s10664-025-10669-3
DOI(s) linking to related resources

Submission history

From: Chaima Boufaied [view email]
[v1] Mon, 31 Jul 2023 14:34:33 UTC (149 KB)
[v2] Mon, 20 May 2024 12:23:02 UTC (285 KB)
[v3] Fri, 20 Dec 2024 21:52:14 UTC (454 KB)
[v4] Wed, 16 Apr 2025 20:57:44 UTC (430 KB)
[v5] Mon, 23 Jun 2025 16:53:44 UTC (392 KB)
Full-text links:

Access Paper:

    View a PDF of the paper titled A Comprehensive Study of Machine Learning Techniques for Log-Based Anomaly Detection, by Shan Ali and Chaima Boufaied and Domenico Bianculli and Paula Branco and Lionel Briand
  • View PDF
  • HTML (experimental)
  • TeX Source
  • Other Formats
view license
Current browse context:
cs.SE
< prev   |   next >
new | recent | 2023-07
Change to browse by:
cs
cs.LG

References & Citations

  • NASA ADS
  • Google Scholar
  • Semantic Scholar
a export BibTeX citation Loading...

BibTeX formatted citation

×
Data provided by:

Bookmark

BibSonomy logo Reddit logo

Bibliographic and Citation Tools

Bibliographic Explorer (What is the Explorer?)
Connected Papers (What is Connected Papers?)
Litmaps (What is Litmaps?)
scite Smart Citations (What are Smart Citations?)

Code, Data and Media Associated with this Article

alphaXiv (What is alphaXiv?)
CatalyzeX Code Finder for Papers (What is CatalyzeX?)
DagsHub (What is DagsHub?)
Gotit.pub (What is GotitPub?)
Hugging Face (What is Huggingface?)
Papers with Code (What is Papers with Code?)
ScienceCast (What is ScienceCast?)

Demos

Replicate (What is Replicate?)
Hugging Face Spaces (What is Spaces?)
TXYZ.AI (What is TXYZ.AI?)

Recommenders and Search Tools

Influence Flower (What are Influence Flowers?)
CORE Recommender (What is CORE?)
  • Author
  • Venue
  • Institution
  • Topic

arXivLabs: experimental projects with community collaborators

arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.

Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.

Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs.

Which authors of this paper are endorsers? | Disable MathJax (What is MathJax?)
  • About
  • Help
  • contact arXivClick here to contact arXiv Contact
  • subscribe to arXiv mailingsClick here to subscribe Subscribe
  • Copyright
  • Privacy Policy
  • Web Accessibility Assistance
  • arXiv Operational Status
    Get status notifications via email or slack