高级检索

融合自注意力编码与XGBoost-GSA的窃电检测方法

Electricity Theft Detection via Self-Attention Feature Encoding and GSA-Optimized XGBoost

  • 摘要: 针对当前窃电检测方法实现难和准确率低的问题,提出一种融合自注意力编码与XGBoost-GSA的窃电检测方法。首先对数据进行周期性波动分析,并使用变异系数对日电量数据进行筛选,然后采用基于Transformer的自注意力自编码器对筛选后的日电量数据进行特征提取,再采用引力搜索算法(Gravitational Search Algorithm,GSA)对XGBoost进行部分超参数优化,将提取的特征作为XGBoost的输入,实现对窃电行为的检测。实验中所提方法各项指标均为最佳。

     

    Abstract: To address the issues of difficult implementation and low accuracy in current electricity theft detection methods, this paper proposes an electricity theft detection method that integrates self-attention encoding with XGBoost-GSA. Firstly, it conducts periodic fluctuation analysis on the data and screens the daily electricity consumption data using the coefficient of variation. Then, it employs a Transformer-based self-attention autoencoder for feature extraction from the screened daily electricity consumption data. Subsequently, the gravitational search algorithm (GSA) is utilized to optimize some hyperparameters of XGBoost. The extracted features are fed as input into XGBoost to achieve the detection of electricity theft behavior. In the experiments, the proposed method achieved the best performance across all indicators.

     

/

返回文章
返回