Passa al contenuto principale

Deep Neural Networks for Electric Energy Theft and Anomaly Detection in the Distribution Grid

A deep Bi-LSTM detects daily energy theft and grid anomalies directly from smart meter time series.

When Energy Data Reveal Hidden Patterns: Deep Learning for Detecting Anomalies in the Grid

The increasing digitalization of electrical distribution systems has transformed the way energy is monitored, measured, and managed. Smart meters continuously generate large volumes of consumption data, opening the door to more advanced forms of analysis. Yet, within this abundance of information lies a critical challenge: distinguishing between normal consumption patterns and irregular behaviours such as anomalies or illicit energy usage. We address this challenge by framing the problem as a time-series classification task and designing a deep learning architecture that can detect subtle deviations in daily energy consumption profiles. Rather than relying on handcrafted features or simplified statistical models, the proposed solution leverages the ability of deep neural networks to learn directly from raw data, capturing complex temporal patterns embedded in real-world measurements.

From Raw Measurements to Daily Behavioural Signatures

A central design choice lies in how the data is represented. Instead of analysing long consumption histories as a whole, the system operates at a finer level of granularity, focusing on individual daily profiles. Each day is treated as a time series composed of high-frequency measurements, reflecting the consumption behaviour of a single user over 24 hours. This representation allows the model to interpret each day as a behavioural signature, where anomalies, whether caused by irregular usage or fraudulent activity, manifest as deviations from expected temporal patterns. By shifting the focus from aggregated statistics to daily sequences, the approach enables a more precise and localised detection of anomalies, improving the resolution of the analysis.

Learning Temporal Dependencies in Both Directions

To model these daily sequences, the architecture employs a bidirectional recurrent neural network based on LSTM units. Unlike traditional unidirectional models, which process data only in chronological order, the bidirectional structure analyses the sequence in both forward and backward directions. This design allows the network to capture dependencies that may not be evident when considering time only in one direction, enhancing its ability to detect subtle anomalies. The model further extends this concept by stacking multiple bidirectional layers, increasing its capacity to learn hierarchical representations of the data.

From Representation to Decision

Once the temporal features have been extracted, the architecture translates them into a classification decision: normal consumption or anomaly. This end-to-end structure allows the system to operate directly on raw time series, eliminating the need for complex preprocessing pipelines. The model is trained using labelled datasets derived from real-world measurements, where anomalies have been identified through external reports and manual verification.

Testing on Real-World Consumption Data

The evaluation is carried out using datasets collected from industrial users, covering several years of energy consumption. These datasets include both regular and anomalous patterns, allowing the model to learn from realistic and heterogeneous scenarios. The results demonstrate that the proposed architecture consistently outperforms both standard LSTM and deeper unidirectional variants. The improvement is particularly evident when dealing with highly variable data, where the ability to capture bidirectional dependencies becomes crucial. The model also shows strong generalisation capabilities across different datasets and seasonal conditions.

Toward Intelligent Monitoring of Energy Systems

Beyond the specific application, the broader contribution lies in demonstrating how deep learning can transform raw energy data into actionable insights. By treating consumption patterns as structured temporal signals and applying advanced sequence modelling techniques, it becomes possible to detect anomalies that would be difficult to identify through traditional methods. This approach opens new perspectives for the management of modern energy systems, where real-time monitoring and automated detection play a key role in ensuring efficiency, reliability, and security. The ability to identify irregular behaviours at a daily level represents a significant step toward more intelligent and adaptive grid infrastructures. In this evolving landscape, artificial intelligence does not simply analyse data; it interprets behaviour, identifies risks, and supports decision-making processes in increasingly complex environments.

Autori

A. Ceschini, A. Rosato, F. Succetti, F. Di Luzio, M. Mitolo, R. Araneo, M. Panella
Novembre 3, 2021

Consigliati

Consigliati

Altri articoli da leggere
Renewable energy

A Review of the Enabling Methodologies for Knowledge Discovery from Smart Grids Data

A KDD-driven pipeline turns smart meter streams into multi-step load forecasts, benchmarking feature reduction and models.
Biomedical

Enhancing Autism Detection Through Gaze Analysis Using Eye Tracking Sensors and Data Attribution with Distillation in Deep Neural Networks

A deep learning model enhances early autism diagnosis by analyzing visual patterns with eye tracking.
Quantum computing

Quantum Generative Modeling via Straightforward State Preparation

A lightweight quantum generative model creates high-fidelity data samples with minimal parameters and efficient state preparation.
Quantum computing

Enhancing QAOA Ansatz via Multi-Parameterized Layer and Blockwise Optimization

A novel quantum-classical algorithm boosts QAOA performance with fewer layers, enabling real-world optimization on NISQ devices.
Renewable energy

A Deep Learning-based Approach for Battery Life Classification

A deep learning-based LSTM network accurately classifies battery health, optimizing energy storage and predictive maintenance.
Biomedical

An explainable fast deep neural network for emotion recognition

A fast, explainable deep neural network enhances emotion recognition by optimizing facial landmark analysis.
Renewable energy

Multi-label classification with imbalanced classes by fuzzy deep neural networks

A fuzzy deep neural network accurately classifies household appliances in real time using symbolic data and multi-label AI.
Quantum computing

Quantum enhanced knowledge distillation

Classical-to-quantum knowledge distillation boosts hybrid AI performance using efficient quantum circuits and reduced model sizes.
Quantum computing

A variational approach to quantum gated recurrent units

A faster and efficient Quantum Gated Recurrent Unit (QGRU) improves time series forecasting.
Aerospace

A Neural Network Symbolic Approach to Structural Health Monitoring in Aerospace Applications

A symbolic deep learning approach enhances structural health monitoring in aerospace achieving near-perfect damage classification.

Hai un'esigenza
specifica? 

Compila il form e parlaci del tuo progetto.
Ti proponiamo la soluzione più adatta al tuo contesto.
Impossibile salvare l'abbonamento. Riprova.
Grazie per aver inviato il modulo.

Hai un'esigenza
specifica? 

Compila il form e parlaci del tuo progetto.
Ti proponiamo la soluzione più adatta al tuo contesto.
GRID+ Copyright © 2026. All Rights Reserved.
P. IVA 17387741006 | Il capitale è stato interamente versato 10.000€ | RM – 1715269
GRID+ Copyright © 2026. All Rights Reserved.
P. IVA 17387741006 · Il capitale è stato interamente versato 10.000€ | RM – 1715269
P. IVA 17387741006 · Il capitale è stato interamente versato 10.000€ | RM – 1715269