Suzhou Electric Appliance Research Institute
期刊号: CN32-1800/TM| ISSN2097-6623

Article retrieval

文章检索

首页 >> 文章检索 >> 文章浏览排名

基于卷积块注意力机制改进的Transformer的负荷分解

来源:电工电气发布时间:2026-03-30 13:30 浏览次数:350

基于卷积块注意力机制改进的Transformer的负荷分解

王涛,王雨娟,纳春宁,尹泽昊,周雨笛
(宁夏大学 电子与电气工程学院,宁夏 银川 750021)


    摘 要 :电力系统源网荷优化调度和需求响应的实现,要求负荷侧更精细化的用电信息。非侵入式负载监测 (NILM) 是获取用电设备工作状态和各个设备消耗功率的有效技术。目前非侵入式负荷分解采用的 Transformer 模型会导致提取输入信号局部特征的能力不足,且存在对电器开关状态准确识别能力不足、分解误差大等问题。提出了一种融合简单线性注意力机制(SLA)、卷积块注意力机制 (CBAM) 改进的 Transformer 模型,用于非侵入式负荷分解的方法。其中 SLA 机制具备强大的局部特征提取能力,CBAM 被嵌入 Transformer 模型的前馈神经网络 (FFN),以提高关键特征的表达能力,降低特征冗余度。通过采用公开数据集 UK-DALE 验证该模型性能,并与两种先进模型做性能对比,证明了该模型在非侵入式负荷分解方面的优越性。
    关键词 :非侵入式负荷监测 ;Transformer 模型 ;简单线性注意力机制 ;卷积块注意力机制 ;负荷分解
    中图分类号 :TM741 ;TM933.3     文献标识码 :A     文章编号 :2097-6623(2026)03-0007-07
 

Load Decomposition Based on Improved Transformer with
Convolutional Block Attention Module

 

WANG Tao, WANG Yu-juan, NA Chun-ning, YIN Ze-hao, ZHOU Yu-di
( School of Electronic and Electrical Engineering, Ningxia University, Yinchuan 750021, China)
 

    Abstract: The realization of optimized dispatching and demand response in power system source-grid-load requires more refined electricity consumption information on the load side. Non-intrusive load monitoring (NILM) is an effective technique for obtaining the operational status of electrical appliances and individual power consumption. Nevertheless, the Transformer model currently employed in non-intrusive load decomposition exhibits insufficient ability to extract local features from input signals, along with issues such as inadequate accuracy in recognizing electrical appliance switching states and significant decomposition errors. To address these issues, this paper proposes a method for non-intrusive load decomposition using an improved Transformer model that integrates a simplified linear attention (SLA) mechanism and a convolutional block attention module (CBAM). The SLA mechanism possesses powerful local feature extraction capabilities, CBAM is embedded into the feedforward neural network (FFN) of the Transformer to enhance the expressive power of key features and reduce feature redundancy. By using the public UK-DALE dataset to validate the performance of the model and compare it with two advanced models,demonstrating the superiority of the proposed model in non-intrusive load disaggregation.
    Key words: non-intrusive load monitoring; Transformer model; simplified linear attention mechanism; convolutional block attention module; load decomposition
 

