Abstract
Data assimilation (DA) integrates physical models with sparse, noisy observations. While classical methods like 4D-Var are robust, they are computationally intensive. This paper presents a variational inference extension to the Combined Optimization of Dynamics and Assimilation (CODA) framework. By employing an unsupervised learning approach that predicts a probability distribution rather than a point estimate, the proposed method achieves well-calibrated uncertainty metrics. Furthermore, the model serves as an effective initialization for weak-constraint 4D-Var, significantly reducing errors and improving convergence across varying assimilation window lengths.
Introduction
Data assimilation (DA) is essential for estimating the true state of complex physical systems, such as atmospheric or oceanic dynamics, by combining mathematical models with incomplete and noisy sensor data. Traditional methods like the Kalman Filter and 4D-Var are mathematically rigorous but often computationally prohibitive for high-dimensional systems. While machine learning (ML) offers potential speedups, existing models frequently suffer from deterministic bias—providing point estimates without uncertainty—and a reliance on "ground truth" data that is rarely available in real-world geoscience.
This research introduces a variational inference extension to CODA (Combined Optimization of Dynamics and Assimilation), an unsupervised ML framework. The model learns both the system state and its associated uncertainty directly from noisy observations, providing a "warm start" for classical optimization schemes.
Methodology: Stochastic CODA
The authors extend the CODA architecture to output a diagonal Gaussian distribution, defined by a mean ($\mu_t$) and standard deviation ($\sigma_t$), rather than a single vector.
Unsupervised Loss Function
To train the model without ground truth, a two-part unsupervised loss function is employed:
- Observation Error: Measures how well the predicted state, when evolved through the physical model, aligns with future observations.
- Self-Consistency (Entropy Term): Uses Kullback-Leibler (KL) divergence to ensure the model's current prediction is consistent with its previous predictions. A hyperparameter $\lambda$ weights this term to prevent uncertainty collapse.
Hybrid 4D-Var Integration
The trained ML model is integrated into a weak-constraint 4D-Var algorithm. It provides the initial trajectory and "foreground/background priors" (guesses for the start and end of the assimilation window), which the classical optimizer then refines.
Experimental Setup
The framework was evaluated using the Lorenz-96 system, a standard benchmark for atmospheric dynamics featuring 40 variables on a periodic latitude circle. The challenge involved a scenario where 75% of variables were masked and the remaining 25% were corrupted by Gaussian noise. Testing was conducted across three dataset scales: Small ($10^4$ steps), Medium ($3 \times 10^5$), and Big ($3 \times 10^6$).
Results and Discussion
Uncertainty Calibration
A key finding is that unsupervised models can learn reliable uncertainty estimates by enforcing physical consistency. The hyperparameter $\lambda$ acts as a calibration tool; the authors found that moderate values lead to highly reliable estimates.
As shown in the reliability diagram, Variational CODA achieves a Spread-Skill Ratio (SSRAT) of 1.000 on the largest dataset, outperforming Dropout-based Bayesian networks and ensembling methods. On the "Big" dataset, the method achieved a Continuous Ranked Probability Score (CRPS) of 0.168, surpassing the 0.187 achieved by standard Dropout models.
4D-Var Performance
The integration of ML as a "warm start" for physics-based optimization yielded significant gains. The introduction of "foreground priors"—ML-provided guesses for the end of the assimilation window—markedly improved accuracy for shorter windows.
As the assimilation window length increases, the MSE for CODA-initialized 4D-Var drops significantly compared to standard heuristic initializations (e.g., "Nearest init"). This improvement persists even as the window grows to $10^5$ time steps.
Conclusion
The variational extension to CODA demonstrates that unsupervised machine learning can provide well-calibrated uncertainty and accelerate classical data assimilation. While the current model assumes diagonal covariance and Gaussian distributions, it establishes a robust foundation for hybrid ML-physics systems. Future work will focus on scaling these methods to high-resolution, high-dimensional weather models and exploring non-Gaussian error distributions.
Summary updated