Manuscript Offprint
arXiv:2610.31959A Model-Agnostic Correction Framework for Short-Term Building Load Forecasting
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 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.
2.1. Time Series Forecasting
Time series forecasting has progressed from classical statistical approaches, including exponential smoothing, autoregressive integrated moving average models, and state-space models, to machine-learning methods such as support vector regression, tree-based ensembles, and artificial neural networks [7, 25]. Deep learning subsequently improved temporal representation learning through recurrent architectures such as long short-term memory networks [24] and Transformer-based forecasters such as Informer and PatchTST [57, 42]. More recently, LLM-based and foundation-model approaches have explored numerical sequence tokenization, language-model reprogramming, and large-scale time series pre-training. Representative methods include LLMTime, Time-LLM, TimesFM and Chronos [22, 29, 10, 5]. Although these developments have substantially improved nonlinear modeling, long-range dependency learning, and cross-domain generalization, most existing approaches remain predominantly parametric: knowledge extracted from the training data is compressed into model parameters, while inference generally relies on a bounded observation window. Consequently, sparse but informative historical operating regimes may not be explicitly accessible when forecasts are generated. This limitation is particularly restrictive for building energy consumption forecasting, where similar load trajectories can evolve differently under different weather and operational conditions.
Retrieval-based forecasting provides a complementary non-parametric mechanism by explicitly accessing relevant historical cases at inference time. Such ideas have roots in analog forecasting, nearest-neighbor regression, dynamic
: Preprint submitted to Elsevier
Page 3 of 23 time warping, and case-based reasoning. Early analog-ensemble methods, for example, constructed probabilistic weather forecasts from observations associated with historical numerical weather predictions similar to the current forecast [13], and later extended this principle to short-term wind-power forecasting using historical power observations associated with analogous weather forecasts [2]. Modern retrieval-augmented forecasting transfers the retrieval-augmented generation principle from natural language processing to temporal prediction [31]. RAFT retrieves training windows similar to the current input and uses their corresponding future trajectories to augment forecasting [23]. Retrieval has also been combined with LLMs and time series foundation models: TimeRAG uses dynamic time warping to retrieve reference sequences for prompt augmentation, TimeRAF employs an end-to-end learnable retriever and channel prompting, and TS-RAG retrieves semantically relevant temporal segments and adaptively fuses them with foundation-model representations [50, 53, 43]. More recent studies have further examined how retrieved evidence can be made more informative and reliable. SARAF balances retrieval relevance and regime diversity and performs stationarity-aware aggregation of retrieved futures [58], while SERAF shows that numerical time-series retrieval and semantic retrieval can provide complementary historical evidence [59]. Motivated by this complementary dual-view retrieval principle, WeL-RAC adapts and reformulates the two retrieval views for short-term building energy forecasting. Rather than matching raw historical input sequences, the numerical branch represents recent building demand using a compact load-state summary that summarizes the current operating condition. Meanwhile, the semantic branch moves beyond descriptions derived from the observed historical input and instead exploits horizon-aligned weather forecasts, retrieving historical cases under similar anticipated weather conditions. The resulting load-state and weather similarities are jointly used to identify historical analogues. Importantly, the retrieval and fusion process is training-free and operates as an external post-prediction correction layer, decoupled from the internal architecture of the forecasting model. WeL-RAC can therefore be attached to different forecasters without retraining or modifying their architectures, providing a lightweight and interpretable retrieval-augmented mechanism tailored to building energy forecasting.
2.2. Building Energy Forecasting
Building load forecasting supports applications such as HVAC control, demand response, peak-load management, and energy-efficient building operation. Building loads are strongly influenced by external and operational factors, including weather conditions, calendar patterns, occupancy behaviour, and HVAC operation [36]. Building energy and thermal modeling broadly follows physics-based and data-driven approaches, with the former exemplified by building simulation tools such as EnergyPlus [9]. Hybrid approaches combine physical knowledge with data, as in resistance–capacitance grey-box models and physically consistent neural networks [6, 14]. Data-driven forecasting methods commonly incorporate historical energy consumption together with weather and calendar variables to capture nonlinear and context-dependent demand patterns [56, 12, 11, 46]. A wide range of machine-learning and deep-learning approaches have been investigated for this purpose, while relatively simple models such as SVR and tree-based methods can remain competitive in building-level forecasting [15, 19, 20, 49].
Beyond directly incorporating external variables into general energy forecasting models, another line of research exploits historically similar operating conditions. Similar-day and analogue-based methods identify historical periods that resemble the current forecasting context according to temporal patterns, weather conditions, calendar information, or load characteristics. Earlier studies used such similarity to select more relevant historical samples or construct forecasts from comparable load profiles [44, 38, 55]. More recent work has further introduced learned similar-day screening and adaptive adjustment of historical analogue profiles under changing operating conditions [28, 21]. These studies demonstrate that historically similar cases can provide useful empirical evidence for building energy forecasting, and can be viewed as important predecessors of retrieval-based forecasting.
However, existing similar-day and analogue-based approaches are typically designed as standalone forecasting strategies or training-data selection procedures. Historical analogues are therefore rarely formulated as an external, model-agnostic source of evidence that can directly correct predictions from heterogeneous forecasting models. Moreover, prior work suggests that both load conditions and weather conditions are important for identifying informative historical analogues [38, 55]. This observation motivates the dual-view similarity design adopted in our retrieval-augmented correction framework, which jointly considers recent load states and future weather contexts when retrieving historical evidence for prediction correction.
: Preprint submitted to Elsevier
Page 4 of 23

