IDEAS home Printed from https://ideas.repec.org/a/eee/appene/v401y2025ipas0306261925013625.html

An AI explained data-driven framework for electricity theft detection with optimized and active machine learning

Author

Listed:
  • Javaid, Nadeem
  • Hasnain, Muhammad
  • Ammar, Muhammad

Abstract

Electricity theft is a major problem that causes significant financial losses and inefficient power distribution. Effective theft detection systems play a critical role in detecting fraudulent consumption patterns. However, the performance and generalization of traditional theft detection systems are hindered by issues such as class imbalance, lack of labeled data, suboptimal hyperparameter tuning, and limited model interpretability. To overcome these issues, we propose a novel framework that combines active learning and metaheuristic optimization to enhance theft detection performance. Initially, the proposed framework addresses the data imbalance in the State Grid Corporation of China dataset by employing localized randomized affine shadow sampling. Next, two models are proposed to increase classification accuracy: Active Stochastic Gradient Descent (ASGD) and Cuckoo Stochastic Gradient Descent (CSGD). The ASGD uses entropy-based active learning to prioritize informative samples, whereas CSGD incorporates cuckoo search optimization to improve parameter tuning. The proposed ASGD and CSGD models show significant improvements of 36.67 % and 35 %, respectively, over the baseline SGD in accuracy, demonstrating enhanced performance in electricity theft detection. The experimental results demonstrate that ASGD and CSGD outperform state-of-the-art models with an improvement score of 6.57 % and 7.89 % in accuracy, 7.89 % and 9.21 % in F1-score, and 7.14 % and 8.33 % in the precision-recall area under the curve. Furthermore, the results of the proposed models are validated using a 10-fold cross-validation technique to ensure their reliability. Additionally, the statistical significance of ASGD and CSGD is confirmed using a t-test. Finally, two explainable artificial intelligence methods: local interpretable model-agnostic explanations and Shapley additive explanations, are employed to uncover the interpretability and explainability of the proposed models’ predictions. The proposed framework is useful for detecting electricity consumption anomalies as it enhances both classification performance and model interpretability, ensuring more reliable predictions.

Suggested Citation

  • Javaid, Nadeem & Hasnain, Muhammad & Ammar, Muhammad, 2025. "An AI explained data-driven framework for electricity theft detection with optimized and active machine learning," Applied Energy, Elsevier, vol. 401(PA).
  • Handle: RePEc:eee:appene:v:401:y:2025:i:pa:s0306261925013625
    DOI: 10.1016/j.apenergy.2025.126632
    as

    Download full text from publisher

    File URL: http://www.sciencedirect.com/science/article/pii/S0306261925013625
    Download Restriction: Full text for ScienceDirect subscribers only

    File URL: https://libkey.io/10.1016/j.apenergy.2025.126632?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    As the access to this document is restricted, you may want to

    for a different version of it.

    More about this item

    Keywords

    ;
    ;
    ;
    ;
    ;
    ;
    ;

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:eee:appene:v:401:y:2025:i:pa:s0306261925013625. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    We have no bibliographic references for this item. You can help adding them by using this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Catherine Liu (email available below). General contact details of provider: http://www.elsevier.com/wps/find/journaldescription.cws_home/405891/description#description .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.