IDEAS home Printed from https://ideas.repec.org/a/eee/appene/v353y2024ipbs0306261923015210.html
   My bibliography  Save this article

Enhancing anomaly detection accuracy and interpretability in low-quality and class imbalanced data: A comprehensive approach

Author

Listed:
  • Gao, Bixuan
  • Kong, Xiangyu
  • Li, Shangze
  • Chen, Yi
  • Zhang, Xiyuan
  • Liu, Ziyu
  • Lv, Weijia

Abstract

With the rapid advancements in smart meters, energy internet, and high-performance computing technologies, deep learning methods are increasingly used for detecting anomalies in building electricity consumption. However, these models grapple with challenges like outliers, missing data, and imbalanced categories. Moreover, these models are often considered as black boxes due to their lack of interpretability. This limitation impedes the practical deployment of deep learning methods. Focusing on these issues, this study presents an anomaly detection method aimed at improving anomaly detection accuracy and interpretability in low-quality and class imbalanced data. Initially, our method established data preprocessing models to handle with outliers and missing data. Subsequently, an unbalance elimination model, named GRU-MACGANS, was designed to augment the minority category data. The SA-CNN-BiGRU-FCN model, incorporating a knowledge transfer strategy, was implemented to identify anomalous behavior. Finally, the results of SA-CNN-BiGRU-FCN model were interpreted based on the contrastive explanations method. Our case study of a low-voltage distribution system demonstrates the effectiveness of our approach. Data preprocessing models and GRU-MACGANS enhance data quality and alleviate category imbalance issues in anomaly detection. The interpretable analysis provides insights into the ability of detection models to identify representative features of different electricity consumption behaviors for effective anomaly detection.

