ALogSCAN: A Self-Supervised Dual Network for Adaptive and Timely Log Anomaly Detection in Clouds
Open Access
- 31 July 2025
- journal article
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Transactions on Machine Learning in Communications and Networking
- Vol. 3, 864-882
Abstract
Logs are prevalent in modern cloud systems and serve as a valuable source of information for system maintenance. Over the years, many supervised, semi-supervised, and unsupervised log analysis methods have been proposed to detect system anomalies. In particular, semi-supervised methods have garnered increasing attention as they balance reduced labeled data requirements and optimal detection performance, contrasting with their supervised and unsupervised counterparts. However, existing semi-supervised log analysis methods often suffer from practical challenges, such as log instability, imbalanced class data, and labeling dependency, which are pervasive issues in real-world systems. To address these challenges, we propose ALogSCAN, a self-supervised method to detect anomalies at the host level of cloud systems. ALogSCAN introduces the Dynamic Frequency-based Log Filtering (DFLF) technique to mitigate the potential bias introduced by highly frequent log messages, thereby focusing more on infrequent yet critical log messages. Moreover, the self-supervised nature of ALogSCAN eliminates the need for time-consuming manual labeling of log data, and enables the DFLF technique to continuously adapt to evolving log sequences, maintaining robustness against unstable log data. We have evaluated ALogSCAN on two widely used public datasets and one private dataset from Ericsson Research, and the experimental results demonstrate its effectiveness, consistently outperforming existing methods in various scenarios.Keywords
Funding Information
- Ericsson/Evolution of Networked Services through the Corridor in Québec and Ontario for Research and Innovation Industrial Research Chair on Cloud and Edge Computing for 5G and Beyond (ENCQOR-5G)
This publication has 21 references indexed in Scilit:
- A Data-Driven Approach for Adaptive Real-Time Log Parsing in Cloud Environments2024
- Jbeil: Temporal Graph-Based Inductive Learning to Infer Lateral Movement in Evolving Enterprise Networks2024
- Real-Time Anomaly Detection Using Distributed Tracing in Microservice Cloud Applications2023
- Loghub: A Large Collection of System Log Datasets for AI-driven Log Analytics2023
- System Log Parsing: A SurveyIEEE Transactions on Knowledge and Data Engineering, 2023
- LogBERT: Log Anomaly Detection via BERT2021
- Semi-Supervised Log-Based Anomaly Detection via Probabilistic Label Estimation2021
- HitAnomaly: Hierarchical Transformers for Anomaly Detection in System LogIEEE Transactions on Network and Service Management, 2020
- Unsupervised log message anomaly detectionICT Express, 2020
- Towards Automated Log Parsing for Large-Scale Log Data AnalysisIEEE Transactions on Dependable and Secure Computing, 2017