Anomaly Detection in Building Equipment Energy Consumption Using Bi-LSTM and Convolutional Block Attention Mechanism
Abstract
With the growing complexity of building energy systems, accurate anomaly detection in equipment energy consumption has become crucial for improving operational efficiency. This study proposes an energy anomaly detection model that integrates Bidirectional Long Short-Term Memory (Bi-LSTM) networks and a Convolutional Block Attention Module (CBAM). The input features include low and high energy consumption time ratios and dynamic time warping distance, constructed into a 32-dimensional feature vector using a sliding window of 24 hours. The Bi-LSTM layer with 128 forward and 128 backward hidden units captures bidirectional temporal dependencies. CBAM refines critical feature dimensions and time steps through channel and spatial attention mechanisms. The model was trained using 70% of labeled data from the LEAD1.0 public smart meter dataset and tested on the remaining 30%. Experimental results showed that on Dataset A, the model achieved an accuracy of 0.98, a recall of 0.97, and an RMSE of 0.02. On Dataset B, it achieved 0.97, 0.98, and 0.05, respectively. Comparative analysis against baseline models, including Bi-LSTM, LSTM, and GRU, demonstrated significant improvements in both accuracy and error metrics. An ablation study confirmed the contribution of each module to model performance. Statistical validation across multiple runs showed that the improvements were consistent and robust. These findings suggest that combining Bi-LSTM with dual-attention mechanisms provides an effective solution for detecting both transient and persistent energy anomalies in dynamic building environments.DOI:
https://doi.org/10.31449/inf.v49i31.10735Downloads
Published
Issue
Section
License
I assign to Informatica, An International Journal of Computing and Informatics ("Journal") the copyright in the manuscript identified above and any additional material (figures, tables, illustrations, software or other information intended for publication) submitted as part of or as a supplement to the manuscript ("Paper") in all forms and media throughout the world, in all languages, for the full term of copyright, effective when and if the article is accepted for publication. This transfer includes the right to reproduce and/or to distribute the Paper to other journals or digital libraries in electronic and online forms and systems.
I understand that I retain the rights to use the pre-prints, off-prints, accepted manuscript and published journal Paper for personal use, scholarly purposes and internal institutional use.
In certain cases, I can ask for retaining the publishing rights of the Paper. The Journal can permit or deny the request for publishing rights, to which I fully agree.
I declare that the submitted Paper is original, has been written by the stated authors and has not been published elsewhere nor is currently being considered for publication by any other journal and will not be submitted for such review while under review by this Journal. The Paper contains no material that violates proprietary rights of any other person or entity. I have obtained written permission from copyright owners for any excerpts from copyrighted works that are included and have credited the sources in my article. I have informed the co-author(s) of the terms of this publishing agreement.
Copyright © Slovenian Society Informatika







