Author
Listed:
- Jin, Ruiying
- Xin, Weilin
- Liang, Wei
- Chong, Adrian
- Xu, Peng
Abstract
In building energy systems, data-driven models have been widely applied to energy consumption forecasting and operational optimization. However, most existing approaches rely primarily on statistical correlations, making them difficult to maintain stable performance under out-of-distribution (OOD) scenarios, when data distribution shifts significantly. Moreover, these models generally fail to support counterfactual reasoning and other hypothetical analysis tasks that are critical for decision- making in real-world operations. To address these challenges, this paper proposes a causal graph-driven time series generative framework for building energy systems. The framework first applies the PCMCI causal discovery algorithm on high-dimensional multivariate time series data to automatically extract time-lagged causal graph structures that characterize the underlying system dynamics. Besides, a Graph Attention Network (GAT) is employed to encode the causal graph into continuous low-dimensional vector representations, which are subsequently processed by an optimized Sequence-to-Sequence (Seq2Seq) model to generate the final results. Experimental results on standard building energy forecasting scenarios show that, although causal learning incurs additional computational overhead, the proposed method achieves strong and stable predictive performance, with the RMSE of 1.21 kW and R2 of 0.98, outperforming an optimal ablation baseline from 36.9% to 72.3%. These findings highlight that combining causal discovery with a generative model provides an effective solution for counterfactual analysis and OOD forecasting in building energy systems.
Suggested Citation
Jin, Ruiying & Xin, Weilin & Liang, Wei & Chong, Adrian & Xu, Peng, 2026.
"A graph-based Seq2Seq framework for causal discovery and out-of-distribution forecasting in building energy systems,"
Applied Energy, Elsevier, vol. 417(C).
Handle:
RePEc:eee:appene:v:417:y:2026:i:c:s0306261926006501
DOI: 10.1016/j.apenergy.2026.127998
Download full text from publisher
As the access to this document is restricted, you may want to
for a different version of it.
Corrections
All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:eee:appene:v:417:y:2026:i:c:s0306261926006501. See general information about how to correct material in RePEc.
If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.
We have no bibliographic references for this item. You can help adding them by using this form .
If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.
For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Catherine Liu (email available below). General contact details of provider: http://www.elsevier.com/wps/find/journaldescription.cws_home/405891/description#description .
Please note that corrections may take a couple of weeks to filter through
the various RePEc services.