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*

*Corresponding author for this work

Research output: Conference PapersRGC 32 - Refereed conference paper (without host publication)peer-review

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
Publication statusPresented - 11 Jul 2025
EventProceedings - 2025 IEEE 49th International Conference on Computers, Software, and Applications, COMPSAC 2025 - Toronto, Canada
Duration: 8 Jul 202511 Jul 2025
https://ieeecompsac.computer.org/2025/

Conference

ConferenceProceedings - 2025 IEEE 49th International Conference on Computers, Software, and Applications, COMPSAC 2025
Country/TerritoryCanada
CityToronto
Period8/07/2511/07/25
Internet address

Bibliographical note

Since this conference is yet to commence, the information for this record is subject to revision.

Funding

This work is partially supported by the General Research Fund of the Research Grants Council of Hong Kong and the research funds from the City University of Hong Kong (6000796, 9229109, 9229098, 9220103, 9229029).

Research Keywords

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

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