Letting Coarse Forecasts Correct Fine Ones in 3D Convolutional Weather Models

Gridded forecasters such as 3D convolutional networks predict a value for every map cell, yet their users need numbers at many scales at once: a city, a province, a whole country. Summing the cell forecasts gives consistent regional totals, but it also carries the noise of every cell into the total. A separate coarse forecast would be more skillful, but it would disagree with the cell map. Hierarchical forecast reconciliation is the statistics of repairing that disagreement. It adjusts forecasts made at every level of an aggregation tree so they add up exactly, and in doing so it pulls smooth, predictable information from the upper levels down into the noisy lower ones. This note proposes building that repair into a 3D convolutional encoder-decoder. The network's own coarse-resolution decoder stages act as the upper levels of the tree. The network predicts, for every region and every lead day, how much to trust the coarse forecast relative to the fine one, and an exact two-pass tree solver makes the whole map coherent in time linear in the number of cells.

The practical target is a known weakness. A lightweight 3D U-Net on ERA5 reanalysis over Iberia forecasts Day+1 maximum temperature well, but its skill falls steeply from Day+1 toward Day+7 (A Lightweight Deep Learning Approach to Spatiotemporal Heat Forecasting). Large-scale structure stays predictable longer than cell-level detail. We therefore expect a lead-time-aware reconciliation to recover the most skill exactly where the model decays fastest. If it does not, the result tells us that fine-cell errors in these models are not mainly estimation noise that coarser views can average away.

Core Claim

In a 3D convolutional encoder-decoder, which slides small space-and-time kernels over a stack of lagged maps, give each decoder resolution its own forecast head. Reconcile the heads with a weighted least-squares projection onto the subspace where coarse cells equal the average of their children. Let the per-node weights be outputs of the network itself, depending on the input and on the lead time. The claim is that this beats both an unconstrained cell-level model aggregated upward and the same model trained with losses at every scale. The advantage should grow with lead time, and the learned weights should move toward coarse levels as the lead lengthens. The solver is exact and costs $O(n)$ for tree hierarchies, so it scales to grids where a dense learned projection does not.

Write $\hat y_i$ for the head forecast at node $i$ of the tree (a cell, a coarse block, a province, or the peninsula), $w_i>0$ for its network-predicted error variance, and $\mathcal{C}$ for the set of vectors where every parent equals the area-weighted mean of its children. Temperature aggregates are means rather than sums, but the constraint is still linear, so the standard theory applies unchanged. The reconciled forecast is

$$\tilde y = \arg\min_{y \in \mathcal{C}} \sum_i \frac{(y_i - \hat y_i)^2}{w_i}.$$

This is the diagonal-weight special case of the minimum-trace projection. On a tree it can be solved without forming any matrix. An upward pass fuses each node's own forecast with the combined estimate from its children by precision weighting. A downward pass hands each parent's final correction to its children in proportion to their variances. The procedure is exact, differentiable, and linear in $n$.

Relation to Prior Work

End-to-end reconciliation already exists, and it motivates this work. Hier-E2E puts a closed-form projection layer inside a probabilistic network and shows that training through the projection beats reconciling afterwards (End-to-End Learning of Coherent Probabilistic Forecasts for Hierarchical Time Series). Tsiourvas et al. learn general oblique projections and find that learned matrices tilt toward more predictable nodes; on Labour with a TimesNet backbone they report an RMSE of 10.12, against 11.32 unreconciled and 10.51 for the prior best (Learning Optimal Projection for Forecast Reconciliation of Hierarchical Time Series). CLOVER makes forecasts coherent by construction through a factor model pushed through the summing matrix (♣ CLOVER ♣).

All three treat series as unordered indices with 1D or temporal-2D backbones. None of them makes the projection weights depend on the input or on the lead time. We borrow the "tilt toward predictable nodes" finding and make it local and dynamic. PROFHiT (When Rigid Coherency Hurts) constrains the design in one respect: rigid coherence hurts when data are weakly consistent. ERA5 aggregates are computed exactly from the grid, so they are strongly consistent, and we use a hard constraint here. Soft regularization is left for noisy hierarchies such as BioMassters.

On the spatiotemporal side, C3D and V2V (Learning Spatiotemporal Features with 3D Convolutional Networks, Deep End2End Voxel2Voxel Prediction) supply the encoder-decoder with 3D transposed convolutions and skip connections that we reuse. Their outputs obey no aggregation constraint. Multiscale graph models such as SBATransformer (Towards Scalable and Structured Spatiotemporal Forecasting) pool nodes into coarse summaries, but only as hidden features, with no coherence between output scales.

Research Program

The backbone is a 3D U-Net matched to the roughly 330,000-parameter model of Marney & Ericsson. Its input is 7 lagged days of the ERA5 variables, since that paper found little gain beyond a 7-day context. Its outputs are 7 lead days. Each of the three decoder resolutions gets a head that predicts two things per coarse cell: a temperature forecast and a log-variance weight.

