基于改进LSTM模型的智慧医院用电异常自动检测
Automatic Detection of Abnormal Electricity Consumption in Smart Hospitals Based on the Improved LSTM Model
-
摘要: 针对当前智慧医院电力异常检测方法普遍存在的误报率高、对复杂用电模式适应性差的问题,提出一种融合卷积神经网络(CNN)、长短时记忆网络(LSTM)与注意力机制的混合预测模型,并创新性地引入基于核密度估计的动态阈值判定方法。利用CNN提取医院用电负荷的局部与周期性特征;通过LSTM建模长期依赖关系;借助注意力机制聚焦于异常征兆的关键时段,显著提升预测精度与异常敏感性。在实际部署中,采用动态阈值替代传统固定阈值,以自适应医院用电基线的正常漂移。实验结果表明,该方法在异常检测准确率上较传统LSTM模型提升约15%,误报率降低20%,并能有效定位线路老化、设备突发故障等典型异常,为智慧医院的电力安全与精细化管理提供了可靠的技术支持。Abstract: In view of the common problems of high false alarm rate and poor adaptability to complex power consumption patterns in current power anomaly detection methods for smart hospitals, a hybrid prediction model integrating CNN, LSTM and attention mechanism is proposed, and a dynamic threshold determination method based on kernel density estimation is innovatively introduced. Extract the local and periodic features of hospital power load by using CNN; model long-term dependencies through LSTM; by leveraging the attention mechanism to focus on the critical periods of abnormal signs, the prediction accuracy and abnormal sensitivity are significantly enhanced. In actual deployment, dynamic thresholds are adopted to replace the traditional fixed thresholds to adapt to the normal drift of the hospital's power consumption baseline. The experimental results show that this method improves the accuracy of anomaly detection by approximately 15% compared to the traditional LSTM model, reduces the false alarm rate by 20%, and can effectively locate typical anomalies such as line aging and sudden equipment failures, providing reliable technical support for the power safety and refined management of smart hospitals.
下载: