Source-linked AI summary

Robust Industrial Cyber Physical Classification Using Neuromorphic Temporal Embeddings and Hybrid SNN XGBoost Under Machine Unlearning Attacks

Ammar Kamoona, Sajad Koushkbaghi, Mahdi Jalili, Peter McTaggart, Xinghuo Yu

arXiv:2609.09564v1cs.LGcs.CRcs.NE

TL;DR

Power-grid IDSs must detect and classify attacks efficiently despite computational constraints and vulnerability to poisoning during periodic retraining. The paper uses a frozen SNN temporal feature extractor with a periodically retrained XGBoost classifier, achieving strong detection and delayed target-class collapse under label poisoning. The evaluation supports improved resilience, while the authors identify assumptions and scope boundaries including secured initial training data, extreme-poisoning collapse, and single-dataset unlearning evaluation.

  • Problem

    Power-grid IDSs need accurate, low-overhead attack classification, while periodic retraining exposes conventional systems to machine-unlearning attacks that can degrade targeted-class detection.

    Source: §I · pp. 1–2
  • Method

    A Direct-SNN with LIF neurons is trained once on verified clean data to produce fixed temporal embeddings, while XGBoost is periodically retrained as the only adaptive component.

    Source: §IV · p. 4
  • Results

    The hybrid achieves 99.9% accuracy on Synchrophasor and 95.0% on MSU/ORNL, while losing only 0.9% F1-macro at 10% label poisoning and delaying target-class collapse from 60% to 70%.

    Source: A. Classification Results · p. 8, B. Robustness to label poisoning and… · p. 10, §VII · p. 12
  • Takeaways & Limitations

    Separating physics-grounded temporal feature extraction from classifier updates provides improved resilience to label poisoning within the evaluated power-grid intrusion-detection setting.

    Source: §VII · p. 12

    The defence assumes verified, secured initial training data; all models collapse at poisoning levels ≥70%, and unlearning robustness was evaluated on a single dataset.

    Source: E. Limitations · p. 12

Abstract

from arXiv · show

The digitalisation of electrical distribution networks has increased the exposure of power-grid infrastructure to cyber attacks. Existing intrusion detection systems (IDSs), however, often rely on computationally expensive deep learning models that are difficult to deploy at the edge. Periodic retraining also exposes these systems to machine unlearning attacks, where selective data removal can degrade detection performance. We propose a hybrid Spiking Neural Network (SNN) and XGBoost architecture that combines efficient temporal encoding with a lightweight classifier and provides structural resilience to such attacks. The SNN is trained once on clean data and used as a fixed feature extractor, while only the XGBoost classifier is retrained during model updates. Evaluated on two real-world public power-system datasets, the proposed method achieves 99.9\% accuracy (F1-macro 0.999) on the Synchrophasor dataset and 95.0\% accuracy (F1-macro 0.943) on the MSU/ORNL dataset, outperforming standalone baselines. Under selective label-flipping attacks, the hybrid model loses only 0.9\% F1-macro at 10\% poisoning and delays target-class collapse from 60\% to 70\% poisoning compared with raw models. These results demonstrate that neuromorphic temporal encoding can provide both accurate cyber-attack detection and improved resilience to data poisoning in cyber-physical systems.

I. INTRODUCTION

Power-grid cyber-physical systems need accurate, low-overhead attack classification across heterogeneous data, yet existing approaches face computational, adaptability, and poisoning-resilience challenges. The paper addresses these challenges with a hybrid SNN–XGBoost design that separates fixed temporal representation learning from classifier updates.

Motivation

  • Accurate power-grid intrusion detection must classify diverse attacks while operating with low latency and limited computational overhead near physical infrastructure.Practical systems may also need to process both continuous electrical measurements and structured communication traffic.Source: §I · p. 1

Prior approaches

  • Existing detection methods include rule-based, model-based, and data-driven approaches, with deep learning offering learned attack representations but requiring substantial computation and memory.The supplied passages describe conventional deep-learning architectures including convolutional, recurrent, and graph neural networks.Source: §I · pp. 1–2

Research gap

  • SNNs offer event-driven, sparse, temporally dynamic processing for intrusion detection, but prior work has emphasized detection or efficiency rather than resilience to learned-data manipulation.Prior SNN studies cited in the passages include dynamic FDI detection and network intrusion detection.Source: §I · p. 2, B. SNNs Network for Intrusion Detection · pp. 2–3

