Skip to main navigation Skip to search Skip to main content

Beyond Log Parsers: A Scalable AI-Driven Framework for Efficient Log Anomaly Detection in Software Engineering

  • Yicheng Sun
  • , Jacky Keung
  • , Hi Kuen Yu
  • , Shuo Liu
  • , Yihan Liao
  • , Jingyu Zhang

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

2 Citations (Scopus)

Abstract

Log anomaly detection is critical for ensuring software system reliability and security, yet challenges persist in log parser dependency, small-scale dataset applicability, and hyperparameter tuning efficiency. Existing methods over-rely on predefined log templates, leading to information loss and high computational overhead. Additionally, anomaly detection models often struggle with limited log data, and hyperparameter tuning remains computationally expensive in dynamic environments. In this paper, we empirically evaluate seven state-of-the-art anomaly detection models across varied software systems, assessing the necessity of log parsers and model performance on small-scale datasets. Furthermore, we propose SMAC-<T>, an enhanced real-time hyperparameter optimization framework, integrating stochastic gradient descent (SGD) and adaptive learning to improve model adaptability and efficiency. Our experiments on six benchmark datasets demonstrate that SMAC-<T> achieves an overall average F1-score improvement of 4.27%, a 27.55% reduction in hyperparameter tuning time compared to other models, and a 1.35% increase in F1-score when adapting to newly emerging logs, compared to its counterpart without SGD integration. These findings underscore the practical advantages of AI-driven log analysis, providing valuable insights into scalable, software-engineered anomaly detection.

Original languageEnglish
Title of host publicationProceedings - 2025 IEEE 49th Annual Computers, Software, and Applications Conference, COMPSAC 2025
EditorsHossain Shahriar, Kazi Shafiul Alam, Hiroyuki Ohsaki, Stelvio Cimato, Miriam Capretz, Shamem Ahmed, Sheikh Iqbal Ahamed, AKM Jahangir Alam Majumder, Munirul Haque, Tomoki Yoshihisa, Alfredo Cuzzocrea, Michiharu Takemoto, Nazmus Sakib, Marwa Elsayed
Pages1382-1387
Number of pages6
ISBN (Electronic)9798331574345
DOIs
Publication statusPublished - 2025
Externally publishedYes
Event49th IEEE Annual Computers, Software, and Applications Conference, COMPSAC 2025 - Toronto, Canada
Duration: 8 Jul 202511 Jul 2025

Publication series

NameProceedings - 2025 IEEE 49th Annual Computers, Software, and Applications Conference, COMPSAC 2025

Conference

Conference49th IEEE Annual Computers, Software, and Applications Conference, COMPSAC 2025
Country/TerritoryCanada
CityToronto
Period8/07/2511/07/25

Keywords

  • AI-Driven Log Anomaly Detection
  • Empirical Software Anomaly Analysis
  • Log Analysis
  • Real-Time Hyperparameter Optimization
  • Scalable Log Parsing and Detection

Fingerprint

Dive into the research topics of 'Beyond Log Parsers: A Scalable AI-Driven Framework for Efficient Log Anomaly Detection in Software Engineering'. Together they form a unique fingerprint.

Cite this