Detecting anomalous electricity consumption with transformer and synthesized anomalies

View article
PeerJ Computer Science

Main article text

 

Introduction

  • We propose a method for detecting anomalous electricity consumption based on the Transformer.

  • We propose a method for synthesizing anomalies to address the problem that normal electricity consumption data is much larger than abnormal data in reality.

  • We conduct extensive experiments to evaluate our proposed detection method. The results show that the Transformer-based method outperforms the state-of-the-art methods in detecting anomalous electricity consumption.

Method

Framework

Synthesizing anomalies

Transformer-based anomaly detection

Multi-head attention

Layer normalization

Point-wise FFN

Multi-layer perceptron

Experiments

Experimental settings

Evaluation metrics

Experimental results

Ablation study

Conclusion

Supplemental Information

The code for experiments

DOI: 10.7717/peerj-cs.1721/supp-1

Additional Information and Declarations

Competing Interests

Tianshi Mu and Huan Luo are employed by China Southern Power Grid Digital Grid Group Co., Ltd and Yun Yu, Guocong Feng and Hang Yang are employed by China Southern Power Grid Co., Ltd.

Author Contributions

Tianshi Mu conceived and designed the experiments, performed the computation work, authored or reviewed drafts of the article, and approved the final draft.

Yun Yu performed the experiments, analyzed the data, prepared figures and/or tables, and approved the final draft.

Guocong Feng conceived and designed the experiments, authored or reviewed drafts of the article, and approved the final draft.

Huan Luo performed the experiments, performed the computation work, prepared figures and/or tables, and approved the final draft.

Hang Yang analyzed the data, prepared figures and/or tables, and approved the final draft.

Data Availability

The following information was supplied regarding data availability:

The data is available at GitHub:

- https://github.com/henryRDlab/ElectricityTheftDetection.

- https://github.com/samy101/lead-dataset.

Funding

This work was supported by the China Southern Power Grid Co., Ltd. The funders had no role in study design, data collection and analysis, decision to publish, or preparation of the manuscript.

888 Visitors 808 Views 113 Downloads