Skip to main content
QUICK REVIEW

[Paper Review] Evaluating GAN-LSTM for Smart Meter Anomaly Detection in Power Systems

Fahimeh Orvati Nia, Shima Salehi|arXiv (Cornell University)|Jan 14, 2026
Electricity Theft Detection TechniquesEngineering0 citations
TL;DR

The paper systematically evaluates a GAN-LSTM framework for smart-meter anomaly detection on the LEAD dataset, showing substantial improvements over baselines with an F1-score of 0.89.

ABSTRACT

Advanced metering infrastructure (AMI) provides high-resolution electricity consumption data that can enhance monitoring, diagnosis, and decision making in modern power distribution systems. Detecting anomalies in these time-series measurements is challenging due to nonlinear, nonstationary, and multi-scale temporal behavior across diverse building types and operating conditions. This work presents a systematic, power-system-oriented evaluation of a GAN-LSTM framework for smart meter anomaly detection using the Large-scale Energy Anomaly Detection (LEAD) dataset, which contains one year of hourly measurements from 406 buildings. The proposed pipeline applies consistent preprocessing, temporal windowing, and threshold selection across all methods, and compares the GAN-LSTM approach against six widely used baselines, including statistical, kernel-based, reconstruction-based, and GAN-based models. Experimental results demonstrate that the GAN-LSTM significantly improves detection performance, achieving an F1-score of 0.89. These findings highlight the potential of adversarial temporal modeling as a practical tool for supporting asset monitoring, non-technical loss detection, and situational awareness in real-world power distribution networks. The code for this work is publicly available

Motivation & Objective

  • Motivate anomaly detection in AMI data under nonstationary, multi-scale conditions.
  • Assess the effectiveness of a GAN–LSTM framework for modeling normal consumption and detecting anomalies.
  • Benchmark GAN-LSTM against statistical, kernel-based, reconstruction-based, and GAN-based baselines using a unified pipeline.
  • Provide insights for utilities on asset monitoring, non-technical losses, and grid situational awareness.

Proposed method

  • Use a GAN–LSTM with a three-layer stacked generator (32, 64, 128) and a 100-dim latent vector to produce 60-hour sequences.
  • Train only on normal windows to learn the distribution of typical consumption.
  • Apply latent-space optimization at test time to compute anomaly scores via a residual loss and discriminator feature loss.
  • Compute a global anomaly threshold on validation data to classify test windows.
  • Normalize per-building and apply 60-hour sliding windows with a 1-hour training stride and 60-hour testing stride.
Figure 1: Overview of the GAN-LSTM anomaly detection pipeline. Top: preprocessing and windowing. Center: adversarial training of the LSTM-based generator and discriminator on normal windows only. Bottom: test-time latent-space optimization with frozen networks to compute anomaly scores and final cla
Figure 1: Overview of the GAN-LSTM anomaly detection pipeline. Top: preprocessing and windowing. Center: adversarial training of the LSTM-based generator and discriminator on normal windows only. Bottom: test-time latent-space optimization with frozen networks to compute anomaly scores and final cla

Experimental results

Research questions

  • RQ1Can GAN-LSTM effectively model normal smart-meter consumption to detect anomalies in LEAD data?
  • RQ2How does GAN-LSTM compare to statistical, kernel-based, reconstruction-based, and other GAN-based baselines under a unified pipeline?
  • RQ3What are the practical performance metrics (accuracy, precision, recall, F1, ROC AUC) achieved by GAN-LSTM on test buildings?
  • RQ4What are the limitations and future directions for applying adversarial temporal models to multivariate or context-rich smart-meter data?

Key findings

  • GAN-LSTM achieves 89.73% accuracy on the 206 test buildings.
  • GAN-LSTM yields precision 0.88 and recall 0.89, with F1-score 0.89.
  • GAN-LSTM attains ROC AUC of 0.83.
  • GAN-LSTM substantially outperforms Isolation Forest, One-Class SVM, LSTM Autoencoder, Attention LSTM Autoencoder, Variational Autoencoder, and TAnoGAN on the LEAD dataset.
  • Compared to baselines, GAN-LSTM demonstrates the effectiveness of adversarial temporal modeling for smart-meter anomaly detection.
Figure 2: Confusion matrix for the GAN-LSTM model on the test windows.
Figure 2: Confusion matrix for the GAN-LSTM model on the test windows.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.