REVIEW 4 major objections 6 minor 15 references
Beyond Window-Based Detection: A Graph-Centric Framework for Discrete Log Anomaly Detection
T0 review · 4 major / 6 minor · reviewed 2026-08-10 · deepseek-v4-flash
Pith's one-line read TempoLog claims that log anomaly detection can be done event-by-event on a continuous-time dynamic graph, removing fixed-size windows and reaching F1 scores of 0.986 on BGL, 0.993 on Spirit, and 0.987 on Thunderbird, beating seven…
desk verdict A genuinely novel idea for event-level log anomaly detection, but the evaluation protocol is under-specified enough that the headline F1 scores are currently unverifiable. read the letter →
The pith
A machine-rendered reading of the paper's core claim, the machinery that carries it, and where it could break.
The reading
What carries the argument
The central object is the multi-scale continuous-time dynamic graph (CTDG) built directly from the log stream: nodes are log-template semantic vectors, edges are temporal dependencies at hop distances $H=0$ and $H=1$ by default, and edge features encode semantic similarity, co-occurrence frequency, time interval, and log level. On top of this graph sits a temporal graph network with a memory module initialized with each template's BERT vector, a message function and aggregator that propagate the most recent neighbor memory, and a temporal graph attention embedding module; a link-prediction head trained with binary cross-entropy decides whether an edge should exist between two nodes at a given timestamp, and any mismatch flags the event as anomalous. Parameter sharing across hop scales keeps training and inference efficient, which is what makes the event-level prediction practical on large logs.
What would settle it
Re-run the seven baselines under the paper's own protocol with the same event-level labeling rule as TempoLog and the same 40% test split; if any baseline's per-event F1 on BGL, Spirit, or Thunderbird moves materially from Table 2, or if TempoLog is instead scored at window level, the 'significantly outperforming' claim collapses. The simplest check is to count the number of true positives the baselines would admit under an explicit localization rule.
Extended reading notes
Core claim
On its own terms, the central claim is that log anomaly detection can and should be framed as link prediction on a continuous-time dynamic graph rather than as classification of fixed-size windows. TempoLog represents every log template as a node carrying a BERT-derived semantic vector, creates directed temporal edges between nodes that appear within a chosen hop distance, enriches those edges with features such as semantic similarity, co-occurrence frequency, time interval, and log level, and then uses a temporal graph network—with memory initialized from the semantic vectors and updated by message passing—to produce node embeddings at each timestamp. An event is flagged anomalous when the predicted existence of an edge between two nodes at that time disagrees with the real link. The paper reports that this event-level protocol achieves F1 scores of 0.986 on BGL, 0.993 on Spirit, and 0.987 on Thunderbird, outperforming seven window-based baselines, and that ablations show both the multi-scale (multi-hop) structure and the semantic memory contribute substantially to the gains.
Load-bearing premise
The reported superiority assumes the seven baselines were scored at the same event level and on the same train/test splits as TempoLog, but the paper never specifies how window-level baseline outputs were mapped to event-level labels and its reported splits are inconsistent (the caption says 50% training while Section 4.2 says 40% testing, and Spirit's listed train size is only 5% of its total).
Editorial extensions
If this is right
- A log-anomaly detector can operate at event granularity, so on-site engineers get the specific anomalous event rather than a window of logs to inspect.
- Because no fixed window is used, the choice of window size can no longer distort detection accuracy the way the paper shows it does for DeepLog, LogAnomaly, PLELog, LogRobust, and CNN.
- Semantic memory and multi-scale edges are load-bearing: removing semantic initialization drops F1 by roughly 26% on BGL, 75% on Spirit, and 48% on Thunderbird, and using only the 0-hop graph drops it by 15%, 63%, and 61%.
- The same framework handles unseen log templates at test time by growing the memory, which supports dynamic log updates in practice.
- The window-free design removes the need for the manual localization step that window-based methods impose on engineers.
Reading between the lines
- Because the graph is defined purely by event order and timestamps, the same construction could in principle be applied to other discrete event streams—clickstreams, financial transactions, or sensor events—where fixed-window grouping also thresholds context.
- The link-prediction criterion is a local decision per event, so TempoLog's event-level outputs could be aggregated into window-level or session-level alerts without re-training, which window-based methods cannot do in reverse.
- A direct test of the framework's generality would be to sweep the hop distance $H$ beyond $\{0,1\}$ and measure how F1 changes; the paper does not report this sweep, so it remains open whether larger hops help or hurt on denser log streams.
- The reported efficiency comparison covers training and inference time, but not end-to-end operational cost including memory growth from unseen templates, which the paper itself flags as a threat to validity.
Editorial analysis
A structured set of objections, weighed in public.
Referee Report
Summary. The paper proposes TempoLog, an event-level log anomaly detection framework that replaces fixed-size window grouping with continuous-time dynamic graphs. Log templates are embedded with BERT and represented as nodes; directed temporal edges are created at multiple hop distances and enriched with hand-crafted edge features (semantic similarity, co-occurrence frequency, time interval, log level). A TGN-style memory/attention encoder produces node embeddings, and a link-prediction head (Eq. 8) is trained to decide whether an edge should exist; violations are flagged as event-level anomalies. On BGL, Spirit, and Thunderbird, the authors report F1 scores of 0.986, 0.993, and 0.987, outperforming seven window-based baselines, and they include ablations, a case study, efficiency measurements, and a threats-to-validity section.
Significance. If the evaluation is made fully transparent, TempoLog would be a meaningful contribution: event-level detection directly addresses the fuzzy-localization problem, and the multi-scale CTDG with semantic memory is a reasonable way to avoid window-size sensitivity. The ablation study and the efficiency discussion are useful, and the central claims are falsifiable. However, the paper currently provides no code and the reported state-of-the-art comparison rests on an underspecified evaluation protocol; the missing window-to-event mapping and the internally inconsistent data statistics prevent verification of the headline performance claims. The modeling idea is plausible and worth publishing after the evaluation issues are resolved.
major comments (4)
- [Section 4.1/4.2, Table 2] The baselines are window-based (window size 100, Section 4.2), yet all metrics are defined at event level in Section 4.1. The paper never states how a window-level alarm is converted into event-level TP/FP/FN. For example, DeepLog and LogAnomaly predict the next log template, and their reported event-level F1 scores of 0.226 and 0.224 on BGL cannot be reproduced from the text without a stated localization rule. Please specify the exact mapping used (e.g., whether every event in an alerted window counts as a positive, or only the first mismatching event) and confirm that the same rule was applied to every baseline.
- [Section 4.1, Section 4.2, Table 1] The data split is internally inconsistent. Section 4.1 says 50% of logs are training and the rest are testing; Section 4.2 says 40% of the data is test; Table 1 has a caption 'Training set ratio=0.5' but lists Spirit #Train logs as 25,000,000 out of 500,000,000, which is 5%, not 50%. In addition, the parenthetical anomaly percentages for Spirit (15.30%, 11.82%, 3.47%) do not match the listed counts: 764,891/500,000,000 is 0.153%, not 15.30%. These discrepancies must be reconciled because the baseline comparison and the discussion of anomaly ratios depend on the actual sample size and split.
- [Section 3.5, Eq. (8)] The link-prediction decision rule is underspecified. The text says an anomaly is detected when the predicted link relationship is inconsistent with the real link relationship, but no decision threshold on sigma(f(zi,zj)) is given, and there is no description of how negative edges are sampled for training or for the test-time decision. Since event-level precision and recall will vary strongly with this threshold and with the negative-edge construction, please report the threshold, the procedure used to select it, and the negative-edge sampling scheme.
- [Section 3.3, Table 2] The H=0 graph, which is used in the default setting H={0,1} and in the H=0 ablation, is never defined. Section 3.3 gives examples only for H=1 and H>1. Without a formal definition of the nodes and edges for H=0, the model and the ablation comparing H=0 with H={0,1} are not reproducible.
minor comments (6)
- [Section 4.1] The sentence defining FN says 'the reset are FN'; this should be 'the rest are FN'.
- [Section 3.4] The text says 'It includes four core modules: memory, message function, message aggregator, memory updater, and node embedding' but five items are listed; please correct the count or the list.
- [Section 3.5, Eq. (8)] The text refers to 'y_hat_ij' as the predicted probability, but Eq. (8) defines L(Theta) = BCE(y_ij, sigma(f(zi,zj))); please align the notation and explicitly define y_ij as the ground-truth edge indicator.
- [Table 3] The checkmark layout is garbled in the submitted version, so it is unclear which feature is removed in each ablation row; please label rows explicitly (e.g., 'w/o C1') and fix the 'Precison' header.
- [Figure 6] The y-axis label 'Log10(Time)(ms)' is ambiguous; please specify the units and whether lower values are better, and fix the 'T est' typo in panel (b).
- [Section 3.3, Eq. (6)] The log-level feature LL(vi) is defined for a single node, but it is used as an edge feature; please clarify how the log levels of the two endpoints are combined into the edge representation.
Circularity Check
No significant circularity: TempoLog's claims are empirical and its model is trained on held-out data; no fitted parameter or equation reduces to its own input.
full rationale
This paper does not present a first-principles derivation; its claims are empirical. The core model is a temporal graph network trained with a binary cross-entropy link-prediction loss (Eq. 8), and detection flags events whose observed graph link is inconsistent with the model prediction. No parameter is fitted to the anomaly labels and then renamed as a prediction: the link labels are the graph's own temporal edges, not the external anomaly ground truth. The architecture is adopted from TGN (Rossi et al., 2020) via an explicit external citation, and the log parsing, embeddings, and baseline implementations are also external (Drain, BERT, LogADEmpirical, LogBert code). There are no references to the present authors' prior work, so no self-citation chain is load-bearing. The ablation studies compare model variants, not derived quantities, and the reported improvements are empirical. The manuscript does contain evaluation-validity weaknesses (an undefined rule for converting window-level baseline alarms to event-level TP/FP, inconsistent train/test split percentages, and an unspecified link-prediction threshold), but these concern reproducibility and fairness of comparison, not circularity: no claimed result is equivalent to its inputs by construction. Therefore the circularity score is 0.
Assumptions & free parameters
free parameters (2)
- Hop distance set H =
{0, 1}
- Link prediction threshold =
not reported
assumptions (5)
- domain assumption BERT embeddings provide semantically meaningful representations of log templates.
- domain assumption Temporal edges at hop distance H encode anomaly-relevant dependencies.
- domain assumption The Temporal Graph Network architecture (Rossi et al., 2020) transfers to log-derived graphs.
- domain assumption Drain log parsing produces correct template assignments.
- domain assumption The benchmark datasets' anomaly labels are correct and apply at event level.
Cite this review
Pith. "Pith review of Beyond Window-Based Detection: A Graph-Centric Framework for Discrete Log Anomaly Detection." pith.science (2026). https://pith.science/paper/F53RXJ4S
@misc{pith2026250112166,
author = {Pith},
title = {Pith review of: Beyond Window-Based Detection: A Graph-Centric Framework for Discrete Log Anomaly Detection},
year = {2026},
howpublished = {\url{https://pith.science/paper/F53RXJ4S}},
note = {Machine review of arXiv:2501.12166}
}
read the original abstract
Detecting anomalies in discrete event logs is critical for ensuring system reliability, security, and efficiency. Traditional window-based methods for log anomaly detection often suffer from context bias and fuzzy localization, which hinder their ability to precisely and efficiently identify anomalies. To address these challenges, we propose a graph-centric framework, TempoLog, which leverages multi-scale temporal graph networks for discrete log anomaly detection. Unlike conventional methods, TempoLog constructs continuous-time dynamic graphs directly from event logs, eliminating the need for fixed-size window grouping. By representing log templates as nodes and their temporal relationships as edges, the framework dynamically captures both local and global dependencies across multiple temporal scales. Additionally, a semantic-aware model enhances detection by incorporating rich contextual information. Extensive experiments on public datasets demonstrate that our method achieves state-of-the-art performance in event-level anomaly detection, significantly outperforming existing approaches in both accuracy and efficiency.
Figures
Figures from the paper (4 more)
Reference graph
Works this paper leans on
-
[1]
Loggc: Novel ap- proach for graph-based log anomaly detection
Stefan Andonov and Gjorgji Madjarov. Loggc: Novel ap- proach for graph-based log anomaly detection. In 2023 IEEE International Conference on Data Mining Work- shops (ICDMW), pages 1194–1202. IEEE,
work page 2023
-
[5]
The race to the vulnerable: Measuring the log4j shell incident
Raphael Hiesgen, Marcin Nawrocki, Thomas C Schmidt, and Matthias W¨ahlisch. The race to the vulnerable: Measuring the log4j shell incident. arXiv preprint arXiv:2205.02544,
-
[6]
Demystifying and ex- tracting fault-indicating information from logs for failure diagnosis
Junjie Huang, Zhihan Jiang, Jinyang Liu, Yintong Huo, Jiazhen Gu, Zhuangbin Chen, Cong Feng, Hui Dong, Zengyin Yang, and Michael R Lyu. Demystifying and ex- tracting fault-indicating information from logs for failure diagnosis. In 2024 IEEE 35th International Symposium on Software Reliability Engineering (ISSRE), pages 511–522. IEEE,
work page 2024
-
[7]
Graph neural networks based log anomaly detection and explana- tion
Zhong Li, Jiayang Shi, and Matthijs Van Leeuwen. Graph neural networks based log anomaly detection and explana- tion. In Proceedings of the 2024 IEEE/ACM 46th Interna- tional Conference on Software Engineering: Companion Proceedings, pages 306–307,
work page 2024
-
[11]
Loggd: Detecting anomalies from system logs with graph neural networks
Yongzheng Xie, Hongyu Zhang, and Muhammad Ali Babar. Loggd: Detecting anomalies from system logs with graph neural networks. In 2022 IEEE 22nd International con- ference on software quality, reliability and security (QRS) , pages 299–310. IEEE,
work page 2022
-
[12]
Semi-supervised log-based anomaly detection via probabilistic label estima- tion
Lin Yang, Junjie Chen, Zan Wang, Weijing Wang, Jiajun Jiang, Xuyuan Dong, and Wenbin Zhang. Semi-supervised log-based anomaly detection via probabilistic label estima- tion. In 2021 IEEE/ACM 43rd International Conference on Software Engineering (ICSE), pages 1448–1460. IEEE,
work page 2021
-
[13]
Lun-Pin Yuan, Peng Liu, and Sencun Zhu. Recompose event sequences vs. predict next events: A novel anomaly detec- tion approach for discrete event logs. InProceedings of the 2021 ACM Asia Conference on Computer and Communi- cations Security, pages 336–348,
work page 2021
-
[14]
Robust log-based anomaly de- tection on unstable log data
Xu Zhang, Yong Xu, Qingwei Lin, Bo Qiao, Hongyu Zhang, Yingnong Dang, Chunyu Xie, Xinsheng Yang, Qian Cheng, Ze Li, et al. Robust log-based anomaly de- tection on unstable log data. In Proceedings of the 2019 27th ACM joint meeting on European software engineering conference and symposium on the foundations of software engineering, pages 807–817,
work page 2019
Show all 15 references
-
[15]
Multivariate log-based anomaly detec- tion for distributed database
Lingzhe Zhang, Tong Jia, Mengxi Jia, Ying Li, Yong Yang, and Zhonghai Wu. Multivariate log-based anomaly detec- tion for distributed database. In Proceedings of the 30th ACM SIGKDD Conference on Knowledge Discovery and Data Mining, pages 4256–4267, 2024
2024
-
[2017]
Logbert: Log anomaly detection via bert
Haixuan Guo, Shuhan Yuan, and Xintao Wu. Logbert: Log anomaly detection via bert. In 2021 international joint conference on neural networks (IJCNN), pages 1–8. IEEE,
2021
-
[2018]
Practition- ers’ expectations on log anomaly detection
Xiaoxue Ma, Yishu Li, Jacky Keung, Xiao Yu, Huiqi Zou, Zhen Yang, Federica Sarro, and Earl T Barr. Practition- ers’ expectations on log anomaly detection. arXiv preprint arXiv:2412.01066,
-
[2019]
Tempo- ral graph networks for deep learning on dynamic graphs
Emanuele Rossi, Ben Chamberlain, Fabrizio Frasca, Davide Eynard, Federico Monti, and Michael Bronstein. Tempo- ral graph networks for deep learning on dynamic graphs. arXiv preprint arXiv:2006.10637,
2006 arXiv
-
[2021]
Drain: An online log parsing approach with fixed depth tree
Pinjia He, Jieming Zhu, Zibin Zheng, and Michael R Lyu. Drain: An online log parsing approach with fixed depth tree. In 2017 IEEE international conference on web ser- vices (ICWS), pages 33–40. IEEE,
2017
-
[2022]
Deeplog: Anomaly detection and diagnosis from system logs through deep learning
Min Du, Feifei Li, Guineng Zheng, and Vivek Srikumar. Deeplog: Anomaly detection and diagnosis from system logs through deep learning. In Proceedings of the 2017 ACM SIGSAC conference on computer and communica- tions security, pages 1285–1298,
2017
-
[2024]
Detecting anomaly in big data system logs using con- volutional neural network
Siyang Lu, Xiang Wei, Yandong Li, and Liqiang Wang. Detecting anomaly in big data system logs using con- volutional neural network. In 2018 IEEE 16th Intl Conf on Dependable, Autonomic and Secure Comput- ing, 16th Intl Conf on Pervasive Intelligence and Com- puting, 4th Intl C...
2018
Reviewed August 10, 2026 · model on record in the stance chip above.
Discussion (0). Continue with ORCID to comment.