Figure 2: Schematic overview of WeL-RAC. The forecasting branch generates an initial prediction from historical load and covariates. The retrieval branch matches the current load state and horizon-aligned weather summary against historical memory banks, retrieves top-K analogue futures, and aggregates their realised trajectories. The correction module performs post-prediction fusion between the initial prediction and the retrieved evidence to produce the final prediction.
3. Methodology
This section introduces WeL-RAC, a Weather-Load Retrieval-Augmented Correction framework for short-term building load forecasting. WeL-RAC separates parametric forecasting from non-parametric evidence retrieval. A trained base forecaster first produces an initial load prediction from the historical load and covariate window. The retrieval module then searches a training-period memory for historical cases that are similar to the current forecast origin in two complementary aspects: recent load state and horizon-aligned weather regime. The retrieved future load trajectories are aggregated as empirical evidence and fused with the initial prediction through a post-prediction correction module. This design allows retrieval to act as a lightweight calibration layer that can be attached to different forecasting backbones without changing their internal architectures.
3.1. Framework Overview
Fig. 2 shows the overall pipeline. At each forecast origin, the input component provides three aligned information sources: a historical load-covariate window for the base forecaster, a recent load window for load-state matching, and a horizon-aligned weather forecast for weather-summary retrieval. The forecasting branch maps the historical load-covariate window to an initial prediction. The retrieval branch compares the current query with two training-period banks: a load-state bank and a load-aligned weather-summary bank. The two similarity scores are fused into a single analogue score, from which the top-K historical analogue futures are selected and aggregated. The correction module then combines the initial prediction with the aggregated retrieved evidence to generate the final forecast.
3.2. Problem Definition and Formulation
Definition 1 (Single building load forecasting). We consider the standard exogenous time series forecasting setting for building electricity consumption, where a multivariate input sequence is observed but only one target channel is predicted. For a single building, let
denote the observation at time step , where is the target building load, also referred to as the single output target (OT), and contains exogenous covariates such as calendar indicators, weather variables, and other
: Preprint submitted to Elsevier
Page 5 of 23 available auxiliary features. For a forecast origin t, an input length L, and a prediction horizon H, the historical input window is
The future target trajectory is
For datasets containing multiple buildings, this formulation is applied independently to each building. WeL-RAC does not assume or model cross-building spatial dependencies.
Definition 2 (Retrieval query). WeL-RAC uses two query signals for retrieval: a weather-summary query constructed from the horizon-aligned weather forecast and a recent load-state summary. Let denote the weather variables used by the retrieval branch, such as temperature, humidity, dew point, precipitation, and wind speed when available. At inference time, the forecast weather window and its textual query are
where the superscripts q and h denote query-side and historical-memory retrieval quantities, respectively. The operator is the shared weather-summary operator used throughout WeL-RAC. It maps both the current forecast-weather window and the historical horizon-aligned weather windows stored in memory to template-based natural-language descriptions under the same field-selection rules. The input load segment is encoded into the query load-state summary as
Here is a deterministic load-state encoder that summarises recent load level, variability, extrema, net change, trend, and short-term differences. The summary is standardised using training-set statistics and then -normalised, yielding . In the following derivations, and denote the weather-summary and load-state query for the current forecast origin.
Definition 3 (Retrieval-corrected forecasting task). WeL-RAC is designed as a correction framework rather than a replacement for the base forecaster. Given the historical input X, a trained base model first produces an initial prediction:
where is the initial prediction. The retrieval module then searches a horizon-specific training memory using the query and returns an aggregated analogue future:
The final prediction is obtained by correcting the initial prediction with the retrieved evidence:
Here denotes the post-prediction correction module that fuses the initial prediction with the retrieved analogue evidence. The memory is built only from the training period, so no validation or test future information is used for retrieval. This formulation makes the role of WeL-RAC explicit: the base model provides the initial prediction, while retrieval supplies instance-specific evidence for post-prediction correction.
3.3. Forecasting Branch
The forecasting branch produces the initial prediction to be corrected. The base forecaster may be instantiated as a linear temporal model, a tree-based regressor, a neural sequence model, a Transformer-based architecture, or a pretrained time series foundation model. It maps the historical load and covariates window X to the initial prediction in Eq. (6). WeL-RAC does not impose any architectural constraint on and does not modify its training objective. The retrieval module is therefore decoupled from the internal representation of the base model and operates as an external correction layer.
: Preprint submitted to Elsevier
Page 6 of 23
Weather Summary Template:
"Weather summary for a {horizon}-hour window starting {time}." "The overall temperature pattern is {temp_mean}, with a peak in the {temp_max} range and a low in the {temp_min} range." "The temperature trend is {trend}, with {hot_ratio} hot-hour coverage." "Humidity feels {humidity}, and dew-point conditions are {dewpoint}." "Precipitation conditions are {precip}, with {wind} winds." "Humid-heat risk is {risk}."
Figure 3: Conditional weather-summary template for representing both horizon-aligned forecast and historical weather windows. The template fields are defined and selected in Table 1.
Table 1 Weather-summary fields and phrase-selection rules.
| Template field | Source statistic | Phrase selection |
|---|---|---|
| horizon | Prediction length | Numeric horizon, expressed in hours for hourly datasets. |
| time | Start timestamp of the forecast window | night; morning; afternoon; evening. |
| temp_mean | Mean temperature over the horizon | cold; mild; warm; hot; very hot. |
| temp_max | Maximum temperature over the horizon | cool; mild; warm; hot; very hot. |
| temp_min | Minimum temperature over the horizon | cold; cool; mild; warm; hot. |
| trend | Temperature change | falling quickly; falling; mostly steady; rising; rising quickly. |
| hot_ratio | Fraction of horizon above the hot-temperature threshold | little to no; some; roughly half; mostly. |
| humidity | Mean relative humidity, if available | very dry; dry; moderate; humid; very humid. |
| dewpoint | Mean dew point, if available | very dry; dry; comfortable; sticky; tropical. |
| precip | Precipitation amount or precipitation flag, if available | dry; slight chance of rain; light rain; wet conditions. |
| wind | Mean or peak wind speed, if available | calm; light; moderate; windy. |
| risk | Joint hot-humid condition derived from temperature and moisture fields | low; elevated. |
3.4. Weather Summary Construction
The weather-summary channel represents any horizon-aligned weather window as a textual description before semantic embedding. A single deterministic operator is used on both sides of retrieval. For the current forecast origin, the future weather forecast is transformed into the query summary . For a historical memory item , the stored horizon-aligned weather window for the same lead-time range is transformed by the same operator:
where is the historical horizon-aligned weather window stored in memory item . Its dataset-specific source is described in Sec. 4.1; in all cases, the same template, field-selection rules, and phrase categories are used for query and memory summaries. This ensures that weather contexts are embedded in a comparable textual space. The template is conditional: temperature and time fields are used whenever available; humidity and dew-point clauses are included when moisture variables exist; and precipitation or wind clauses are omitted for datasets that do not provide those variables. Fig. 3 gives the summary template, and Table 1 lists the fields used to instantiate it.
A frozen text encoder maps each summary to an -normalised embedding:
This semantic representation supports retrieval over weather regimes rather than direct pointwise comparison of raw weather variables.
: Preprint submitted to Elsevier
Page 7 of 23
3.5. Load-State Summary
The load-state branch converts a pure recent load segment into a compact numerical summary before similarity matching. This summary is intended to characterise the current operating state of the building, rather than to forecast the future load directly. For the query at forecast origin , the input to the load-state encoder is the recent load-only sequence . For a historical memory item indexed by forecast origin , the same construction gives and .
In the default setting, maps the recent load segment to a 9-dimensional statistical state summary:
Here , , , and denote the mean, standard deviation, minimum, and maximum of ; denotes the linear trend slope fitted over the same segment; and denotes the average recent first difference over the last steps, with . Thus, the summary summary combines the latest demand level, central tendency, dispersion, range, net change, long-window trend, and short-window ramping behaviour. After extraction, the summary is standardised using training-set statistics and -normalised before cosine similarity is computed. In the pure-load-sequence ablation, is set to the identity mapping, and the normalised recent load window itself is used as the load-state summary.
3.6. Retrieval Memory and Similarity Fusion
For each horizon , WeL-RAC constructs a retrieval memory from training-set forecast origins whose full future horizon is observed. Since the horizon is fixed within one retrieval task, we write this memory simply as . Each memory item is indexed by a historical forecast origin and contains a historical load-state summary generated by the same encoder , a weather-summary embedding generated as from its stored horizon-aligned weather window, and the realised future load trajectory:
The memory is
where is stored in the load-state bank, is stored in the load-aligned weather-summary bank, and is the corresponding candidate analogue future. All weather-summary embeddings and load-state summaries are normalised before similarity computation as we mentioned before. The term load-aligned indicates that the weather summary and the realised future trajectory are associated with the same historical forecast origin and horizon.
Given the current query, the weather-summary similarity to memory item j is computed as the cosine similarity:
The load-state similarity is computed analogously:
The two retrieval signals are then combined into a single analogue score:
where controls the relative contribution of recent load-state matching. Setting yields purely weather-summary retrieval, while yields purely load-state retrieval. Intermediate values retrieve historical futures that are both meteorologically relevant and operationally compatible with the current building state.
3.7. Retrieval of Analogue Futures
Let be the set of top-K memory items ranked by the analogue score in Eq. (16). Their contributions are normalised through a temperature-scaled softmax:
: Preprint submitted to Elsevier
Page 8 of 23
Table 2
Overview of the datasets used in this study.
| Dataset | Type | Scope | Building ID | Time span | Resolution | Records per building |
|---|---|---|---|---|---|---|
| AlphaBuilding | Synthetic | 9 simulated buildings | 1–9 | 2 years | Hourly | 17,520 |
| ASU | Real-world | 12 campus buildings | 10–21 | 3 years | Hourly | 26,280 |
| UCF | Real-world | 10 campus buildings | 22–31 | 3 years | Hourly | 26,278 |
where controls the concentration of neighbour weights. The retrieved future evidence is the weighted average of the realised futures associated with the selected analogues:
The resulting trajectory is a non-parametric analogue forecast induced from historical futures that resemble the current load state and weather regime.
3.8. Post-prediction Retrieval-Augmented Correction
The retrieved futures provides an evidence-based correction target for the initial prediction, as shown in Fig. 2. The final WeL-RAC prediction is
Equation (19) instantiates the correction module as a lightweight weighted fusion. The correction coefficient controls the strength of retrieval correction for the current horizon. When , WeL-RAC reduces to the base forecaster; when , the final output relies entirely on retrieved analogue futures. Intermediate values provide conservative correction, which is useful when the base model is strong but can still benefit from historical evidence under similar weather-load conditions.
4. Experimental Setup
This section describes the datasets, forecasting protocol, baseline models, evaluation metric, and hyperparameter search spaces used to evaluate WeL-RAC. The goal is to ensure that the base forecasters and their retrieval-corrected variants are compared under the same chronological data split, forecasting horizons, and tuning procedure.
4.1. Datasets and Preprocessing
Table 2 summarizes the three benchmark datasets used in this study. We construct the benchmark datasets by selecting representative building cases from AlphaBuilding, Arizona State University (ASU), and University of Central Florida (UCF). For each case, the building load series are aligned with available building-related covariates and weather information, resulting in multivariate hourly time series that contain the forecasting target together with contextual information such as additional energy-use or operational variables and meteorological conditions. The exact data sources, selected buildings, and feature compositions differ across the three datasets and are described in Sections 4.1.1 and 4.1.2.
4.1.1. Synthetic Dataset
We use AlphaBuilding as the synthetic benchmark [34]. The dataset contains simulated hourly building electricity consumption together with weather information under different climate and building-efficiency settings. In this study, we use nine two-year load–weather series from three cities representing distinct climate conditions: Miami with a hot and humid climate, San Francisco with a mild marine climate, and Chicago with cold winters and hot summers. For each city, three energy-efficiency configurations (High, Standard, and Low) are included, representing different levels of building energy performance. The corresponding periods, building IDs, and efficiency levels are summarized in Table 3. Each building contains 17,520 hourly records, and the forecasting target OT is hourly building electricity consumption measured in kWh.
AlphaBuilding dataset page: https://lbnl-eta.github.io/AlphaBuilding-SyntheticDataset/.
: Preprint submitted to Elsevier
Page 9 of 23
Table 3 Composition of the AlphaBuilding dataset.
| City | Climate characteristics | Period | Building IDs (efficiency) |
|---|---|---|---|
| Miami | Hot and humid | 2002–2003 | 1 (High) / 2 (Low) / 3 (Standard) |
| San Francisco | Mild marine | 2014–2015 | 4 (High) / 5 (Low) / 6 (Standard) |
| Chicago | Cold winters and hot summers | 2006–2007 | 7 (High) / 8 (Low) / 9 (Standard) |
4.1.2. Real-world Datasets
For the ASU benchmark, we select 12 campus buildings from the Hierarchical Energy, Emissions, and Weather (HEEW) dataset , which integrates building-level energy records with weather observations. The source dataset incorporates missing-value imputation and anomaly correction as part of its original data preparation. Our preprocessing restricts the records to 2017–2019, constructs hourly timestamps, and aligns the building-level energy series with the shared weather observations. The building files are then organized into a common multivariate format, with electricity demand in kW designated as the prediction target (OT) and PV generation, cooling and heating loads, emissions, and observed weather variables retained as auxiliary channels. Each resulting building series contains 26,280 hourly records.
For the UCF real-world benchmark, we curate a subset from publicly available hourly utility-meter readings provided by the UCF Online Energy Information System (OEIS) . The raw time series data were not taken from BDG2; instead, BDG2 Panther/UCF records were used only as a metadata reference for building identifiers, use-type labels, floor area, construction year, site location, timezone, and climate-zone information . After excluding buildings with substantial target missingness or unsuitable data quality, the processed UCF subset contains 10 campus buildings from 2017 to 2019 in US/Eastern local time. Orlando area weather observations were collected from the Iowa State University Iowa Environmental Mesonet archive . The UCF target OT is electricity demand converted to kWh, and the weather covariates include temperature, dew point, relative humidity, wind speed, wind gust, sea-level pressure, and precipitation. Each resulting building series contains 26,278 hourly records. Missing wind gust values were set to zero, and remaining missing values were imputed by linear interpolation.
4.1.3. Forecast Weather Inputs
Because WeL-RAC constructs the weather-summary branch from horizon-aligned future weather information, each dataset is paired with a forecast-weather source. For AlphaBuilding, the future weather conditions associated with the simulated load trajectories are directly available. We therefore treat them as oracle weather forecasts, removing additional uncertainty from weather prediction and allowing the retrieval-correction mechanism to be evaluated more directly. This setting is used only for this synthetic dataset. For the ASU and UCF real-world benchmarks, external weather inputs are extracted from processed site-level High-Resolution Rapid Refresh (HRRR) forecast source. These sources cover 2017–2019 and provide forecast lead times from 1 to 18 hours at each site. HRRR is NOAA's hourly updated, convection-allowing, 3-km numerical weather prediction system for short-range forecasting [17, 27]. Notably, forecast origins without complete weather-forecast coverage under the adopted time-alignment policy are excluded from the evaluation for all methods, including the original forecaster, to ensure a consistent comparison set. At , this excludes 4 forecast origins per ASU building (48 in total) and 18 per UCF building (180 in total).
4.2. Baselines and Metrics
We evaluate WeL-RAC as a model-agnostic correction layer attached to eight representative forecasting backbones. The selected backbones cover feed-forward neural networks, tree-based learning, recurrent networks, linear time series models, Transformer-style forecasters, MLP-based multiscale forecasters, exogenous-aware Transformer forecasters, and pretrained time series foundation models. Specifically, we use MLP [45], LightGBM [30], LSTM [24], DLinear [52], PatchTST [42], TimeMixer [47], TimeXer [48], and Chronos-2 [4]. For each backbone, we compare the initial
HEEW dataset: https://doi.org/10.6084/m9.figshare.28425647.
UCF OEIS building utility data: https://oeis.ucf.edu/buildings; UCF OEIS description: https://energy.ucf.edu/2017/05/02/the-new-oeis-is-available/.
BDG2 repository: https://github.com/buds-lab/building-data-genome-project-2.
Iowa State IEM ASOS/METAR archive: https://mesonet.agron.iastate.edu/request/download.phtml.
: Preprint submitted to Elsevier
Page 10 of 23 prediction with the corresponding retrieval-corrected prediction. This paired design directly measures whether the proposed retrieval-correction mechanism improves a given forecaster without changing its internal architecture.
Let denote all target-prediction pairs obtained by flattening the evaluated test forecast horizons for a given model, where is the total number of evaluated load values and denotes the mean of the ground truth. We report four standard regression metrics: mean squared error (MSE), mean absolute error (MAE), coefficient of determination ( ), and mean absolute percentage error (MAPE). They are defined as
Lower MSE, MAE, and MAPE indicate better performance, whereas higher indicates a better fit.
4.3. Forecasting Protocol
The forecasting protocol defines how each prediction task is constructed and evaluated. For each building and each prediction horizon , the time series is split chronologically into training, validation, and test sets with a ratio of 7/1/2. For all trainable forecasting backbones, the training period is used to fit the forecasting model and construct the retrieval memory, while the validation period is used to select both forecasting-model hyperparameters and retrieval-correction hyperparameters. Chronos-2 is evaluated in its pretrained zero-shot configuration and is therefore neither trained nor fine-tuned on the building datasets; only its associated retrieval-correction hyperparameters are selected on the validation period. The test period is held out until the final evaluation.
At each forecast origin , the base forecaster receives the historical load-covariate window and produces the initial prediction . The retrieval branch uses the same forecast origin to construct the load-state query from the recent load segment and the weather-summary query from the horizon-aligned weather window. Retrieval is performed only against training-period memory items, and the retrieved analogue future is fused with the initial prediction using the correction rule in Eq. (19). This protocol prevents validation or test future load trajectories from entering the retrieval memory.
To ensure consistent paired comparisons, each base forecaster and its retrieval-corrected part use the same chronological data split, input length, prediction horizon, random seed settings, and evaluation windows. The main experiments use a common 24-hour input window for all forecasting backbones. For LightGBM, horizon-aligned weather forecasts are additionally included as future exogenous inputs. All reported results are obtained on the test set after selecting the forecaster and retrieval-correction hyperparameters on the validation set.
4.4. Hyperparameter Search
Hyperparameter selection is performed only on the validation period defined in Sec. 4.3. We separate the search into two parts. First, each trainable forecasting backbone is tuned using the candidate spaces in Table 4; Chronos-2 is evaluated with its fixed pretrained inference configuration and is therefore not included in this search table. Second, after the initial forecasts are obtained, the retrieval-correction branch is tuned using the candidate spaces in Table 5. The best configuration is selected according to validation performance under the primary metric, and the held-out test period is used only for final reporting. This two-stage procedure keeps the base forecast generation and retrieval correction comparable across paired initial and corrected predictions.
: Preprint submitted to Elsevier
Page 11 of 23
Table 4
Hyperparameter search spaces for the eight forecasting models. Curly braces {·} denote discrete candidate values, whereas square brackets [·] denote continuous search intervals. For continuous learning_rate intervals, sampling is performed on a logarithmic scale; discrete learning_rate values are searched only over the listed candidates.
| Model | Hyperparameter | Value range |
|---|---|---|
| MLP | learning_rate | |
| batch_size | {32, 64, 128} | |
| train_epochs | {10, 20, 30} | |
| hidden_layers | {1, 2, 3} | |
| hidden_dims_11 when hidden_layers=1 | {(16), (24), (32)} | |
| hidden_dims_12 when hidden_layers=2 | {(32, 16), (48, 24), (64, 32)} | |
| hidden_dims_13 when hidden_layers=3 | {(48, 32, 16), (64, 32, 16), (64, 64, 32), (96, 64, 32)} | |
| dropout | {0.0, 0.05, 0.10, 0.20} | |
| weight_decay | {0.0, 10, 10, 10} | |
| LightGBM | learning_rate | [0.01, 0.10] |
| num_leaves | {15, 31, 63, 127} | |
| max_depth | {-1, 4, 6, 8, 10} | |
| min_child_samples | {10, 20, 50, 100, 200} | |
| subsample | {0.6, 0.8, 1.0} | |
| colsample_bytree | {0.6, 0.8, 1.0} | |
| reg_lambda | {0.0, 0.1, 1.0, 5.0, 10.0} | |
| reg_alpha | {0.0, 0.001, 0.01, 0.1, 1.0} | |
| min_split_gain | {0.0, 0.01, 0.05, 0.1} | |
| PatchTST | learning_rate | |
| batch_size | {32, 64} | |
| train_epochs | {30} | |
| patch_len | {4, 6, 8} | |
| stride | {2, 4} | |
| d_model | {64, 128} | |
| e_layers | {1, 2} | |
| dropout | {0.1, 0.2} | |
| fc_dropout | {0.1, 0.2} | |
| DLinear | learning_rate | |
| batch_size | {32, 64, 128} | |
| train_epochs | {30} | |
| moving_avg | {3, 5, 7, 13} | |
| individual | {False, True} | |
| LSTM | learning_rate | |
| batch_size | {32, 64, 128} | |
| train_epochs | {30} | |
| hidden_size | {32, 64, 128} | |
| num_layers | {1, 2} | |
| dropout | {0.0, 0.1, 0.2} | |
| TimeMixer | learning_rate | |
| batch_size | {32, 64} | |
| train_epochs | {30} | |
| d_model | {64, 128} | |
| e_layers | {1, 2} | |
| downsampling_pair (layers, window) | {(1, 2), (1, 3), (2, 2)} | |
| moving_avg | {3, 5, 7} | |
| dropout | {0.0, 0.1, 0.2} | |
| TimeXer | learning_rate | |
| batch_size | {32, 64} | |
| train_epochs | {30} | |
| e_layers | {1, 2, 3} | |
| d_model | {128, 256, 512} |
5. Experimental Results
This section evaluates WeL-RAC on the synthetic AlphaBuilding dataset and the two real-world campus datasets, ASU and UCF. We first compare the initial and retrieval-corrected predictions of eight forecasting backbones at the dataset level, followed by analyses across individual buildings and forecasting horizons. We then conduct ablation
: Preprint submitted to Elsevier
Page 12 of 23
Table 5 Hyperparameter search space for the retrieval branch and correction module.
| Component | Hyperparameter | Value range |
|---|---|---|
| Retrieval Branch | (state weight) | {0.20, 0.35, 0.50, 0.65, 0.80} |
| (top_K) | {10, 15, 20, 30} | |
| (temperature) | {0.10, 0.20, 0.30} | |
| Correction Module | (correction coefficient) | {0.0, 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9, 1.0} |
studies and sensitivity analysis to examine the contributions of individual components and the effects of key retrieval and fusion parameters. Finally, we assess the computational cost of the retrieval-correction module.
5.1. Overall Forecasting Performance
As shown in Table 6, the proposed retrieval mechanism yields highly consistent improvements across the three building datasets and eight forecasting backbones. Among the original forecasters, LightGBM provides the strongest overall initial predictions on ASU and UCF, achieving the lowest MSE and MAE on both datasets, while PatchTST achieves the lowest initial MSE on AlphaBuilding. After incorporating retrieval, the enhanced models outperform their corresponding base forecasters in 90 of the 96 comparisons across datasets and metrics. In particular, MSE, MAE, and improve for every combination of forecasting backbone and dataset, demonstrating that the proposed mechanism is broadly effective across heterogeneous forecasting architectures rather than being tailored to a specific model class. The retrieval mechanism also changes the relative ranking of the forecasting backbones: LightGBM+Retrieval remains the strongest model on ASU in terms of MSE and MAE, whereas TimeMixer+Retrieval achieves the lowest MSE on both AlphaBuilding and UCF, with values of 74.674 and 246.582, respectively; LightGBM+Retrieval achieves the lowest MAE across all three datasets. The gains are particularly pronounced on AlphaBuilding, where models with comparatively weak initial predictions benefit substantially; for example, given the poor accuracy of the initial forecasts, the selected correction weight is for both DLinear and Chronos-2, effectively reducing the framework to retrieval-only forecasting. Their MSEs decrease from 540.429 to 112.013 and from 703.045 to 112.013, respectively. Improvements on ASU and UCF are generally more moderate but remain highly consistent for MSE, MAE, and . MAPE is the main exception, particularly on UCF, where retrieval occasionally increases the relative percentage error despite improving the other three metrics. Overall, these results indicate that retrieval provides complementary, instance-specific historical information that can robustly improve building load forecasts without modifying the underlying forecasting architecture.
5.2. Building-wise Results
Figure 4 evaluates retrieval gains at the building level, with relative MSE and MAE improvements averaged over all four forecasting horizons and eight forecasting backbones. Positive values indicate that retrieval improves the original forecast. Overall, retrieval improves MSE for 30 of the 31 buildings and MAE for 28 of the 31 buildings, indicating that the gains are broadly distributed across buildings rather than being driven by a few isolated cases.
The improvements are most consistent on AlphaBuilding (Buildings 1–9), where all buildings benefit, with average reductions of approximately 34.0% in MSE and 24.6% in MAE. ASU (Buildings 10–21) also shows stable gains, averaging about 8.0% in MSE and 2.8% in MAE, except building 18. UCF (Buildings 22–31) is more heterogeneous, with average improvements of approximately 5.2% in MSE and 1.1% in MAE, except building 29 and 30. Only a small number of UCF buildings exhibit degradation, with Building 30 being the clearest failure case. Overall, these results demonstrate that the proposed retrieval mechanism provides robust building-wise improvements across heterogeneous datasets. The larger gains on AlphaBuilding may be attributed to its synthetic nature, where more regular and repeatable patterns make similarity-based retrieval more likely to identify informative historical cases. In contrast, the real-world ASU and UCF datasets exhibit more complex and variable dynamics, such that historically similar conditions do not necessarily imply similar future load trajectories. We further investigate the factors underlying the success and failure of retrieval in Section 6.
5.3. Horizon-wise Results
Figure 5 presents the horizon-wise relative improvements brought by retrieval, averaged over all buildings and all eight forecasting backbones. AlphaBuilding shows consistently large gains across all forecasting horizons, with MSE
: Preprint submitted to Elsevier
Page 13 of 23
Table 6
Overall forecasting performance. For each building and horizon, all forecasters and their retrieval-enhanced counterparts are evaluated on exactly the same retained forecast origins. Metrics are computed separately for each building–horizon–seed combination and then equally averaged over all buildings, four forecasting horizons (), and three random seeds (2021, 0, and 42) within each dataset. All models use an input length of 24. Lower values are better for MSE, MAE, and MAPE, whereas higher values are better for . For each backbone, the better result between the original forecaster and its retrieval-enhanced counterpart is highlighted in bold. The Best column reports the number of better results among the 12 dataset–metric comparisons for each forecaster and retrieval pair. All displayed values are rounded to three decimal places; boldface and Best counts are determined using the original unrounded values.
| Method | ASU | AlphaBuilding | UCF | Best | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| MSE↓ | MAE↓ | MAPE↓ | MSE↓ | MAE↓ | MAPE↓ | MSE↓ | MAE↓ | MAPE↓ | |||||
| MLP | 543.840 | 12.382 | 0.753 | 0.064 | 105.593 | 5.205 | 0.947 | 0.093 | 291.787 | 9.117 | 0.789 | 0.058 | 1 |
| MLP+Retrieval | 532.139 | 12.237 | 0.773 | 0.063 | 93.421 | 4.577 | 0.952 | 0.080 | 280.019 | 9.094 | 0.793 | 0.064 | 11 |
| LightGBM | 480.667 | 11.002 | 0.784 | 0.057 | 129.410 | 4.413 | 0.932 | 0.073 | 256.371 | 8.620 | 0.799 | 0.073 | 0 |
| LightGBM+Retrieval | 474.789 | 10.974 | 0.792 | 0.057 | 81.687 | 4.181 | 0.957 | 0.071 | 250.241 | 8.544 | 0.802 | 0.073 | 12 |
| DLinear | 630.605 | 13.476 | 0.777 | 0.067 | 540.429 | 13.798 | 0.728 | 0.236 | 351.967 | 9.957 | 0.743 | 0.063 | 1 |
| DLinear+Retrieval | 561.233 | 12.953 | 0.799 | 0.065 | 112.013 | 4.814 | 0.942 | 0.081 | 309.098 | 9.781 | 0.764 | 0.070 | 11 |
| LSTM | 658.946 | 14.743 | 0.724 | 0.077 | 85.760 | 4.474 | 0.957 | 0.079 | 350.110 | 10.631 | 0.718 | 0.079 | 0 |
| LSTM+Retrieval | 594.805 | 13.618 | 0.759 | 0.071 | 77.218 | 4.220 | 0.961 | 0.074 | 313.508 | 10.086 | 0.743 | 0.077 | 12 |
| PatchTST | 589.027 | 13.917 | 0.763 | 0.072 | 84.651 | 4.831 | 0.957 | 0.086 | 343.086 | 10.585 | 0.731 | 0.081 | 0 |
| PatchTST+Retrieval | 558.501 | 13.185 | 0.778 | 0.068 | 77.219 | 4.416 | 0.961 | 0.077 | 311.510 | 10.058 | 0.750 | 0.079 | 12 |
| TimeMixer | 544.753 | 11.828 | 0.789 | 0.060 | 100.152 | 5.252 | 0.950 | 0.090 | 259.768 | 8.684 | 0.792 | 0.057 | 1 |
| TimeMixer+Retrieval | 501.236 | 11.512 | 0.809 | 0.059 | 74.674 | 4.526 | 0.962 | 0.077 | 246.582 | 8.586 | 0.802 | 0.061 | 11 |
| TimeXer | 554.301 | 11.862 | 0.806 | 0.060 | 123.162 | 6.193 | 0.937 | 0.114 | 283.434 | 9.068 | 0.789 | 0.057 | 1 |
| TimeXer+Retrieval | 527.180 | 11.682 | 0.815 | 0.060 | 96.709 | 4.874 | 0.950 | 0.087 | 266.839 | 8.957 | 0.798 | 0.062 | 11 |
| Chronos-2 | 740.949 | 14.012 | 0.741 | 0.067 | 703.045 | 14.558 | 0.648 | 0.231 | 383.182 | 9.990 | 0.733 | 0.061 | 2 |
| Chronos-2+Retrieval | 568.597 | 13.362 | 0.787 | 0.067 | 112.013 | 4.814 | 0.942 | 0.081 | 320.879 | 9.910 | 0.764 | 0.071 | 10 |
improvements remaining above 32% and MAE improvements above 22%. This indicates that retrieval provides strong and stable benefits for the synthetic benchmark over both short- and longer-horizon forecasting.
For the two real-world datasets, the effect of retrieval becomes more pronounced as the forecasting horizon increases. On ASU, the average MSE improvement changes from at to , , and at , respectively, while the MAE improvement increases from to around . UCF exhibits a similar trend, with MSE improvements growing from at to , , and at longer horizons, and MAE improvements rising from to . Overall, these results suggest that retrieval is particularly beneficial in longer-horizon forecasting, where the base forecasters face greater uncertainty and historical analogues provide more useful corrective information.
5.4. Comparison with Existing Retrieval-Based Methods
We compare WeL-RAC with RAFT [23], SERAF [59], and SARAF [58]. All three retrieval-based baseline implementations are MLP-based. And we searched hyperparameters on the validation set for each building–horizon task, rather than default settings. We therefore choose WeL-RAC with an MLP backbone to compare methods within the same forecaster family. Their input information is, however, not identical: the full WeL-RAC uses query-aligned future weather in its semantic-weather retrieval branch, whereas the three baselines use historical inputs without access to query-aligned future weather. To control for this difference in retrieval information, we additionally evaluate a load-only version of Wel-RAC, which removes the semantic-weather branch and retrieves using only historical load-state summaries. This provides a comparison without the additional future-weather information supplied through the retrieval branch.
Table 7 shows that the load-only variant achieves lower MSE and MAE than all three baselines on every dataset. Relative to the strongest baseline for each metric, its MSE reductions are , , and , and its MAE
: Preprint submitted to Elsevier
Page 14 of 23
AlphaBuilding ASU UCF MSE improvement MAE improvement

