arXiv:2610.33771cs.AIOct 2026

Manuscript Offprint

arXiv:2610.33771

An actively trained neural operator for near-explicit atmospheric chemistry

Zhi-Song Liu, Wenqing Peng, Ammar Kheder, Michael Boy

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Earth-system models simplify atmospheric chemistry into condensed mechanisms, because near-explicit mechanisms such as the Master Chemical Mechanism (MCM) are too costly to solve in every grid cell. Neural emulators could lift this limit, but most advance the chemistry in small time steps and cover only a few species or a reduced mechanism. Here we introduce FNO-MoE, a Fourier neural operator with a mixture of experts that predicts the full near-explicit chemical state over 30 minutes in a single call. The same network also guides its own training, using the disagreement among its experts to select the most informative box-model simulations. At equal cost, this active sampling yields a more accurate emulator than random or evenly spread sampling. Fine-tuning on longer trajectories keeps it stable over multi-hour runs in which models trained on short simulations diverge. The resulting emulator reproduces the evolution of thousands of species with high fidelity, remains accurate for unseen chemical compositions and runs orders of magnitude faster than the numerical solver. These results open a new direction for emulating complex atmospheric systems: neural operators that predict the full chemical state over long windows and choose their own training data. Training under changing meteorology is the next step towards bringing near-explicit chemistry into Earth-system models.

Keywords: atmospheric chemistry, Master Chemical Mechanism, Earth-system modelling, neural operator, mixture of experts, active learning

1 Introduction

Atmospheric chemistry controls the lifetimes of pollutants and greenhouse gases. It also produces the low-volatility vapours that grow new particles into cloud condensation nuclei. Earth-system and chemical transport models must solve this chemistry in every grid cell at every chemistry time step. They can afford to do so only with condensed mechanisms, which lump organic compounds into tens to hundreds of surrogate species. Even then, gas-phase chemistry typically accounts for 36–95% of the computational cost of a chemical transport model [1]. The Master Chemical Mechanism (MCM) instead describes tropospheric gas-phase oxidation near-explicitly [2]; the configuration used here links 6,068 species through 18,490 reactions. Its stiff ordinary differential equations are expensive to integrate with standard solvers [3], so near-explicit chemistry is used mainly in box and column models [4]. As a result, large-scale models cannot follow the individual oxidation intermediates and condensable products that the MCM resolves.

A neural emulator could make this detail affordable, but only if it is designed for the setting in which it will run. Inside a host model, the chemistry routine never starts from a box-model initial condition. It receives whatever species vector transport, emissions and the previous chemistry step have left behind, together with the local physical conditions, and it must return the state at the next coupling time. An emulator for this setting should therefore meet three requirements: (i) a full-state mapping, (ii) few calls and (iii) stable rollouts. First, it should map the full chemical state and the physical conditions to future states, starting from any point along a trajectory. Second, it should need as few calls as possible per simulated hour, because every call is repeated in every grid cell. Third, it should remain accurate when its own predictions are fed back as input over many hours. We call such a chained integration a rollout; keeping it stable is a known challenge for autoregressive neural solvers [5].

Neural networks have become credible surrogates across Earth-system modelling, from subgrid parameterization [6] to global weather forecasting [7, 8]. For gas-phase chemistry, learned solvers have been built with random forests [9], autoencoders [10], mass- and energy-conserving networks [11], attention-based operators [12] and condition-modulated residual networks [1]. Two works also address long-run stability. Online training kept a neural solver for a 12-species mechanism stable over year-long global simulations [13]. SIMADy learns a sparse mass-action reaction network on six latent species of the MCM, whose trajectories are bounded by construction [14]. Together, these works establish that learned chemistry can be both fast and stable. However, two limitations separate them from the requirements above.

First, most emulators learn a step-wise solver. This is either a network that advances the state by one chemistry time step or a reduced system of differential equations that must itself be integrated [14]. In both cases the cost is paid at every step, so the achievable speedup is limited by the number of calls and the overhead of each call. For example, a step-wise emulator that is 80–130 times faster than the numerical solver offline accelerates the chemistry module of a chemical transport model by only 2–4.6 times once embedded [1]. Step-wise emulation therefore works against requirement (ii).

