Oct 2026· Mathematics· Vol 14, pp. 3866· 0 citations· 20 references
TL;DR
A unified mathematical modelling framework for log anomaly detection, instantiated as the Conditional Graph Attention Transformer for Log Analysis (CGATLog), which represents temporally ordered log observations as a weighted attributed graph and jointly models semantic representations, event dependencies, temporal associations, and minority-class distributions.
Abstract
System logs provide valuable information for monitoring system states, identifying failures, and detecting anomalous behaviour in large-scale distributed computing systems. However, their unstructured text, complex semantic dependencies, temporal variation, and severe class imbalance limit conventional methods based on event templates, sequence statistics, or shallow features. To address these challenges, this study proposes a unified mathematical modelling framework for log anomaly detection, instantiated as the Conditional Graph Attention Transformer for Log Analysis (CGATLog). The framework represents temporally ordered log observations as a weighted attributed graph and jointly models semantic representations, event dependencies, temporal associations, and minority-class distributions. A BERT-Transformer encoder first extracts contextual semantic representations from log entries. A weighted log graph is then constructed from event-transition relationships, semantic similarity, and temporal proximity. To alleviate anomaly scarcity, anomalous node representations are generated in the graph embedding space and connected to the original graph through a learnable edge-relation predictor. A semantic–temporal gated graph attention mechanism further regulates the contributions of semantic and temporal associations during neighbourhood aggregation. Experiments on HDFS, BGL, and Thunderbird show that CGATLog achieves competitive log anomaly detection performance. The results also confirm that semantic–temporal graph modelling and anomaly sample augmentation improve robustness, particularly under severe class imbalance.
Advanced persistent threats are complex, stealthy, and long-lasting attacks that can seriously compromise networked systems. System logs provide critical information for APT detection, and provenance graph analysis is commonly used for log anomaly detection. However, existing graph-based methods build provenance graphs...
Modern large-scale cloud systems continuously generate massive and multimodal observability data, such as time-series metrics, log records, and system dependency graphs, which reflect the health state of the system. To ensure reliable cloud system operation, anomaly detection models identify abnormal states by analyzin...
Zhe Li, Teng-Xue Zhang, Yang Shu et al.· 0 citations
Large event graphs often contain rich edge attributes that describe how interactions occur. In call graphs, such attributes include response codes, durations, delays, and inter-arrival times, which are crucial for detecting suspicious entities. However, node-level anomaly detection remains challenging because anomaly l...
Koki Kawabata, Pedro Fidalgo, M. Cazzolato et al.· Proceedings of the 35th ACM...· 0 citations
Accurate time-series event prediction is critical in many real-world domains, such as web traffic monitoring and industrial system management. It relies on identifying distinct underlying states or representative patterns from observed data. However, existing studies mainly focus on state detection and pattern extracti...
Jie Zhang, Peng Wang, Wei Wang· Proceedings of the 35th ACM...· 0 citations
Log files record computational events that reflect system states and behaviors, and serve as a key data source for obtaining operational insights and diagnosing faults in modern distributed systems. Therefore, automated log anomaly detection is of great importance. However, most existing methods rely on log parsers to...
Abstract Edge computing nodes face severe constraints on both computing and storage resources, and the dynamic correlation of asset data remains complex within power monitoring systems. To address this challenge, this study proposes an anomaly detection framework that is based on knowledge graph reasoning and tailored...
Xing-Nan Li, Dong-Xi Lu, Si-Wei Zhou· International Journal of Eme...· 0 citations
We use cookies to run the site and, with your consent, for analytics and to show ads.
See our Cookie Policy.