# Reconciling European Electricity Data with Diffusion Priors Learned from Observations Alone

Diffusion priors learned from observations alone improve European electricity data reconciliation

Matthias Pirlet, Adrien Bolland, Gilles Louppe, Damien Ernst · arXiv · 2026-11-6

- **Problem** Classical reconciliation assumes a uniform prior, which ignores that generation is correlated and concentrated across zones. Reported ENTSO-E values carry errors and violate energy conservation, so this ignored structure leaves accuracy on the table.
- **Method** The authors replace the uniform prior with a diffusion model fitted by expectation-maximization on the observations alone. Each posterior sample is then projected onto the balance constraint, so every sample satisfies the balance exactly.
- **Results** On EU6 the diffusion prior scores 99.8 MW RMSE, compared with 115.1 MW for the constrained WLS QP.

## Why a uniform prior stalls reconciliation

Generation and imports reported for a zone often don't balance its load and exports, with residuals sometimes in the thousands of megawatts. Recovering that state is data reconciliation, a problem the paper treats as one of inferring the state from noisy observations under the zonal balance constraint. Classical methods solve this as a weighted least squares problem, which is the maximum-a-posteriori estimate under a uniform prior over the feasible states.

That uniform prior treats every balanced state as equally plausible, which ignores the structure of real operation.

Real operation isn't uniform, though, because generation is correlated across zones. The system also moves between operating regimes set by border flow directions and the units committed. The state distribution is therefore multimodal and concentrated, and a prior that captures this should narrow the posterior. A Gaussian prior captures the correlations but not the regimes, because it is unimodal.

A diffusion prior can represent both the correlations and the regimes, which is why the authors turn to it. The uniform prior fixes the posterior's mode at the WLS estimate, but it carries no information about where the feasible states concentrate.

The authors keep the likelihood of the observations as Gaussian noise around the state, with the noise covariance Σ as its only parameter. Replacing the uniform prior leaves that likelihood unchanged, so the prior is the only component that changes. Under the Gaussian EB prior the posterior stays Gaussian in closed form, while under the diffusion prior it has to be sampled.

## Learning the prior from observations alone

The diffusion prior has to be fitted on the observations, because the true states that a plain diffusion fit would need are never available. The states are hidden, so the denoiser can't be trained on true states, and the authors use an expectation-maximization loop instead. The EM scheme of Rozet et al. estimates the denoiser from the observations alone, alternating an E-step and an M-step.

The diffusion prior is the network that the EM loop estimates, while the likelihood stays fixed by the noise covariance.

In the E-step, each observation gets plausible states, drawn by sampling the posterior under the current prior. In the M-step, the network is refit on those sampled states, so each iteration sharpens the prior toward the state distribution. The iterations carry the usual EM guarantees, which the authors cite from prior work.

The noise covariance Σ is never learned, because no TSO publicly documents it. The Gaussian EB prior takes a simpler route, estimating its mean and covariance from times where every signal is reported. For that estimate, the model gives the state covariance as Cov(yt) minus Σ, and negative eigenvalues are clipped to a small positive floor.

The oracle prior trains the same model on the true states, which real data never provides, so it serves as an upper bound.

## Sampling posteriors that respect the balance

Under the uniform prior, classical reconciliation returns the maximum-a-posteriori estimate, which is the weighted least squares solution. The WLS program minimizes a weighted squared residual between the observation and the masked state. Its constraints require balance and non-negative generation and flows, so the solver works only within that feasible set.

Because the posterior under the diffusion prior has no closed form, the authors sample it with a guided denoising process. At each denoising step, the estimate is pulled toward the observation through the likelihood. The estimate then gets an orthogonal projection onto the null space of C, a step borrowed from DDNM. Because the projection runs at every step, the balance holds exactly for every sample.

The projection enforces only the equality constraint Cx=0, so it leaves the sign constraints untouched. Non-negativity has no closed-form projection, so a draw can still carry a negative generation or flow value. An ensemble of draws gives the credible intervals for each signal. For the learned priors, the point estimate is the posterior mean rather than the MAP solution.

The Gaussian EB prior, by contrast, yields a Gaussian posterior in closed form, conditioned on the balance.

## Accuracy against the classical baselines

On EU6, the diffusion EB prior reaches an overall RMSE of 99.8 MW on the fully observed test set. The constrained WLS QP, which adds non-negativity to the WLS, scores 115.1 MW on the same test set. The diffusion EB prior is the most accurate method on every system, from EU6 to EUFULL. The learned priors are trained on climate years 1-28 observations, and every method is scored on years 32-35, which is 35 040 hours.

On EUFULL, the diffusion EB prior scores 79.0 MW, compared to 103.9 MW for the constrained WLS QP. The Gaussian EB prior captures the correlations but not the regimes, so it accounts for part of the gain. Its growth with system size comes from the correlations, while the regimes contribute the rest.

