Anomaly Detection with Machine Learning Algorithms in Large-Scale Power Grids
Marc Gillioz, Guillaume Dubuis, Étienne Voutaz, Philippe Jacquod
TL;DR
The study tackles fast and reliable anomaly detection in multivariate time-series from large high-voltage grids, focusing on contextual anomalies that depend on grid-wide context. It compares nine ML algorithms—across supervised (false data injection) and unsupervised (forecast-based) approaches—and evaluates them on open-model continental Europe grids (Switzerland, Spain, Germany) with hourly data spanning 20 years. Neural-network-based models, including gradient-boosted trees and LSTMs, consistently outperform classical methods, while unsupervised predictors achieve high predictive accuracy ($R^2$ typically $\gtrsim 0.95$) and competitive $F_2$-scores, even under multiple concurrent attacks. The results suggest that incorporating a modest history (≈24 time steps) and a compact contemporaneous context yields robust anomaly detection with manageable computational demands, supporting practical deployment for real-time grid security.
Abstract
We apply several machine learning algorithms to the problem of anomaly detection in operational data for large-scale, high-voltage electric power grids. We observe important differences in the performance of the algorithms. Neural networks typically outperform classical algorithms such as k-nearest neighbors and support vector machines, which we explain by the strong contextual nature of the anomalies. We show that unsupervised learning algorithm work remarkably well and that their predictions are robust against simultaneous, concurring anomalies.
