Application of a novel deep learning method for electricity theft detection based on explainable artificial intelligence
Source abstract
Abstract
To address the challenges of weak feature representation, difficult extraction, and insufficient classification accuracy in electricity consumption time-series data for smart grid security monitoring, this paper proposes a temporal convolutional network (TCN) model based on Bayesian optimization. This study innovatively combines deep learning’s feature extraction capability with Bayesian optimization’s parameter tuning strategy, effectively improving traditional TCN models. The proposed Bayesian optimization-enhanced TCN (BO-TCN) integrates the TCN’s powerful temporal feature extraction with BO’s efficient hyperparameter search to achieve optimal model configuration for electricity theft detection. To address the critical issue that deep learning performance is sensitive to hyperparameter settings, Bayesian optimization constructs a Gaussian process model to approximate the objective function and uses acquisition functions for efficient hyperparameter selection, enabling automatic optimization of TCN hyperparameters. This method significantly improves parameter optimization efficiency while maintaining prediction performance. Experimental results on the SGCC dataset demonstrate that the optimized TCN model exhibits excellent generalization ability in electricity theft detection, achieving 98.04% classification accuracy—significantly outperforming LSTM, CNN, and baseline models. The effectiveness of the BO-TCN is verified through comprehensive ablation experiments and post-hoc explainable artificial intelligence analysis using SHAP and LIME techniques. Compared with the NTCN (eliminating the 1 × 1 convolutional residual block), the BO-TCN improves accuracy by ∼1.23%; compared with the ANTCN (eliminating all residual structures), BO-TCN’s accuracy improves by ∼2.27%.
Source: crossref · Quality: baseline
Research context
OpenAlex topics: Electricity Theft Detection Techniques · Smart Grid Security and Resilience · Smart Grid Energy Management
SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.
Affiliations
State Grid Hebei Electric Power Co. Ltd., Shijiazhuang Luancheng District Power Supply Branch 1 , Shijiazhuang, Hebei 051430,
Shijiazhuang Power Supply Branch of State Grid Hebei Electric Power Co. Ltd. 2 , Shijiazhuang, Hebei 050011,
Funding
This research was supported by State Grid Hebei Electric Power Co., LTD. Staff Technical innovation project "New technology Research on Discovering and Locating 10kV stolen electricity".
References (34)
Show source-provided references
1. Electricity theft detection and prevention using technology-based models: A systematic literature review10.3390/electricity5020017 ↗
2. Electricity theft: Overview, issues, prevention and a smart meter based approach to control theft10.1016/j.enpol.2010.11.037 ↗
3. O. Saha , “A comparative study on optimized machine learning and deep learning models for the detection of electricity theft,” M. Phil.thesis, National College of Ireland, Dublin, 2023.
4. Electricity theft detection using rule-based machine leaning (rML) approach10.29109/gujsc.1443371 ↗
5. Support vector machine based data classification for detection of electricity theft
6. Electricity theft detection in power grids with deep learning and random forests10.1155/2019/4136874 ↗
7. A practical feature-engineering framework for electricity theft detection in smart grids10.1016/j.apenergy.2019.01.076 ↗
8. Electricity theft detection in smart grids using a hybrid BiGRU–BiLSTM model with feature engineering-based preprocessing10.3390/s22207818 ↗
9. Performance analysis of electricity theft detection for the smart grid: An overview10.1109/TIM.2021.3127649 ↗
10. Deep learning10.1038/nature14539 ↗
11. CNN and GRU based deep neural network for electricity intelligent measurement to secure smart grid
12. A novel electricity theft detection strategy based on dual-time feature fusion and deep learning methods10.3390/en17020275 ↗
13. A novel bayesian-optimization-based adversarial TCN for RUL prediction of bearings10.1109/jsen.2022.3209894 ↗
14. T. Yu and H.Zhu, “Hyper-parameter optimization: A review of algorithms and applications,” arXiv:2003.05689 (2020).
15. An optimized deep and active learning oriented framework for intrusion detection in internet of sensor things10.1016/j.asej.2025.103607 ↗
16. An AI explained data-driven framework for electricity theft detection with optimized and active machine learning10.1016/j.apenergy.2025.126632 ↗
17. An AI explained systematic modular approach for enhanced electricity theft detection for urbanized smart grid environment10.1016/j.aej.2025.07.040 ↗
18. Temporal convolutional networks applied to energy-related time series forecasting10.3390/app10072322 ↗
19. Multi-step short-term wind speed prediction using a residual dilated causal convolutional network with nonlinear attention10.3390/en13071772 ↗
20. Causal augmented ConvNet: A temporal memory dilated convolution model for long-sequence time series prediction10.1016/j.isatra.2021.05.026 ↗
21. Deep residual network framework for structural health monitoring10.1177/1475921720918378 ↗
22. Comparison of batch normalization and weight normalization algorithms for the large-scale image classification
23. Efficient hyperparameter tuning for predicting student performance with Bayesian optimization10.1007/s11042-023-17525-w ↗
24. Constrained Bayesian optimization: A review10.1109/ACCESS.2024.3522876 ↗
25. Comparison of high-dimensional Bayesian optimization algorithms on BBOB10.1145/3670683 ↗
26. Electricity theft detection for smart grid security using smart meter data: A deep learning - CNN based approach10.62760/iteecs.3.2.2024.87 ↗
27. Application of novel hybrid deep leaning model for cleaner production in a paper industrial wastewater treatment system10.1016/j.jclepro.2021.126343 ↗
28. Delving deep into rectifiers: Surpassing human-level performance on ImageNet classification
29. Parallel spatio-temporal attention-based TCN for multivariate time series prediction10.1007/s00521-021-05958-z ↗
30. The LPST-Net: A new deep interval health monitoring and prediction framework for bearing-rotor systems under complex operating conditions10.1016/j.aei.2024.102558 ↗
31. Sensitivity and specificity versus precision and recall, and related dilemmas10.1007/s00357-024-09478-y ↗
32. Interpretable deep learning classifier using explainable AI for non-small cell lung cancer
33. Electricity theft detection base on extreme gradient boosting in AMI10.1109/tim.2020.3048784 ↗
34. Towards efficient energy utilization using big data analytics in smart cities for electricity theft detection10.1016/j.bdr.2021.100285 ↗