The raw observations score 146.4 MW on EU6, and naive and oracle WLS improve on them in proportion to what they know of Σ. The de Chalendar heuristic scores 287.3 MW, which makes it the only method worse than the raw observations. The authors attribute this to magnitude-based weights that don't match the per-fuel noise. Under-weighted loads then absorb the balance violations, which pushes the error above the raw observations.

## Recovering unreported generation

This test asks whether a learned prior can fill in a zone's generation when no TSO publishes it. The generation of the six core zones is masked, while their load and border flows stay in the data. That masking leaves 84 signals on every system, and only those masked signals are scored. Scoring the full error would shrink with system size by averaging alone, so the masked-only score avoids that effect.

For a masked zone, the balance fixes the total generation, and every method recovers that total within 360-610 MW. The split of that total among fuels is the hard part, because the balance says nothing about how it divides. Its error exceeds 5 000 MW on every system, reaching 5 197 MW on EU6 and 5 615 MW on EUFULL.

The Gaussian EB prior captures the correlations across zones but not the operating regimes. On EU6, the diffusion EB prior scored 1 920 MW under the same mask, against 2 050 MW for the Gaussian EB prior.

On EUFULL, the diffusion EB prior scored 1 035 MW, while the Gaussian EB prior scored 1 255 MW. The diffusion EB prior's advantage over the Gaussian prior grows from 6% to 18% with system size.

## Are the credible intervals trustworthy?

A credible interval is calibrated when it contains the true state as often as its nominal level claims. On the two larger systems it is conservative, because its intervals contain the state more often than they claim. The check uses the test states, so nominal coverage is not guaranteed by construction.