Figure 4: Building-wise relative improvements of the retrieval-enhanced forecasts over the corresponding original forecasters. Results are averaged over the four forecasting horizons ( ) and all eight forecasting backbones. Solid bars denote the relative improvement in MSE, while hatched bars denote the relative improvement in MAE. Positive values indicate that retrieval improves the original forecast. Building IDs 1–9, 10–21, and 22–31 correspond to AlphaBuilding, ASU, and UCF, respectively.
MSE improvement MAE improvement

Figure 5: Horizon-wise relative improvements of the retrieval-enhanced forecasts over the original forecasters for MSE and MAE. Results are averaged over all buildings within each dataset and over all eight forecasting backbones. In each panel, each forecasting horizon contains two bars: the plain bar denotes the MSE improvement and the hatched bar denotes the MAE improvement. Error bars indicate the interquartile range across forecasting backbones. Positive values indicate that retrieval improves the original forecast.
reductions are 2.88%, 51.63%, and 2.64% on ASU, AlphaBuilding, and UCF, respectively. Thus, competitive MSE and MAE are retained without semantic-weather retrieval. Enabling the weather branch further reduces MSE by 0.56%, 6.71%, and 2.81% relative to the load-only variant on the three datasets, respectively. The full model achieves the best results in 10 of the 12 dataset–metric comparisons; SERAF only remains best for on ASU and MAPE on UCF. These results suggest that WeL-RAC is better suited to building load consumption forecasting than the evaluated general retrieval-based methods. Its load-only variant already achieves lower MSE and MAE across all three datasets,
: Preprint submitted to Elsevier
Page 15 of 23
Table 7
Comparison with retrieval baselines. Load only denotes retrieval based solely on the proposed load-state summary of WeL-RAC, whereas the full version uses both retrieval branches. For each building and horizon, all methods are evaluated on the same retained forecast origins. Metrics are computed separately for each building–horizon–seed combination and then averaged equally over all buildings, four forecasting horizons (), and three random seeds within each dataset. All models use an input length of 24. Lower values are better for MSE, MAE, and MAPE, whereas higher values are better for . The best result among the five rows in each dataset–metric column is highlighted in bold. The Best column counts column-wise wins; both boldface and counts are determined using unrounded values.
| Method | ASU | AlphaBuilding | UCF | Best | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| MSE↓ | MAE↓ | MAPE↓ | MSE↓ | MAE↓ | MAPE↓ | MSE↓ | MAE↓ | MAPE↓ | |||||
| RAFT | 577.894 | 13.215 | 0.785 | 0.068 | 299.024 | 10.925 | 0.850 | 0.202 | 317.783 | 9.794 | 0.759 | 0.062 | 0 |
| SERAF | 543.535 | 12.718 | 0.798 | 0.065 | 249.901 | 9.864 | 0.874 | 0.178 | 295.230 | 9.467 | 0.775 | 0.061 | 2 |
| SARAF | 546.905 | 12.857 | 0.795 | 0.066 | 439.627 | 13.630 | 0.781 | 0.254 | 291.016 | 9.452 | 0.782 | 0.061 | 0 |
| MLP+Retrieval (load only) | 535.118 | 12.352 | 0.767 | 0.064 | 100.142 | 4.771 | 0.949 | 0.082 | 288.121 | 9.202 | 0.787 | 0.063 | 0 |
| MLP+Retrieval (full) | 532.139 | 12.237 | 0.773 | 0.063 | 93.421 | 4.577 | 0.952 | 0.080 | 280.019 | 9.094 | 0.793 | 0.064 | 10 |
Table 8
Dataset-level ablation results averaged over eight forecasting models. For each model, results are first averaged over all buildings, four forecasting horizons (), and three random seeds; the reported values are then macro-averaged across the eight models. Lower values are better for MSE, MAE, and MAPE, whereas higher values are better for . Boldface denotes the best result and underlining denotes the second-best result within each column.
| Method | ASU | AlphaBuilding | UCF | Best | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| MSE↓ | MAE↓ | MAPE↓ | MSE↓ | MAE↓ | MAPE↓ | MSE↓ | MAE↓ | MAPE↓ | |||||
| Full | 539.810 | 12.440 | 0.789 | 0.064 | 90.619 | 4.553 | 0.954 | 0.079 | 287.335 | 9.377 | 0.777 | 0.070 | 7 |
| Forecaster only | 592.886 | 12.903 | 0.767 | 0.065 | 234.025 | 7.340 | 0.882 | 0.125 | 314.963 | 9.582 | 0.762 | 0.066 | 1 |
| Retrieval only | 674.790 | 14.834 | 0.729 | 0.075 | 112.735 | 4.830 | 0.942 | 0.081 | 394.999 | 11.310 | 0.681 | 0.091 | 0 |
| Load summary only | 542.388 | 12.510 | 0.787 | 0.064 | 96.977 | 4.732 | 0.951 | 0.081 | 293.568 | 9.451 | 0.774 | 0.069 | 0 |
| Load raw sequence only | 554.645 | 12.835 | 0.780 | 0.065 | 83.288 | 4.318 | 0.958 | 0.072 | 325.249 | 9.941 | 0.764 | 0.071 | 1 |
| Weather summary + load raw | 553.016 | 12.823 | 0.780 | 0.065 | 82.853 | 4.269 | 0.958 | 0.073 | 321.613 | 9.906 | 0.765 | 0.073 | 3 |
| Weather numeric + load summary | 606.374 | 13.744 | 0.762 | 0.070 | 118.535 | 5.425 | 0.939 | 0.095 | 372.322 | 10.768 | 0.734 | 0.079 | 0 |
| Weather full summary only | 919.753 | 19.244 | 0.639 | 0.093 | 610.668 | 15.662 | 0.694 | 0.277 | 440.846 | 12.183 | 0.671 | 0.092 | 0 |
| Weather numeric only | 1053.586 | 20.879 | 0.586 | 0.110 | 658.023 | 17.283 | 0.671 | 0.304 | 540.277 | 13.638 | 0.601 | 0.097 | 0 |
while enabling the semantic-weather branch further improves both metrics, highlighting the value of incorporating domain-specific information into retrieval.
5.5. Ablation Studies
The ablation variants are defined as follows. Full is our model Wel-RAC. Forecaster only removes retrieval correction entirely (), while Retrieval only removes the forecaster contribution and relies entirely on retrieval (). Load summary only performs retrieval using only the proposed load-state summary, whereas Load raw sequence only uses the raw historical load sequence as the sole retrieval representation. Weather summary + load raw retains the proposed weather summary but replaces the load-state summary with the raw load sequence. Conversely, Weather numeric + load summary retains the load-state summary but replaces the proposed weather summary with direct numeric weather features. Finally, Weather summary only and Weather numeric only remove the load-state branch and perform retrieval using only the corresponding weather representation. Unless explicitly changed by an ablation, the selected retrieval and correction parameters are kept unchanged.
Overall Ablation analysis. Table 8 shows that the Full provides the most robust overall performance across the eight forecasting models, achieving the best result in 7 of the 12 across dataset and metric comparisons. In particular, it is best across all four metrics on ASU and achieves the lowest MSE and MAE and the highest on UCF. Load summary only is consistently the strongest competing variant on the two real-world datasets, whereas both weather-only variants are substantially weaker. Moreover, replacing the proposed weather summary with direct numeric weather inputs while keeping the load summary unchanged consistently degrades performance on all three datasets. Together, these results
: Preprint submitted to Elsevier
Page 16 of 23