Proposed approach

  • The proposed architecture uses a Direct-SNN with LIF neurons to generate temporal membrane-potential embeddings, while XGBoost is periodically retrained on those fixed representations.The SNN is trained once on verified clean data and then frozen, separating representation learning from classifier adaptation.Source: §I · p. 2

Results

  • 99.9% accuracy and F1-macro 0.999 are achieved on the Synchrophasor dataset, while 95.0% accuracy and F1-macro 0.943 are achieved on MSU/ORNL, outperforming standalone baselines.The contribution passage reports both dataset-level results and comparisons against standalone models.Source: §I · p. 2

C. Adversarial Robustness of IDS

The paper frames adversarial robustness as a training-time problem distinct from inference-time evasion and uses SNN membrane dynamics to encode label-independent physical structure. Its LIF recurrence integrates decayed temporal state, input current, and threshold-triggered spikes.

Threat model

  • Inference-time adversarial-robustness methods do not address training-time poisoning, which directly targets the data used to update an IDS.The supplied passage distinguishes evasion attacks from manipulation of training data.Source: C. Adversarial Robustness of IDS · p. 3

Robustness mechanism

  • SNN membrane dynamics provide structural robustness by encoding physical signal properties that are independent of labels.The paper extends the use of model structure for robustness to neuromorphic architectures.Source: C. Adversarial Robustness of IDS · p. 3

Research gap

  • The paper combines neuromorphic temporal features with explicit training-data-manipulation evaluation, unlike the cited prior SNN and machine-unlearning approaches.The comparison identifies separated feature extraction as a distinguishing design element.Source: D. Research Gaps · p. 3

LIF model

  • The LIF membrane potential combines decayed prior state, weighted input current, and a reset term tied to the previous spike and firing threshold.The recurrence uses β for decay, W for synaptic weights, I[t] for input current, S[t−1] for the prior spike, and Uthr for threshold.Source: A. Leaky Integrate-and-Fire Neuron Model · p. 3
  • β = 0.85 balances temporal integration and responsiveness for the framework’s 15-timestep window.Values near 1 retain information longer, whereas smaller values respond faster and forget prior evidence sooner.Source: A. Leaky Integrate-and-Fire Neuron Model · p. 3

B. Surrogate Gradient Learning

The method uses surrogate gradients to train spiking neurons through time while separating a frozen feature extractor from a retrainable classifier for poisoning resilience.

B. Surrogate Gradient Learning

  • Surrogate gradients replace the zero-gradient Heaviside derivative during backpropagation while retaining discrete spikes in the forward pass.This enables Backpropagation Through Time across all timesteps.Source: B. Surrogate Gradient Learning · p. 3
  • The attack randomly replaces selected target-class labels with labels from other classes, then retrains the IDS on the corrupted dataset.The attack succeeds when target-class recall drops significantly while other metrics remain reasonable.Source: C. Machine Unlearning Attack Model · p. 3
  • End-to-end training propagates corrupted labels into both feature representations and classifier decision boundaries, distorting embedding-space geometry.The proposed decomposition prevents later classifier retraining from altering the frozen embedding geometry.Source: §IV · p. 4
  • The architecture trains the SNN once on verified clean data, freezes it, and periodically retrains only the XGBoost classifier.The classifier operates on 1,350-dimensional SNN embeddings and is the only component exposed to potentially corrupted labels.Source: §IV · pp. 3–4
  • The architecture is presented as a hybrid SNN+XGBoost design for machine-unlearning resilience, combining a fixed neuromorphic frontend with an adaptable classifier.The comparison table identifies the work as combining neuromorphic temporal features with explicit machine-unlearning robustness evaluation.Source: Table I · p. 4, Figure 1 · p. 5

A. Data Preprocessing Pipeline

The preprocessing pipeline reduces PMU dimensionality, normalizes features, and constructs overlapping temporal windows while preserving information needed for membrane integration.