![Figure 3: Empirical coverage against credible level for the diffusion posterior, the Gaussian EB posterior, and the oracle WLS. The oracle WLS and the Gaussian…](https://refivu.com/papers/9b64e54c-076c-496c-9236-8744425c1c5a/figures/figure-7d2a522aa864c3f2e3020562a61746e4.png?thumb=512)

**Figure 3** : Empirical coverage against credible level for the diffusion posterior, the Gaussian EB posterior, and the oracle WLS. The oracle WLS and the Gaussian EB lie on the diagonal, and the diffusion posterior turns conservative at intermediate levels on the larger systems.

[Original paper](https://arxiv.org/abs/2611.09265v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Matthias Pirlet, Adrien Bolland, Gilles Louppe, Damien Ernst · Reconciling European Electricity Data with Diffusion Priors Learned from Observations Alone · Original paper figure · Extracted the figure area from page 11 of the original PDF.

Figure 3 plots empirical coverage against the credible level for the diffusion posterior, the Gaussian EB posterior, and the oracle WLS. The oracle WLS and the Gaussian EB lie on the diagonal, which marks calibration.

CRPS rewards calibration and narrow intervals together, so a lower score means a better posterior. Its intervals are wider than those of the diffusion posterior.

## How wrong noise beliefs change the picture

The two learned priors instead fail in opposite directions.

Overstating the noise costs the diffusion prior little, but understating it erases its advantage. Its covariance subtraction removes variance that the states actually have, so the Gaussian prior loses accuracy in that case.

The diffusion EB prior's marginals are 77% too wide, so it doesn't faithfully recover the state distribution. The prior predictive check adds the believed noise to prior samples and compares the result with the observed values.

## Limitations of the diffusion prior on real reporting data

The method doesn't yet cover non-negativity in its posterior draws, because the projection acts only on the equality constraint. Posterior draws can violate the non-negativity inequalities, since those have no closed-form projection. The authors note that predict-project-renoise would impose non-negativity, which the paper's method doesn't do.

The benchmark noise is Gaussian, independent, and constant per fuel, so real reporting errors aren't matched by it. Real reporting errors scale with magnitude and are autocorrelated, which the benchmark doesn't model. Real data also carries per-TSO bias that the empirical-Bayes loop can't remove. The noise covariance Σ is diagonal and set from domain knowledge, because no TSO documents it.

Reconciliation accuracy can't be measured on real ENTSO-E data, because that data lacks known states. A magnitude-dependent covariance would still fit the same likelihood, so the noise model could change without altering the method.

## Paper info

- **Authors**: Matthias Pirlet, Adrien Bolland, Gilles Louppe, Damien Ernst
- **Venue**: arXiv · Preprint
- **First published**: 2026-11-6
- **Added**: 2026-11-9
- **Updated**: 2026-11-6
- **Version**: v1
- **arXiv**: 2611.09265
- **Category**: eess.SY · cs.LG
- **Original paper terms**: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)
- **What we show**: Paper info, commentary and permitted figures from the original paper

[Original paper ↗](https://arxiv.org/abs/2611.09265v1) · [PDF ↗](https://arxiv.org/pdf/2611.09265v1)

AI commentary is a separate explanation from the original paper and may contain errors. The original paper and figures follow each source's terms of use and any rights noted separately.

## Abstract

The ENTSO-E Transparency Platform publishes generation, load, and cross-border power flows for European bidding zones. The values carry undocumented errors and violate energy conservation, and data reconciliation consists in correcting them to satisfy that balance. In this work, we formulate data reconciliation as Bayesian inference. Classical methods implicitly take a uniform prior, which we replace with a diffusion model estimated from the observations alone by empirical-Bayes expectation-maximization. The resulting posterior is sampled with a guided process whose projection step makes every sample satisfy the balance exactly. On synthetic systems of six to thirty-five bidding zones, built from ENTSO-E resource-adequacy data, the diffusion prior gives the most accurate reconciliation, increasingly so as the system grows. Its credible intervals are calibrated or conservative, and it remains the most accurate under a misspecified noise covariance. Finally, when the generation of entire zones goes unreported, the classical methods fail while the learned prior recovers it from cross-zone structure.

## Quote from the paper

Matthias Pirlet, Adrien Bolland, Gilles Louppe, Damien Ernst (2026). Reconciling European Electricity Data with Diffusion Priors Learned from Observations Alone. arXiv:2611.09265v1. https://arxiv.org/abs/2611.09265v1

**BibTeX**

```
@misc{pirlet2026reconciling,
  title = {{Reconciling European Electricity Data with Diffusion Priors Learned from Observations Alone}},
  author = {Matthias Pirlet and Adrien Bolland and Gilles Louppe and Damien Ernst},
  year = {2026},
  eprint = {2611.09265},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.09265v1}
}
```

## Other paper commentary

- [Large Scale GAN Training for High Fidelity Natural Image Synthesis](https://refivu.com/en/papers/93f6ad29-8cca-4630-9a3b-d12f9ad91854-large-scale-gan-training-for-high-fidelity-natural.md)
- [Generative Modeling by Estimating Gradients of the Data Distribution](https://refivu.com/en/papers/f3ef856d-6161-4eaa-b2c9-6a0c3f1ff432-generative-modeling-by-estimating-gradients-of-the-data.md)
- [Improved Techniques for Training GANs](https://refivu.com/en/papers/fa2b409d-90c8-47af-916c-aa43ebfdf357-improved-techniques-for-training-gans.md)
- [Variational Inference with Normalizing Flows](https://refivu.com/en/papers/681d4ceb-2dde-4627-a4ad-6ee307d4d2ec-variational-inference-with-normalizing-flows.md)
- [Generative Adversarial Imitation Learning](https://refivu.com/en/papers/4c0dc7dc-4282-4fe9-8bb5-0b267ba684d1-generative-adversarial-imitation-learning.md)
- [Unsupervised Representation Learning with Deep Convolutional Generative Adversarial Networks](https://refivu.com/en/papers/9ce22173-9f5b-4145-a8ef-d0ea3e39660a-unsupervised-representation-learning-with-deep-convolutional.md)
- [KLEAR: Knowledge-Matched LLM Evaluation in Korean across Application Requirements via Controlled Benchmark Transformation](https://refivu.com/en/papers/bc8ce06a-3f29-497c-b50f-59c6d6ffb808-klear-knowledge-matched-llm-evaluation-in-korean-across.md)
- [Enforcing Symmetries on Pre-trained ML Models for Physics](https://refivu.com/en/papers/2c57fb7c-90c3-412b-8fbf-f678b9381063-enforcing-symmetries-on-pre-trained-ml-models-for.md)
- [Language, Not Code Abstraction: Natural-language Training Shapes Brain-aligned Geometry](https://refivu.com/en/papers/c6feec40-0f1f-41e9-ad33-4380087d11c8-language-not-code-abstraction-natural-language-training.md)
- [From LoRA to Language: Recovering Skill Documents from Adapters](https://refivu.com/en/papers/503c1228-a1d9-4599-9515-08727ae9ff50-from-lora-to-language-recovering-skill-documents-from.md)
- [Representational drift in a code model: behaviour settles, which neurons carry it does not](https://refivu.com/en/papers/31ce1562-9398-4e5c-8d4f-ee5e2903056e-representational-drift-in-a-code-model-behaviour-settles.md)
- [Authorization Drift in LLM Agents: Evaluating Boundary Compliance in Multi-Step Tool Use](https://refivu.com/en/papers/a4c68078-7f50-4a42-8a7d-338f8d11d103-authorization-drift-in-llm-agents-evaluating-boundary.md)

## Terms in this paper

- [diffusion models](https://refivu.com/en/terms/39b044617fcd-diffusion-models)
- [RMSE](https://refivu.com/en/terms/ad2579cf164a-rmse)
- [CRPS](https://refivu.com/en/terms/fc9f3eea88cf-crps)
- [empirical Bayes](https://refivu.com/en/terms/0f3de3efdd84-empirical-bayes)
- [expectation-maximization](https://refivu.com/en/terms/ede11355745e-expectation-maximization)
- [Gaussian prior](https://refivu.com/en/terms/a6179e3c32c2-gaussian-prior)

---

AI-written text can contain mistakes. [Refivu](https://refivu.com/en/papers/9b64e54c-076c-496c-9236-8744425c1c5a-reconciling-european-electricity-data-with-diffusion-priors)
