arXiv:2610.31959cs.IROct 2026

Manuscript Offprint

arXiv:2610.31959

A Model-Agnostic Correction Framework for Short-Term Building Load Forecasting

Shiqiao Zhou, Huanbo Lyu, Holger Schöner, Zipeng Wu, Jessica Deuschel, Freya Wentzel, IAG Wilson, Shuo Wang

ABSTRACT

Short-term building load forecasting remains challenging because load patterns can change rapidly with weather and operating conditions. Data-driven forecasting models may become less reliable when the current operating regime is rare or poorly represented during training, even when similar situations exist elsewhere in the historical record. Recent advances in retrieval-augmented time series forecasting offer a promising way to adapt predictions to changing conditions by directly reusing relevant historical cases at inference time. Motivated by this idea, we propose WeL-RAC, a model-agnostic Weather-Load Retrieval-Augmented Correction framework that explicitly retrieves such evidence at prediction time. WeL-RAC retrieves historical cases that are similar to the current condition based on both recent load states and horizon-aligned weather forecasts. Their observed future load trajectories are then aggregated and used to correct the initial prediction, without retraining or modifying the base forecaster. We evaluate WeL-RAC on 31 building cases across three datasets, eight forecasting backbones, and four horizons from 1 to 18 hours. The framework improves the corresponding base forecasters in 90 of 96 dataset-level comparisons. Beyond accuracy, success and failure case studies further illustrate the framework's interpretability by tracing how retrieved historical evidence improves or degrades forecasts. These findings support explicit historical retrieval as an effective and interpretable complement to the building load forecasting.

1. Introduction

Buildings are a major source of energy demand and carbon emissions, making efficient building operation essential for the energy transition and climate-change mitigation [26]. In particular, short-term building energy forecasting supports operational decision-making by anticipating energy demand over the coming hours or days, thereby informing demand response, HVAC scheduling, peak-load management, model predictive control, and the optimisation of building energy efficiency and occupant comfort [3, 12, 37, 35]. Unlike long-term forecasts that primarily support planning and design, short-term forecasts must capture rapidly changing operating conditions and near-term external influences. This remains challenging because building loads are jointly affected by weather conditions, occupancy behaviour, HVAC operation, building thermal characteristics, and temporal usage patterns [51, 41, 18]. Their complex and time-varying interactions can induce nonlinear load dynamics and shifts in operating regimes, particularly under changing weather or abnormal building operation [33].

Existing studies have developed a wide range of building load forecasting models, including statistical, machine learning, deep learning, and hybrid approaches [12, 54]. These methods learn nonlinear temporal dependencies from historical loads and exogenous variables during training. Nevertheless, this training paradigm has a limitation in short-term load forecasting, where load patterns can change rapidly with weather and building operating conditions. Once trained, most parametric forecasters encode historical observations primarily in fixed model parameters and do not explicitly revisit individual past cases during inference [23]. Consequently, their predictions may become less reliable when the current operating regime is rare or underrepresented in the training distribution, even when comparable segments exist somewhere in the historical record. Although continual or online adaptation can update forecasting

∗^{*}Corresponding author

s.wang.2@bham.ac.uk (S. Wang)

ORCID(s): 0000-0003-1380-6428 (S. Wang)

: Preprint submitted to Elsevier

Page 1 of 23

Figure

Figure 1: Illustration of retrieval-augmented forecasting. Taking building energy forecasting as an example, the process consists of three main steps: (1) the current load, weather, and other information are used to form the forecasting query; (2) similar historical cases are retrieved from a historical data pool based on the current input conditions, and their observed future load trajectories are aggregated as retrieval evidence; and (3) the retrieved evidence is combined with the initial prediction from the forecasting model to produce the final forecast.

models as operating conditions evolve [33], a complementary approach is to access relevant historical experience directly at inference time without modifying the forecaster's parameters. When the recent load state and weather resemble those of a previously observed segment, its subsequent load trajectory can provide a useful historical reference for the current forecast [28, 21].