A. Data Preprocessing Pipeline

  • The preprocessing design reduces dimensionality while preserving temporal structure required for SNN membrane integration.The selected representation feeds a temporally organized input into the neuromorphic model.Source: A. Data Preprocessing Pipeline · p. 5
  • Features are min-max normalized to [0, 1] using training-set statistics, with the same transformation applied to validation and test data.The normalization uses ϵ = 10^-8 to prevent division by zero for constant features.Source: A. Data Preprocessing Pipeline · p. 5
  • 128 raw PMU features are reduced to 50 selected features using mutual information before temporal window construction.Mutual information is preferred because it captures nonlinear feature-class dependencies while preserving individual feature identities.Source: A. Data Preprocessing Pipeline · p. 5
  • Each sample is represented as a stride-1 window of T = 15 consecutive timesteps, preserving temporal structure across the window axis.The window contains 15 × 50 = 750 values per sample.Source: A. Data Preprocessing Pipeline · p. 5
  • The T = 15 window spans approximately 2.4 membrane time constants when β = 0.85, capturing transient onset and sustained-state behavior.The effective time constant is approximately 6.1 timesteps.Source: A. Data Preprocessing Pipeline · p. 5

B. Direct-SNN Architecture

The Direct-SNN architecture injects normalized features directly as continuous currents into LIF neurons, avoiding an intermediate spike-encoding step.

B. Direct-SNN Architecture

  • Direct-SNN treats each timestep of a sliding window as a distinct continuous input current to LIF neurons.The input is X_win ∈ R^T×d rather than a spike-encoded representation.Source: B. Direct-SNN Architecture · p. 5
  • The design avoids rate, latency, and delta spike encoding because those schemes are described as introducing an information bottleneck for flat power-system features.The paper states that direct injection preserves continuous feature information for the ablation study.Source: B. Direct-SNN Architecture · p. 5
  • The SNN uses membrane dynamics to integrate the continuous currents across the temporal window.This integration supplies the temporal processing mechanism for the architecture.Source: B. Direct-SNN Architecture · p. 5
  • The proposed Direct-SNN is designed specifically for power-grid intrusion detection using genuine time-varying input.The architecture receives sliding windows rather than static feature vectors.Source: B. Direct-SNN Architecture · p. 6

C. Temporal Membrane Embedding Extraction

The model extracts membrane-potential trajectories from the SNN, concatenates layer-level features into fixed embeddings, and supplies them to a periodically retrained XGBoost classifier.

C. Temporal Membrane Embedding Extraction

  • Membrane trajectories are recorded for each hidden layer and combined into a full embedding.The resulting embedding summarizes temporal responses across the SNN layers.Source: C. Temporal Membrane Embedding… · p. 6
  • The [256, 128, 64] SNN architecture with C = 3 output classes produces a 1,350-dimensional embedding.The embedding is formed from the extracted layer features.Source: C. Temporal Membrane Embedding… · p. 6
  • XGBoost is selected to handle high-dimensional structured embeddings, provide feature-importance rankings, and support lightweight retraining.The classifier is described as computationally lightweight for periodic updates.Source: D. XGBoost Classifier on Temporal… · p. 6
  • XGBoost receives each 1,350-dimensional embedding as input and the potentially corrupted label as its training target.Each tree split operates on one embedding dimension.Source: D. XGBoost Classifier on Temporal… · p. 6
  • The deployment procedure trains the SNN once on clean data, freezes and signs its parameters, then repeatedly retrains XGBoost on newly extracted embeddings.The SNN remains fixed while updated classifiers are deployed after each retraining cycle.Source: D. XGBoost Classifier on Temporal… · p. 6
  • Embedding dimensions represent physically meaningful responses to temporal patterns, giving individual tree splits a physical interpretation.The representation is tied to membrane responses of specific neurons.Source: D. XGBoost Classifier on Temporal… · p. 6

E. Why Temporal Embeddings Resist Label Poisoning

Temporal embeddings resist label poisoning because they encode signal dynamics independently of corrupted labels, while structured representations make classifier boundaries less sensitive to mislabeled points.

Physics-grounded clustering

  • Physics-grounded membrane trajectories distinguish attack transients from natural disturbances through their temporal signal characteristics.Examples include voltage drops, frequency excursions, and anomalous phase angles.Source: E. Why Temporal Embeddings Resist… · p. 6

Label-independent feature extraction

  • Frozen SNN embeddings remain unchanged during retraining, so label corruption shifts only XGBoost decision boundaries.This differs from end-to-end models, where corruption affects both representations and classifiers.Source: E. Why Temporal Embeddings Resist… · p. 6

