| Issue |
E3S Web Conf.
Volume 727, 2026
International Conference on Electronics, Engineering Physics and Earth Science (EEPES 2026)
|
|
|---|---|---|
| Article Number | 02012 | |
| Number of page(s) | 9 | |
| Section | Renewable Energy and Green Technologies | |
| DOI | https://doi.org/10.1051/e3sconf/202672702012 | |
| Published online | 27 July 2026 | |
A clustering-based supervised approach for anomaly detection in building energy consumption
Kocaeli University, Software Engineering Department, Kocaeli, Türkiye
* Corresponding author: This email address is being protected from spambots. You need JavaScript enabled to view it.
Abstract
Since buildings account for a significant portion of global energy consumption, energy efficiency is a critical research topic. This study proposes a novel clustering-based approach for detecting building energy anomalies. Unlike the single global model approach in the literature, the proposed method first clusters buildings according to their consumption patterns using the K-means algorithm; then, independent anomaly detection is performed for each cluster. Isolation Forest and Local Outlier Factor are used as unsupervised methods, while XGBoost, Random Forest, and LightGBM are used as supervised methods. Feature engineering was performed using building-level statistical features during the clustering phase. Experiments were conducted on the LEAD 1.0 dataset. The results show that models trained on buildings with similar consumption patterns provide significant performance improvement compared to models trained on the entire dataset. While the highest F1 score obtained by the global model was 0.572, the proposed cluster-based approach increased this value to 0.903. Among the models, XGBoost and LightGBM stood out as the best-performing models across clusters, with LightGBM achieving the highest F1 score of 0.903 in Cluster 2. Further analyses revealed that model performance improved significantly as data homogeneity increased, strengthening the effectiveness of the clustering approach.
© The Authors, published by EDP Sciences, 2026
This is an Open Access article distributed under the terms of the Creative Commons Attribution License 4.0, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.
Current usage metrics show cumulative count of Article Views (full-text article views including HTML views, PDF and ePub downloads, according to the available data) and Abstracts Views on Vision4Press platform.
Data correspond to usage on the plateform after 2015. The current usage metrics is available 48-96 hours after online publication and is updated daily on week days.
Initial download of the metrics may take a while.