Above the grid we add two trees over the same cells. The first is a quadtree (1×1 to 2×2 to 4×4 blocks up to the peninsula), which matches the network's pooling. The second is an administrative tree: cells assigned to provinces by majority area, then to autonomous communities, then to the peninsula. The administrative levels get small heads that pool the coarsest decoder features over each region's mask. Training minimizes RMSE on reconciled outputs at all levels, weighted equally per level.

We then analyze three things. The first is how the learned weights change with lead time and with weather regime, including heatwave and non-heatwave days. The second is whether the weights reproduce the result of Tsiourvas et al. that harder problems push weight to more predictable nodes. The third is how wall-clock time and memory scale when the domain grows from Iberia to a European grid, where a dense projection becomes impractical.

Two restrictions apply. The method assumes tree hierarchies; crossing hierarchies, such as a quadtree plus provinces used jointly, break the linear-time solver and are handled only by the slower dense baseline. And because Iberia at 0.25° has only on the order of a couple of thousand cells, a dense projection is still feasible there. The scaling argument is therefore tested on the larger domain, not assumed.

Baselines

The naive reference points are persistence (tomorrow equals today) and the unconstrained 3D U-Net of Marney & Ericsson, with regional values obtained by averaging its cell forecasts upward. That paper reports a Day+1 mean RMSE of 1.931°C for the 3D U-Net, against 1.415°C for ECMWF IFS (A Lightweight Deep Learning Approach to Spatiotemporal Heat Forecasting). We retrain the U-Net on our split and quote the published number only as a sanity check. For Day+2 to Day+7, and at the regional levels, no reported result was found on Lacuna for this benchmark, so our retrained numbers define those references. IFS is a physics-based reference, not a target.

The strongest competitor is the same U-Net trained bottom-up with deep supervision. It predicts only cells, averages them through the tree, and receives the RMSE loss at every level. It is coherent by construction, uses aggregate targets during training, and needs no projection. This is the baseline a careful reviewer would pick, so it gets the same parameter count, the same epochs, and the same hyperparameter search budget of about 30 trials per method.

The second strong competitor is the learned general oblique projection of Tsiourvas et al., placed on top of our multi-head U-Net. On Iberia it is feasible to run as a dense matrix, which makes it a direct test of whether our structured, input-dependent weights add anything over a static but fully flexible projection. We also run a two-step pipeline, in which independently trained heads are combined afterwards with shrinkage minimum-trace reconciliation estimated on validation residuals.

The ablations isolate the key ingredient. We compare static per-node weights against input-dependent weights, and weights shared across lead days against lead-specific weights. A further ablation removes the multiple heads, so that reconciliation acts only on sums of the cell head. Beating the deep-supervised bottom-up baseline means lower cell-level RMSE at Day+4 to Day+7, with non-overlapping bootstrap intervals over test days and three seeds, and no loss at Day+1.

Why not just…?

Why not just train the bottom-up 3D U-Net with a loss at every scale? This is the real threat. Under squared error, a well-trained cell model already targets conditional means, and averages of conditional means are the conditional means of averages. Our advantage can only come from finite data and capacity: coarse heads have far fewer effective outputs, so they are estimated with less variance. That is the classic justification for reconciliation, and it is the reason bottom-up underperforms full reconciliation in Hier-E2E and in Tsiourvas et al. Whether that gap survives once the bottom-up model sees aggregate losses is exactly our headline comparison. If the gap vanishes, we report that the multi-head design adds nothing for gridded fields.

Why not just reconcile independently trained heads afterwards? Hier-E2E and Tsiourvas et al. both found post-hoc reconciliation inferior to end-to-end training, and shrinkage estimates of the error covariance become unreliable with thousands of cells and a few years of validation days. We include this pipeline anyway, since on a strongly consistent physical field its behavior is untested.

Why not just use a dense learned oblique projection? On Iberia it is feasible, and it may match us. If it does, our contribution narrows to cost: the European-scale run measures whether the linear-time tree solver keeps comparable accuracy where the dense matrix no longer fits alongside the volumetric activations. Separately, the static-versus-input-dependent ablation shows whether dynamic weights matter at all.

Why not just smooth the fine forecast more at long leads? A lead-dependent spatial blur is a cheap stand-in for pulling cells toward their regional means. We include a baseline that tunes one Gaussian blur width per lead day on validation data. Our method must beat it. Otherwise the learned weights are just an expensive blur.

Decisive Checks

We train on ERA5 Iberia with the published split protocol and evaluate on 2024–2025 at every level and every lead day. The second setting is BioMassters, where U-TAE reports a pixel RMSE of 27.49 t/px (BioMassters). There the error is largest in dense forest, and we test whether reconciling toward patch-level heads reduces high-density error. Because pixel labels there are noisy, we also run a PROFHiT-style soft version of the constraint.

The proposal succeeds if three things hold together. First, the gain over the deep-supervised bottom-up model grows with lead time. Second, the learned weights shift measurably toward coarse and administrative levels at Day+5 to Day+7. Third, the tree solver matches the dense projection on Iberia while scaling linearly on the European grid. It fails cleanly if deep supervision alone closes the gap, and that outcome would itself be a useful negative result for gridded reconciliation.