Electricity Theft Detection Using Machine Learning Approaches: A Case Study in Turkiye
Electricity theft, leading to financial losses and operational inefficiencies, is a significant challenge for energy utilities. In this study, advanced pre-processing, feature selection and model evaluation techniques were used to develop a machine learning model for detecting electricity theft. The dataset, which consists of over 53 million samples, was carefully preprocessed to eliminate missing values and irrelevant features. Principal component analysis (PCA) was applied to reduce dimensionality, and both undersampling and oversampling were used to avoid class imbalance. Four machine learning algorithms were evaluated: Random Forest, kNN, XGBoost and Logistic Regression. The training and evaluation of the models were performed in Jupyter Notebook using Joblib for efficient CPU-based parallel computation. The random forest with over-sampling achieved the highest performance with an accuracy of 98.23% and an F1 score of 0.90, showing the effectiveness of handling class imbalance. The results show that over-sampling the dataset leads to better results than under-sampling, emphasising the importance of this approach in detecting power theft.
Authors
- Oğuzhan Ceylan (ORCID: https://orcid.org/0000-0002-0892-6380)
- Betül Kalaycı (ORCID: https://orcid.org/0000-0002-6901-9303)
- Mehmet Yüksel (ORCID: https://orcid.org/0000-0003-0124-1992)
- Tuğçe Ballı (ORCID: https://orcid.org/0000-0002-6509-3725)
- Seyit Cem Yılmaz (ORCID: https://orcid.org/0000-0003-3233-8586)
- Mert İlhan Ecevit (ORCID: https://orcid.org/0000-0002-3852-0840)
- Muhammad Farukh Arslan (ORCID: https://orcid.org/0009-0007-4422-2421)
- Erkam Çetkin
- Burak Bozbuğa
Institutions
- X-Fab (Germany) (DE)
- China XD Group (China) (CN)
Publication Details
- Published
- 2025-06-18
- DOI
- https://doi.org/10.1109/eaeeie65428.2025.11136701
- Primary Topic
- Electricity Theft Detection Techniques
- Type
- article
- Field-Weighted Citation Impact
- 0.00