Figure 6: Parameter sensitivity on ASU Building 10 using DLinear and PatchTST. Each curve reports the mean MSE over three random seeds for forecasting horizons , with error bars denoting one standard deviation. Each parameter is varied independently while the remaining configuration is fixed to the values selected by validation. Lower MSE is better.
indicate that load-state similarity provides the primary retrieval signal, while the structured weather representation supplies complementary information that improves the reliability of the correction.
Effect of load representation. The preferred load representation, however, depends on the dataset. On ASU and UCF, summary-based state matching is more effective than matching the complete historical load trajectory. In these real-world datasets, a similar load shape does not necessarily correspond to the same operating state or lead to a similar future load, whereas the state summary provides a more compact representation of the operating condition. AlphaBuilding exhibits the opposite behavior: its historical load profiles show stronger shape repetition, so retaining the complete load sequence makes it easier to identify reusable recurring patterns. Consequently, replacing the load summary with the raw sequence while keeping the weather representation unchanged yields the best MSE, MAE, and on AlphaBuilding. This contrast suggests that load summaries are beneficial when shape similarity is an imperfect proxy for operating state, whereas raw sequence matching can be preferable when historical load patterns are highly repetitive. In addition, the proposed load-state representation compresses each retrieval item from a 24-dimensional raw load sequence to a nine-dimensional state vector, reducing memory usage while preserving the information needed for effective state matching.
5.6. Sensitivity Analysis
We investigate the sensitivity of the retrieval-correction module using DLinear and PatchTST on Building 10 from the ASU dataset, considering forecasting horizons . Following a one-at-a-time sensitivity analysis, we vary , , , and independently. For each model and forecasting horizon, all other parameters are fixed to the configuration previously selected based on validation performance.
As shown in Fig. 6, the four retrieval parameters exhibit different levels of sensitivity. Overall, and have relatively limited effects on forecasting performance for both DLinear and PatchTST. For , the MSE shows a mild increasing trend as its value grows, particularly at longer forecasting horizons. Since a larger assigns greater weight to load-state similarity and less weight to weather similarity, this observation suggests that longer-horizon retrieval may benefit more from external weather information than from relying predominantly on recent load patterns. Similarly, varying from 10 to 30 results in only minor changes in MSE across all forecasting horizons, indicating that the method is not highly sensitive to the exact number of retrieved neighbors within the evaluated range. The temperature parameter is even less sensitive, with nearly overlapping curves over for both forecasting
: Preprint submitted to Elsevier
Page 17 of 23
Table 9 Computational cost of the retrieval-correction mechanism with MLP on UCF Building 30 at forecasting horizon .
| Memory build time | Memory size | Per-sample latency | Full-test runtime | Test samples |
|---|---|---|---|---|
| 5.668 s | 28.775 MiB | 6.135 ms | 7.232 s | 5,238 |
backbones and all four horizons. These results indicate that the retrieval mechanism is largely robust to the choice of within the evaluated range.
In contrast, has a substantially stronger influence on forecasting performance. Both models exhibit a consistent U-shaped trend across all four horizons, with the lowest MSE occurring around for and around for the longer horizons. Performance deteriorates when is either too small or, more noticeably, too large, suggesting that effective correction requires an appropriate balance between the original backbone forecast and the retrieval-based adjustment. Notably, the favorable region remains concentrated around despite the different error scales across forecasting horizons. Overall, the results show that the method is relatively robust to and , particularly insensitive to , while is the primary parameter governing the strength of retrieval correction.
5.7. Computational Cost
We evaluate the computational cost of the proposed retrieval branch and correction module with MLP on UCF Building 30, using an input length of 24 and a forecasting horizon of . Experiments are conducted on one NVIDIA GH200 GPU with four CPU threads. The retrieval parameters are fixed at , , , and , with 18,353 entries stored in the training-only retrieval memory. Inference timing excludes model initialization, memory construction, and file I/O, assuming that the required models, data, and retrieval memory are already loaded.
As shown in Table 9, building the retrieval memory takes 5.668 s and requires 28.775 MiB of storage. The retrieval and fusion process has a per-sample latency of 6.135 ms. For the full test set of 5,238 samples, the total runtime of post-hoc fusion is 7.232 s, indicating a modest computational cost for the proposed retrieval correction.
6. Case Study
WeL-RAC can offer case-based interpretability by explicitly linking forecast corrections to retrieved historical evidence. This section examines selected representative success and failure cases to illustrate how that evidence influences the final prediction. By comparing the initial forecasts, retrieved historical continuations, and observed loads, we further analyse how retrieval compensates for forecasting errors and why incompatible historical load levels can instead lead to harmful corrections.
6.1. Successful case studies
Fig. 7 illustrates how retrieval complements the MLP forecast in two selected 18-hour prediction windows for ASU building 10. In Fig. 7(a), the MLP underestimates the observed load throughout the forecast horizon, whereas the weighted historical continuation lies above the observations. Combining these predictions with the fixed, validation-selected retrieval weight reduces MSE from 81.33 to 18.86 (76.81%), showing that its contribution arises from compensating for the direction of the forecasting error. Fig. 7(b) exhibits the reverse correction: following the rise in the observed input, the MLP overestimates much of the subsequent declining load trajectory, while the retrieved continuation remains below the observations. The same fusion weight shifts the forecast downward, reducing MSE from 961.79 to 481.19 (49.97%). Across both cases, the historical trajectories therefore provide a correction whose direction complements the MLP error, while the dominant MLP contribution limits the influence of their load-level mismatch. These examples demonstrate the value of error complementarity under a fixed fusion rule; the benefit does not require the retrieved continuation to be individually more accurate than the MLP. These two success cases are selected for illustration; therefore, the reported improvements reflect these specific examples rather than the average performance over the full test set.
6.2. Failure case studies
Retrieval can degrade forecasting accuracy when the retrieved historical continuations are incompatible with the current load condition. For the MLP forecaster on Building 30 in the UCF dataset at , retrieval fusion increases
: Preprint submitted to Elsevier
Page 18 of 23
Observed input (24 h)
True future
MLP prediction
Final prediction
Pure retrieval: weighted Top-10 future
Retrieved samples (Top-10)
(a) Success case 1: Correcting underestimation Origin: 2019-05-29 15:00 | H = 18 | alpha = 0.2

