Papers for

environmental model developers

Papers whose findings have a practical use for this group, as judged from the abstract. Open a paper to read what it means in practice.

KPPax enables differentiable chemistry models for air pollution studies

KPPax: preprocess differentiable kinetic ODE for machine learning in atmospheric chemistry

Abstract: Atmospheric chemical mechanisms are commonly distributed in the language of the Kinetic PreProcessor (KPP), which generates efficient Fortran or C code but does not fit into the differentiable programming frameworks in which machine-learning models are developed. We present KPPax, a kinetic preprocessor that generates differentiable, just-in-time compiled, and vectorisable chemistry code in JAX from mechanisms written in the KPP language. KPPax evaluates the rate law with sparse operations in log space, which keeps it differentiable, and integrates the stiff system with the implicit solvers and the forward- and reverse-mode adjoints of the \texttt{diffrax} library, so that exact sensitivities are obtained without hand-derived adjoint code. We demonstrate two applications with the POLLU benchmark mechanism. In the first, the Fisher information matrix computed from an automatically differentiated Jacobian predicts, before any fit, which of the 25 rate coefficients a flow-tube-like design can identify, and noisy synthetic estimation confirms the predicted uncertainties of the nine identifiable rate coefficients to within about 30\% while revealing clusters of fast reactions of which only ratios are constrained. In the second, a neural-network correction of an emission inventory is trained offline on per-scenario 4D-Var retrievals and then fine-tuned online through the chemical model, which reduces the error of the biogenic correction by a factor of 2.4--5 and recovers information on low-temperature emissions that the individual retrievals lose. KPPax makes KPP mechanisms directly usable for parameter estimation and hybrid physics--machine-learning modelling.

Tue 27 OctArtificial Intelligence
The gist
Atmospheric chemistry models are important for understanding air pollution, but their code is often hard to use in machine learning tools. The authors present KPPax, a new tool that changes chemistry models into a format that works smoothly with advanced machine learning software called JAX. This allows exact calculations of how changing chemicals affects outcomes without extra manual coding. They show that KPPax helps identify which chemical reactions can be measured and improves corrections to air pollution data using machine learning.
Open → 2610.37655v1

Batched online learning improves weather forecast models with neural networks

Batched NN 4D-Var: a performant hybrid model framework for the Integrated Forecasting System

Abstract: Hybrid forecasting systems combining machine learning and numerical weather prediction offer a promising route toward improved forecast skill while preserving physical consistency. In this study, we investigate online learning of state-dependent model-error corrections within the Integrated Forecasting System using 4D-Var. Building on previous work, we represent model error using a neural network embedded within the forecast model and trained from observations through the data assimilation cycle. First, we introduce a targeted variant of neural-network 4D-Var in which only the neural-network parameters are estimated, while the atmospheric state is provided by a precomputed analysis. We then propose a batched extension that processes assimilation windows in random order and averages parameter increments over multiple windows, drawing inspiration from mini-batch stochastic optimization. Experiments are conducted with the Integrated Forecasting System of the European Centre for Medium-Range Weather Forecasts at an intermediate resolution. Sequential online learning substantially improves forecasts within the training period, with error reductions exceeding 10%in some cases. However, these improvements fail to generalize to unseen data. In contrast, the proposed batched formulation produces hybrid models that consistently improve forecast skill in out-of-sample experiments. Larger batch sizes accelerate convergence and improve robustness by reducing the noise of parameter updates. Diagnostics further show that the online-trained corrections preserve realistic forecast variability and do not improve skill through artificial smoothing. These results demonstrate that the formulation of the online learning problem is critical for generalisation and establish batched online training as a promising framework for hybrid machine-learning/data-assimilation systems.

Fri 23 OctMachine Learning
The gist
Weather forecasts can be more accurate when computers learn from both physical models and real data. The authors study a way to improve weather predictions by training neural networks inside a weather model during regular updates. They show that learning from many small time periods at once, called batched learning, helps the system make better and more reliable predictions for new weather situations. This method avoids overfitting, meaning the model doesn’t just memorize past data but improves its general skill.
Open → 2610.32582v1