AI Chat Paper
Note: Please note that the following content is generated by AMiner AI. SciOpen does not take any responsibility related to this content.
{{lang === 'zh_CN' ? '文章概述' : 'Summary'}}
{{lang === 'en_US' ? '中' : 'Eng'}}
Chat more with AI
PDF (4.1 MB)
Collect
Submit Manuscript AI Chat Paper
Show Outline
Outline
Show full outline
Hide outline
Outline
Show full outline
Hide outline
Research Article | Open Access

AutoLFM: A multi-agent LLM framework for automated building load forecasting

Shuhao Li1, Wanfu Zheng1, Mingcheng Li1, Shanshuo Xing2, Zhe Wang1( )
State Key Laboratory of Climate Resilience for Coastal Cities (SKLCRCC), Department of Civil and Environmental Engineering, The Hong Kong University of Science and Technology, Hong Kong, China
College of Pipeline and Civil Engineering, China University of Petroleum, Qingdao, China
Show Author Information

Abstract

Large language models (LLMs) exhibit significant potential in automating data-driven building load forecasting (BLF) model development, substantially reducing reliance on human effort and domain expertise. However, direct application of LLMs faces challenges, including the large and indivisible nature of optimization problems, slow optimization, error-prone code generation, and underutilization of LLM reasoning capabilities. This study introduces AutoLFM, a novel multi-agent framework leveraging LLMs to automate the end-to-end BLF model development workflow. AutoLFM decomposes the complex modeling process using a two-stage optimization strategy, with specialized LLM agents (Retriever, Reasoner, Coder, and Validator) performing distinct tasks. Key mechanisms include dynamic knowledge retrieval for prompt enhancement, data-adaptive search space generation by the Reasoner, and verification-enhanced code generation between the Coder and Validator. Experimental evaluations on three real-world building datasets demonstrate that AutoLFM efficiently generates BLF models, achieving predictive accuracy comparable to or exceeding manually designed baselines and other LLM-based methods, with an average R2 improvement of 12.3%. It shortens the traditional development cycle from weeks to hours while achieving a 100% code generation success rate. Ablation study confirms the contributions of two-stage optimization, data-adaptive search space, and validation-enhanced code generation to the framework's performance and reliability. AutoLFM highlights the potential of multi-agent LLM systems in automating complex time-series forecasting tasks, significantly reducing development time and dependence on specialized knowledge.

Graphical Abstract

Electronic Supplementary Material

Download File(s)
bs-19-2-545_ESM.pdf (1.4 MB)

References

【1】
【1】
 
 
Building Simulation
Pages 545-568

{{item.num}}

Comments on this article

Go to comment

< Back to all reports

Review Status: {{reviewData.commendedNum}} Commended , {{reviewData.revisionRequiredNum}} Revision Required , {{reviewData.notCommendedNum}} Not Commended Under Peer Review

Review Comment

Close
Close
Cite this article:
Li S, Zheng W, Li M, et al. AutoLFM: A multi-agent LLM framework for automated building load forecasting. Building Simulation, 2026, 19(2): 545-568. https://doi.org/10.1007/s12273-025-1385-7

592

Views

57

Downloads

5

Crossref

3

Web of Science

7

Scopus

0

CSCD

Received: 14 September 2025
Revised: 01 November 2025
Accepted: 05 November 2025
Published: 28 January 2026
© Author(s) 2026

This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons license, and indicate if changes were made.

The images or other third party material in this article are included in the article’s Creative Commons license, unless indicated otherwise in a credit line to the material. If material is not included in the article’s Creative Commons license and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder.

To view a copy of this license, visit http://creativecommons.org/licenses/by/4.0/