(b) Success case 2: Reducing overestimation Origin: 2019-08-17 17:00 | H = 18 | alpha = 0.2

Figure 7: Two representative success cases of retrieval-assisted MLP forecasting on ASU Building 10. Both examples use an 18-hour forecasting horizon, a 24-hour input window, and seed 2021. (a) Retrieval corrects an underestimation case with forecast origin 29 May 2019 at 15:00. (b) Retrieval reduces overestimation with forecast origin 17 August 2019 at 17:00. The dark-gray line shows the preceding 24 hourly observations, and the black line with circle markers shows the true future. The blue dashed, green solid, and orange dash-dotted curves denote the MLP prediction, weighted Top-10 retrieval prediction, and final prediction, respectively. Light-gray curves show the input histories and subsequent load trajectories of the K retrieved training samples. Historical inputs and continuations are training-period observations, aligned to the query by their respective origins without changing load values.
the three-seed mean test MSE from 197.03 to 228.32, a deterioration of 15.88%. Fig. 8 examines two forecast origins within the same August 2019 low-load episode using seed 2021. Both cases retain the original validation-selected configuration, including the 24-hour input, Top-10 retrieval, and fusion weight . These windows are selected post hoc to diagnose the failure mechanism; they are not used to revise the reported configurations.
Fig. 8(a) shows a sharp reduction from approximately 150–160 to below 20, followed by an 18-hour period with a mean load of 17.60. This sustained low-load condition is absent from the validation period used for hyperparameter selection: validation contains no observations below approximately 78.82. The test episode therefore exposes a validation-to-test distribution shift in load level and persistence. Hyperparameters selected on validation data had no opportunity to be assessed against this abrupt transition into a sustained extreme-low-load state. The predictions in Fig. 8(a) illustrate the consequence of applying the selected configuration under this shift. The MLP anticipates a partial recovery, with a mean prediction of 54.57, while the retrieved historical continuations favor a stronger recovery and yield a weighted mean of 150.06. The fixed fusion weight of 0.5 raises the final mean prediction to 102.31, increasing the window MSE from 1455.97 to 7333.66. The retrieved recovery pattern is inappropriate because the actual load remains low throughout the forecast horizon. Together, the validation coverage and the plotted trajectories indicate a limitation in transferring the selected retrieval and fusion settings to an unseen load condition.
In Fig. 8(b), the recent input has already stabilized at a low level. The query and several retrieved samples exhibit qualitatively similar, relatively stable temporal profiles, but their absolute load levels differ substantially. The query input averages 17.57 kWh, whereas the retrieved histories fluctuate around much higher levels. Their weighted future averages 86.98 kWh, compared with the observed future mean of 17.82 kWh. Here, the prominent mismatch concerns scale: selecting broadly similar shape does not ensure an appropriate absolute load level.
This distinction is supported by the logged neighbor similarities. The retrieval-weighted load-state cosine similarity is 0.980, and the corresponding weather similarity is 0.988. These scores describe similarity in the retrieval representations, rather than equality of the raw load trajectories. Although the state representation includes recent levels and trends, the current standardized and normalized cosine matching does not sufficiently constrain absolute-load compatibility in this case. The MLP itself predicts a mean of 17.18 kWh and achieves a window MSE of 0.96.
: Preprint submitted to Elsevier
Page 19 of 23
Observed input (24 h)
True future
MLP prediction
Final prediction
Pure retrieval: weighted Top-10 future
Retrieved samples (Top-10)
(a) Failure case 1: Sudden load drop
Origin: 2019-08-09 18:00 | H = 18 | alpha = 0.5

