ScalaLog: Scalable Log-Based Failure Diagnosis Using LLM
Lingzhe Zhang, Tong Jia, Mengxi Jia, Yifan Wu, Hongyi Liu, Ying Li
Abstract
As Industrial Internet of Things (IIoT) software systems become increasingly complex, precise failure diagnosis has become both essential and challenging. Current log-based failure diagnosis methods lack scalability for different failure types. In IIoT software systems, the number of failure types is constantly growing, and retraining the model each time a new failure type is introduced is highly resource-intensive. Additionally, traditional log-based failure diagnosis models often require log parsing as a preliminary step, which can also be resource-consuming. To address these challenges, we propose a scalable log-based failure diagnosis method named ScalaLog. ScalaLog builds on RAG by utilizing LLM-based summarization to extract key log information, applying sample augmentation to increase the number of samples, and using CoT prompts to guide the LLM in failure diagnosis. Experiments on various public and real-world datasets demonstrate that ScalaLog significantly enhances failure diagnosis accuracy without the need for training or log parsing.
BibTeX
@inproceedings{icassp2025_scalalogscalable,
title = {ScalaLog: Scalable Log-Based Failure Diagnosis Using LLM},
author = {Lingzhe Zhang and Tong Jia and Mengxi Jia and Yifan Wu and Hongyi Liu and Ying Li},
booktitle = {ICASSP 2025},
year = {2025}
}