System Log Anomaly Detection With Noise-Contrastive Learning and Pattern Feature

System logs play a critical role in identifying security threats such as network attacks, unauthorized access, and system vulnerabilities. Recent research has focused on extracting sequences of security-related events from large-scale log data and applying deep learning methods for anomaly detection. These methods achieve anomaly detection by designing an auxiliary training task that predicts the next event. However, the inconsistency between the task of event prediction and the goal of anomaly detection limits their performance. In this paper, we introduce a noise-contrastive learning approach that introduces synthetic noise as a training signal, enabling the model to directly discriminate between normal and anomalous samples. Our approach also includes an ensemble model, STrees, and a novel feature engineering method named pattern feature. By modeling the relationships among events under normal conditions, these methods allow the model to capture contextual dependencies in log event sequences, thereby improving its ability to detect potential anomalies. Specifically, this approach achieves a recall for the anomaly class that is at least 7.3% higher compared to models that utilize only sequence features. Experimental results demonstrate that our model improves anomaly-class recall by at least 10.8% over advanced log anomaly detection methods while achieving more accurate detection on most datasets. These results highlight the effectiveness of our approach in learning discriminative decision boundaries between normal and anomalous event sequence patterns

Authors

Institutions

Publication Details

Journal
IEEE Transactions on Network Science and Engineering
Published
2025-06-16
DOI
https://doi.org/10.1109/tnse.2025.3579809
Citations
1
Primary Topic
Anomaly Detection Techniques and Applications
Type
article
Field-Weighted Citation Impact
2.48
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

System Log Anomaly Detection With Noise-Contrastive Learning and Pattern Feature

Genke Yang, Chau Yuen, Mingfeng Xie, Boon‐Hee Soong et al.
1 citations
IEEE Transactions on Network Science and Engineering
Anomaly Detection Techniques and Applications
2.48
article

System Log Anomaly Detection With Noise-Contrastive Learning and Pattern Feature

Genke Yang, Chau Yuen, Mingfeng Xie, Boon‐Hee Soong, Pengcheng Luo, Jian Chu, Dengke Deng
article en
1 citations

Abstract

System logs play a critical role in identifying security threats such as network attacks, unauthorized access, and system vulnerabilities. Recent research has focused on extracting sequences of security-related events from large-scale log data and applying deep learning methods for anomaly detection. These methods achieve anomaly detection by designing an auxiliary training task that predicts the next event. However, the inconsistency between the task of event prediction and the goal of anomaly detection limits their performance. In this paper, we introduce a noise-contrastive learning approach that introduces synthetic noise as a training signal, enabling the model to directly discriminate between normal and anomalous samples. Our approach also includes an ensemble model, STrees, and a novel feature engineering method named pattern feature. By modeling the relationships among events under normal conditions, these methods allow the model to capture contextual dependencies in log event sequences, thereby improving its ability to detect potential anomalies. Specifically, this approach achieves a recall for the anomaly class that is at least 7.3% higher compared to models that utilize only sequence features. Experimental results demonstrate that our model improves anomaly-class recall by at least 10.8% over advanced log anomaly detection methods while achieving more accurate detection on most datasets. These results highlight the effectiveness of our approach in learning discriminative decision boundaries between normal and anomalous event sequence patterns

IEEE Transactions on Network Science and EngineeringVol. 13
Nanyang Technological University (SG), Shanghai Jiao Tong University (CN), Nanjing University of Aeronautics and Astronautics (CN)
Openalex Percentile: Top 10%
Anomaly Detection Techniques and Applications
2.48
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.