Structured embedding space

  • Structured 1,350-dimensional embeddings provide temporal derivative-like, sustained-activity, and integration features for XGBoost tree splits.These representations are described as less susceptible to individual mislabeled points shifting decision boundaries than raw flattened features.Source: E. Why Temporal Embeddings Resist… · p. 6

Evaluation setting

  • The evaluation uses real public power-grid datasets containing measurements from actual equipment, including Synchrophasor and MSU/ORNL PMU data.Source: A. Datasets · p. 7

B. Baselines and metrics

The study compares the hybrid framework with neural, tree-based, and rule-based baselines using accuracy, class-balanced F1, MCC, and per-class precision and recall.

Baselines

  • Seven baselines span deep learning, tree ensembles, and rule-based detection, including MLP, LSTM, 1D-CNN, GNN, Random Forest, XGBoost, and a rule-based detector.Source: B. Baselines and metrics · p. 8

Metrics

  • Four reported metrics are overall accuracy, F1-macro, Matthews Correlation Coefficient, and per-class precision and recall.Parameter count is also reported as a proxy for neuromorphic deployability.Source: B. Baselines and metrics · p. 8
  • F1-macro weights all classes equally regardless of class support.Per-class F1 is the harmonic mean of precision and recall.Source: B. Baselines and metrics · p. 8
  • MCC provides a balanced, correlation-based measure that remains informative under class imbalance and reaches +1 for perfect classification.Its multiclass definition uses correct predictions, true-class counts, and predicted-class counts.Source: B. Baselines and metrics · p. 8

C. Implementation details

The implementation normalizes inputs, uses sliding windows and dataset-specific feature selection, then evaluates a fixed SNN architecture and hybrid classifier on clean data across two datasets.

Preprocessing

  • Preprocessing applies Min-Max normalization, reduces MSU/ORNL features from 128 to 50, and constructs sliding windows of T = 15 samples.Baseline experiments use a 70/15/15 split, while unlearning experiments use 70/30 with fixed random seeds.Source: C. Implementation details · p. 8

SNN architecture

  • The Direct-SNN uses [256, 128, 64] LIF layers, 15 simulation timesteps, dropout p = 0.2, and 44,803 total parameters.Training uses surrogate-gradient BPTT with balanced class weights.Source: C. Implementation details · p. 8

Clean-data results

MSU/ORNL (128 feat.)

On the MSU/ORNL dataset, the hybrid SNN+XGBoost combines temporal embeddings with tree-based classification and maintains stronger detection under label poisoning than raw-feature baselines.

C. Ablation Study: The Encoding Bottleneck

The ablation study identifies a structural encoding bottleneck: spike-encoded variants reach the same 70.53% ceiling because repeated snapshots provide no temporal variation for the SNN to process.

D. Computational cost and deployability

The hybrid is designed for edge deployment: its one-time SNN training is followed by rapid XGBoost updates, low CPU inference latency, and a 140 MB footprint, while limitations remain under extreme poisoning and limited evaluation scope.

  • 8.4 minutes of CPU training is required for one-time SNN commissioning on verified clean data.This is comparable to LSTM at 12.1 minutes and 1D-CNN at 5.8 minutes.Source: D. Computational cost and deployability · p. 11
  • 4.7-second XGBoost retraining updates only the classifier, compared with 3–12 minutes for retraining an entire deep-learning pipeline.The separation avoids the stale-model or unavailable-system interval during full retraining.Source: D. Computational cost and deployability · p. 12
  • The hybrid’s total inference latency is 0.45 ms per sample on CPU, operating at approximately 74× real-time at a 30 Hz PMU reporting rate.SNN embedding extraction accounts for 0.42 ms and XGBoost classification for 0.03 ms.Source: D. Computational cost and deployability · p. 12
  • The complete pipeline requires 140 MB of memory, including 95 MB for the frozen SNN and 45 MB for XGBoost.Source: D. Computational cost and deployability · p. 12
  • Embedding extraction scales linearly with sample count, while XGBoost training scales as O(N · d · K · log N).For 78,377 samples, embedding extraction takes 32.9 seconds and XGBoost training remains under 5 seconds.Source: D. Computational cost and deployability · p. 12
  • The defence assumes verified, secured initial clean data, and all models collapse at poisoning levels ≥70%; evaluation also uses one dataset for unlearning experiments.Source: E. Limitations · p. 12
Loading 2609.09564v1…