Second, most emulators predict only a small chemical state, short of the full state that requirement (i) asks for. They cover condensed mechanisms of 12 to 72 species [1, 13] or a few target species. Examples are ozone predicted through six latent variables [14] and five trace gases predicted by an air-quality foundation model that does not enforce chemical consistency among them [15]. Scaling up to the full state also changes the data problem. With a small state, the choice of training simulations matters less, and existing emulators draw them from predefined scenarios or at random, without asking which simulations would be most informative. At near-explicit scale this approach becomes a real constraint. In our setting, the initial conditions of a reference simulation span 150 dimensions, so a finite budget covers this space only sparsely, and every simulation spent on an uninformative condition is a costly loss. More representative sampling of the state space has accordingly been identified as a priority for chemistry emulators [1].

Here we address both limitations with FNO-MoE, a Fourier neural operator with a mixture of spectral experts that emulates about 4,700 MCM species (Fig. 1). A neural operator learns a map between functions rather than between fixed-size vectors; here it maps the current state to the trajectory that follows. First, instead of a step-wise solver, we therefore learn an operator that predicts a whole block of chemistry at once. From the current state and physical conditions, it returns all 30 minute-resolved states of the next 30 minutes in one forward pass. A six-hour integration thus takes twelve calls, regardless of the internal step size of the stiff solver. This answers the first limitation and requirements (i) and (ii).

Second, to answer the data problem, we let the emulator decide which training simulations are run. Each of its four experts predicts a plausible trajectory, and where the experts disagree, the model is likely to be uncertain. We use this disagreement to rank candidate box-model simulations before any of them is run. Only the highest-ranked candidates are simulated, and the emulator is retrained on the result. The same network thus both emulates the chemistry and ranks which simulations are worth running, so that the reference budget is spent where the emulator is least certain. Finally, to meet requirement (iii), we fine-tune the operator on windows drawn from six-hour trajectories. This exposes it to the slowly evolving states that it reaches when its predictions are chained over many calls.

At a fixed budget of 10,000 reference simulations, active sampling gives the lowest one-step error, that is, the error of a single 30-min prediction, in all four metrics and in each of seven atmospheric regimes. Six-hour fine-tuning removes divergence: none of 70 six-hour rollouts diverges (35 test cases, each run with two fine-tuned variants), against 66 of 70 for the two one-hour models. The deployed model reproduces the six-hour trajectories of all 4,691 retained species, with a median per-species coefficient of determination of 0.998. On compositions far from the training design, this median falls modestly, to 0.990. The model also reproduces canonical chemical responses to strong forcing, although it misses the most extreme states. It runs about 750 times faster than the reference solver on one CPU core, and batched GPU inference raises the throughput to 4.3×1054.3 \times 10^5 times that of the reference. Finally, a first test with time-varying forcing lowers the median per-species R2R^2 to 0.870. This identifies training on time-varying trajectories as the main step that remains before coupled deployment.

a FNO-MoE emulator: one forward pass maps the full state x0x_{0} and controls m to the next 30 minute-resolved states

Figure

Fig. 1 One network both emulates near-explicit chemistry and chooses its own training simulations. Top: the FNO-MoE emulator maps the full retained state x0x_0 ( S≈4,691S \approx 4,691 species) and four physical controls mm to the next 30 minutes in one forward pass. The input is lifted by an MLP and broadcast over the 30-min horizon with a temporal encoding. Four independent Fourier neural operator (FNO) experts retain 4, 8, 12 and 16 Fourier modes (inset: one spectral block, in which FF, RR and F−1F^{-1} are the Fourier transform, the spectral weights and the inverse transform). A static, species-wise gate forms the weighted sum of the experts' increments, which is added to x0x_0. Bottom: single-round active sampling. (1) Seven physically defined regimes give 2,500 anchor states. (2) In a warm-up, 2,500 box-model (ARCA) simulations, one near each anchor, train the emulator, which is then frozen. (3) A local Sobol draw gives 16 candidate initial condition vectors θ\theta around each anchor. (4) Each candidate's initial state is reconstructed and passed through the frozen emulator, without running the box model. Where the model is uncertain, the experts' predictions fan out; their spread σ\sigma, averaged over species and horizon, is the score u(θ)u(\theta). (5) The three highest-scoring candidates per anchor are kept. (6) The box model, the expensive step, simulates only these, and the emulator is retrained once on all 10,000 simulations. Bottom right: longer integrations chain 30-min blocks, with the last predicted state of one block seeding the next call, and six-hour fine-tuning trains the emulator on 30-min windows cut from six-hour trajectories.

References (22)