(b) Failure case 2: Persistent low load
Origin: 2019-08-12 18:00 | H = 18 | alpha = 0.5

Figure 8: Two representative failure cases of retrieval-assisted MLP forecasting on UCF Building 30. Both examples use an 18-hour forecasting horizon and seed 2021. (a) A sudden load-drop case with forecast origin 9 August 2019 at 18:00. (b) A persistent low-load case with forecast origin 12 August 2019 at 18:00. The dark-gray line shows the preceding 24 hourly observations, and the black circles indicate the true future. The blue dashed, green solid, and orange dash-dotted curves represent the MLP prediction, weighted Top-10 retrieval prediction, and final prediction, respectively. Light-gray curves show the input histories and subsequent load trajectories of the ten retrieved training samples. Historical samples are aligned by their forecast origins and retain their original load levels.
Fusion with the higher-level retrieval output shifts the final mean to 52.08 kWh and increases MSE to 1181.92. Thus, retrieval can degrade an accurate MLP forecast even when the current input no longer contains a sharp transition.
6.3. Discussion and Implications
The above cases highlight an inherent interpretability advantage of WeL-RAC. Because the correction is explicitly derived from retrieved historical trajectories, the source and direction of each adjustment can be inspected directly. In the successful cases, the retrieved future does not necessarily need to outperform the base forecast on its own; instead, it is useful when the historical evidence provides a correction direction that complements the forecasting error. This supports the role of retrieval as interpretable auxiliary evidence rather than as a replacement for the original forecaster. In contrast, the failure cases make it possible to trace harmful corrections to specific retrieval mismatches, such as unseen operating conditions or retrieved trajectories with incompatible absolute load levels.
These observations also suggest several ways to improve retrieval reliability. First, validation should cover more diverse operating regimes, for example through rolling validation or targeted stress tests, so that retrieval and fusion parameters are not selected only under typical conditions. Second, neighbour selection could explicitly consider load-level compatibility in addition to pattern similarity, using information such as the recent mean load, last observed value, and variability to scale or rerank retrieved candidates. Third, the fusion weight could be made reliability-aware, reducing the influence of retrieval when the retrieved evidence is poorly matched to the current condition or strongly inconsistent with the base prediction. Such a mechanism could provide a conservative fallback to the original forecaster when retrieval is unreliable. Adaptive memory updates may further improve coverage as building operating conditions evolve over time.
7. Conclusion
This study presented WeL-RAC, a model-agnostic framework that complements data-driven building load forecasters with explicitly retrieved historical evidence. By jointly matching recent load states and horizon-aligned weather summaries, the framework retrieves observed historical continuations and fuses them with initial predictions.
: Preprint submitted to Elsevier
Page 20 of 23 without changing the base forecaster’s architecture or training objective. Experiments across 31 building cases, eight forecasting backbones, and four prediction horizons demonstrated lower MSE and MAE and higher for all 24 combinations of backbone and dataset at the dataset level. After averaging across backbones and horizons, MSE and MAE improved for 30 and 28 of the 31 building cases, respectively. Ablations identified load-state matching as the primary retrieval signal and weather summaries as complementary context, while revealing that compact state representations were more effective on ASU and UCF, whereas raw load sequences performed better on AlphaBuilding. Success and failure case studies further illustrated the framework’s case-based interpretability by tracing beneficial error compensation and harmful load-level mismatches to the retrieved evidence.
Nevertheless, the retrieval memory and validation-selected fusion weight remain fixed during testing, and high similarity in the normalised retrieval space does not guarantee compatibility in absolute load levels. Consequently, retrieval can degrade an otherwise accurate forecast under operating conditions not represented during validation. The reliance on predefined weather summaries and the use of oracle weather in AlphaBuilding also warrant further investigation of sensitivity to weather-forecast errors and the transferability of the summary rules. Moreover, the evaluation is restricted to offline, single-building point forecasting on selected synthetic scenarios and two campus datasets, leaving broader operational applicability to be established. Future work should investigate load-level compatibility checks, reliability-aware fusion, and online memory updates, alongside comparisons with alternative retrieval methods and evaluation across additional building types and climates. Prospective deployment and uncertainty-aware evaluation are also needed to determine whether the observed forecasting gains translate into reliable building-management benefits.
Acknowledgements
The authors acknowledge the use of resources provided by the Isambard-AI National AI Research Resource (AIRR). Isambard-AI is operated by the University of Bristol and is funded by the UK Government’s Department for Science, Innovation and Technology (DSIT) via UK Research and Innovation; and the Science and Technology Facilities Council [ST/AIRR/I-A-I/1023] [39].
This research did not receive any specific grant from funding agencies in the public, commercial, or not-for-profit sectors.
References
[1] Alessandrini, S., Delle Monache, L., Sperati, S., Cervone, G., 2015a. An analog ensemble for short-term probabilistic solar power forecast. Applied energy 157, 95–110.
[2] Alessandrini, S., Delle Monache, L., Sperati, S., Nissen, J., 2015b. A novel application of an analog ensemble for short-term wind power forecasting. Renewable Energy 76, 768–781.
[3] Amasyali, K., El-Gohary, N.M., 2018. A review of data-driven building energy consumption prediction studies. Renewable and Sustainable Energy Reviews 81, 1192–1205.
[4] Ansari, A.F., Shchur, O., Küken, J., Auer, A., Han, B., Mercado, P., Rangapuram, S.S., Shen, H., Stella, L., Zhang, X., et al., 2025. Chronos-2: From univariate to universal forecasting. arXiv preprint arXiv:2510.15821 doi:10.48550/arXiv.2510.15821.
[5] Ansari, A.F., Stella, L., Turkmen, C., Zhang, X., Mercado, P., Shen, H., Shchur, O., Rangapuram, S.S., Arango, S.P., Kapoor, S., et al., 2024. Chronos: Learning the language of time series. arXiv preprint arXiv:2403.07815.
[6] Bacher, P., Madsen, H., 2011. Identifying suitable models for the heat dynamics of buildings. Energy and buildings 43, 1511–1522.
[7] Box, G.E., Jenkins, G.M., Reinsel, G.C., Ljung, G.M., 2015. Time series analysis: forecasting and control. John Wiley & Sons.
[8] Cao, F., Dai, L., Han, J., Xiong, H., 2026. Enhancing multivariate time series forecasting with global temporal retrieval. arXiv preprint arXiv:2602.10847.
[9] Crawley, D.B., Lawrie, L.K., Winkelmann, F.C., Buhl, W.F., Huang, Y.J., Pedersen, C.O., Strand, R.K., Liesen, R.J., Fisher, D.E., Witte, M.J., et al., 2001. Energyplus: creating a new-generation building energy simulation program. Energy and buildings 33, 319–331.
[10] Das, A., Kong, W., Sen, R., Zhou, Y., 2023. A decoder-only foundation model for time-series forecasting. arXiv preprint arXiv:2310.10688.
[11] Daut, M.A.M., Hassan, M.Y., Abdullah, H., Rahman, H.A., Abdullah, M.P., Hussin, F., 2017. Building electrical energy consumption forecasting analysis using conventional and artificial intelligence methods: A review. Renewable and Sustainable Energy Reviews 70, 1108–1118.
[12] Deb, C., Zhang, F., Yang, J., Lee, S.E., Shah, K.W., 2017. A review on time series forecasting techniques for building energy consumption. Renewable and Sustainable Energy Reviews 74, 902–924.
[13] Delle Monache, L., Eckel, F.A., Rife, D.L., Nagarajan, B., Searight, K., 2013. Probabilistic weather prediction with an analog ensemble. Monthly Weather Review 141, 3498–3516.
[14] Di Natale, L., Svetozarevic, B., Heer, P., Jones, C.N., 2022. Physically consistent neural networks for building thermal modeling: theory and analysis. Applied Energy 325, 119806.
[15] Dong, B., Cao, C., Lee, S.E., 2005. Applying support vector machines to predict building energy consumption in tropical region. Energy and Buildings 37, 545–553.
: Preprint submitted to Elsevier
Page 21 of 23
[16] Dong, H., Zhu, J., Chung, C.y., Liang, Z., Yang, H., Wen, X., 2025. A hierarchical dataset on multiple energy consumption and PV generation with emissions and weather information. Scientific Data 12, 1727. URL: https://www.nature.com/articles/s41597-025-06010-8, doi:10.1038/s41597-025-06010-8.
[17] Dowell, D.C., et al., 2022. The high-resolution rapid refresh (HRRR): An hourly updating convection-allowing forecast model. part I: Motivation and system description. Weather and Forecasting 37, 1371–1395. doi:10.1175/WAF-D-21-0151.1.
[18] Fan, C., Shen, E., Yan, D., Mo, J., 2026. Rethinking keys in data-driven short-term building energy predictions: Towards standardized methods for data preparation, model training and evaluation. Advanced Engineering Informatics 73, 104579.
[19] Fan, C., Xiao, F., Wang, S., 2014. Development of prediction models for next-day building energy consumption and peak power demand using data mining techniques. Applied Energy 127, 1–10.
[20] Fan, C., Xiao, F., Zhao, Y., 2017. A short-term building cooling load prediction method using deep learning algorithms. Applied energy 195, 222–233.
[21] Genov, E., Ruddick, J., Alonso, A.M., Coosemans, T., de Cauwer, C., 2026. Adaptive similar day method for cooling load forecasting. Energy and Buildings, 117482.
[22] Gruver, N., Finzi, M., Qiu, S., Wilson, A.G., 2023. Large language models are zero-shot time series forecasters. Advances in neural information processing systems 36, 19622–19635.
[23] Han, S., Lee, S., Cha, M., Arik, S.O., Yoon, J., 2025. Retrieval augmented time series forecasting, in: Proceedings of the 42nd International Conference on Machine Learning.
[24] Hochreiter, S., Schmidhuber, J., 1997. Long short-term memory. Neural Computation 9, 1735–1780. doi:10.1162/neco.1997.9.8.1735.
[25] Hyndman, R.J., Athanasopoulos, G., 2021. Forecasting: Principles and Practice. 3 ed., OTexts, Melbourne, Australia.
[26] International Energy Agency (IEA), 2025. Energy Efficiency 2025. Technical Report. International Energy Agency. Paris. URL: https://www.iea.org/reports/energy-efficiency-2025. licence: CC BY 4.0.
[27] James, E.P., et al., 2022. The high-resolution rapid refresh (HRRR): An hourly updating convection-allowing forecast model. part II: Forecast performance. Weather and Forecasting 37, 1397–1417. doi:10.1175/WAF-D-21-0130.1.
[28] Jiang, Z., Zhang, L., Ji, T., 2023. Nsdar: A neural network-based model for similar day screening and electric load forecasting. Applied energy 349, 121647.
[29] Jin, M., Wang, S., Ma, L., Chu, Z., Zhang, J., Shi, X., Chen, P.Y., Liang, Y., Li, Y.F., Pan, S., et al., 2024. Time-llm: Time series forecasting by reprogramming large language models, in: International conference on learning representations, pp. 23857–23880.
[30] Ke, G., Meng, Q., Finley, T., Wang, T., Chen, W., Ma, W., Ye, Q., Liu, T.Y., 2017. LightGBM: A highly efficient gradient boosting decision tree, in: Advances in Neural Information Processing Systems.
[31] Lewis, P., Perez, E., Piktus, A., Petroni, F., Karpukhin, V., Goyal, N., Küttler, H., Lewis, M., Yih, W.t., Rocktäschel, T., Riedel, S., Kiela, D., 2020a. Retrieval-augmented generation for knowledge-intensive NLP tasks, in: Advances in Neural Information Processing Systems, pp. 9459–9474.
[32] Lewis, P., Perez, E., Piktus, A., Petroni, F., Karpukhin, V., Goyal, N., Küttler, H., Lewis, M., Yih, W.t., Rocktäschel, T., et al., 2020b. Retrieval-augmented generation for knowledge-intensive nlp tasks. Advances in neural information processing systems 33, 9459–9474.
[33] Li, A., Zhang, C., Xiao, F., Fan, C., Deng, Y., Wang, D., 2023. Large-scale comparison and demonstration of continual learning for adaptive data-driven building energy prediction. Applied Energy 347, 121481.
[34] Li, H., Wang, Z., Hong, T., 2021. A synthetic building operation dataset. Scientific Data 8, 213. URL: https://lbnl-eta.github.io/AlphaBuilding-SyntheticDataset/, doi:10.1038/s41597-021-00989-6.
[35] Li, Y., Arellano-Espitia, F., Aler, R., Igualada, L., Corchero, C., 2025. Data-driven methods and their applications to building hvac energy consumption prediction: A review. Journal of Building Engineering, 114612.
[36] Luo, X., Oyedele, L.O., 2021. Forecasting building energy consumption: Adaptive long-short term memory neural networks driven by genetic algorithm. Advanced Engineering Informatics 50, 101357.
[37] Lyu, H., Herring, D., Chen, H., Zhou, S., Zhang, J., Wang, L., Zuo, Z., Andrews, J., Spill, F., Ninic, J., et al., 2025. A data-driven multi-objective optimisation framework for energy efficiency and thermal comfort in flexible building spaces. Energy and Buildings, 116100.
[38] Ma, Z., Song, J., Zhang, J., 2017. Energy consumption prediction of air-conditioning systems in buildings by selecting similar days based on combined weights. Energy and Buildings 151, 157–166.
[39] McIntosh-Smith, S., Alam, S., Woods, C., 2024. Isambard-ai: a leadership-class supercomputer optimised specifically for artificial intelligence, in: Proceedings of the Cray User Group, pp. 44–54.
[40] Miller, C., Kathirgamanathan, A., Picchetti, B., Arjunan, P., Park, J.Y., Nagy, Z., Raftery, P., Hobson, B.W., Shi, Z., Meggers, F., 2020. The building data genome project 2, energy meter data from the ashrae great energy predictor iii competition. Scientific data 7, 368.
[41] Ni, Z., Zhang, C., Karlsson, M., Gong, S., 2024. A study of deep learning-based multi-horizon building energy forecasting. Energy and Buildings 303, 113810.
[42] Nie, Y., Nguyen, N.H., Sinthong, P., Kalagnanam, J., 2023. A time series is worth 64 words: Long-term forecasting with transformers, in: International Conference on Learning Representations.
[43] Ning, K., Pan, Z., Liu, Y., Jiang, Y., Zhang, J., Rasul, K., Schneider, A., Ma, L., Nevmyvaka, Y., Song, D., 2026. Ts-rag: Retrieval-augmented generation based time series foundation models are stronger zero-shot forecaster. Advances in Neural Information Processing Systems 38, 163170–163199.
[44] Paudel, S., Nguyen, P.H., Kling, W.L., Elmitri, M., Lacarrière, B., Corre, O.L., 2015. Support vector machine in prediction of building energy demand using pseudo dynamic approach. arXiv preprint arXiv:1507.05019.
[45] Rumelhart, D.E., Hinton, G.E., Williams, R.J., 1986. Learning representations by back-propagating errors. Nature 323, 533–536. doi:10.1038/323533a0.
[46] Sun, Y., Haghighat, F., Fung, B.C., 2020. A review of the-state-of-the-art in data-driven approaches for building energy prediction. Energy and Buildings 221, 110022.
: Preprint submitted to Elsevier
Page 22 of 23
[47] Wang, S., Wu, H., Shi, X., Hu, T., Luo, H., Ma, L., Zhang, J.Y., Zhou, J., 2024a. TimeMixer: Decomposable multiscale mixing for time series forecasting, in: International Conference on Learning Representations.
[48] Wang, Y., Wu, H., Dong, J., Qin, G., Zhang, H., Liu, Y., Qiu, Y., Wang, J., Long, M., 2024b. Timexer: Empowering transformers for time series forecasting with exogenous variables. Advances in neural information processing systems 37, 469–498.
[49] Wang, Z., Hong, T., Piette, M.A., 2020. Building thermal load prediction through shallow machine learning and deep learning. Applied Energy 263, 114683.
[50] Yang, S., Wang, D., Zheng, H., Jin, R., 2025. Timerag: Boosting llm time series forecasting via retrieval-augmented generation, in: ICASSP 2025-2025 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), IEEE. pp. 1–5.
[51] Yu, J., Chang, W.S., Dong, Y., 2022. Building energy prediction models and related uncertainties: A review. Buildings 12, 1284.
[52] Zeng, A., Chen, M., Zhang, L., Xu, Q., 2023. Are transformers effective for time series forecasting?, in: Proceedings of the AAAI conference on artificial intelligence, pp. 11121–11128.
[53] Zhang, H., Xu, C., Zhang, Y.F., Zhang, Z., Wang, L., Bian, J., 2025. Timeraf: Retrieval-augmented foundation model for zero-shot time series forecasting. IEEE Transactions on Knowledge and Data Engineering 37, 5654–5665. doi:10.1109/TKDE.2025.3579137.
[54] Zhang, L., Wen, J., Li, Y., Chen, J., Ye, Y., Fu, Y., Livingood, W., 2021. A review of machine learning in building load prediction. Applied Energy 285, 116452.
[55] Zhang, X., Sun, Y., Gao, D.c., Zou, W., Fu, J., Ma, X., 2022. Similarity-based grouping method for evaluation and optimization of dataset structure in machine-learning based short-term building cooling load prediction without measurable occupancy information. Applied energy 327, 120144.
[56] Zhao, H.x., Magoulès, F., 2012. A review on the prediction of building energy consumption. Renewable and Sustainable Energy Reviews 16, 3586–3592.
[57] Zhou, H., Zhang, S., Peng, J., Zhang, S., Li, J., Xiong, H., Zhang, W., 2021. Informer: Beyond efficient transformer for long sequence time-series forecasting, in: Proceedings of the AAAI conference on artificial intelligence, pp. 11106–11115.
[58] Zhou, S., Schöner, H., Wu, Z., Fouché, E., Wilson, I., Wang, S., 2026a. Stationarity-aware retrieval-augmented time series forecasting, in: Proceedings of the 32nd ACM SIGKDD Conference on Knowledge Discovery and Data Mining V.2, Association for Computing Machinery. p. 6875–6886. URL: https://doi.org/10.1145/3770855.3817813, doi:10.1145/3770855.3817813.
[59] Zhou, S., Wu, Z., Schöner, H., Fouché, E., Wilson, I.A.G., Wang, S., 2026b. Semantics-enhanced retrieval-augmented time series forecasting. arXiv preprint arXiv:2606.14941 doi:10.48550/arXiv.2606.14941.
: Preprint submitted to Elsevier
Page 23 of 23