We use a few cookies

Essential cookies keep the library working. With your permission, we'd also like to use analytics to see what's useful and improve the experience. Read our Privacy Policy or Cookie Policy.

Skip to main content
Home/e-Resources/Computer Science & Information Technology/LogSD: Detecting Anomalies from System Logs through Self-Supervised Learning and Frequency-Based Masking
PeriodicalsComputer Science & Information Technology

LogSD: Detecting Anomalies from System Logs through Self-Supervised Learning and Frequency-Based Masking

Checking your access to this record.

Abstract & Overview

Log analysis is one of the main techniques that engineers use for troubleshooting large-scale software systems. Over the years, many supervised, semi-supervised, and unsupervised log analysis methods have been proposed to detect system anomalies by analyzing system logs. Among these, semi-supervised methods have garnered increasing attention as they strike a balance between relaxed labeled data requirements and optimal detection performance, contrasting with their supervised and unsupervised counterparts. However, existing semi-supervised methods overlook the potential bias introduced by highly frequent log messages on the learned normal patterns, which leads to their less than satisfactory performance. In this study, we propose LogSD, a novel semi-supervised self-supervised learning approach. LogSD employs a dual-network architecture and incorporates a frequency-based masking scheme, a global-to-local reconstruction paradigm and three self-supervised learning tasks. These features enable LogSD to focus more on relatively infrequent log messages, thereby effectively learning less biased and more discriminative patterns from historical normal data. This emphasis ultimately leads to improved anomaly detection performance. Extensive experiments have been conducted on three commonly-used datasets and the results show that LogSD significantly outperforms eight state-of-the-art benchmark methods.

Cite this record

Yongzheng Xie, Hongyu Zhang, Muhammad Ali Babar (2024). LogSD: Detecting Anomalies from System Logs through Self-Supervised Learning and Frequency-Based Masking. Proceedings of the ACM on software engineering., 1(FSE), 2098–2120. https://doi.org/10.1145/3660800

Copy in another style

Xie, Y., Zhang, H., & Babar, M. A. (2024). LogSD: Detecting Anomalies from System Logs through Self-Supervised Learning and Frequency-Based Masking. Proceedings of the ACM on software engineering., 1(FSE), 2098–2120. https://doi.org/10.1145/3660800
Author names are used as deposited, so check their order before you submit.

Metadata is harvested from open-access indexes and can be incomplete. Check a citation against the published version before relying on it — see our open access & attribution policy.