Electrical Grid Anomaly Detection via Tensor Decomposition

Alexander Most, Maksim Ekin Eren, Boian S. Alexandrov, Nigel Lawrence

Introduction

Supervisory Control and Data Acquisition (SCADA) systems serve as the critical infrastructure for monitoring and controlling modern power grids. As these systems transition from isolated networks to interconnected environments, they become increasingly vulnerable to sophisticated cyber-attacks. Traditional anomaly detection techniques often rely on dimensionality reduction methods like Principal Component Analysis (PCA) or Non-negative Matrix Factorization (NMF). However, these approaches typically require "flattening" multi-dimensional network data into 2D matrices, a process that obscures the complex, multi-faceted relationships between system variables such as Remote Terminal Units (RTUs), communication channels, and message timing.

Overview of a SCADA system architecture, illustrating the hierarchical relationship between the central control, RTUs, and substation components.

Methodology: Non-Negative Tensor Decomposition

To address the limitations of matrix-based methods, researchers from Los Alamos National Laboratory (LANL) propose the use of Canonical Polyadic Alternating Poisson Regression (CP-APR). This method treats SCADA communications as high-dimensional tensors rather than flat tables.

Tensor Representation and Probabilistic Modeling

The proposed framework models SCADA messages across several dimensions: RTU ID, the number of points requested, the specific communication channel, and the time interval ($\Delta$ Time) between messages. Unlike standard decomposition methods that assume Gaussian noise, CP-APR utilizes a Poisson distribution. This choice is particularly effective for the "count" data typical of network logs and handles the extreme sparsity of SCADA data—where most potential event combinations never occur—more robustly than Gaussian-based models.

Anomalous Scoring

The model learns latent patterns representing "normal" grid operations. During the detection phase, it calculates a P-value for incoming messages based on the learned Poisson rates. Messages with exceptionally low P-values are flagged as statistically improbable anomalies, indicating potential malicious activity.

Experimental Setup

The study evaluated the model using a combination of real-world baseline data and synthetic attack injections:

  • Baseline Data: Real SCADA messages collected from the LANL electrical grid over a two-month period in early 2020.
  • Synthetic Attacks: Three tiers of simulated attacks were used:
  • Black Box: Attacker with minimal knowledge guessing values.
  • Grey Box 1: Attacker knows valid values but not their correct combinations.
  • Grey Box 2: Attacker knows valid pairs (e.g., RTU-channel mappings) but lacks specific configuration knowledge.

Results and Discussion

The tensor-based approach demonstrated significant performance gains over traditional baselines, particularly in Precision-Recall (PR) Area Under the Curve (AUC), a critical metric for the highly imbalanced datasets characteristic of anomaly detection.

Precision-Recall curves comparing the proposed IPC tensor model against NMF and PCA baselines for Grey Box 1 attacks.

The IPC (binary) model, which tracks the existence rather than the frequency of communication patterns, emerged as the top performer. It achieved a PR AUC of 0.999 on Black Box attacks and 0.996 on Grey Box 1 attacks. In comparison, PCA performed poorly, with PR AUC scores dropping as low as 0.129 in Grey Box scenarios. These results suggest that preserving the multi-dimensional intersections of variables allows the model to identify subtle "out-of-context" communications—such as a valid RTU communicating over an incorrect channel—that matrix-based methods miss.

Conclusion

By leveraging tensor decomposition, this research provides a more nuanced and accurate method for securing SCADA systems. While modeling the temporal dimension remains a challenge due to shifting schedules, the transition from 2D matrices to multi-dimensional tensors represents a significant step forward in detecting sophisticated cyber-intrusions in critical infrastructure. Future work will focus on refining temporal granularity and expanding the model to encompass a broader range of SCADA message types beyond analog scans.

Summary updated

BibTeX
@inproceedings{most2023electrical,
  author = {Alexander Most and Maksim Ekin Eren and Boian S. Alexandrov and Nigel Lawrence},
  title = {{Electrical Grid Anomaly Detection via Tensor Decomposition}},
  booktitle = {MILCOM},
  year = {2023},
  doi = {10.1109/milcom58377.2023.10356348},
}

Loading related content...

Figure