Executive Summary
Researchers from the National Renewable Energy Laboratory (NREL) have released BuildingsBench, a massive open-source project featuring a dataset of 900,000 simulated buildings and a benchmark of 1,900 real-world buildings. By enabling large-scale pretraining for short-term load forecasting (STLF), this work demonstrates that models trained on synthetic data can generalize surprisingly well to real commercial buildings. This breakthrough could drastically slash the data collection time needed to deploy smart energy management systems.
The STLF "Cold Start" Problem
Short-term load forecasting (STLF)—predicting energy consumption from an hour to a few days ahead—is the backbone of a stable, decarbonized power grid. It allows utilities to balance supply and demand and helps building managers optimize HVAC systems.
However, STLF suffers from a "cold start" problem. Most state-of-the-art models require years of historical data from a specific building to be accurate. In fields like Natural Language Processing (NLP) and Computer Vision (CV), this is solved with the "pretrain-then-fine-tune" paradigm: training a massive foundation model on a vast dataset, then tweaking it for a specific task. STLF hasn't had its "ImageNet moment" because energy data is often siloed, small-scale, or lacks diversity. This paper introduces the scale necessary to finally explore foundation models for the built environment.
Methodology & Architectures
The authors treat STLF as a univariate time-series forecasting problem. They implement and benchmark several architectures, most notably:
- Time-Series Transformers: The team tests two variations. One predicts a Gaussian distribution (continuous), and the other uses Tokenization (discretizing energy loads into a "vocabulary" of tokens, similar to how Large Language Models treat words).
- Two Evaluation Tasks:
- Zero-shot STLF: Evaluating a pretrained model on a new building with only one week of history (no training or fine-tuning allowed).
- Transfer Learning: Fine-tuning the pretrained model on six months of data from a target building.
To handle the "spiky," non-Gaussian nature of energy data, they utilize the Box-Cox power transformation, which proved essential for training stability.
The BuildingsBench Datasets
The project introduces two major components to bridge the gap between simulated and real-world performance:
- Buildings-900K (The Training Set): A massive collection of 900,000 simulated buildings (550K residential, 350K commercial) representing the U.S. building stock. Generated using NREL’s high-fidelity physics-based simulations (EnergyPlus), this dataset totals roughly 15 billion load hours.
- BuildingsBench (The Evaluation Set): A curated suite of 7 open-access datasets containing over 1,900 real residential and commercial buildings from the U.S., UK, France, Portugal, and Canada. This provides a rigorous "sim-to-real" testbed.
Key Findings: Sim-to-Real and Scaling Laws
- Synthetic Data Works (for Commercial): One of the most striking findings is that models pretrained entirely on simulated data generalize remarkably well to real commercial buildings. The "sim-to-real" gap is much smaller for offices and retail spaces than for homes.
- The Residential Challenge: Residential loads are inherently "chaotic." Because they are driven by unpredictable human behavior and weather sensitivity, even the best models struggle. In many cases, a simple "Persistence Ensemble" (averaging the last 7 days) outperformed deep learning in zero-shot residential tasks.
- Scaling Laws Exist: For commercial buildings, the authors observed a power-law relationship: as you increase the size and diversity of the pretraining dataset, zero-shot performance improves with diminishing returns.
- Tokens vs. Gaussian: While tokenization is the standard for LLMs, the continuous Gaussian Transformer was generally more accurate for energy loads, though the token-based model was more stable during training.
Performance Benchmarks
- Zero-Shot Success: On real commercial buildings, the Transformer-L (Gaussian) achieved a median Normalized Root Mean Square Error (NRMSE) of 13.31%, significantly outperforming the Previous Day Persistence baseline (16.96%).
- Fine-Tuning Boost: Fine-tuning the pretrained Transformer-M on real data led to a 98% probability of improvement for commercial buildings compared to a model trained from scratch.
- Beating the Baselines: The pretrained and fine-tuned Transformers outperformed strong traditional baselines like LightGBM and DLinear in low-data regimes (e.g., when only 6 months of data is available).
Limitations & Future Directions
The authors are transparent about several hurdles that remain:
- Geographic Bias: The current data primarily represents the Northwestern hemisphere. Patterns in the Global South may differ significantly due to different climates and building standards.
- The Residential Gap: The stochastic occupancy models used in simulations are still too "clean" compared to the messy reality of human life, leading to a larger sim-to-real gap for homes.
- Weather Integration: While the current benchmark focuses on load and calendar features, integrating weather covariates (like temperature and humidity) is a critical next step for improving residential accuracy.
The team has open-sourced all code and datasets at https://github.com/NREL/BuildingsBench, inviting the broader AI and energy communities to help build the future of generalizable STLF.
Summary updated