基于改进BERT的多头自注意力非侵入式负荷分解方法OA
Non-intrusive Load Decomposition Method Based on Improved BERT With Multi-head Self-attention
针对非侵入式负荷分解方法负荷特征捕捉不足、负荷分解精度不够等问题,文章提出一种基于改进BERT(bidirectional encoder representations from transformers)模型的多头自注意力非侵入式负荷分解方法(frequency and temporal attention-BERT,FAT-BERT).首先通过傅里叶变换将时域数据转换为频域数据,采用多尺度卷积全面捕捉负荷信号的时域和频域特征,从而增强模型对多样化负荷信号的表达能力;其次,在多头自注意力机制中引入频率注意力机制,从而增强模型对时序数据中频率成分的感知能力,进一步改善复杂负荷模式的表示,改进BERT 模型中增加局部自注意力从而减少不必要的全局计算,提升模型的运行速度;接着将残差连接和正则化技术结合使模型在训练过程中更加稳定,并且能够更好地避免过拟合,最后在REDD和UK-DALE数据集上对提出的方法进行实验,实验结果验证了所提方法的有效性.
To address the challenges of inadequate load feature extraction and insufficient decomposition accuracy in non-intrusive load monitoring(NILM)methods,this paper proposes a multi-head self-attention-based approach named frequency and temporal attention-BERT(FAT-BERT),which leverages an enhanced bidirectional encoder representations from transformers(BERT)architecture.First,the time-domain data are converted into frequency-domain representations via Fourier transform,while multi-scale convolutional layers are adopted to comprehensively extract temporal and spectral features of load signals,thereby strengthening the model's capability to characterize diverse load signatures.Second,a frequency-enhanced attention mechanism is integrated into the multi-head self-attention framework to amplify the model's awareness of frequency components in sequential data,which effectively refines the representation of complex load patterns.Concurrently,localized self-attention is incorporated into the modified BERT architecture to eliminate redundant global computations and accelerate operational efficiency.Furthermore,residual connections combined with regularization techniques are implemented to stabilize the training process and enhance overfitting resistance.Extensive experimental evaluations conducted on the REDD and UK-DALE benchmark datasets demonstrate the superior performance of the proposed method.The results quantitatively confirm significant improvements in decomposition accuracy and computational efficiency compared to state-of-the-art baselines,validating the practical effectiveness of FAT-BERT in NILM applications.
孙晓晴;李元诚;王庆乐
华北电力大学 控制与计算机工程学院,北京市 昌平区 102206华北电力大学 控制与计算机工程学院,北京市 昌平区 102206华北电力大学 控制与计算机工程学院,北京市 昌平区 102206
信息技术与安全科学
非侵入式负荷监测负荷分解改进BERT模型多头自注意力机制频率注意力
non-intrusive load monitoringload decompositionimproved BERT modelmulti-head self-attention mechanismfrequency attention
《电力信息与通信技术》 2026 (1)
45-54,10
国家自然科学基金资助项目(62471180).
评论