Variational Data Assimilation with a Learned Inverse Observation Operator

Thomas Frerix, Dmitrii Kochkov, Jamie A. Smith, Daniel Cremers, Michael P. Brenner, Stephan Hoyer

Variational data assimilation is a cornerstone of modern numerical weather prediction. It involves finding the optimal initial state of a physical system so that its simulated evolution closely matches real-world measurements over a specific time window. However, this process relies on solving a notoriously difficult, non-convex optimization problem. This paper introduces a machine learning approach that learns an "inverse observation operator" to map sparse observations back to full physical states, significantly improving forecast accuracy on chaotic fluid dynamics models.

The Challenge of Data Assimilation

In numerical weather prediction, agencies use techniques like 4D-Var to determine the current state of the atmosphere. They tweak the initial state of a physics simulation until its output aligns with sparse real-world measurements, such as satellite data or weather station readings.

The major bottleneck in this process is the "observation operator"—the function that maps the full, high-dimensional physical state of the simulation to sparse, lower-dimensional observations. This operator is typically non-invertible and non-linear. Because the underlying fluid dynamics are chaotic, small errors in the initial state blow up exponentially. Consequently, the optimization problem is highly non-convex and incredibly sensitive to initialization. A poor initial guess traps the optimizer in a local minimum, leading to inaccurate weather forecasts.

A Machine Learning Approach to Optimization

To overcome these optimization hurdles, the authors augment the traditional 4D-Var algorithm with deep learning. Crucially, instead of replacing the exact, differentiable physics simulator (written in JAX) with a neural network, they use machine learning strictly to improve the optimization process itself.

They train a fully-convolutional neural network (CNN) in space and time to act as an approximate inverse observation operator. This network learns to take a sequence of sparse observations and map them back to a full, dense physical state trajectory. This learned operator is then deployed in two novel ways:

  1. Inverse Initialization: Instead of initializing the optimizer with a simple mathematical interpolation of the sparse data, the observations are passed through the CNN. The predicted initial physical state is then used as a highly accurate starting point for optimization.
  2. Hybrid Optimization: Standard 4D-Var optimizes the trajectory to match data in the "observation space." The authors propose first optimizing the trajectory to match the CNN's predicted states in the denser "physics space," which yields a much smoother, better-behaved objective function. After finding a good basin of attraction, they switch back to the exact observation space for final fine-tuning.
Overview of the proposed method and qualitative results.

As illustrated above, the proposed method fundamentally alters the optimization landscape. By providing a better initialization and transforming the objective function into a smoother space, the optimizer can bypass local minima and find a significantly better solution.

Experimental Setup and Key Results

The authors evaluated their method on simulated datasets from two chaotic dynamical systems:

  • Lorenz96 Model: A classic 1D periodic model used in atmospheric science. Observations were generated by subsampling every 4th grid point from 32,000 independent trajectories.
  • 2D Kolmogorov Flow: A more complex, incompressible Navier-Stokes turbulent fluid flow on a 64x64 grid, with observations subsampled at every 16th grid point.

Forecast quality was measured using a relative $L_1$ point-wise error metric, where an error of 1.0 represents the average performance of a completely random evolution of the system.

The improvements were substantial:

  • Lorenz96: The baseline method (averaging initialization + observation space optimization) yielded an error of 1.0. The proposed method (inverse initialization + hybrid optimization) slashed this error to 0.07.
  • Kolmogorov Flow: The baseline method (bicubic interpolation + observation space optimization) also yielded an error of 1.0. Using the learned inverse initialization dropped the error to 0.20.

Qualitatively, the improvements are stark. In the 2D turbulence model, the baseline method failed to capture dominant flow features. In contrast, the proposed method visibly and accurately predicted the ground truth vorticity (the local rotation of the fluid) throughout the forecast window, capturing the complex dynamics that the baseline missed.

Limitations and Future Directions

While the results are highly promising, the current experiments are conducted on simplified, idealized models (1D Lorenz96 and 2D turbulence) rather than full 3D operational weather models. Additionally, to isolate the effect of the observation operator, the authors simplified the standard 4D-Var formulation by omitting background state priors and explicit observation noise models.

Future work will focus on scaling these techniques to more complex, real-world systems. The authors note that the core functionalities of modern ML frameworks—such as automatic differentiation and hardware acceleration—are perfectly primed to advance data assimilation and other physics-constrained optimization problems in operational settings.

Summary updated

BibTeX
@inproceedings{frerix2021variational,
  author = {Thomas Frerix and Dmitrii Kochkov and Jamie A. Smith and Daniel Cremers and Michael P. Brenner and Stephan Hoyer},
  title = {{Variational Data Assimilation with a Learned Inverse Observation Operator}},
  booktitle = {International Conference on Machine Learning},
  year = {2021},
  url = {https://openreview.net/forum?id=rbVWGZ3XMmq},
}
Figure