arXiv:2611.05592physics.ao-phNov 2026

Manuscript Offprint

arXiv:2611.05592

Distinguishing Initial-Condition and Model Error Using Machine-Learning Weather Models

P. Trent Vonich, Gregory J. Hakim

ABSTRACT

Differentiable weather models allow atmospheric initial conditions to be directly optimized to shadow a known trajectory, which we take from a reanalysis dataset. Here, we extend this optimization to include the forecast model, GraphCast, using low-rank adaptation (LoRA). We compare model optimization with initial-condition (IC) optimization, and then joint optimization, where both are tuned simultaneously. When compared against a control forecast initialized with reanalysis data, LoRA and IC optimization individually produce similar improvements. We find similar results when IC and LoRA are jointly optimized across a spectrum of solutions where a tuning coefficient smoothly shifts the weight of the joint optimization from all-LoRA to all-IC; forecast improvement is not unique to the relative contributions of model and IC corrections. To better discriminate the source of error, we introduce a second model, Pangu-Weather, as a supervisor that gates IC updates during joint optimization. This gated optimization is the same as before, except that IC updates at each epoch are accepted only when they improve the forecasts of both models; otherwise, only the LoRA update is accepted. Results show that this cross-model constraint substantially improves agreement between the two models in their response to the same optimized ICs, narrowing the gap in mean forecast error reduction from 64% to 10%. Moreover, when used together, the LoRA and IC corrections from the gated optimization yield GraphCast forecast improvements similar to those from the ungated optimization. These results imply that model error that is encoded in the ungated ICs is shifted to the LoRA corrections via gating, yielding IC corrections that may provide better analysis estimates.

1 Introduction

Forecast error in numerical weather prediction reflects both imperfect knowledge of the atmospheric state and deficiencies in the model that advances it. Optimizing the initial condition against later observations, as in strong-constraint four-dimensional variational data assimilation (4DVAR), can reduce forecast error by encoding observational information into the initial state [e.g., Talagrand and Courtier, 1987, Pires et al., 1996]. The resulting reduction in forecast error, however, does not reveal how much of the improvement derives from a more accurate initial state versus compensation for model error. The computational efficiency and end-to-end differentiability of machine-learning (ML) models enable renewed investigation of this well-established attribution problem by making it possible to search initial states over previously impractical forecast ranges and to include model corrections as well.

Initial-condition (IC) optimization in ML models illustrates both the promise and the challenge of associating forecast improvements with the IC modifications. Using GraphCast [Lam et al., 2023], Vonich and Hakim [2026] employ IC optimization to obtain an average 86% reduction in ten-day forecast error across 732 initialization times, with forecast skill extending to ~30 days. When the GraphCast-optimized initial conditions are used to initiate Pangu-Weather [Bi et al., 2023], however, the average error reduction peaks at only 21% on day 4. This contrast motivates the present study, as the optimized increment may correct analysis error while also compensating for model error specific to GraphCast.

This attribution problem is well established in strong-constraint 4DVAR, where improved forecast fit need not—and often does not—imply a more accurate estimate of the initial state [Isaksen et al., 2005, Toth and Peña, 2007].

The ambiguity in attributing forecast error to the initial condition versus the model has a long history. Some studies separate initial-condition and model-error contributions by assuming that state error grows from initialization, while model deficiencies continuously add error during the forecast [Dalcher and Kalnay, 1987, Toth and Peña, 2007]. Swanson et al. [1998] show that model error can limit the benefits of long assimilation windows, eventually degrading both state estimates and forecasts. In a complementary line of work, the adjoint-based “key analysis error” framework, analogous to the optimization approach of Vonich and Hakim [2024], seeks the initial perturbations that most reduces 48-hour forecast error using tangent linear and adjoint models [Rabier et al., 1996, Klinker et al., 1998]. Although successful at reducing forecast error, Isaksen et al. [2005] established that such perturbations cannot be uniquely interpreted as analysis corrections. Different verification norms produce markedly different perturbation structures despite comparable forecast improvements, and the resulting perturbations often degraded the first 12 hours of the forecast. Orrell et al. [2001] identify a more fundamental limit to the key analysis framework, showing that model error sets an approximate lower bound on how closely any model trajectory can shadow the truth, such that small perturbations to the initial condition cannot offset model error beyond a limited time.