参考文献
[1] HART G W . Nonintrusive appliance load monitoring[J].Proceedings of the IEEE,1992,80(12) :1870-1891.
[2] SCHIRMER P A, MPORAS I.Non-intrusive load monitoring: A review[J].IEEE Transactions on Smart Grid,2022,14(1) :769-784.
[3] KELLY J, KNOTTENBELT W.Neural nilm: Deep neural networks applied to energy disaggregation[C]//Proceedings of the 2nd ACM International Conference on Embedded Systems for EnergyEfficient Built Environments,2015 :55-64.
[4] HUBER P, CALATRONI A, RUMSCH A, et al.Review on deep neural networks applied to low-frequency nilm[J].Energies,2021,14(9) :2390.
[5] HOCHREITER S, SCHMIDHUBER J.Long short-term memory[J].Neural Computation,1997,9(8):1735-1780.
[6] ALKHULAIFI A, ALJOHANI A J.Investigation of Deep Learning-based Techniques for Load Disaggregation, Low-Frequency Approach[J].International Journal of Advanced Computer Science and Applications,2020,11(1) :701-706.
[7] VASWANI Ashish, SHAZEER Noam, PARMAR Niki, et al.Attention is all you need[C]//In Proceedings of the 31st International Conference on Neural Information Processing Systems (NIPS'17),2017 :6000-6010.
[8] DEVLIN J, CHANG M W, LEE K, et al.BERT: Pretraining of Deep Bidirectional Transformers for Language Understanding[C]//In Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics:Human Language Technologies,2019 :4171-4186.
[9] ZAI Z, ZHAO S, ZHANG Z, et al.Non-intrusive load monitoring based on the combination of gate-transformer and CNN[J].Electronics,2023,12(13) :2824.
[10] 丹 尼 斯· 罗 斯 曼 (ROTHMAN Denis). 基 于 GPT-3、ChatGPT、GPT-4 等 Transformer 架构的自然语言处理 [M].叶伟民,译 . 北京 :清华大学出版社,2024.
[11] SHAW P, USZKOREIT J, VASWANI A.Self-Attention with Relative Position Representations[C]//In Proceedings of the 2018 Conference on Empirical Methods in Natural Language Processing.Association for Computational Linguistics:
Human Language Technologies,2018,2 :464-468.
[12] LUONG M T, PHAM H, MANNING C D.Effective Approaches to Attention-based Neural Machine Translation[C]//Proceedings of the 2015 Conference on Empirical Methods in Natural Language Processing,2015 :1412-1421.
[13] SYKIOTIS S, KASELIMI M, DOULAMIS A, et al.Electricity: An efficient transformer for nonintrusive load monitoring[J].Sensors,2022,22(8) :2926.
[14] TALOMA R L, PISANI P, CUOMO F.MANTRA: A MultiAppliance Transformer for Non-Intrusive Load Monitoring[C]//2024 IEEE International Conference on Communications, Control, and Computing Technologies for Smart Grids(Smart Grid Comm),2024 :432-437.
[15] YUE Z, WITZIG C R, JORDE D, et al.Bert4nilm:A bidirectional transformer model for nonintrusive load monitoring[C]//Proceedings of the 5th International Workshop on Non-Intrusive Load Monitoring,2020 :89-93.
[16] XUAN Y, PANG C, YU H, et al.An Enhanced Bidirectional Transformer Model with TemporalAware Self-Attention for Short-Term Load Forecasting[J].IEEE Access,2023,11 :1-14.
[17] VARANASI L N S, KARRI S P K.STNILM: Switch Transformer based Non-Intrusive Load Monitoring for Short and Long Duration Appliances[J].Sustainable Energy, Grids and Networks,2024,37 :101246.
[18] RONG J, WANG C, ZHOU Q, et al.Enhancing nonintrusive load monitoring through transfer learning with transformer models[J].Energy and Buildings,2025,330 :115334.
[19] WANG L, MAO S, NELMS R M.Transformer for nonintrusive load monitoring: Complexity reduction and transferability[J].IEEE Internet of Things Journal,2022,9(19) :18987-18997.
[20] SHEN Z, ZHANG M, ZHAO H, et al.Efficient attention: Attention with linear complexities[C]//Proceedings of the IEEE/CVF Winter Conference on Applications of Computer Vision,2021 :3531-3539.
[21] PAN Y, YAO T, LI Y, et al.X-linear attention networks for image captioning[C]//Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition,2020 :10971-10980.
[22] GUO M H, LIU Z N, Mu T J, et al.Beyond selfattention: External attention using two linear layers for visual tasks[J].IEEE Transactions on Pattern Analysis and Machine Intelligence,2022,45(5) :5436-5447.