GALLog: A Graph-based Log Anomaly Detection Method with Active Learning
System logs continuously record the status and internal operation details of the system, playing a vital role in locating and resolving software anomalies. Recently, numerous deep learning-based methods have been proposed to detect system anomalies via log analysis. However, there are still several critical challenges remain to be addressed. First, existing methods are highly dependent on expensive and manually-curated labeling information. Second, the mainstream method of using sequence models to represent log information can be insufficient. To tackle these challenges, we propose GALLog, a graph-based log anomaly detection method that incorporates active learning. GALLog starts by transforming log sequences into graphs and learns neglected structural information in sequence models by graph attention network. To maximize the use of limited labeling budget, we introduce a hybrid active learning strategy to select valuable log entries for labeling. Specifically, the representative strategy ensures samples diversity while the uncertainty strategy focuses on capturing low-confidence samples. Additionally, we designed a data augmentation method using graph representation learning, which is used to reduce sample redundancy and further enhance uncertain samples. Experiments indicate that GALLog outperforms compared approaches under realistic low labeling budgets, and extensive ablation experiments have proven the effectiveness of each component in our design.
Authors
- Jialong Liu (ORCID: https://orcid.org/0000-0002-4303-3617)
- Jiamou Liu (ORCID: https://orcid.org/0000-0002-0824-0899)
- Kaiqi Zhao (ORCID: https://orcid.org/0000-0002-0984-1629)
- Wu Chen (ORCID: https://orcid.org/0000-0002-5041-6122)
- Xiao–Yi Zhang (ORCID: https://orcid.org/0000-0001-7414-8057)
- Mingyue Zhang (ORCID: https://orcid.org/0000-0002-3003-8902)
- Yanni Tang (ORCID: https://orcid.org/0009-0004-0163-554X)
- Xin Ren (ORCID: https://orcid.org/0009-0004-9741-6025)
Institutions
- Southwest University (CN)
- University of Auckland (NZ)
- University of Science and Technology Beijing (CN)
Publication Details
- Journal
- ACM Transactions on Software Engineering and Methodology
- Published
- 2026-09-15
- DOI
- https://doi.org/10.1145/3844619
- Primary Topic
- Software System Performance and Reliability
- Type
- article
- Field-Weighted Citation Impact
- 0.00