Identification of Abnormal Electricity Consumption Behavior of Low-Voltage Users in New Power Systems Based on a Combined Method
Abstract
:1. Introduction
- (1)
- Data Preprocessing and Optimization Strategies: To address the high dimensionality and complexity of low-voltage power consumption data, a variety of data preprocessing and optimization strategies were designed. These strategies further enhanced the robustness of the model against noisy data and outliers, thereby improving its generalization capabilities.
- (2)
- Insensitivity to Anomalous Samples and SMOTE Integration: The proposed method incorporates the KNN algorithm’s insensitivity to anomalous samples while effectively enhancing its ability to handle class imbalance through the integration of the Synthetic Minority Over-sampling Technique (SMOTE).
- (3)
- Innovative Heterogeneous Algorithmic Collaboration Mechanism: An innovative heterogeneous algorithmic collaboration mechanism that combines Gradient Boosting Decision Tree (GBDT) with K-Nearest Neighbors (KNN) was adopted to construct a K-GBDT hybrid model with dual-modal feature processing capabilities. This framework achieves multi-level feature interaction in both temporal and spatial dimensions via GBDT’s global feature abstraction and KNN’s local topological preservation characteristics, thereby enhancing the accuracy and robustness of abnormal electricity consumption behavior recognition.
2. Principles of the Proposed Method
2.1. Problem Definition
2.2. The Model and Related Data Processing
2.2.1. Data Acquisition
2.2.2. Data Cleaning and Quality Enhancement
2.2.3. Feature Engineering and Data Transformation
2.2.4. Construction of the Identification Model
- GBDT model construction
- 2.
- GBDT rough classification
- 3.
- KNN fine-grained classification
- 4.
- K-GBDT model output
2.2.5. Training of the Identification Model
3. Performance Analysis of the K-GBDT Model
3.1. The Evaluation Criterion and the Experimental Platform
3.2. Experimental Result Analysis
3.2.1. A Non-Sample Balancing Case
3.2.2. A Single Model Sample Balancing Case
3.2.3. Comparison with Recent Literature Methods
3.2.4. Practical Application Results
- (1)
- In terms of economic benefits: Through the analysis and calculation of 260,000 electricity users in a prefecture-level city under State Grid Shaanxi, three rounds of on-site verification involving 47 households were conducted, successfully identifying 13 households with metering anomalies and 20 households engaged in electricity theft, recovering economic losses exceeding 500,000 RMB.
- (2)
- In terms of social benefits: The application of big data and computational intelligence-based anti-electricity theft analysis has strengthened deterrence against electricity theft, maintained normal electricity usage order, and ensured user in electricity consumption.
- (3)
- In terms of management benefits: After deploying the User Electricity Anomaly Detection Tool developed by the method proposed in this paper (Figure 6), on one hand, user electricity consumption data can be obtained through the Power Information Collection System (Figure 7), and on the other hand, a list of high-probability users can be obtained through electricity theft risk scenarios (Figure 8). In contrast, the State Grid Shaanxi Electric Power Company conducted a marketing survey on 18,710 low-voltage users in a city using traditional manual experience methods, deploying two inspectors per day for 75 days, and identified a total of 5 electricity theft users, with an electricity theft detection rate of only 0.07%. After using the User Electricity Anomaly Detection Tool based on the method proposed in this paper, a total of 190,000 low-voltage users were analyzed, identifying 7 electricity theft users and 2 metering anomaly users, with an abnormal electricity detection rate of 51.16%, which is 730.86 times the manual detection rate. Both the time and personnel required were significantly reduced compared to traditional household-by-household inspections, thereby substantially saving labor and material resources while enhancing operational efficiency.
4. Discussion
4.1. Analysis of the Mechanism for Model Performance Enhancement
4.2. Comparative Analysis with Existing Methods
4.3. Challenges and Improvement Directions in Practical Applications
4.4. Insights for Intelligent Management of Power Systems
5. Conclusions
- To address the high dimensionality and complexity of low-voltage electricity consumption data, this paper introduces multiple data preprocessing and optimization strategies, further enhancing the model’s robustness against noisy data and outliers, as well as improving its generalization capability.
- The proposed approach takes advantage of the KNN algorithm’s insensitivity to anomalous samples. Moreover, by integrating the Synthetic Minority Over-sampling Technique (SMOTE), it effectively enhances the model’s capacity to handle class imbalance problems.
- A hybrid model based on K-GBDT is proposed, which combines the advantages of GBDT and KNN to simultaneously handle global and local features, thereby improving the accuracy and robustness of abnormal electricity consumption behavior identification.
Author Contributions
Funding
Data Availability Statement
Conflicts of Interest
References
- Nguyen, L.H.; Nguyen, V.L.; Hwang, R.H.; Kuo, J.-J.; Chen, Y.-W.; Huang, C.-C.; Pan, P.-I. Towards Secured Smart Grid 2.0: Exploring Security Threats, Protection Models, and Challenges. IEEE Commun. Surv. Tutor. 2024, 26, 1–39. [Google Scholar] [CrossRef]
- Zghaibeh, M.; Belgacem, I.B.; El Barhoumi, M.; Baloch, M.H.; Chauhdary, S.T.; Kumar, L.; Arıcı, M. Optimization of green hydrogen production in hydroelectric-photovoltaic grid connected power station. Int. J. Hydrogen Energy 2024, 52, 440–453. [Google Scholar] [CrossRef]
- Xia, Y.; Sun, G.; Wang, Y.; Yang, Q.; Wang, Q.; Ba, S. A novel carbon emission estimation method based on electricity-carbon nexus and non-intrusive load monitoring. Appl. Energy 2024, 360, 122773. [Google Scholar] [CrossRef]
- Farooq, A.; Shahid, K.; Olsen, R.L. Prioritization of smart meters based on data monitoring for enhanced grid resilience. Comput. Commun. 2025, 234, 108082. [Google Scholar] [CrossRef]
- Khalid, M. Energy 4.0: AI-enabled digital transformation for sustainable power networks. Comput. Ind. Eng. 2024, 193, 110253. [Google Scholar] [CrossRef]
- Abdulrahaman, O.O.; Mohd, W.M. A rule-based model for electricity theft prevention in advanced metering infrastructure. J. Electr. Syst. Inf. Technol. 2022, 9, 2. [Google Scholar] [CrossRef]
- Zhang, L.J. A Comparative Study on the Monitoring of Abnormal Power Consumption Behavior by Different Models. Int. J. High Speed Electron. Syst. 2025, 34, 2540093. [Google Scholar] [CrossRef]
- Wu, R.B. Behavioral analysis of electricity consumption characteristics for customer groups using the k-means algorithm. Syst. Soft Comput. 2024, 6, 200143. [Google Scholar] [CrossRef]
- Lin, R.H. Electricity Behavior Modeling and Anomaly Detection Services Based on a Deep Variational Autoencoder Network. Energies 2024, 17, 3904. [Google Scholar] [CrossRef]
- Jain, S.; Choksi, K. Rule-based classification of energy theft and anomalies in consumers’ load demand profile. IET Smart Grid 2019, 2, 612–624. [Google Scholar] [CrossRef]
- Ankur, S.; Amarjeet, S. Mahanti. Detecting anomalous energy consumption using contextual analysis of smart meter data. Wirel. Netw. 2021, 27, 4275–4292. [Google Scholar] [CrossRef]
- Hasan, M.N.; Toma, R.N. Electricity theft detection in smart grid systems: A CNN-LSTM based approach. Energies 2019, 12, 3310. [Google Scholar] [CrossRef]
- Erhan, L.; Ndubuaku, M. Smart anomaly detection in sensor systems: A multi-perspective review. Inf. Fusion 2021, 67, 64–79. [Google Scholar] [CrossRef]
- Zhang, W.; Dong, X.; Li, H.; Xu, J.; Wang, D. Unsupervised Detection of Abnormal Electricity Consumption Behavior Based on Feature Engineering. IEEE Access 2020, 8, 55483–55500. [Google Scholar] [CrossRef]
- Pan, H.P.; Yin, Z.Q. High-Dimensional Energy Consumption Anomaly Detection: A Deep Learning-Based Method for Detecting Anomalies. Energies 2022, 15, 6139. [Google Scholar] [CrossRef]
- Xia, X. ETD-Conv LSTM: A Deep Learning Approach for Electricity Theft Detection in Smart Grids. IEEE Trans. Inf. Forensics Secur. 2023, 18, 2553–2568. [Google Scholar] [CrossRef]
- Qu, Z.J.; Liu, H.X. A combined genetic optimization with AdaBoost ensemble model for anomaly detection in buildings electricity consumption. Energy Build. 2021, 248, 111193. [Google Scholar] [CrossRef]
- Kumar, J.; Gupta, R. Power consumption forecast model using ensemble learning for smart grid. J. Supercomput. 2023, 79, 11007–11028. [Google Scholar] [CrossRef]
- Ilias, S.; Panagiotis, R.G. A unified deep learning anomaly detection and classification approach for smart grid environments. IEEE Trans. Netw. Serv. Manag. 2021, 18, 1137–1151. [Google Scholar] [CrossRef]
- Ghosal, A.; Conti, M. Key management systems for smart grid advanced metering infrastructure: A survey. IEEE Commun. Surv. Tutor. 2019, 21, 2831–2848. [Google Scholar] [CrossRef]
- Tang, C.; Qin, Y.; Liu, Y.; Pi, H.; Tang, Z. An Efficient Method for Detecting Abnormal Electricity Behavior. Energies 2024, 17, 2502. [Google Scholar] [CrossRef]
- Xu, B.; Wang, Y. Efficient fraud detection using deep boosting decision trees. Decis. Support Syst. 2023, 175, 114037. [Google Scholar] [CrossRef]
- Maryam, D.; Said, B. Anomaly detection model based on gradient boosting and decision tree for IoT environments security. J. Reliab. Intell. Environ. 2023, 9, 421–432. [Google Scholar] [CrossRef]
- Xie, J.; Xiang, X.; Xia, S.; Jiang, L.; Wang, G.; Gao, X. MGNR: A multi-granularity neighbor relationship and its application in KNN classification and clustering methods. IEEE Trans. Pattern Anal. Mach. Intell. 2024, 42, 7956–7972. [Google Scholar] [CrossRef] [PubMed]
- Xu, L.; Lin, J.; Yang, Y.; Zhao, Z.; Shi, X.; Ge, G.; Qian, J.; Shi, C.; Li, G.; Wang, S.; et al. Ultrahigh thermal stability and piezoelectricity of lead-free KNN-based texture piezoceramics. Nat. Commun. 2024, 15, 9018. [Google Scholar] [CrossRef]
- Huang, Z.; Ling, Z.; Gou, F.; Wu, J. Medical assisted-segmentation system based on global feature and stepwise feature integration for feature loss problem. Biomed. Signal Process. Control 2024, 89, 105814. [Google Scholar] [CrossRef]
Field Code | Field Name | Data Type | Is Nullable |
---|---|---|---|
CONS_NO | User Code | NUMBER (16) | Yes |
DATA_DATE | Date | DATE | No |
KWH_READING | Current Day Energy Reading | NUMBER (11,4) | No |
KWH_READING1 | Previous Day Energy Reading | NUMBER (11,4) | No |
KWH | Energy Consumption | NUMBER (11,4) | No |
Accuracy | F1-Score | TPR | FPR | |
---|---|---|---|---|
GBDT | 0.8673 | 0.6175 | 0.5107 | 0.0357 |
KNN | 0.7228 | 0.6281 | 0.5272 | 0.0378 |
K-GBDT | 0.8791 | 0.7558 | 0.6529 | 0.0275 |
Accuracy | F1-Score | TPR | FPR | |
---|---|---|---|---|
GBDT | 0.8737 | 0.7536 | 0.7545 | 0.0912 |
KNN | 0.8754 | 0.6206 | 0.8426 | 0.3213 |
K-GBDT | 0.8851 | 0.8333 | 0.8323 | 0.0871 |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2025 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Gou, J.; Niu, X.; Chen, X.; Dong, S.; Xin, J. Identification of Abnormal Electricity Consumption Behavior of Low-Voltage Users in New Power Systems Based on a Combined Method. Energies 2025, 18, 2528. https://doi.org/10.3390/en18102528
Gou J, Niu X, Chen X, Dong S, Xin J. Identification of Abnormal Electricity Consumption Behavior of Low-Voltage Users in New Power Systems Based on a Combined Method. Energies. 2025; 18(10):2528. https://doi.org/10.3390/en18102528
Chicago/Turabian StyleGou, Jiaolong, Xudong Niu, Xi Chen, Shuxin Dong, and Jing Xin. 2025. "Identification of Abnormal Electricity Consumption Behavior of Low-Voltage Users in New Power Systems Based on a Combined Method" Energies 18, no. 10: 2528. https://doi.org/10.3390/en18102528
APA StyleGou, J., Niu, X., Chen, X., Dong, S., & Xin, J. (2025). Identification of Abnormal Electricity Consumption Behavior of Low-Voltage Users in New Power Systems Based on a Combined Method. Energies, 18(10), 2528. https://doi.org/10.3390/en18102528