Energy theft poses a significant challenge to modern power systems, leading to economic losses, reduced efficiency, and compromised reliability in smart grids. Detecting such anomalies requires robust, scalable analytical frameworks that can accurately distinguish normal consumption, marginally increased usage, and patterns indicative of electricity theft across diverse operating conditions. This study investigates the application of machine learning techniques for energy theft detection using a dataset of recorded consumption values. Two numerical features, energy used by theft in per unit and normal energy, were employed as predictors. At the same time, the target variable comprises three categorical conditions: Theft detected, Normal, and Energy slightly higher. Four classifiers were implemented and compared: Decision Tree, Support Vector Machine (SVM) with Error-Correcting Output Codes (ECOC), Random Forest, and k-Nearest Neighbors (kNN). The models were trained and evaluated using MATLAB with an 80/20 hold-out validation approach. Performance was assessed using accuracy metrics and confusion matrices. Results demonstrated that SVM achieved the highest accuracy (86.67%), followed closely by Random Forest (83.33%) and kNN (82.33%), while Decision Tree yielded the lowest accuracy (73.33%). Confusion matrix analysis showed that all classifiers detected theft-based cases with high accuracy, whereas most classification errors arose from overlap and ambiguity between normal consumption and elevated energy usage conditions. The study adds to the expanding literature on data-driven energy management by providing practical evidence of how machine-learning techniques can strengthen grid security, minimize financial losses, and enhance overall operational efficiency.
Akintola et al. (Wed,) studied this question.
Synapse has enriched 5 closely related papers on similar clinical questions. Consider them for comparative context: