Forecasting Energy Consumption of a Public Building Using Transformer and Support Vector Regression
Open accessThe DOI matches its Crossref record; 43 of the 43 references it cites were found in a registry or an index.
Abstract
Most of the Artificial Intelligence (AI) models currently used in energy forecasting are traditional and deterministic. Recently, a novel deep learning paradigm, called ‘transformer’, has been developed, which adopts the mechanism of self-attention. Transformers are designed to better process and predict sequential data sets (i.e., historical time records) as well as to track any relationship in the sequential data. So far, a few transformer-based applications have been established, but no industry-scale application exists to build energy forecasts. Accordingly, this study is the world’s first to establish a transformer-based model to estimate the energy consumption of a real-scale university library and benchmark with a baseline model (Support Vector Regression) SVR. With a large dataset from 1 September 2017 to 13 November 2021 with 30 min granularity, the results using four historical electricity readings to estimate one future reading demonstrate that the SVR (an R2 of 0.92) presents superior performance than the transformer-based model (an R2 of 0.82). Across the sensitivity analysis, the SVR model is more sensitive to the input close to the output. These findings provide new insights into the research area of energy forecasting in either a specific building or a building cluster in a city. The influences of the number of inputs and outputs related to the transformer-based model will be investigated in the future.
Overview
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Integrity signals
Registry
Cites
Statistics
Verification
Claims the paper makes
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The self-check needs the paper’s full text.
Citations
Cites
Deep Residual Learning for Image Recognition
He, K., Zhang, X., Ren, S., & Sun, J. (2016) · 2016 IEEE Conference on Computer Vision and Pattern Recognition (CVPR) · doi:10.1109/cvpr.2016.90 · Cited by 235,474
Vaswani, A., Shazeer, N., Parmar, N., Uszkoreit, J., Jones, L., Gomez, A. N., Kaiser, L., & Polosukhin, I. (2017) · arXiv · doi:10.48550/arxiv.1706.03762 · Cited by 120,404
Adam: A Method for Stochastic Optimization
Kingma, D. P., & Ba, J. (2014) · arXiv · doi:10.48550/arxiv.1412.6980 · Cited by 98,946
Exploiting Generative AI to Scale up Intelligent Tutoring Systems
Jakubův, J., Chvalovský, K., Goertzel, Z., Kaliszyk, C., Olšák, M., Piotrowski, B., Schulz, S., Suda, M., & Urban, J. (2023) · DROPS (Schloss Dagstuhl – Leibniz Center for Informatics) · doi:10.4230/lipics.itp.2023.19 · Cited by 76,658
Faster R-CNN: Towards Real-Time Object Detection with Region Proposal Networks
Ren, S., He, K., Girshick, R., & Sun, J. (2017) · IEEE Transactions on Pattern Analysis and Machine Intelligence · doi:10.1109/tpami.2016.2577031 · Cited by 73,472
BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding
Devlin, J., Chang, M.-W., Lee, K., & Toutanova, K. (2018) · arXiv · doi:10.48550/arxiv.1810.04805 · Cited by 73,173
Faster R-CNN: Towards Real-Time Object Detection with Region Proposal Networks
Ren, S., He, K., Girshick, R., & Sun, J. (2015) · arXiv · doi:10.48550/arxiv.1506.01497 · Cited by 70,812
Batch Normalization: Accelerating Deep Network Training by Reducing Internal Covariate Shift
Ioffe, S., & Szegedy, C. (2015) · arXiv · doi:10.48550/arxiv.1502.03167 · Cited by 27,818
End-to-End Object Detection with Transformers
Carion, N., Massa, F., Synnaeve, G., Usunier, N., Kirillov, A., & Zagoruyko, S. (2020) · Lecture Notes in Computer Science · doi:10.1007/978-3-030-58452-8_13 · Cited by 18,285
TensorFlow: A system for large-scale machine learning
Abadi, M., Barham, P., Chen, J., Chen, Z., Davis, A., Dean, J., Devin, M., Ghemawat, S., Irving, G., Isard, M., et al. (2016) · arXiv (Cornell University) · doi:10.48550/arxiv.1605.08695 · Cited by 11,822
Research works printed but not linked: 2
- 22. European Union. Directive 2010/31/Eu of the European Parliament and of the Council of 19 May 2010 on the Energy Performance of Buildings ; European Union: Brussels, Belgium, 2010; pp. 13-35.
- 32. Kreider, J.F.; Haberl, J.S. Predicting hourly building energy use: The great energy predictor shootout-Overview and discussion of results. In Proceedings of the 1994 American Society of Heating, Refrigerating, and Air Conditioning Engineers (ASHRAE) Annual Meeting, Orlando, FL, USA, 25-29 June 1994.
Cited by
Ali, D. M. T. E., Motuzienė, V., & Džiugaitė-Tumėnienė, R. (2024) · Energies · doi:10.3390/en17174277 · Cited by 172
Sustainable urban energy solutions: Forecasting energy production for hybrid solar-wind systems
Javaid, A., Sajid, M. F., Uddin, E., Waqas, A., & Ayaz, Y. (2024) · Energy Conversion and Management · doi:10.1016/j.enconman.2024.118120 · Cited by 96
Husein, M., Gago, E. J., Balfaqih, H., & Pegalajar, M. C. (2024) · Heliyon · doi:10.1016/j.heliyon.2024.e33419 · Cited by 122
“[108] performed large-scale forecasting of time-series energy consumption using a vanilla Transformer model.”
InfluentialKazeem, K. O., Olawumi, T. O., & Osunsanmi, T. O. (2023) · Buildings · doi:10.3390/buildings13082061 · Cited by 86
Harnessing AI for solar energy: Emergence of transformer models
Hanif, M. F., & Mi, J. (2024) · Applied Energy · doi:10.1016/j.apenergy.2024.123541 · Cited by 68
Elghaish, F., Matarneh, S. T., Hosseini, M. R., Tezel, A., Mahamadu, A., & Taghikhah, F. R. (2024) · Smart and Sustainable Built Environment · doi:10.1108/sasbe-03-2024-0096 · Cited by 59
Antonesi, G., Cioara, T., Anghel, I. M., Papias, I., Michalakopoulos, V., & Sarmas, E. (2025) · Energy and AI · doi:10.1016/j.egyai.2025.100489 · Cited by 45
Transformer-based renewable energy forecasting: A comprehensive review
Hussan, U., Wang, H., Peng, J., Jiang, H., & Rasheed, H. (2025) · Renewable and Sustainable Energy Reviews · doi:10.1016/j.rser.2025.116356 · Cited by 54
Adinkrah, J., Kemausuor, F., Tchao, E. T., Nunoo‐Mensah, H., Agbemenu, A. S., Adu-Poku, A., & Kponyo, J. J. (2024) · Renewable and Sustainable Energy Reviews · doi:10.1016/j.rser.2024.115161 · Cited by 43
Feng, Z., An, J., Han, M., Ji, X., Zhang, X., Wang, C., Liu, X., & Kang, L. (2024) · Journal of Building Engineering · doi:10.1016/j.jobe.2024.109612 · Cited by 34
Krishnamurthy, S., Adewuyi, O. B., Luwaca, E., Ratshitanga, M., & Moodley, P. (2024) · Energy Conversion and Management X · doi:10.1016/j.ecmx.2024.100772 · Cited by 62
Forecasting Electricity Demand in Turkey Using Optimization and Machine Learning Algorithms
Saglam, M., Spataru, C., & Karaman, Ö. A. (2023) · Energies · doi:10.3390/en16114499 · Cited by 31
“[37] developed a transformer-based model for estimating energy consumption in an actual university library and compared it to a baseline model, SVR.”
ResultEffect of Block Morphology on Building Energy Consumption of Office Blocks: A Case of Wuhan, China
Shen, X., Li, G., Zhang, H., Xie, M., Mendis, T., & Du, H. (2023) · Buildings · doi:10.3390/buildings13030768 · Cited by 40
Can transformers transform financial forecasting?
Souto, H. G., & Moradi, A. (2024) · China Finance Review International · doi:10.1108/cfri-01-2024-0032 · Cited by 33
Álvarez-López, C., González-Briones, A., & Li, T. (2026) · Electronics · doi:10.3390/electronics15020385 · Cited by 23
Electricity Consumption and Efficiency Measures in Public Buildings: A Comprehensive Review
Ortiz-Peña, A., Honrubia‐Escribano, A., & Gómez‐Lázaro, E. (2025) · Energies · doi:10.3390/en18030609 · Cited by 21
Hybrid deep learning models with data fusion approach for electricity load forecasting
Özen, S., Yazıcı, A., & Atalay, V. (2024) · Expert Systems · doi:10.1111/exsy.13741 · Cited by 16
A Multi-Scaler Hybrid Autoformer for Enhanced Time Series Forecasting in Energy Consumption
Wang, W., Li, X., & Yan, P. (2024) · IEEE Access · doi:10.1109/access.2024.3522563 · Cited by 15
Toward Large Energy Models: A comparative study of Transformers’ efficacy for energy forecasting
Gu, Y., Jazizadeh, F., & Wang, X. (2025) · Applied Energy · doi:10.1016/j.apenergy.2025.125358 · Cited by 20
Zhang, Z., Liu, Y., & Du, Z. (2023) · Buildings · doi:10.3390/buildings13061570 · Cited by 6
“[22] developed a support vector machine (SVM) model for predicting and diagnosing the total energy consumption in public buildings.”
BackgroundAlba, E. L., Ribeiro, M. H. D. M., Oliveira, G. A., Rodrigues, É. O., & Trojan, F. (2024) · Proceedings International Conference on Industrial Engineering and Operations Management · doi:10.14488/ijcieom2024_full_0080_37962 · Cited by 4
“…a comprehensive review of the literature on water and electricity consumption forecasting, two machine learning models emerged as prominent choices due to their widespread adoption: Random Forest (RF) [5, 9, 15–17] and Support Vector Regression (SVR) [2, 8, 13, 15, 16] exhibited good performances.”
BackgroundMethodStatistical and Machine Learning Approaches for Electrical Energy Forecasting
Machado, S., & Xingquan Zhu, A. (2025) · Wiley Interdisciplinary Reviews Data Mining and Knowledge Discovery · doi:10.1002/widm.70033 · Cited by 3
Xiao, J., Zhou, H. M., Chen, S., Zhao, Y., & Lin, B. (2025) · Journal of Cleaner Production · doi:10.1016/j.jclepro.2025.146663 · Cited by 3
Nikou, R., Goli, A., & Zackery, A. (2025) · Journal of Dynamics and Games · doi:10.3934/jdg.2024029 · Cited by 3
Qin, M., Xu, R., Xu, L., Zhao, B., Chen, X., & Du, Z. (2025) · Environmental Research · doi:10.1016/j.envres.2025.123627 · Cited by 3
Zheng, L., Fang, X., Jin, X., Li, Q., & Chen, W. (2024) · Advances in Mechanical Engineering · doi:10.1177/16878132241229817 · Cited by 2
Kermia, M. H., Aiwansedo, K., Djadane, O., Bosche, J., & Abbes, D. (2023) · International Conference on Systems and Control (ICSC) · doi:10.1109/icsc58660.2023.10449779
Accurate Estimation of Density of Liquid Siloxanes Via Robust Machine Learning Methods
Liu, H., Adhab, A. H., Padmapriya, G., Yadav, A., Kashyap, A., Chennakesavulu, K., Mohanty, B., Srivastava, M., Mahdi, M. S., Shomurotova, S., et al. (2025) · Silicon · doi:10.1007/s12633-025-03375-8
Guo, Y., Wang, H., Allaoui, H., Boulaksil, Y., & Li, W. (2025) · SSRN Electronic Journal · doi:10.2139/ssrn.5870475
AI and Sustainable Building Automation Systems (BAS): Envisioned Roles and Emerging Challenges
Rong, E. Z., Sabie, D., Liu, M., Zakaria, C., McEwen, R. N., & Sabie, S. (2026) · CHI Conference on Human Factors in Computing Systems · doi:10.1145/3772318.3791126
Yang, Q., Wang, Z., Zhang, D., Hou, Q., & Yan, H. (2026) · Buildings · doi:10.3390/buildings16102021
“(1) Image Branch (ViT-based Feature Extractor): The geometric and spatial information from the floorplan images is processed by a Vision Transformer [47,48].”
A study on efficiency estimation of water based PV/T systems with machine learning methods
Demirci, M., & Özer, R. A. (2026) · Journal of King Saud University - Science · doi:10.25259/jksus_1980_2025
The Council of Experts: A Heterogeneous Rational-Aware Framework for Robust Energy Forecasting
Aouto, A., & Kim, D. (2026) · International Conference on Ubiquitous and Future Networks · doi:10.1109/icufn69619.2026.11628721
“Huang and Kaewunruen [11] benchmarked a standard Transformer against Support Vector Regression (SVR) on a public building dataset, finding that SVR ( R 2 = 0 .”
Long, C., Yang, X., Su, Y., Liu, F., Liu, Y., Ma, R., Zhang, W., & Gong, H. (2026) · Energies · doi:10.3390/en19163904
Naruse, H., Baba, Y., & Yamaha, M. (2026) · Energies · doi:10.3390/en19174125
Heterogeneity-aware model-agnostic meta-learning for residential building energy prediction
Wang, Z., Khazaei, A., Feng, F., & Pang, Z. (2026) · Building Simulation · doi:10.1007/s12273-026-1473-5
“They rely on explicit thermodynamic equations and detailed building information, including envelope construction characteristics and HVAC system specifications (Huang and Kaewunruen 2023) to generate high-fidelity simulations of building thermal behavior and energy consumption.”
Serrano-Arellano, J., Gómez, Y. C. R., Hernández-López, M. I., Demesa, N., Abarca–Jiménez, G. S., Aguilar-Castro, K. M., & Belman-Flores, J. M. (2026) · Sustainability · doi:10.3390/su182010280
A vision-enhanced multimodal framework for accurate building energy load forecasting
Sun, K., Guo, B., Rong, C., Prakash, A., Wang, S., & Zhao, J. (2026) · Building and Environment · doi:10.1016/j.buildenv.2026.115393
In search of hidden complexity: Artificial intelligence analyses of energy poverty
Kotova, M., Ruiz-Rivas, U., & Espino, A. L. (2026) · Energy Research & Social Science · doi:10.1016/j.erss.2026.105033
Metadata
- Authors
- Huang, J., & Kaewunruen, S.
- Affiliations
- University of Birmingham (GB)
- Corresponding author
- Kaewunruen, Sakdirat
- Venue
- Energies
- Publisher
- MDPI AG
- Published
- 2023-01-15
- Volume
- 16
- Issue
- 2
- Pages
- 966
- ISSN
- 1996-1073 (ISSN-L)
- OpenAlex
- W4316468254
- Cited by
- 38
- References
- 37
- Citations by year
- 2026: 10 · 2025: 10 · 2024: 13 · 2023: 5
- FWCI
- 2.82
- Type
- journal article
- Language
- en
- Open access
- gold
- doi.org
- Licence
- Locations
- Energies (publishedVersion, cc-by)
- University of Birmingham Research Portal (University of Birmingham) (submittedVersion, cc-by)
- RePEc: Research Papers in Economics (submittedVersion)
- DOAJ (DOAJ: Directory of Open Access Journals) (submittedVersion, cc-by-sa)
- Funders
- European Commission (691135)
- MDPI’s Invited Paper Initiative (691135)
- Topics
- Physical Sciences › Engineering › Electrical and Electronic Engineering › Energy Load and Power Forecasting
- Physical Sciences › Engineering › Building and Construction › Building Energy and Comfort Optimization
- Physical Sciences › Engineering › Electrical and Electronic Engineering › Smart Grid Energy Management
- Keywords
- load forecasting, transformer models, support vector regression, building energy consumption, academic libraries, electricity demand, self-attention, time series forecasting, sensitivity analysis, building energy management
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.