The value of such historical analogues has been recognized in similar-day and nearest-neighbor-based forecasting methods, which typically select historical days with similar calendar or weather conditions and use their load profiles to construct forecasts. Existing methods span different strategies for similar-day selection, forecasting, and their integration [1, 38, 55, 28, 21]. However, similarity in building loads is inherently context dependent. Historical periods with similar recent load patterns may evolve differently under different future weather conditions, while weather-similar periods may correspond to different building operating states. Consequently, retrieval based on a single similarity criterion may select historical profiles whose future trajectories are not fully compatible with the current forecasting context. Moreover, because retrieved analogues represent only approximate matches to the current condition, using them as standalone forecasts may not be sufficiently reliable to replace an existing parametric forecaster.

Retrieval-augmented forecasting provides a natural way to complement a trained parametric forecaster with explicitly accessible historical information. Inspired by retrieval-augmented generation in natural language processing [32], recent time-series studies retrieve relevant historical segments and exploit their associated future trajectories or representations to improve forecasting [50, 23, 58, 8]. As illustrated in Fig. 1, a key idea is to reuse the observed futures of similar historical segments and combine them with the prediction of the forecasting model. This paradigm is particularly attractive for short-term building load forecasting, where predictions must respond rapidly to changing operating and weather conditions. However, many existing retrieval methods primarily determine relevance from the observed input sequence itself [50, 23]. In usual, short-term building load forecasting not only consider the past load but also uses an additional source of information that can be exploited at retrieval time: weather forecasts over the prediction horizon are often available before the future load is observed. In particular, jointly considering the recent

: Preprint submitted to Elsevier

Page 2 of 23 load state and weather conditions can help identify historical trajectories that are more compatible with the current forecasting context. Their observed future loads can then serve as a complementary reference for correcting the initial building load prediction. Such a retrieve-and-correct formulation enables fast adaptation to the current input while preserving the architecture and parameters of the forecaster.

Motivated by these considerations, this study proposes WeL-RAC, a Weather–Load Retrieval-Augmented Correction framework for short-term building load forecasting. WeL-RAC combines two complementary retrieval views: a numerical representation of the recent load state and a semantic representation of the horizon-aligned weather forecast. The forecasting branch first generates an initial prediction using a base forecaster. The retrieval branch compares the current load state with historical load states in a numerical feature space, while comparing a textual summary of the upcoming weather forecast with horizon-aligned historical weather summaries in a semantic embedding space. The two similarity signals are then fused to retrieve the top-K historical cases, whose observed future load trajectories are aggregated into a retrieved future trajectory. Finally, the correction module performs weighted fusion between the initial forecast and the retrieved future trajectory to produce the final prediction.

The main contributions of this study are summarized as follows:

  • We formulate short-term building load forecasting as a retrieval-augmented correction problem and propose a model-agnostic framework that can enhance existing forecasters without modifying their internal architectures.

  • We develop a dual-view retrieval mechanism that jointly considers recent load states and weather contexts to identify relevant historical analogues and retrieve their corresponding future load trajectories without additional training of the retrieval module.

  • We provide case-based interpretability by explicitly linking each forecast correction to retrieved historical cases, allowing the source and direction of beneficial or harmful adjustments to be directly inspected.

  • We conduct extensive experiments on 31 building cases across three datasets, eight forecasting backbones, and four forecasting horizons, together with ablation, sensitivity, and computational cost analyses to systematically evaluate the proposed framework.

The remainder of this paper is organized as follows. Section 2 reviews related work on time series forecasting and building load forecasting. Section 3 presents the proposed WeL-RAC framework, including the forecasting, retrieval, and correction components. Section 4 describes the datasets, experimental settings, baselines, evaluation metrics, and hyperparameter selection. Section 5 reports the main forecasting results together with ablation, sensitivity, and computational-cost analyses. Section 6 provides case studies to further illustrate when retrieval correction succeeds or fails. Finally, Section 7 discusses the limitations of the proposed approach and concludes the paper.

References (59)