TU Delft's Living Forecast Boosts Power Grid Predictions 25% Without Retraining
A closed-form Bayesian trick rewrites Gaussian mixture forecasts in real time, sharpening intraday power predictions by up to 25% with zero retraining.
ProTakeaways
- TU Delft proposes a closed-form Bayesian update that converts day-ahead probabilistic forecasts into intraday ones without retraining.
- The method conditions a Gaussian mixture output from a CVAE on partial observations using standard MVN block formulas.
- Accuracy gains reach 25% across likelihood, sample, quantile, and point metrics on smart meter and PV datasets.
- Pattern Dictionary Covariance Composition beats diagonal covariance by explicitly modeling temporal correlations.
- Biggest gains come from time steps strongly correlated with recent observations, such as midday solar updates.
- Update cost is O(T'^3) per component with caching, making it viable for real-time forecasting pipelines.
Power grid operators live and die by short-term forecasts. A model that predicts household electricity demand or solar output for tomorrow is invaluable at 6 PM the day before, but by 10 AM the next morning, half of its predictions are just historical facts and the other half no longer reflect what has actually happened so far. A new paper from TU Delft proposes a surprisingly elegant fix: treat the day-ahead forecast as a prior and mathematically condition it on whatever measurements have arrived since, all in closed form.
The result is what the authors call a living forecast. No retraining. No second pass through the neural network. Just linear algebra applied to the model's original output distribution. Experiments on household electricity consumption and photovoltaic generation datasets demonstrate that the proposed method improves forecast accuracy up to 25% across likelihood-, sample-, quantile-, and point-based metrics.
Why intraday forecasting is a mess
While day-ahead forecasts offer a global view of the upcoming day, they become progressively outdated as the day progresses and new information becomes available. Intraday forecasting addresses this gap by refining the forecast for the remaining hours of the day, leveraging partially observed measurements and updated exogenous inputs. Grid operators need these updates for rescheduling generation, adjusting market positions, and managing reserves in real time.
The usual workarounds are ugly. One common approach is to train separate models for intraday forecasting conditioned on partial observations, which increases training and maintenance effort and may lead to inconsistencies with the original day-ahead forecast. Sliding-window autoregressive updates need increasingly hungry data pipelines. Heuristic bias corrections work per time step but ignore how consecutive hours correlate. Copula methods handle temporal dependencies but split marginals and dependencies into two models that can drift apart. Despite these advances, most existing approaches either require retraining, repeated neural network inference, or architectural modifications to incorporate new observations during the day.
The trick: a distribution that survives conditioning
The core insight is choosing a forecast structure whose Bayesian update stays in the same family. The authors use a conditional variational autoencoder (CVAE) whose decoder outputs a mixture of multivariate Gaussians over the entire day. A CVAE is a generative model that learns to produce outputs by sampling from a compressed latent space, conditioned on side information like weather or calendar variables.

Once you have a Gaussian mixture over all 24 hours, the marginal for hours you have already observed and the conditional for hours still to come are both available in closed form. The update works like this:
- Draw K latent samples from the CVAE, giving K Gaussian components that jointly cover the whole day.
- When new measurements arrive at time T', reweight each component by how well it predicted what actually happened, using the standard Gaussian likelihood.
- For each component, compute the conditional mean and covariance for the remaining hours using the block matrix formulas for multivariate normals.
- Sample trajectories or extract quantiles from the reweighted mixture.
Intuitively, the update process can be seen as favouring the day-ahead mixture components that best guessed the observed measurements, by using the weights to increase the weight of their updated distributions relative to the other components for the rest of the day.
The covariance matters more than you would think
A naive Gaussian mixture output would use diagonal covariances, meaning each hour's uncertainty is treated independently. That kills the whole point, because Bayesian conditioning only helps when hours are correlated. The authors instead use Pattern Dictionary-based Covariance Composition (PDCC), a learnable low-rank structure of the form U diag(sigma) U^T + xi*I, where U is a shared dictionary of covariance patterns learned during training.
PDCC outperforms its diagonal counterpart both in terms of intraday forecast performance and update performance improvement. This showcases the higher predictive power that comes with PDCC, as well as its better suitability for the update mechanism, thanks to the explicit modelling of complex temporal correlations.
Benchmarks and what actually improved
Two datasets were used. The Gipuzkoa smart meter set contains hourly electricity consumption for 25,559 residential, office, and business customers across 47 Spanish provinces from November 2014 to June 2022, filtered down to about 2.5 million daily profiles at 24 hourly readings each. The Utrecht PV set uses a 4-year collection of household PV power production measurements in kW from 175 households in Utrecht, Netherlands at 15-minute resolution.
The authors also introduce a clean way to pick the number of mixture components K without touching real test data: sample synthetic days from the trained model, run the update procedure on them, and pick the K that minimizes the gap between best-case and realistic likelihood traces. Tuning suggested K=500 for the smart meter data and K=20 for the PV data.

The gains are not uniform across the day, which is the interesting part. Improvements concentrate along the diagonal, reflecting strong correlations between consecutive time steps. The most recent observations provide the greatest benefit for subsequent predictions, while later hours are less affected. For solar, the biggest wins come from midday updates, because early-morning irradiance measurements say little about afternoon cloud cover. For household demand, the sweet spots align with the times people typically leave and return home.
When it helps, when it does not
The method shines when the underlying joint distribution is expressive and temporal correlations are real. It struggles when exogenous noise dominates. The comparatively modest improvement observed for real PV data is likely attributable to the dominant influence of exogenous weather forecast uncertainty and rapid cloud dynamics, which limit the predictive value of early-day measurements for later hours. In other words, if the weather forecast is what really moves the needle, observing your own solar output an hour ago will not save you.
Computationally, the update is dominated by inverting a T' by T' block for each mixture component, giving per-component cost of O(T'^3), which stays cheap for typical daily horizons. Components can be cached across samples, and sparse mixture weights make the effective cost lower still. The paper does not publish a code repository, though the day-ahead model builds on the authors' earlier Guide-VAE work, which provides the CVAE and PDCC backbone.
The broader message is worth internalizing. If you design your generative forecaster so that its output family is closed under conditioning, real-time updates become free. That principle applies well beyond power grids, to any domain where you have a joint distribution over a horizon and observations trickle in.