Weak-constraint 4DVAR aims to make the attribution problem more explicit by including both the initial state and model error as control variables [e.g., Fisher et al., 2005, Fisher and Auvinen, 2011, Fisher et al., 2011, Trémolet, 2007a]. Judd and Smith [2004] show that even small model imperfections can substantially bias state estimates when the model is assumed to be perfect. They propose using pseudo-orbits, allowing departures from the model's predicted trajectory to account for errors in its dynamics. This adaptability does not, however, fully resolve the underlying attribution ambiguity, as corrections to the initial condition and model can compensate for one another in minimizing the forecast objective [Trémolet, 2006, 2007b]. Operational data assimilation systems delineate the two main error types through structural assumptions about their properties such as spatial scale, temporal persistence, and prior covariance [Laloyaux et al., 2020, Bonavita, 2021]. Such a priori divisions are useful only to the extent that the assumed structures match the actual errors. More recent work has explored learned model-error corrections, progressing from offline hybrid-model approaches to formulations embedded directly within weak-constraint 4DVAR [Farchi et al., 2021, 2023, 2025].

Yet even with more flexible representations of model error, attribution remains challenging when both state and model corrections are inferred within a single forecast system. Transplant experiments, in which one forecast model is initialized from another system's analysis, provide a more direct test of whether forecast differences stem from the analysis or the model. Initially limited to case studies, this approach was later extended through broader intermodel and observing-system experiments [Harrison et al., 1999, Magnusson et al., 2019]. These studies generally associate less systematic, case-dependent forecast errors with initial-condition differences and persistent biases with model formulation differences. At a more basic level, Privé and Errico [2013] show that data assimilation embeds systematic model errors in the analysis where observations are sparse, carrying them into the initial conditions for the subsequent forecast.

In this study, we show that differentiable ML weather models do not resolve this classical degeneracy, but offer efficient new ways to interrogate it through direct access to the neural-network [Toms et al., 2020, Flora et al., 2024]. Direct access to parameters lends itself to a targeted model correction. As the counterpart to IC optimization [Vonich and Hakim, 2026], we use low-rank adaptation (LoRA) to optimize the forecast model itself for a given trajectory. Originally developed as a parameter-efficient method for post-training large language models [Hu et al., 2021], LoRA learns low-rank changes to the base model, with rank providing direct control over the dimensionality of the correction. The Aurora model employs this technique, making it tractable to train against a 10-day forecast loss [Bodnar et al., 2025]. Note that weight correction through LoRA differs from the additive model-error forcing used in traditional weak-constraint 4DVAR because it modifies the forecast operator and remains fixed throughout the rollout, rather than applying a separate correction to the evolving model state [e.g., Trémolet, 2006, Fisher et al., 2011]. We use it here as a parsimonious control on model error that can be optimized against the same verification target as an initial-condition increment.

We explore the separation of initial-condition and model error in four stages using JAX automatic differentiation [Bradbury et al., 2018]. First, we hold the initial condition fixed and optimize only a LoRA weight correction, δW\delta W, through GraphCast, to compare how closely a low-rank model correction can shadow the verifying trajectory relative to initial condition optimization. Second, we simultaneously optimize an IC correction, δx\delta x, and a model correction, δW\delta W. A scalar regularization term varies the relative penalty on the two controls, allowing us to examine how that balance, together with optimization window-length, affects performance in a different model, Pangu-Weather. Next, we use Pangu-Weather as a supervisor to gate the optimization in a proof-of-concept experiment aimed at separating IC and model error. After each simultaneous IC–LoRA gradient calculation, the IC update is retained only if forecasts improve for both Pangu-Weather and GraphCast; if Pangu-Weather does not improve, only the LoRA update may be committed.

This tests whether an independent forecast model can guide the state optimization toward IC updates that are beneficial for both models. Last, we extend model optimization by training a separate LoRA correction for each 24-hour period of a 10-day forecast without consideration of the IC. This introduces time-dependent model adjustments, conceptually similar to the tendency corrections used in traditional weak-constraint 4DVAR.

Together, these experiments compare the state-only and model-only limits of forecast optimization and probe the range of state–model error partitions that arise when both controls are available. Section 2 describes the methodology for the four experiment types. Section 3 covers results, including forecast dependence on LoRA rank, the full range of state–model weighting experiments, and using Pangu-Weather as a supervisor on the initial condition corrections. The time-dependent LoRA results are described in Section 3.4. Section 4 provides a concluding discussion and ideas for future work.

References (37)