Abstract
Trustworthy anomaly detection in power-grid dispatching requires alerts that are traceable to operational knowledge while satisfying real-time constraints. Existing data-driven detectors do not naturally encode behavioral rules, whereas placing a large language model (LLM) in the online decision loop introduces latency and nondeterministic outputs. We propose K-TRACE-CP, an offline-heavy, online-light framework that represents source-linked behavioral knowledge as numerical prototypes and transfers this supervision to a lightweight attribute-dynamic physical-graph expert. A separately trained cyber–physical expert models 470 process variables and 80 label-agnostic communication features, and threshold-normalized fusion combines their anomaly scores. At inference, the framework retrieves ranked, source-linked behavioral candidates for each alert without LLM calls. On an event-group-held-out split of Sherlock 01-Basic, K-TRACE-CP achieves attack-window recall, average precision, and an F1 score of over three seeds. All four distinct held-out attack events are detected, corresponding to an event recall of 1.000 with an exact 95% confidence interval of 0.398–1.000. A non-overlapping-window evaluation retains recall and average precision. The controlled prototype-ranking experiment achieves Hit@1 of , supporting family-level behavioral retrieval. The primary Sherlock evaluation uses manually compiled prototypes, while an independent physical-testbed experiment evaluates few-shot LLM-compiled knowledge in downstream graph training. The complete 127,386-trainable-parameter online path requires a median of 1.412 ms per sample on an RTX 3060. These results support source-grounded, computationally lightweight anomaly detection and offline behavioral-knowledge transfer in the evaluated simulated and laboratory settings.
Keywords:
trustworthy artificial intelligence; AI security; machine learning; source-linked prototype supervision; attribute-dynamic graph representation learning; cyber–physical anomaly detection; large language models MSC:
68T07; 68M25
1. Introduction
Power-grid dispatch anomaly detection aims to identify operational deviations from continuous cyber–physical states and determine whether they conflict with established operational rules. As machine learning models are increasingly integrated into security-critical power-grid monitoring and dispatch-support systems, detection accuracy alone is insufficient: operational deployment also requires models to be reliable, auditable, and understandable to human operators. These requirements become increasingly important as large-scale renewable integration and frequent operating-mode changes shift dispatching from relatively fixed-condition analysis toward highly constrained, multi-device decision making.
The problem is challenging because an anomaly is rarely manifested as a single threshold violation. A single attack or abnormal event may simultaneously affect process measurements, physical dependencies, and communication behavior. Multivariate time-series and graph-neural detectors therefore attempt to learn sensor dependencies and temporal propagation patterns [1,2,3]. However, in security-critical applications, a detector that only outputs an anomaly score remains difficult to audit and operationally validate. Such models do not naturally provide regulation-grounded interpretations because their learning signals are primarily derived from observed data, such as event labels, prediction errors, or structural patterns, rather than explicit natural-language constraints such as “which subject may perform which action.” This lack of source-grounded interpretability can make it difficult for operators to verify alarms, distinguish meaningful violations from false positives, and trace model outputs to operational knowledge. Large language models (LLMs) offer a potential means of extracting such semantic knowledge from textual materials. However, directly embedding a generative model into a security-critical online detection loop introduces not only latency and computational overhead but also reliability concerns arising from hallucination, prompt sensitivity, and service-version changes [4,5]. These properties complicate deterministic verification, reproducible deployment, and operator trust in time-sensitive anomaly-detection systems.
A natural direction is therefore to transform semantic knowledge from operational sources into inspectable numerical supervision for lightweight detectors. However, power-grid dispatching lacks a natural one-to-one alignment between high-level regulation clauses and second-level cyber–physical sensor windows. This makes direct language-to-graph transfer difficult and motivates an auditable intermediate representation connecting behavioral knowledge with graph-based learning. We therefore use source-linked behavioral prototypes as explicit supervisory targets. Unlike conventional knowledge distillation [6], the primary Sherlock detector does not use soft targets from an LLM teacher; the end-to-end LLM experiment is reported separately on an independent physical testbed.
To this end, we propose K-TRACE-CP, an offline-heavy and online-light framework for cyber–physical attribute-dynamic graph anomaly detection. The formal Sherlock experiments use silver behavioral records and prototypes manually compiled from official Sherlock event descriptions; they are source-linked but are not independently adjudicated expert annotations or dispatch-regulation clauses. A constrained LLM and deterministic ontology rules populate the same schema in auxiliary experiments, and an end-to-end physical-testbed study uses the generated banks to train the downstream graph student. As illustrated in Figure 1, the physical-graph expert learns anomaly, behavior-family, and prototype-level objectives under this supervision, while the online path remains independent of generative models.
Figure 1.
Overview of K-TRACE-CP. Offline source materials are compiled into validated, source-linked records and numerical prototypes. These supervise the attribute-dynamic physical-graph expert, while an independently trained cyber–physical expert models process and communication sequences. Validation-threshold-normalized fusion produces the anomaly decision, and the online path emits ranked source-linked candidates without an LLM call. Versioned prototype-bank updates are evaluated separately in RQ4.
Relying on a single aggregated representation can undermine detection reliability because different attack manifestations may appear in different cyber–physical views. In particular, an aggregated physical graph can obscure individual process changes and communication-side anomalies that are not explicitly represented by the physical topology. We therefore introduce an independently trained cyber–physical expert that encodes all 470 unaggregated process variables together with 80 label-agnostic communication features derived from network behavior. At runtime, the anomaly scores of the graph expert and the cyber–physical expert are combined through validation-threshold-normalized mean fusion. When an alert is generated, the graph representation retrieves the top-k source-linked prototype candidates, providing traceable behavioral hypotheses and source metadata without invoking an LLM during online inference.
The main contributions of this work are summarized as follows:
- We introduce a source-traceable behavior-knowledge representation for structured behavioral records and learnable prototypes. The primary detector instantiates this interface with Sherlock descriptions, the physical-testbed experiment propagates LLM-generated records through downstream graph training, and RQ4 evaluates successive releases of the official ICS and Enterprise ATT&CK knowledge bases.
- We develop K-TRACE-CP with a prototype-supervised physical-graph expert and an independently trained cyber–physical expert. The graph expert jointly learns anomaly detection, behavior-family discrimination, and prototype-level supervision, while the cyber–physical expert preserves fine-grained visibility of unaggregated process variables and communication behavior. Validation-threshold-normalized fusion modestly increases recall and F1 relative to the cyber–physical expert alone in the evaluated split, although it does not improve AP.
- We design a non-generative online prototype retrieval mechanism that associates detected anomalies with ranked source-linked candidates and provenance metadata. The evaluation quantifies this path against neural baselines with post hoc attribution and a task-matched, zero-shot Qwen2.5-3B online baseline receiving the same cyber–physical-window summary.
2. Related Work
2.1. Cyber–Physical Anomaly Detection in Power Grids
Detecting sophisticated power-grid attacks requires analyzing operational deviations across both communication networks and physical processes, since modern threats may propagate across cyber and physical domains. Foundational studies showed that carefully constructed false-data injections can evade conventional bad-data checks [7] and established system-theoretic conditions for attack detection and identification in cyber–physical systems [8]. Subsequent work formulated smart-grid attack detection as a statistical learning problem [9] and demonstrated deep feature learning for real-time false-data-injection detection [10]. More recent graph-based approaches model cyber-attack event sequences through graph convolution and recurrent encoding [11] or use spatiotemporal graph representations for false-data detection in smart grids [12]. Recent simulation frameworks and dataset benchmarks, such as Wattson [13] and Sherlock [14], have further advanced this field by providing synchronized physical-process states and network packet captures. These environments support process-aware research by enabling models to observe both cyber intrusions and their corresponding effects on operational measurements.
Despite this progress, many existing detectors emphasize either physical-process deviations, unaggregated process sequences, or communication-side anomalies, while fewer jointly integrate topology-aware physical dependencies, fine-grained cyber–physical observations, and source-linked behavioral semantics. Models centered on physical variables may overlook communication-side anomalies before their effects propagate into process measurements, whereas purely network-oriented detectors do not explicitly model the physical dependencies that constrain grid operation. Knowledge graphs and graph neural networks have also been used to organize and trace large volumes of power-monitoring cybersecurity alarms [15], demonstrating the operational value of relational evidence. However, conventional anomaly scores generally indicate distributional deviation but do not directly associate the detected behavior with source records. In contrast, K-TRACE-CP combines a prototype-supervised physical-graph expert with an independently trained cyber–physical expert and links detected anomalies to ranked source-linked behavioral candidates.
2.2. Multivariate and Dynamic-Graph Anomaly Detection
Deep anomaly detection spans reconstruction, one-class learning, representation learning, and related objectives [16], while graph-specific surveys distinguish anomalous nodes, edges, subgraphs, and entire graphs [17]. To capture complex sensor dependencies and temporal propagation patterns, multivariate time-series detectors have progressed from latent-density estimation in DAGMM [18] and stochastic recurrent reconstruction in OmniAnomaly [19] to graph-attention models such as MTAD-GAT [20] and GDN [1]. For attributed graphs, DOMINANT jointly reconstructs topology and node attributes [21], whereas CoLA [22] and ANEMONE [23] introduce local and multi-scale contrastive objectives. AddAG-AE further combines graph attention with an LSTM autoencoder to detect anomalous snapshots in dynamic attributed graphs [24]. Transformer-based detectors, including TranAD [25] and Anomaly Transformer [26], model long-range temporal context and association discrepancies. In parallel, DySAT [27], EvolveGCN [28], and TGAT [29] provide representative mechanisms for learning from evolving graph snapshots or timestamped interactions. Detection-oriented extensions such as TADDY [2] and SLADE [30] use Transformer representations and self-supervised objectives to identify structural and temporal shifts in edge streams, while GeneralDyG [3] targets robust detection under distribution shifts.
These methods establish the importance of relational and temporal modeling, but their learning signals are primarily derived from observed data, including detection labels, reconstruction or prediction objectives, and self-supervised structural signals. Such signals can capture whether an observation deviates from learned patterns, but they do not explicitly encode source-linked operational semantics such as behavioral preconditions, permitted actions, and expected system states. K-TRACE-CP complements data-driven anomaly modeling with a source-grounded prototype interface, allowing the physical-graph expert to learn behavior-family and prototype-level supervision in addition to the anomaly-detection objective.
2.3. Semantic Supervision and Knowledge Distillation
Knowledge distillation has expanded beyond traditional soft-label compression [6] toward transferring semantic or structural knowledge across heterogeneous model architectures. In unsupervised anomaly detection, student–teacher discrepancies have been used as anomaly signals [31], and multi-resolution feature transfer improves the use of intermediate teacher representations [32]. Refined distillation networks further introduce simulated anomalies and multi-scale feature interaction to strengthen student learning [33]. Representative graph-oriented works such as Graph-less Neural Networks [34] demonstrate that knowledge acquired by graph models can be transferred to more inference-efficient architectures. More recently, LinguGKD [35] has aligned language and graph representations across multiple scales on text-attributed graphs, allowing graph models to inherit rich semantic information without retaining the full language model during online inference.
A key challenge in power-grid dispatching is that this transfer lacks a natural one-to-one alignment between textual knowledge and numerical graph observations. Existing language–graph settings commonly assume that textual attributes can be associated with specific nodes or graph instances, whereas dispatch regulations are typically high-level clauses describing conditional subjects, actions, and expected states. Such clauses cannot be directly paired with second-level cyber–physical sensor windows. K-TRACE-CP therefore introduces a structured behavior-knowledge interface between source materials and graph learning. In the primary evaluation, source-linked silver prototypes compiled from Sherlock event descriptions provide semantic supervision for graph training. The independent physical-testbed evaluation then replaces an oracle bank with constrained-LLM outputs and propagates their errors through downstream graph training. The evidence therefore supports end-to-end LLM-to-graph transfer for benchmark scenario descriptions, but not yet regulation-to-detector transfer on operational utility data.
2.4. Continual Graph Learning
Continual learning aims to acquire new tasks or classes while limiting catastrophic forgetting of previously learned knowledge, which is important for long-term model deployment [36]. Within graph domains, methods such as ER-GNN [37] use experience replay to retain representative historical nodes during model updates. SEA-ER [38] further introduces structure-evolution-aware replay to mitigate the effects of graph-topology changes while preserving both node-level and structural knowledge.
However, regulation updates introduce a different form of change. Moving from one policy edition to another may alter behavioral conditions, action semantics, or expected operating states rather than merely changing numerical features or graph structure. We therefore study regulation-version assimilation as an auxiliary extension of the primary anomaly-detection framework. Specifically, K-TRACE-CP evaluates a replay- and consistency-based update mechanism on a controlled regulation-version retrieval proxy to examine whether newly introduced source-linked behavioral knowledge can be incorporated while preserving previously learned prototypes. This experiment is treated separately from the main detection claims and serves to explore the broader challenge of reliable rule-update assimilation in practical grid-dispatch deployments.
3. Materials and Methods
Figure 1 summarizes the complete offline-training and online-inference pipeline of K-TRACE-CP. The framework combines source-linked behavioral supervision, dual-expert anomaly detection, and non-generative online inference. The methodology then describes behavior-knowledge formulation, offline compilation, graph and cyber–physical learning, score fusion, source-linked retrieval, and a controlled prototype-bank update.
3.1. Problem Formulation
3.1.1. Source-Linked Behavior Knowledge
Let denote offline source documents, including regulation clauses, contingency plans, event descriptions, and confirmed expert examples. A behavior record is
where , , and are the subject, action, and object; is a precondition; is a temporal relation; is an expected state; is a risk level; and stores source-document and source-record identifiers. The versioned store is . Each record has the eight conceptual fields in Equation (1); the source field remains metadata and is not embedded. The other seven fields are deterministically expanded into ten model inputs: subject, action, object, precondition, temporal relation, expected-state class, expected-state direction, expected-state range, risk level, and source-type indicator. Categorical fields use fixed enumerations and numerical ranges are normalized. The resulting representation is denoted by , where .
3.1.2. Attribute-Dynamic Graph Windows
At second t, the physical system is represented as
where and are physical buses/devices and connections, and contains time-varying node attributes. The formal dataset has a fixed physical edge set; “dynamic graph” therefore refers to an attribute-dynamic graph sequence rather than topology rewiring. For a length-T window , let , be the unaggregated process sequence, and be communication behavior. Each window has an anomaly label , event group , and behavior-family label .
Train, validation, and test sets satisfy event-group isolation:
This prevents overlapping windows from the same event from crossing splits and defines the family-stratified, event-held-out protocol used throughout the primary evaluation.
3.1.3. Detection and Retrieval Tasks
The detector outputs anomaly score and decision . If , it also returns
where is the graph-window representation and is a behavior prototype. RQ1 uses window recall, event recall, precision, F1, average precision (AP), and false-positive rate (FPR). RQ2 uses Prototype Hit@k and detection AP. RQ3 measures parameters, complete alert-path latency, LLM calls/tokens, and record completeness. RQ4 uses old-knowledge retention, new-knowledge accuracy, forgetting, and Macro-F1. Completeness and semantic correctness are deliberately separate metrics.
3.2. Offline Behavior-Knowledge Compilation
The offline compiler maps each source document to the schema in Equation (1). It can use a field-constrained LLM prompt or a deterministic ontology rule for stable templates. Records must pass type, enumeration, and source-identifier checks before entering the store. The numerical record is encoded as
The index retains source-document, source-record, and source-URL fields, while the run-level provenance manifest records the knowledge-file hash.
The formal Sherlock detector uses source-linked silver prototypes manually compiled from official event descriptions as supervisory targets through prototype and behavior-family objectives. They are not independent expert annotations. The auxiliary extraction benchmark evaluates whether constrained LLM and deterministic compilers can populate the same interface; the physical-testbed propagation experiment additionally substitutes these generated records for the oracle bank during downstream graph-student training. We therefore distinguish the manually supervised primary Sherlock pipeline from the end-to-end LLM-compiled auxiliary pipeline rather than implying that the primary scores were obtained from LLM-generated prototypes.
3.3. Physical-Graph Expert
For window i and step t, the graph input is with . Four core channels and 39 auxiliary channels are projected separately. A learned scalar gate limits the auxiliary branch:
where is a learned node embedding and is the self-looped, symmetrically normalized physical adjacency matrix. Attention pooling and max pooling form a graph vector , and a GRU encodes the temporal sequence:
The GRU output is projected into the same -dimensional prototype space as the behavior prototypes, such that .
The graph expert has anomaly, family, and prototype heads. Prototype logits use temperature-scaled cosine similarity:
Let denote the anomaly probability produced from anomaly logit . The primary Sherlock detector uses the anomaly-ranking loss
where and are the anomalous and normal samples in a minibatch, respectively; ; and the tilded sets contain the first q samples of each class after minibatch shuffling. We set when either class is absent. The complete primary graph-expert objective is
where is binary cross-entropy and and are categorical cross-entropies. Thus, ranks anomalous samples above normal samples and is distinct from the prototype-ranking loss used only in the controlled RQ2 transfer experiment.
3.4. Cyber–Physical Expert
Graph aggregation can hide individual process changes, and the physical graph cannot represent ARP activity, TCP flags, or endpoint diversity. A separate expert encodes all 470 process variables and 80 communication features:
The state and communication GRUs use 48 and 40 hidden units, respectively, and their fused representation has 64 dimensions. This expert is independently optimized with binary cross-entropy. The two experts share the split and validation protocol but not parameters or optimization trajectories.
3.5. Validation-Threshold-Normalized Fusion
For expert , the highest validation threshold satisfying target recall is
The online score and decision are
where is selected from the validation set by the same rule. This is operating-point normalization, not probability calibration. Test labels are never used to select thresholds.
Proposition 1
(positive-scale invariance). If an expert score and its validation threshold are both rescaled by any constant , then ; hence the fused score and decision in Equation (16) are unchanged. This property motivates threshold normalization when the two expert heads have different score scales.
Proposition 2
(Top-1 prototype stability). Let and all prototypes be unit normalized, and let the winning prototype have cosine gap . If a normalized perturbation satisfies and , then remains Top-1. Indeed, Cauchy–Schwarz bounds the change of each cosine score by , so the winning gap after perturbation is at least . This gives a directly checkable sufficient condition; it is not a guarantee when the empirical gap is small.
3.6. Source-Linked Alert Records
If , the graph embedding ranks prototypes using Equation (9). Each JSONL record contains the timestamp, fused anomaly score, decision threshold, top-three prototype candidates, source-document and source-record identifiers, evidence text, source URL, and online LLM call/token counters. A provenance manifest separately stores data, code, checkpoint, and knowledge-corpus hashes. Record generation reads model outputs and the knowledge index but not test labels.
Algorithm 1 summarizes the LLM-free online scoring, decision, and source-linked retrieval procedure.
| Algorithm 1 LLM-free online detection and source-linked retrieval |
|
3.7. Constrained Prototype-Bank Update
For a transition from to , the updater represents every query and source record through three complementary views: frozen MiniLM semantic embeddings [39], character n-gram features, and closed-schema behavioral vectors. Newly inserted prototypes are initialized from the corresponding source records. Let denote new-version examples and denote balanced replay examples from the preceding version. The complete update objective is
where and are classification losses. The consistency term is the KL divergence between the frozen pre-update teacher distribution and the updated student’s logits on replay examples. For view , let be the row-normalized full prototype bank and let be its pairwise cosine-similarity matrix immediately after source initialization. The topology-preservation term is
After each optimization step, the four old-version prototypes are restored to their pre-update anchors. Consequently, only the six inserted prototypes and shared calibration parameters absorb the new regulation version while the preceding prototype bank remains fixed.
4. Experimental Design
4.1. Sherlock Data and Temporal Construction
The primary detector experiment uses Sherlock 01-Basic [14,40], a CIGRE 15-bus medium-voltage scenario with synchronized process and network data. It contains 43,204 consecutive one-second states, 470 raw process variables, 28 labeled event groups, and 831,757 packets from four switch mirror ports. We extract 80 unlabeled per-second communication features: packet and byte volumes, protocol counts, TCP flags, endpoint and flow cardinalities, delivery statistics, and packet-size statistics. Features undergo transformation, training-split z-score normalization, and clipping. Event descriptions, attack names, labels, and event IDs are not model inputs.
We construct 3814 event-contained windows of 12 s at stride 3; adjacent windows overlap by 9 s, but no window crosses an event boundary. Family-stratified event-group assignment produces 19/4/5 train/validation/test event groups and 2399/630/785 windows. The test set contains 455 attack and 330 normal windows, with four attack events. No event group, second, or window crosses splits, yielding a leakage-controlled event-held-out evaluation. Table 1 summarizes the primary dataset split.
Table 1.
Sherlock 01-Basic data used in the formal experiment.
We further evaluate topology transfer with Sherlock v3 [41]. The topology-agnostic student removes learned node-identity embeddings, parses each published grid SVG, and pools over a variable number of buses. Complete events from the Semiurban test recording are partitioned into train, validation, and test groups; Rural remains test-only and does not influence scaling, early stopping, or threshold selection. The high-sensitivity operating point is the highest Semiurban validation threshold attaining at least 0.980 attack-window recall. Table 2 summarizes these additions. The independent MSU/ORNL/UAH dataset [42] was acquired on a physical laboratory power-system testbed containing two generators, four protective relays/IEDs, four breakers, and two transmission lines. It supplies 78,377 snapshots from 15 files and 37 event scenarios, including cyber attacks, natural disturbances, and normal operation, with 116 synchrophasor measurements and 12 control/log/security features. Files 1–9, 10–12, and 13–15 form train, validation, and test partitions for cross-file detection and structured-supervision evaluation. This is non-simulated laboratory apparatus data, but it is not confidential production-grid traffic.
Table 2.
Additional evaluation data. Semiurban and Rural are distinct Sherlock scenarios; MSU/ORNL/UAH is an independent source.
4.2. Knowledge Materials
An auxiliary extraction benchmark contains 37 short official scenario descriptions. Three are demonstrations and 34 non-demonstration descriptions form the primary evaluation. The formal Sherlock prototypes are manually compiled from public sources and dataset event definitions to isolate downstream behavior. The LLM propagation study replaces the oracle MSU bank with zero-shot or few-shot records and retrains the downstream graph student. RQ4 uses ten source-grounded records describing a PRC-024-3 to PRC-024-4 transition and 40 version-implicit queries, plus official MITRE ATT&CK for ICS and Enterprise STIX releases 8.0, 10.1, 12.1, 14.1, 16.1, and 18.1 [43] for two larger five-transition assimilation tests.
To evaluate compiler-to-detector propagation on the primary benchmark, we add a matched compiler-substitution experiment on Sherlock. A frozen Qwen2.5-3B compiler receives the six source descriptions and the same ten-field schema, produces a complete JSON record for every description, and replaces only the manual prototype bank. Data splits, model architecture, optimizer, seeds, checkpoint selection, and threshold rule are held fixed. We additionally evaluate a controlled fact-preserving lexical-shift set of the 34 descriptions to distinguish closed-template accuracy from robustness to wording changes. This lexical stress test complements, but does not replace, future evaluation on long-form regulations.
4.3. Baselines and Training Protocol
RQ1 compares Random Forest, State-GRU, STGNN, the earlier K-TRACE graph/state model, and compact protocol-matched implementations of GDN, TranAD, and MTAD-GAT with K-TRACE-CP. Isolation Forest is omitted from comparative interpretation because its all-positive operating point is not informative. Every neural baseline receives the same label-agnostic 470 process variables and 80 communication features; only its published dependency/temporal mechanism differs. State-GRU encodes the unaggregated process sequence. The reported STGNN implementation uses physical topology and temporal encoding with behavior-family supervision, but without prototype alignment or prototype-ranking objectives; the graph detection-only variant evaluated later is the knowledge-free graph comparator. K-TRACE-CP combines the prototype-supervised graph expert with an independently trained cyber–physical expert through threshold-normalized mean fusion. All methods use the same 785 test windows, and the comparison between K-TRACE and K-TRACE-CP is evaluated at the complete-pipeline level.
The primary RQ1 neural models use AdamW with learning rate , weight decay , batch size 128, a global gradient-norm limit of 2.0, and at most 40 epochs. Training stops after eight epochs without validation-AP improvement, and the best validation-AP checkpoint is retained. The controlled RQ2 retrieval student instead uses AdamW with learning rate , weight decay , batch size 128, patience 10, and validation Hit@1 for checkpoint selection; the retained raw results record 11–99 executed epochs across its seed–variant runs. Reported values are means and sample standard deviations over seeds 17, 29, and 43 on the same split unless a table states otherwise. Expert and fusion thresholds use validation data only. The deployment benchmark uses Python 3.11.9, PyTorch 2.11.0+cu126, CUDA 12.6, and an NVIDIA GeForce RTX 3060. Strict deterministic mode, input hashes, checkpoints, and per-window predictions are retained for the primary experiment.
The temperatures, margins, and loss weights in Equations (9)–(20) are fixed design constants shared by all formal seeds; they are not tuned separately for individual test runs. Model checkpoints are selected by validation AP for RQ1 and validation Hit@1 for the controlled RQ2 student, and the test set is used only after selection. The available experiment record does not support a claim of globally optimal hyperparameters or an exhaustive search over the small four-event-group validation split. We therefore treat possible validation-set overfitting as a limitation and report independent perturbation seeds and component ablations rather than interpreting the selected constants as uniquely optimal.
As a dependence sensitivity check, we retain every fourth test window within each event group. This changes the effective stride from 3 s to 12 s, so adjacent retained 12 s windows share no seconds. The trained models and validation-selected thresholds remain unchanged. We report this non-overlapping analysis separately from the primary protocol; it reduces temporal redundancy but does not increase the number of independent attack events.
For the direct comparison with TranAD, we additionally use a paired event-group block bootstrap. We request 10,000 resamples of the five held-out event groups with replacement; 9997 contain both classes and are retained, while three no-positive resamples are omitted because AP is undefined. Each valid replicate computes the AP difference for matched seeds 17, 29, and 43 and averages the three paired differences. The reported 95% interval is the 2.5th–97.5th percentile range. This procedure is applied to both the primary and non-overlapping protocols and therefore uses event groups, rather than individual windows, as the resampling unit.
The controlled RQ2 transfer experiment uses a separate prototype-retrieval student. Its prototype logits use temperature , and its hard-negative prototype-ranking loss is
where is the source-linked target-prototype index and the inner maximum selects the hardest competing prototype. The complete RQ2 objective is
where is binary cross-entropy against the behavior-attribute vector, , and is categorical cross-entropy over prototype logits. The no-knowledge variant retains only ; the prototype-alignment variant uses ; and the no-topology and complete variants use Equation (20), differing only in whether physical message passing is enabled.
5. Results
5.1. Research Questions
We organize the evaluation around four research questions examining anomaly-detection performance, controlled prototype retrieval, online-path cost, and constrained prototype-bank updating.
- RQ1 (Detection effectiveness): Can the complete framework accurately detect anomalous power-grid dispatch behavior under an event-group-held-out evaluation protocol?
- RQ2 (Prototype supervision): Does source-linked prototype supervision enable the controlled graph student to retrieve the intended violated prototype rather than learning only binary attack labels?
- RQ3 (Online efficiency and source-linked candidates): Can the detector produce anomaly scores and structurally traceable candidate records at low latency without invoking an LLM, how accurate is their semantic ranking, and what is the measured trade-off against a task-matched online LLM baseline?
- RQ4 (Version-update feasibility): Across a controlled regulation proxy and multiple official ICS and Enterprise knowledge-base releases, can newly introduced behavioral records be incorporated without degrading retrieval of retained records?
5.2. RQ1: Detection Effectiveness
Table 3 reports means and sample standard deviations across three optimization seeds. The test prevalence is 455/785 = 0.580, which is also the no-skill AP reference. The protocol-matched public detectors also recover every attack event, but their high-sensitivity operating points produce FPRs from 0.788 to 0.964. K-TRACE-CP reaches window recall, precision, AP, and F1. The recalls for seeds 17, 29, and 43 are 0.960, 0.985, and 0.978, respectively. All four unique held-out attack events are detected; the exact 95% binomial confidence interval for event recall is 0.398–1.000. Relative to TranAD, the paired AP difference is across the matched seeds.
Table 3.
RQ1 results on the event-group-held-out test set, reported as mean ± sample standard deviation over three seeds. † denotes a compact, protocol-matched reimplementation rather than an author-reported result. Bold values indicate the best result in each metric column. The no-skill AP is 0.580.
Table 4 audits validation-best-F1 thresholds using the same scores and seeds. GDN and TranAD become more selective but obtain test F1 values of 0.374 and 0.389. The matched K-TRACE-CP rerun retains approximately 0.908 threshold-free AP, while its transferred threshold yields low recall and zero observed FPR, distinguishing score ranking from operating-point stability.
Table 4.
Validation-best-F1 audit on Sherlock, reported as mean ± sample standard deviation over three seeds. Thresholds use validation data only; AP is threshold independent and its no-skill value is 0.580. † denotes a compact protocol-matched reimplementation.
The non-overlapping analysis in Table 5 retains the validation thresholds: AP changes from to , event recall remains 4/4, and the FPR corresponds to false alerts per observed normal hour at 12 s sampling. This remains a high-sensitivity research operating point.
Table 5.
Dependence sensitivity for K-TRACE-CP. The non-overlapping protocol retains every fourth within-event window without changing models or thresholds. No-skill AP is 0.580 at 3 s and 0.561 at 12 s.
The high-sensitivity point implies approximately 702 false alerts per observed normal hour at 3 s stride, versus at 12 s. At a validation-normal budget of 60 alarms/h, the Qwen-compiled rerun obtains precision, window recall, event recall, and zero observed test false positives. Under attack prevalence , implied precision is : 0.156, 0.017, and 0.002 for , 0.01, and 0.001; no-skill AP is .
Table 6 reports a controlled compiler substitution. Replacing only the manual bank with Qwen-compiled records preserves mean AP to three decimals and event recall but does not improve semantic ranking; these point estimates are not an equivalence test.
Table 6.
Matched Sherlock prototype-bank substitution, mean ± sample standard deviation over three seeds. Other settings are fixed; event recall is 1.000 for both rows. Hit@k uses attack windows; no-skill AP is 0.580.
Table 7 reports the event-group block-bootstrap comparison with TranAD; the AP-difference interval retains a positive lower bound under both the primary and non-overlapping protocols.
Table 7.
Paired AP comparison with TranAD. The 95% intervals use 9997 valid paired event-group block-bootstrap replicates from 10,000 resamples, averaging matched-seed AP differences per replicate. No-skill AP is 0.580 at 3 s and 0.561 at 12 s.
Table 8 holds data, architecture, optimization, validation rules, and seeds fixed while removing one loss term. The complete graph objective raises recall and F1, but not AP, over detection-only training; removing causes the largest AP and F1 decrease. Its zero attack-window Hit@1 shows that these objectives do not yet ensure online attribution. The cyber–physical expert supplies most pipeline AP; normalized fusion slightly raises recall and F1 while changing AP from 0.919 to 0.914.
Table 8.
RQ1 leave-one-loss-out and fusion variants, mean ± sample standard deviation over three seeds. Hit@1 uses attack windows for graph rows and is inapplicable to cyber–physical and fusion rows. No-skill AP is 0.580.
5.3. RQ2: Controlled Prototype Supervision and Retrieval
Table 9 reports controlled transfer fidelity. The no-knowledge student obtains 0.208 Hit@1 and 0.549 Hit@3; prototype alignment raises these to 0.736 and 0.915, while removing topology gives 0.438 Hit@1. The complete student adds the ranking loss in Equation (19) and reaches Hit@1, versus for the family-emission baseline. Because each attack family has one violated prototype, RQ2 supports family recovery rather than fine-grained within-family ranking.
Table 9.
RQ2 retrieval on independently generated test perturbations. Hit@k is computed over the four violated attack prototypes; attribute accuracy covers all six behavior families. Values are mean ± sample standard deviation over three seeds. Bold values indicate the best result in each applicable metric column.
The auxiliary extraction test instantiates the schema from short descriptions. On 34 original descriptions, Qwen2.5-3B [44] improves exact match from 0.235 zero-shot to 0.676 few-shot, while a deterministic rule obtains 1.000. On fact-preserving unseen wording templates, few-shot Qwen obtains 0.529 versus 0.147 for the rule, with 0.588 family, 0.971 line, 1.000 risk, and 0.971 exact-subject accuracy. Table 10 shows that few-shot compilation broadens lexical coverage, although family errors still limit general regulation-language claims.
Table 10.
Auxiliary extraction results on 34 non-demonstration short descriptions.
The graph-and-ranking student improves over positive-only and no-topology variants but not the family-emission baseline. Thus, structured supervision recovers benchmark-defined families; multiple prototypes per family and independently worded sources are needed to test finer attribution.
5.4. RQ3: Online Efficiency and Source-Linked Candidates
RQ3 benchmarks 500 timed single-sample repetitions after 50 warm-ups on an RTX 3060 (Windows, Python 3.11.9, PyTorch 2.11.0+cu126). We report detector-only and forward-evidence latency: baselines emit their three largest standardized residuals, whereas K-TRACE-CP ranks intrinsic prototypes. Measurements include device-to-host transfer and output construction.
Table 11 uses forward-only evidence paths. GDN and TranAD are faster; prototype retrieval and serialization add 0.088 ms to K-TRACE-CP, and all P95 values remain well below the 3 s sampling interval. The supported claim is real-time operation without an online LLM.
Table 11.
Single-sample RTX 3060 latency over 500 repetitions: median ± sample standard deviation and P95. † denotes a compact protocol-matched reimplementation.
The trainable parameter count decomposes into 31,977 parameters in the graph expert and 95,409 in the cyber–physical expert, for 127,386 trainable parameters in total. The six ten-dimensional prototype records contribute 60 stored scalar values and are not trainable network parameters.
A task-matched online Qwen2.5-3B baseline receives summaries of the same 470 process and 80 communication features, excluding labels and event metadata. Its threshold uses 80 validation windows; Table 12 evaluates both systems on 200 fixed test windows. Qwen returns valid JSON but one prototype and two probabilities, giving AP equal to prevalence (0.520), versus 0.893 AP and 0.774 F1 for K-TRACE-CP. Its 981.742 ms median (1010.772 ms P95) includes the complete prompt-to-parse path, versus a hardware-matched 1.412 ms K-TRACE-CP median, a 695.2-fold difference. This zero-shot baseline quantifies the evaluated online alternative, not every possible LLM adaptation.
Table 12.
Task-matched online-LLM comparison on 200 fixed Sherlock test windows. K-TRACE-CP uses its formal validation threshold; Qwen uses 80 validation windows. Prevalence and no-skill AP are 0.520. † uses the hardware-matched median from Table 11; bold marks the better result.
Seed 17 produces 612 complete JSONL records matching 437 true-positive and 175 false-positive alerts, each with timestamp, score, threshold, Top-3 identifiers, source metadata, and LLM counters. Emitted-alert Hit@1/Hit@3 are 0.245/0.592; on true attacks they are 0.000/0.428. Across three seeds, manual-bank attack-window Hit@1/Hit@3 are /, versus / for Qwen. Unlike the controlled student in Table 9, RQ3 establishes trace construction and cost, not reliable semantic ranking.
5.5. RQ4: Controlled Regulation-Version Update
RQ4 evaluates the PRC-024-3 to PRC-024-4 proxy (four old and six inserted records; 40 queries; five seeds) and fixed MITRE ATT&CK STIX releases 8.0–18.1. The ICS and Enterprise domains provide ten transitions, nine with insertions; 185 techniques are added, retained-bank size ranges from 68 to 655, and the largest bank contains 691 techniques.
The update combines source initialization, balanced replay, consistency, anchoring, and topology preservation; the complete method restores the four old prototypes after each step. Table 13 includes no-hard-anchor and joint-retraining controls. Old retention is 1.000 even without restoration, while random initialization recognizes only of new records. Source initialization separates all six records, so this proxy primarily demonstrates the value of initialization; the multi-release tests provide the scale evaluation.
Table 13.
Controlled RQ4 regulation-version update. Stochastic update methods report mean ± sample standard deviation over five seeds; deterministic retrieval baselines are reported without deviations. Hard restoration guarantees retention of the four old prototypes in the complete method. Bold values identify the complete constrained-update configuration.
Table 14 reports the ICS multi-transition test. Prototype text contains the official technique name, tactics, platforms, and source description, while held-out queries mask the technique name and use a description excerpt plus tactics. Random insertion fails for every newly introduced technique. Source initialization retrieves all 15 inserted ICS techniques at Hit@1 across the four insertion-bearing transitions. The 16.1–18.1 transition contains no new ICS technique, so only retained-technique performance is defined for that row.
Table 14.
Multi-transition RQ4 test on official MITRE ATT&CK for ICS STIX releases. Values are Hit@1 mean ± sample standard deviation over five seeds. “Old” is evaluated on retained techniques and “new” on techniques first appearing in the new release.
Table 15 repeats the identical protocol on the substantially larger Enterprise ATT&CK domain. Across five transitions and 170 inserted techniques, source initialization obtains new-technique Hit@1 values from 0.935 to 1.000. Balanced replay obtains 0.976–1.000 and improves the two most difficult insertion transitions from 0.952 to 0.976 and from 0.935 to 0.994. Together with the ICS results, all nine insertion-bearing transitions achieve at least 0.935 Hit@1 with source initialization and at least 0.976 with balanced replay. The result shows that the source-initialization behavior persists from tens to hundreds of retained techniques and through a 691-technique bank.
Table 15.
Cross-dataset RQ4 test on Enterprise ATT&CK. Values are Hit@1 mean ± sample standard deviation over five seeds. The source-initialization rows are deterministic under the frozen encoder.
5.6. Additional Dataset and Topology-Transfer Results
Table 16 reports the two additional Sherlock scenarios. K-TRACE-TA denotes the topology-agnostic graph student with prototype supervision, whereas STGNN-TA removes this supervision. On held-out Semiurban events, K-TRACE-TA obtains attack-window recall and attack-event recall. Without retraining or threshold adjustment, transfer from the 178-node Semiurban network to the 99-node Rural network obtains attack-window recall and attack-event recall. However, the corresponding FPRs of and preclude a claim of successful operational transfer. The results establish variable-size execution and retained sensitivity, while showing severe specificity degradation and substantial seed variability.
Table 16.
Additional Sherlock results at the Semiurban validation-recall target of 0.980. Values are means ± sample standard deviations over three random seeds. Bold values indicate the best result within each transfer protocol and metric. The evaluation-set no-skill AP is 0.663 for Semiurban and 0.606 for Rural.
The independent MSU/ORNL/UAH snapshot dataset provides a complementary cross-file structured-supervision evaluation. As shown in Table 17, structured supervision raises behavior-family Macro-F1 from to and relay-subject Micro-F1 from to relative to hard-label graph training. The observed attack AP is approximately 0.869 for both objectives. Thus, structured supervision improves semantic attribute prediction without an observed anomaly-ranking improvement on this independent dataset.
Table 17.
Cross-file MSU/ORNL/UAH results. Panel A compares student objectives over three random seeds; Panel B evaluates knowledge banks used in downstream graph-student training over five random seeds. Values are mean ± sample standard deviation. Bold values indicate the best result within each panel and metric. The test prevalence and no-skill AP are both 0.721.
To test compilation errors end to end, we additionally replace the oracle MSU behavior bank with records produced by the zero-shot and few-shot Qwen2.5-3B compilers, then retrain and evaluate the same graph student on the held-out files. Thus, unlike the isolated 34-description extraction score, the generated records in Table 17 actually enter the downstream training objective. Few-shot compilation produces a similar observed attack AP ( versus with the oracle schema) and F1, but reduces family F1 from to and subject F1 from to . Zero-shot compilation produces substantially lower semantic scores while its observed attack AP remains similar. The result is consistent with end-to-end transfer of automatically compiled behavioral supervision on this physical testbed, while again showing that the supervision mainly affects attribution rather than binary detection.
6. Discussion
The evaluation provides complementary evidence across the simulated Sherlock dispatch scenario, a non-simulated physical laboratory testbed, and versioned knowledge-base transitions. In the primary Sherlock 01-Basic experiment, K-TRACE-CP detects all four distinct held-out attack events and maintains comparable attack-window recall and average precision under the non-overlapping-window protocol. The event-group block-bootstrap comparison also retains a positive AP advantage over TranAD under both windowing settings. These findings show that the detection performance is not dependent on the 75%-overlapping evaluation alone. The high-sensitivity operating point is designed to prioritize attack coverage, while the alarm-budget and prevalence analyses quantify how thresholds can be adjusted for different operational requirements. Longer normal-operation streams, temporal aggregation, and site-specific alarm budgets can further support deployment-oriented calibration.
The MSU/ORNL/UAH experiment extends the evaluation from simulation to physical laboratory apparatus using a cross-file split. The Sherlock experiment evaluates source-linked silver prototypes, whereas the physical-testbed experiment propagates few-shot LLM-compiled knowledge through downstream graph training. The comparable attack AP obtained with oracle and LLM-compiled knowledge indicates that automated offline compilation can be incorporated without reducing the primary detection objective. The controlled retrieval experiments further demonstrate strong family-level behavioral recovery. Deployed candidate retrieval currently provides source-linked triage context, and additional alert-level supervision can strengthen fine-grained prototype ranking for operator-facing attribution. The task-matched online Qwen comparison also confirms the practical value of moving knowledge compilation offline: K-TRACE-CP preserves millisecond inference while avoiding generative calls in the online decision path.
The continual-assimilation experiments broaden the knowledge evaluation to MITRE ICS and Enterprise, covering ten authentic transitions and knowledge bases with up to 655 retained techniques. Source initialization consistently retrieves newly introduced techniques across the insertion-bearing transitions, demonstrating scalable cross-version knowledge transfer within structured behavioral representations. The retained-technique results further motivate replay and retention-aware updating as the knowledge base grows. Across the detection and retrieval experiments, loss weights, temperatures, and margins are fixed across seeds; checkpoints and thresholds are selected exclusively from validation data, and the test sets are reserved for final evaluation.
Together, the results position K-TRACE-CP as an efficient framework for combining cyber–physical anomaly detection with source-linked behavioral supervision. Future work will extend the knowledge layer with independently annotated dispatch regulations, larger compiler-generated prototype banks, heterogeneous knowledge formats, and repeated continual updates. Longer normal-operation streams and, where security requirements permit, de-identified operational data will support site-specific calibration and field validation.
7. Conclusions
We presented K-TRACE-CP, an offline behavioral-knowledge distillation framework with non-generative online cyber–physical graph anomaly detection. On the event-group-held-out Sherlock 01-Basic benchmark, K-TRACE-CP obtains attack-window recall, AP, and F1 over three seeds. The paired AP advantage over TranAD remains positive under event-group block bootstrap for both primary and non-overlapping protocols. All four held-out attack events are detected, although the false-positive rate remains too high for direct operational use and prevalence-adjusted precision declines sharply under rare attacks. Strict loss and fusion ablations show that the cyber–physical expert accounts for most of the pipeline’s AP. The family-emission baseline and deployed retrieval measurements further show that current evidence supports family-level semantic supervision, not reliable fine-grained operator-facing attribution. A matched Sherlock substitution gives the same observed mean AP to three decimals when manual prototypes are replaced by Qwen-compiled records, but compiler wording sensitivity and poor prototype ranking remain. On the independent MSU physical testbed, few-shot LLM-generated knowledge likewise gives a similar observed attack AP while reducing semantic attribution. A fair forward-only latency benchmark gives a 1.412 ms median candidate-producing path for K-TRACE-CP; GDN and TranAD are faster, while all neural methods remain far below the 3 s sampling interval. Across ten MITRE ICS and Enterprise transitions, source initialization achieves at least 0.935 new-technique Hit@1 in every insertion-bearing transition from 68 to 655 retained techniques; the small PRC proxy is explicitly treated as saturated. Overall, the evidence supports lightweight anomaly detection and offline behavioral-knowledge transfer in the evaluated simulated and laboratory settings, while reliable attribution, realistic false-alarm control, continual adaptation, and operational-data validation remain open requirements.
Author Contributions
Conceptualization, Z.P., S.Y. and P.G.; methodology, Z.P., S.Y. and P.G.; software, Z.P.; validation, Z.P., M.G., Y.H., Q.W. and W.Y.; formal analysis, Z.P. and S.Y.; investigation, Z.P., M.G., Y.H., Q.W. and W.Y.; resources, M.G., Y.H., Q.W. and W.Y.; data curation, Z.P., M.G. and Y.H.; writing—original draft preparation, Z.P.; writing—review and editing, M.G., Y.H., Q.W., W.Y., S.Y. and P.G.; visualization, Z.P.; supervision, S.Y. and P.G.; project administration, M.G., S.Y. and P.G. All authors have read and agreed to the published version of the manuscript.
Funding
This research received no external funding.
Data Availability Statement
The datasets used in this study are publicly available from the Sherlock dataset repository at https://sherlock.wattson.it/ (accessed on 3 October 2026), Zenodo at https://zenodo.org/records/18467070 (accessed on 3 October 2026), the IPAL repository at https://github.com/ipal-ids/ipal_datasets/tree/master/Sherlock (accessed on 3 October 2026), and the MSU/ORNL/UAH power-system dataset at https://www.kaggle.com/datasets/bachirbarika/power-system (accessed on 3 October 2026).
Conflicts of Interest
Authors Zhengning Pang, Minghui Gao, Yong Han, Qi Wang, and Weilong Yan were employed by the company State Grid Electric Power Research Institute/NARI Group Corporation, Nanjing NARI Information and Communication Technology Co., Ltd. The remaining authors, Sirui Yao and Peng Gao, declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.
References
- Deng, A.; Hooi, B. Graph Neural Network-Based Anomaly Detection in Multivariate Time Series. Proc. AAAI Conf. Artif. Intell. 2021, 35, 4027–4035. [Google Scholar] [CrossRef] [Scilit]
- Liu, Y.; Pan, S.; Wang, Y.G.; Xiong, F.; Wang, L.; Chen, Q.; Lee, V.C.S. Anomaly Detection in Dynamic Graphs via Transformer. IEEE Trans. Knowl. Data Eng. 2023, 35, 12081–12094. [Google Scholar] [CrossRef] [Scilit]
- Yang, X.; Zhao, X.; Shen, Z. A Generalizable Anomaly Detection Method in Dynamic Graphs. Proc. AAAI Conf. Artif. Intell. 2025, 39, 22001–22009. [Google Scholar] [CrossRef] [Scilit]
- Ruan, J.; Liang, G.; Zhao, H.; Liu, G.; Sun, X.; Qiu, J.; Xu, Z.; Wen, F.; Dong, Z.Y. Applying Large Language Models to Power Systems: Potential Security Threats. IEEE Trans. Smart Grid 2024, 15, 3333–3336. [Google Scholar] [CrossRef] [Scilit]
- Chen, X.; Shi, J.; Lu, H. Security Risks and Mitigation Strategies for Large Language Models in Power Systems: A Review. Electricity 2026, 7, 54. [Google Scholar] [CrossRef] [Scilit]
- Hinton, G.; Vinyals, O.; Dean, J. Distilling the Knowledge in a Neural Network. arXiv 2015, arXiv:1503.02531. [Google Scholar]
- Liu, Y.; Ning, P.; Reiter, M.K. False Data Injection Attacks against State Estimation in Electric Power Grids. In Proceedings of the 16th ACM Conference on Computer and Communications Security; Association for Computing Machinery: New York, NY, USA, 2009; pp. 21–32. [Google Scholar]
- Pasqualetti, F.; Dörfler, F.; Bullo, F. Attack Detection and Identification in Cyber-Physical Systems. IEEE Trans. Autom. Control 2013, 58, 2715–2729. [Google Scholar] [CrossRef] [Scilit]
- Ozay, M.; Esnaola, I.; Yarman Vural, F.T.; Kulkarni, S.R.; Poor, H.V. Machine Learning Methods for Attack Detection in the Smart Grid. IEEE Trans. Neural Netw. Learn. Syst. 2016, 27, 1773–1786. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- He, Y.; Mendis, G.J.; Wei, J. Real-Time Detection of False Data Injection Attacks in Smart Grid: A Deep Learning-Based Intelligent Mechanism. IEEE Trans. Smart Grid 2017, 8, 2505–2516. [Google Scholar] [CrossRef] [Scilit]
- Ding, S.; Liu, G.; Yin, L.; Wang, J.; Li, Z. Detection of Cyber-Attacks in a Discrete Event System Based on Deep Learning. Mathematics 2024, 12, 2635. [Google Scholar] [CrossRef] [Scilit]
- Qiu, J.; Zhang, X.; Wang, T.; Hou, H.; Wang, S.; Yang, T. A GNN-Based False Data Detection Scheme for Smart Grids. Algorithms 2025, 18, 166. [Google Scholar] [CrossRef] [Scilit]
- Bader, L.; Serror, M.; Lamberts, O.; Sen, Ö.; van der Velde, D.; Hacker, I.; Filter, J.; Padilla, E.; Henze, M. Comprehensively Analyzing the Impact of Cyberattacks on Power Grids. In 2023 IEEE 8th European Symposium on Security and Privacy; IEEE: Piscataway, NJ, USA, 2023; pp. 1065–1081. [Google Scholar]
- Wagner, E.; Bader, L.; Wolsing, K.; Serror, M. Sherlock: A Dataset for Process-aware Intrusion Detection Research on Power Grid Networks: Dataset Paper. In Proceedings of the Fifteenth ACM Conference on Data and Application Security and Privacy; Association for Computing Machinery: New York, NY, USA, 2025; pp. 419–424. [Google Scholar]
- Ma, T.; Yu, J.; Wang, B.; Gao, M.; Yang, Z.; Li, Y.; Fan, M. A Power Monitor System Cybersecurity Alarm-Tracing Method Based on Knowledge Graph and GCNN. Appl. Sci. 2025, 15, 8188. [Google Scholar] [CrossRef] [Scilit]
- Pang, G.; Shen, C.; Cao, L.; van den Hengel, A. Deep Learning for Anomaly Detection: A Review. ACM Comput. Surv. 2022, 54, 38. [Google Scholar] [CrossRef] [Scilit]
- Ma, X.; Wu, J.; Xue, S.; Yang, J.; Zhou, C.; Sheng, Q.Z.; Xiong, H.; Akoglu, L. A Comprehensive Survey on Graph Anomaly Detection with Deep Learning. IEEE Trans. Knowl. Data Eng. 2023, 35, 12012–12038. [Google Scholar] [CrossRef] [Scilit]
- Zong, B.; Song, Q.; Min, M.R.; Cheng, W.; Lumezanu, C.; Cho, D.; Chen, H. Deep Autoencoding Gaussian Mixture Model for Unsupervised Anomaly Detection. In Proceedings of the International Conference on Learning Representations, Vancouver, BC, Canada, 30 April–3 May 2018. [Google Scholar]
- Su, Y.; Zhao, Y.; Niu, C.; Liu, R.; Sun, W.; Pei, D. Robust Anomaly Detection for Multivariate Time Series through Stochastic Recurrent Neural Network. In Proceedings of the 25th ACM SIGKDD International Conference on Knowledge Discovery and Data Mining; Association for Computing Machinery: New York, NY, USA, 2019; pp. 2828–2837. [Google Scholar]
- Zhao, H.; Wang, Y.; Duan, J.; Huang, C.; Cao, D.; Tong, Y.; Xu, B.; Bai, J.; Tong, J.; Zhang, Q. Multivariate Time-Series Anomaly Detection via Graph Attention Network. In 2020 IEEE International Conference on Data Mining; IEEE: Piscataway, NJ, USA, 2020; pp. 841–850. [Google Scholar]
- Ding, K.; Li, J.; Bhanushali, R.; Liu, H. Deep Anomaly Detection on Attributed Networks. In Proceedings of the 2019 SIAM International Conference on Data Mining; Society for Industrial and Applied Mathematics: Calgary, AB, Canada, 2019; pp. 594–602. [Google Scholar] [CrossRef] [Scilit]
- Liu, Y.; Li, Z.; Pan, S.; Gong, C.; Zhou, C.; Karypis, G. Anomaly Detection on Attributed Networks via Contrastive Self-Supervised Learning. IEEE Trans. Neural Netw. Learn. Syst. 2022, 33, 2378–2392. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Jin, M.; Liu, Y.; Zheng, Y.; Chi, L.; Li, Y.-F.; Pan, S. ANEMONE: Graph Anomaly Detection with Multi-Scale Contrastive Learning. In Proceedings of the 30th ACM International Conference on Information and Knowledge Management; Association for Computing Machinery: New York, NY, USA, 2021; pp. 3122–3126. [Google Scholar] [CrossRef] [Scilit]
- Miao, G.; Wu, G.; Zhang, Z.; Tong, Y.; Lu, B. AddAG-AE: Anomaly Detection in Dynamic Attributed Graph Based on Graph Attention Network and LSTM Autoencoder. Electronics 2023, 12, 2763. [Google Scholar] [CrossRef] [Scilit]
- Tuli, S.; Casale, G.; Jennings, N.R. TranAD: Deep Transformer Networks for Anomaly Detection in Multivariate Time Series Data. Proc. VLDB Endow. 2022, 15, 1201–1214. [Google Scholar]
- Xu, J.; Wu, H.; Wang, J.; Long, M. Anomaly Transformer: Time Series Anomaly Detection with Association Discrepancy. In Proceedings of the International Conference on Learning Representations, Virtual, 25–29 April 2022. [Google Scholar]
- Sankar, A.; Wu, Y.; Gou, L.; Zhang, W.; Yang, H. DySAT: Deep Neural Representation Learning on Dynamic Graphs via Self-Attention Networks. In Proceedings of the 13th International Conference on Web Search and Data Mining; Association for Computing Machinery: New York, NY, USA, 2020; pp. 519–527. [Google Scholar]
- Pareja, A.; Domeniconi, G.; Chen, J.; Ma, T.; Suzumura, T.; Kanezashi, H.; Kaler, T.; Schardl, T.B.; Leiserson, C.E. EvolveGCN: Evolving Graph Convolutional Networks for Dynamic Graphs. Proc. AAAI Conf. Artif. Intell. 2020, 34, 5363–5370. [Google Scholar] [CrossRef] [Scilit]
- Xu, D.; Ruan, C.; Körpeoglu, E.; Kumar, S.; Achan, K. Inductive Representation Learning on Temporal Graphs. In Proceedings of the International Conference on Learning Representations, Virtual, 26 April–1 May 2020. [Google Scholar]
- Lee, J.; Kim, S.; Shin, K. SLADE: Detecting Dynamic Anomalies in Edge Streams without Labels via Self-Supervised Learning. In Proceedings of the 30th ACM SIGKDD Conference on Knowledge Discovery and Data Mining; Association for Computing Machinery: New York, NY, USA, 2024; pp. 1506–1517. [Google Scholar]
- Bergmann, P.; Fauser, M.; Sattlegger, D.; Steger, C. Uninformed Students: Student–Teacher Anomaly Detection with Discriminative Latent Embeddings. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition; IEEE: Piscataway, NJ, USA, 2020; pp. 4183–4192. [Google Scholar]
- Salehi, M.; Sadjadi, N.; Baselizadeh, S.; Rohban, M.H.; Rabiee, H.R. Multiresolution Knowledge Distillation for Anomaly Detection. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition; IEEE: Piscataway, NJ, USA, 2021; pp. 14902–14912. [Google Scholar]
- Han, Z.; Wan, J.; Li, Y.; Li, G. A Refined Knowledge Distillation Network for Unsupervised Anomaly Detection. Electronics 2024, 13, 4793. [Google Scholar] [CrossRef] [Scilit]
- Zhang, S.; Liu, Y.; Sun, Y.; Shah, N. Graph-less Neural Networks: Teaching Old MLPs New Tricks via Distillation. In Proceedings of the International Conference on Learning Representations, Virtual, 25–29 April 2022. [Google Scholar]
- Hu, S.; Zou, G.; Yang, S.; Lin, S.; Gan, Y.; Zhang, B.; Chen, Y. Large Language Model Meets Graph Neural Network in Knowledge Distillation. Proc. AAAI Conf. Artif. Intell. 2025, 39, 17295–17304. [Google Scholar] [CrossRef] [Scilit]
- Wang, L.; Zhang, X.; Su, H.; Zhu, J. A Comprehensive Survey of Continual Learning: Theory, Method and Application. IEEE Trans. Pattern Anal. Mach. Intell. 2024, 46, 5362–5383. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Zhou, F.; Cao, C. Overcoming Catastrophic Forgetting in Graph Neural Networks with Experience Replay. Proc. AAAI Conf. Artif. Intell. 2021, 35, 4714–4722. [Google Scholar] [CrossRef] [Scilit]
- Su, J.; Zou, D.; Wu, C. On the Limitation and Experience Replay for GNNs in Continual Learning. In Proceedings of the 3rd Conference on Lifelong Learning Agents; PMLR: Cambridge, MA, USA, 2025; Volume 274, pp. 342–366. [Google Scholar]
- Wang, W.; Wei, F.; Dong, L.; Bao, H.; Yang, N.; Zhou, M. MiniLM: Deep Self-Attention Distillation for Task-Agnostic Compression of Pre-Trained Transformers. Adv. Neural Inf. Process. Syst. 2020, 33, 5776–5788. [Google Scholar]
- Wagner, E.; Bader, L.; Wolsing, K.; Serror, M. Sherlock: A Dataset for Process-Aware Intrusion Detection Research on Power Grid Networks; Dataset, version v1; Zenodo, 2025. Available online: https://zenodo.org/records/15168928 (accessed on 3 October 2026). [CrossRef]
- Wagner, E.; Bader, L.; Wolsing, K.; Serror, M. Sherlock: A Dataset for Process-Aware Intrusion Detection Research on Power Grid Networks; Dataset, version v3; Zenodo, 2026. Available online: https://zenodo.org/records/18467070 (accessed on 3 October 2026). [CrossRef]
- Adhikari, U.; Pan, S.; Morris, T. Power System Attack Datasets; Mississippi State University and Oak Ridge National Laboratory: Oak Ridge, TN, USA, 2014. [Google Scholar]
- MITRE. ATT&CK STIX Data: Versioned Enterprise, Mobile, and ICS ATT&CK Bundles. Available online: https://github.com/mitre-attack/attack-stix-data (accessed on 28 September 2026).
- Yang, A.; Li, A.; Yang, B.; Zhang, B.; Hui, B.; Zheng, B.; Yu, B.; Gao, C.; Huang, C.; Lv, C.; et al. Qwen2.5 Technical Report. arXiv 2024, arXiv:2412.15115. [Google Scholar]
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.