Suggested Citation

  • Gao, Bixuan & Kong, Xiangyu & Li, Shangze & Chen, Yi & Zhang, Xiyuan & Liu, Ziyu & Lv, Weijia, 2024. "Enhancing anomaly detection accuracy and interpretability in low-quality and class imbalanced data: A comprehensive approach," Applied Energy, Elsevier, vol. 353(PB).
  • Handle: RePEc:eee:appene:v:353:y:2024:i:pb:s0306261923015210
    DOI: 10.1016/j.apenergy.2023.122157
    as

    Download full text from publisher

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

    File URL: https://libkey.io/10.1016/j.apenergy.2023.122157?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 search for a different version of it.

    References listed on IDEAS

    as
    1. Md. Nazmul Hasan & Rafia Nishat Toma & Abdullah-Al Nahid & M M Manjurul Islam & Jong-Myon Kim, 2019. "Electricity Theft Detection in Smart Grid Systems: A CNN-LSTM Based Approach," Energies, MDPI, vol. 12(17), pages 1-18, August.
    2. Kong, Jun & Jiang, Wen & Tian, Qing & Jiang, Min & Liu, Tianshan, 2023. "Anomaly detection based on joint spatio-temporal learning for building electricity consumption," Applied Energy, Elsevier, vol. 334(C).
    3. Sun, Fangyuan & Kong, Xiangyu & Wu, Jianzhong & Gao, Bixuan & Chen, Ke & Lu, Ning, 2022. "DSM pricing method based on A3C and LSTM under cloud-edge environment," Applied Energy, Elsevier, vol. 315(C).
    4. Razavi, Rouzbeh & Gharipour, Amin & Fleury, Martin & Akpan, Ikpe Justice, 2019. "A practical feature-engineering framework for electricity theft detection in smart grids," Applied Energy, Elsevier, vol. 238(C), pages 481-494.
    5. Fan, Cheng & Xiao, Fu & Zhao, Yang & Wang, Jiayuan, 2018. "Analytical investigation of autoencoder-based methods for unsupervised anomaly detection in building energy data," Applied Energy, Elsevier, vol. 211(C), pages 1123-1135.
    6. Hui Zou & Trevor Hastie, 2005. "Addendum: Regularization and variable selection via the elastic net," Journal of the Royal Statistical Society Series B, Royal Statistical Society, vol. 67(5), pages 768-768, November.
    7. Hui Zou & Trevor Hastie, 2005. "Regularization and variable selection via the elastic net," Journal of the Royal Statistical Society Series B, Royal Statistical Society, vol. 67(2), pages 301-320, April.
    8. Villar-Rodriguez, Esther & Del Ser, Javier & Oregi, Izaskun & Bilbao, Miren Nekane & Gil-Lopez, Sergio, 2017. "Detection of non-technical losses in smart meter data based on load curve profiling and time series analysis," Energy, Elsevier, vol. 137(C), pages 118-128.
    9. Gao, Bixuan & Huang, Xiaoqiao & Shi, Junsheng & Tai, Yonghang & Zhang, Jun, 2020. "Hourly forecasting of solar irradiance based on CEEMDAN and multi-strategy CNN-LSTM neural networks," Renewable Energy, Elsevier, vol. 162(C), pages 1665-1683.
    10. Jia Luo & Jinying Huang & Hongmei Li, 2021. "A case study of conditional deep convolutional generative adversarial networks in machine fault diagnosis," Journal of Intelligent Manufacturing, Springer, vol. 32(2), pages 407-425, February.
    Full references (including those not matched with items on IDEAS)

    Citations

    Citations are extracted by the CitEc Project, subscribe to its RSS feed for this item.
    as


    Cited by:

    1. Peng Wang & Minhang Li & Xiaoying Zhi & Xiliang Liu & Zhixiang He & Ziyue Di & Xiang Zhu & Yanchen Zhu & Wenqiong Cui & Wenyu Deng & Wenhan Fan, 2024. "Deep Smooth Random Sampling and Association Attention for Air Quality Anomaly Detection," Mathematics, MDPI, vol. 12(13), pages 1-21, June.
    2. Wang, Yipeng & Yu, Tao & Luo, Qingquan & Liu, Xipeng & Wang, Ziyao & Wu, Yufeng & Pan, Zhenning, 2024. "Two-stage generalizable approach for electricity theft detection in new regions," Applied Energy, Elsevier, vol. 365(C).

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Tutz, Gerhard & Pößnecker, Wolfgang & Uhlmann, Lorenz, 2015. "Variable selection in general multinomial logit models," Computational Statistics & Data Analysis, Elsevier, vol. 82(C), pages 207-222.
    2. Carstensen, Kai & Heinrich, Markus & Reif, Magnus & Wolters, Maik H., 2020. "Predicting ordinary and severe recessions with a three-state Markov-switching dynamic factor model," International Journal of Forecasting, Elsevier, vol. 36(3), pages 829-850.
    3. Hou-Tai Chang & Ping-Huai Wang & Wei-Fang Chen & Chen-Ju Lin, 2022. "Risk Assessment of Early Lung Cancer with LDCT and Health Examinations," IJERPH, MDPI, vol. 19(8), pages 1-12, April.
    4. Wang, Qiao & Zhou, Wei & Cheng, Yonggang & Ma, Gang & Chang, Xiaolin & Miao, Yu & Chen, E, 2018. "Regularized moving least-square method and regularized improved interpolating moving least-square method with nonsingular moment matrices," Applied Mathematics and Computation, Elsevier, vol. 325(C), pages 120-145.
    5. Mkhadri, Abdallah & Ouhourane, Mohamed, 2013. "An extended variable inclusion and shrinkage algorithm for correlated variables," Computational Statistics & Data Analysis, Elsevier, vol. 57(1), pages 631-644.
    6. Lucian Belascu & Alexandra Horobet & Georgiana Vrinceanu & Consuela Popescu, 2021. "Performance Dissimilarities in European Union Manufacturing: The Effect of Ownership and Technological Intensity," Sustainability, MDPI, vol. 13(18), pages 1-19, September.
    7. Candelon, B. & Hurlin, C. & Tokpavi, S., 2012. "Sampling error and double shrinkage estimation of minimum variance portfolios," Journal of Empirical Finance, Elsevier, vol. 19(4), pages 511-527.
    8. Andrea Carriero & Todd E. Clark & Massimiliano Marcellino, 2022. "Specification Choices in Quantile Regression for Empirical Macroeconomics," Working Papers 22-25, Federal Reserve Bank of Cleveland.
    9. Kim, Hyun Hak & Swanson, Norman R., 2018. "Mining big data using parsimonious factor, machine learning, variable selection and shrinkage methods," International Journal of Forecasting, Elsevier, vol. 34(2), pages 339-354.
    10. Shuichi Kawano, 2014. "Selection of tuning parameters in bridge regression models via Bayesian information criterion," Statistical Papers, Springer, vol. 55(4), pages 1207-1223, November.
    11. Chuliá, Helena & Garrón, Ignacio & Uribe, Jorge M., 2024. "Daily growth at risk: Financial or real drivers? The answer is not always the same," International Journal of Forecasting, Elsevier, vol. 40(2), pages 762-776.
    12. Enrico Bergamini & Georg Zachmann, 2020. "Exploring EU’s Regional Potential in Low-Carbon Technologies," Sustainability, MDPI, vol. 13(1), pages 1-28, December.
    13. Qianyun Li & Runmin Shi & Faming Liang, 2019. "Drug sensitivity prediction with high-dimensional mixture regression," PLOS ONE, Public Library of Science, vol. 14(2), pages 1-18, February.
    14. Jung, Yoon Mo & Whang, Joyce Jiyoung & Yun, Sangwoon, 2020. "Sparse probabilistic K-means," Applied Mathematics and Computation, Elsevier, vol. 382(C).
    15. Christopher J Greenwood & George J Youssef & Primrose Letcher & Jacqui A Macdonald & Lauryn J Hagg & Ann Sanson & Jenn Mcintosh & Delyse M Hutchinson & John W Toumbourou & Matthew Fuller-Tyszkiewicz &, 2020. "A comparison of penalised regression methods for informing the selection of predictive markers," PLOS ONE, Public Library of Science, vol. 15(11), pages 1-14, November.
    16. Norman R. Swanson & Weiqi Xiong, 2018. "Big data analytics in economics: What have we learned so far, and where should we go from here?," Canadian Journal of Economics/Revue canadienne d'économique, John Wiley & Sons, vol. 51(3), pages 695-746, August.
    17. Soave, David & Lawless, Jerald F., 2023. "Regularized regression for two phase failure time studies," Computational Statistics & Data Analysis, Elsevier, vol. 182(C).
    18. Moharil Janhavi & May Paul & Gaile Daniel P. & Blair Rachael Hageman, 2016. "Belief propagation in genotype-phenotype networks," Statistical Applications in Genetics and Molecular Biology, De Gruyter, vol. 15(1), pages 39-53, March.
    19. Won Hee Lee, 2023. "The Choice of Machine Learning Algorithms Impacts the Association between Brain-Predicted Age Difference and Cognitive Function," Mathematics, MDPI, vol. 11(5), pages 1-15, March.
    20. Mohammad Amin Amani & Mohammad Mahdi Nasiri, 2023. "A novel cross docking system for distributing the perishable products considering preemption: a machine learning approach," Journal of Combinatorial Optimization, Springer, vol. 45(5), pages 1-32, July.

    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:353:y:2024:i:pb:s0306261923015210. 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.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with 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.