Learning Variational Data Assimilation Models and Solvers

Ronan Fablet, Bertrand Chapron, Lucas Drumetz, Étienne Mémin, Olivier Pannekoucke, François Rousseau · DOI

Abstract

This paper addresses variational data assimilation from a learning point of view. Data assimilation aims to reconstruct the time evolution of some state given a series of observations, possibly noisy and irregularly-sampled. Using automatic differentiation tools embedded in deep learning frameworks, we introduce end-to-end neural network architectures for data assimilation. It comprises two key components: a variational model and a gradient-based solver both implemented as neural networks. A key feature of the proposed end-to-end learning architecture is that we may train the NN models using both supervised and unsupervised strategies. Our numerical experiments on Lorenz-63 and Lorenz-96 systems report significant gain w.r.t. a classic gradient-based minimization of the variational cost both in terms of reconstruction performance and optimization complexity. Intriguingly, we also show that the variational models issued from the true Lorenz-63 and Lorenz-96 ODE representations may not lead to the best reconstruction performance. We believe these results may open new research avenues for the specification of assimilation models in geoscience.

Introduction

In geosciences and weather forecasting, the goal is often to estimate the true state of a complex system from a stream of messy, incomplete, and noisy sensor data. This process, known as Data Assimilation (DA), typically relies on Variational DA (4D-Var). Traditionally, 4D-Var treats state estimation as a massive optimization task: finding the state sequence that best fits both the observations and a prescribed physical model (usually defined by ODEs or PDEs).

However, traditional 4D-Var faces two major challenges. First, the Adjoint Problem: minimizing the cost function requires the "adjoint" of the physical model, which is mathematically grueling to derive and code manually. Second, Model Mismatch: physical equations are often approximations that may not be the optimal priors for reconstructing specific datasets.

Methodology: End-to-End Learning

To address these limitations, we propose an end-to-end learning framework that replaces hand-coded components with neural networks (NNs). The architecture, as shown in Figure 1, consists of two primary differentiable components:

  1. The Variational Model ($\Phi$): This component represents the underlying system dynamics. We evaluate both ODE-based residual networks and GENN (Gibbs Energy Neural Network) architectures, which can learn dynamics from scratch without assuming specific physical equations.
  2. The Solver ($\Gamma$): Instead of standard gradient descent, we employ a "learned optimizer" (e.g., an LSTM or CNN). This solver takes the gradient of the variational cost—calculated automatically via autograd—and learns to update the state estimate efficiently.
End-to-end neural network architecture for variational data assimilation, featuring a ResNet-based variational model and a learned gradient-based solver.

By embedding the entire pipeline in a deep learning framework, the "adjoint" is handled automatically. This allows for both Supervised Learning (matching known ground-truth states) and Unsupervised Learning (minimizing internal consistency between observations and the model).

Experimental Setup

We evaluated the framework on two classic benchmarks for chaotic systems:

  • Lorenz-63: A 3-dimensional chaotic system representing simplified atmospheric flow.
  • Lorenz-96: A 40-dimensional system simulating atmospheric variables around a latitude circle.

In both scenarios, we simulated "noisy and partial" observations to test the ability of the NNs to reconstruct the full state from limited data.

Key Results and Discussion

Our experiments revealed that the end-to-end approach significantly outperforms traditional methods in both accuracy and speed. In the Lorenz-63 system, the best supervised model achieved a reconstruction error score of 1.34, compared to 3.55 for classic fixed-step gradient descent (FSGD). For the 40D Lorenz-96 system, joint learning reduced the error from 1.06 to 0.38.

Comparison of reconstruction error vs. variational cost for different solver strategies, demonstrating the superior efficiency and accuracy of jointly learned models and solvers.

The "True Model" Paradox

One of the most intriguing findings is that using the actual equations that generated the data (the "true" Lorenz ODEs) did not always yield the best reconstruction. A learned CNN model (GENN) often outperformed the true physics. This suggests that for data reconstruction tasks, a flexible, data-driven prior might be superior to a rigid physical one.

Optimization Efficiency

Traditional solvers often require thousands of iterations to converge. In contrast, our learned NN solvers achieved superior results in as few as 20 iterations, effectively learning the shortcuts within the optimization landscape of the variational cost.

Conclusion and Future Work

This work demonstrates that learning both the variational model and the solver end-to-end provides a powerful alternative to traditional data assimilation. While these results are promising for low-to-mid dimensional systems, scaling this approach to global climate models with millions of variables remains a challenge. Future research will focus on improving unsupervised performance and incorporating "physics-informed" constraints to ensure learned models maintain physical consistency.

Summary updated

BibTeX
@article{fablet2021learning,
  author = {Ronan Fablet and Bertrand Chapron and Lucas Drumetz and Étienne Mémin and Olivier Pannekoucke and François Rousseau},
  title = {{Learning Variational Data Assimilation Models and Solvers}},
  journal = {Journal of Advances in Modeling Earth Systems},
  year = {2021},
  doi = {10.1029/2021ms002572},
}
Figure