Manuscript Offprint
arXiv:2609.00428Accelerating Chemical Kinetics for Exoplanet Atmospheres using Neural Networks
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
ABSTRACT
Observations increasingly reveal the coupled radiative, chemical, and dynamical processes that shape exoplanet atmospheres. Interpreting these atmospheres requires models that can capture this complexity. However, multidimensional models remain fundamentally limited by computational cost, and answering key questions requires simulating the governing physical mechanisms at speeds classical methods cannot achieve. As a result, models often rely on simplifying approximations, such as equilibrium chemistry, even when those assumptions miss important effects. There is a pressing need for fast and accurate chemical kinetics solvers to model planetary atmospheres. Here we present a machine learning local-box chemical kinetics solver for exoplanet atmospheres using a residual flow-map architecture. We demonstrate that this surrogate model is several orders of magnitude faster than a classical solver, achieving microsecond-scale inference while retaining percent-level accuracy. The surrogate model covers a parameter space that spans , , , and compositions ranging from to times solar in both C/O ratio and metallicity. Our model outperforms several commonly used machine learning architectures and performs robustly under the extreme stiffness characteristic of atmospheric chemistry. The machine learning framework presented here is a flexible and efficient approach to emulating state-to-state flow-map problems that commonly arise in numerical simulations.
Keywords: Machine Learning — Chemical Kinetics — Computational Chemistry
1. INTRODUCTION
Chemistry plays a crucial role in governing the structure of exoplanet atmospheres by setting molecular abundances and radiative properties (K. Heng 2017). The physics is incredibly complex: thousands of reaction pathways compete to set atmospheric abundances, mediated by transport, photolysis, condensation, and other processes (e.g., J. I. Moses et al. 2011; S.-M. Tsai et al. 2021). The characteristic timescales of these processes vary many orders of magnitude based on the local pressure and temperature. Although the atmosphere may be dominated by a few key species, less abundant species can affect atmospheric opacity and produce observable spectral features. With the advent of JWST—and increasingly high-fidelity observations—models that can accurately capture atmospheric chemistry are critical to characterize exoplanet atmospheres.
Three-dimensional climate models, known as general circulation models (GCMs), simulate the spatial inhomogeneities, physical processes, and dynamical effects necessary to interpret inherently multidimensional exoplanet observations (e.g., A. P. Showman et al. 2009; E. Rauscher & K. Menou 2010; J. M. Mendonça et al. 2018). Broadly, these simulations operate by discretiz-
Corresponding author: Isaac Malsky
Email: isaacmalsky@gmail.com
MALSKY ET AL.
ing the 3D atmosphere into grid cells and evolving the model forward in time. This allows the model to capture the three-dimensional structure of the atmosphere in latitude, longitude, and altitude.
However, multidimensional models are computationally demanding. Simulations often evolve tens of thousands of grid cells per time step, thousands of time steps per model day, and thousands of model days. These costs also depend on the spatio-temporal resolution of the simulations. Increasing vertical or horizontal resolution, or decreasing the model time step, further increases the cost and runtime. Even when an accurate method exists for modeling a physical process, as in the case of full chemical kinetics, it may be impractical to include within larger models. Ideally, exoplanet observations would be interpreted using an ensemble of 3D simulations spanning all plausible scenarios—for example, different cloud/haze compositions, atmospheric metallicities, and C/O ratios. In practice, the cost of a single simulation makes densely sampled high resolution parameter sweeps either expensive or unfeasible.
Full chemical kinetics is particularly computationally demanding (Y. L. Yung et al. 1984; J. I. Moses et al. 2011; R. Hu et al. 2012; K. J. Zahnle & M. S. Marley 2014; S.-M. Tsai et al. 2021). Solving the chemical evolution requires calculating the time-dependent abundances of many interacting species, coupled through large reaction networks. The resulting systems are stiff: the timescales of the fastest reactions are many orders of magnitude shorter than the timescales of the slowest reactions (S.-M. Tsai et al. 2017). Integrators are forced to use small time steps to remain stable and accurate. As a result, methods that are computationally feasible for standalone chemistry calculations do not scale to multidimensional models.
Chemistry has been implemented within GCMs at a range of complexities. For example, chemical relaxation methods replace full kinetic integration with relaxation toward equilibrium abundances on parameterized chemical timescales (e.g., C. S. Cooper & A. P. Showman 2006; K. J. Zahnle & M. S. Marley 2014; S.-M. Tsai et al. 2018). Alternatively, reduced-network approaches use a smaller set of species and reactions, allowing nonequilibrium chemistry to be evolved more efficiently in multidimensional simulations. For example, mini-chem reduces the full VULCAN network to a small set of major species and net reactions, reproducing the dominant thermochemical behavior at substantially lower cost (S.-M. Tsai et al. 2022; E. K. H. Lee et al. 2023). These methods have enabled chemistry in multidimensional models, but they still require prescribed relaxation behavior, bespoke reaction networks, or trade-offs between speed and accuracy. These simplifications can limit physical accuracy and struggle to capture how transport and kinetics jointly drive atmospheric abundances out of equilibrium (e.g., J. I. Moses et al. 2011; S.-M. Tsai et al. 2018; B. Drummond et al. 2018; O. Venot et al. 2019).
Machine learning (ML) emulation offers a computationally practical way to include complex physical processes within larger models. Emulators are ML frameworks that approximate the input-to-output mapping of classical, deterministic physical solvers (S. L. Brunton & J. N. Kutz 2022). These models are trained on examples from the solver to reproduce its solutions efficiently. While the underlying physical process may be computationally demanding (e.g., coupled partial differential equations), machine learning emulators can serve as surrogate models, asymptoting to the accuracy of the classical solver at a fraction of the computational cost (C. E. Rasmussen & C. K. I. Williams 2006).
Surrogate models for atmospheric chemical kinetics were first developed for Earth simulations. Early work showed that neural networks could emulate stiff 0D atmospheric chemistry and multiphase aerosol chemistry, demonstrating that ML surrogates can reproduce chemically complex time evolution at reduced computational cost (Y. Huang & J. H. Seinfeld 2022; T. Berkemeier et al. 2023). More recent approaches have extended these ideas, with the goal of capturing particularly stiff systems (e.g., S. Goswami et al. 2024; W. Cole Nockolds et al. 2025). In exoplanet atmospheres, J. L. A. M. Hendrix et al. (2023) used a long short-term memory (LSTM) architecture (S. Hochreiter & J. Schmidhuber 1997) to accelerate 1D disequilibrium chemistry calculations. More recently, A. Vojtekova et al. (2025) introduced CHEXANET, a U-Net model (O. Ronneberger et al. 2015) for chemistry in hot-Jupiter atmospheres. These studies demonstrate that ML can accelerate chemical kinetics, but they are generally tied to specific networks, regimes, or profile-level predictions rather than a local state-to-state solver for arbitrary atmospheric grid cells. No existing method provides local, state-to-state chemical evolution across the broad pressures, temperatures, compositions, and time steps needed for multidimensional exoplanet simulations.
To address these issues, we create an ML model trained on the results of the VULCAN chemical kinetics code (S.-M. Tsai et al. 2017, 2021). Methodology regarding the training data, model architecture, and other results are detailed below. Our aim is to create a surrogate model for chemical kinetics, with the following requirements and metrics for evaluation:
i. State-to-State Predictions: The model must predict the future system state (the evolved state after some ) from the initial system state.
ii. Time Step Flexibility: The model must be able to predict state evolution for a continuous range of times (within the training data range).
iii. Accuracy: The model must have low errors, both on average and for worst-case predictions.
iv. Inference Time: The computational cost per prediction must be on the order of microseconds when amortized over a batch (a group of samples processed simultaneously) of samples. This reduces the computational cost to be similar to that of dynamical and radiative processes.
v. Parameter Space: The model must be applicable for a range of temperatures, pressures, metallicities, and C/O ratios.
Our model is local: for each grid cell treated as a zero-dimensional box, it determines how the mixing ratios of the tracked species evolve in time. As such, the emulator can serve as a surrogate for the core solver in atmospheric-chemistry modules that rely on a 0D kinetics scheme that evolves local mixing ratios. The model solves chemical kinetics in a single jump. Given an initial state and a single time step, it predicts the resulting species mixing ratios (with pressure and temperature held fixed).
This article is structured as follows. In Methods, we describe how we created and processed the training data, define the model architecture, and summarize the training procedure and loss function. In Results, we evaluate the model accuracy and speed, compare architectures, and document the parameter-space coverage. In Discussion and Conclusions, we summarize the main results and discuss future applications.
2.1. Data Generation
We modeled the time-dependent chemical evolution of planetary atmospheres using the VULCAN chemical kinetics code (S.-M. Tsai et al. 2017, 2021). The simulations were conducted for a zero-dimensional (single grid cell) configuration, defined by specific pressure and temperature conditions. The chemical network comprised 52 C-H-O-N bearing species and about 1200 reactions, utilizing a fully reversed thermochemical network without photochemistry or radiative transfer treatments. To construct a comprehensive and homogeneous dataset, we randomly sampled the initial conditions and physical parameters. We selected a primary set of twelve abundant species ( , , CO, , , , , , HCN, H, OH, and O) following reduced network architectures such as mini-chem (S.-M. Tsai et al. 2022). The sampling strategy prioritized hydrogen-dominated atmospheres, but also allowed for the exploration of hydrogen-poor regimes. The starting mixing ratios were initialized by sampling helium log-uniformly between and , and the remaining trace species log-uniformly between and . Species outside this primary list were initialized with a negligible floor value of . Following initialization, all volume mixing ratios were normalized to unity. The environmental parameters were sampled independently, with temperatures drawn uniformly from the range K and pressures sampled log-uniformly from bar.
For each VULCAN simulation, the system was evolved from the randomized initial state. VULCAN employs a Rosenbrock solver with adaptive timestep control. We therefore interpolated the results onto a standardized training time grid of 100 time steps. This temporal grid included the initial condition and 99 logarithmic steps ranging from to seconds.
Although the full kinetic network tracks 52 species, we reduced the output data to the twelve primary species listed above. We performed a preliminary abundance distribution analysis to confirm that these species dominate the total abundance across the majority of the parameter space. Although rare, extremely hydrogen-poor conditions can yield complex carbon-rich species; these cases represent a statistically negligible fraction of the dataset.
For model development, we used independent evolutionary tracks, each containing 100 temporal snapshots . We split them 80%/10%/10% into training, validation, and test sets. Each full trajectory can be broken up into training pairs, where is the number of time points. By leveraging the parallel architecture of NASA High-End Computing resources, the calculations were completed within approximately 24 hours, producing a final dataset size of several hundred gigabytes.
Initially, we generated trajectories but discarded profiles where any species abundance falls below , as these often contained unphysical numerical instabilities.
https://github.com/shami-EEG/VULCAN/tree/master/thermo
MALSKY ET AL.
2.2. Data Normalization
Before training, we normalize all features and targets based on only the training set data. For each chemical species, we apply a transform (with a small positive floor of ), and then apply a z-scaling (subtracting the training-set mean and dividing by the training-set standard deviation so that each feature has zero mean and unit variance). Temperatures (which span a smaller range) are z-scaled, while pressures and values are -transformed and then linearly scaled to the interval [0, 1]. The values are calculated from the absolute time grid of the species evolution trajectories. In our dataset, every sample has an identical time grid.
2.3. Dataset Construction
We sample points for each trajectory; each anchor serves as the initial state of a training pair. Of these anchors, the first is always the first time point of the trajectory, while the rest are randomly sampled from the trajectory time grid. Because our dataset was generated using randomized initial abundances, the initial system states have greater diversity, and our model can more efficiently learn the underlying system dynamics by emphasizing these points.
We also randomly choose target points after each anchor point to form the corresponding final state in the pair, with and . Offsets are sampled with replacement, so duplicates can occur. However, because we sample a relatively small portion of the possible pairs, this is not a major inefficiency. This sampling method can under-sample the longest values, as there are relatively few large values compared to shorter time jumps. However, forcing the first anchor point to be the initial state and sampling additional anchors across the grid provide sufficient coverage in practice. Although or can be increased, this increases training cost, and we find these values are sufficient for the level of accuracy desired.
2.4. Model Architecture
We use an encoder–decoder architecture similar to that of an autoencoder (G. E. Hinton & R. R. Salakhutdinov 2006). Autoencoders were originally designed to take an input, create an intermediate representation, and reconstruct the input. Similar architectures can also be used as emulators that learn the evolution of nonlinear systems (e.g., D. E. Rumelhart et al. 1986; K. Hornik et al. 1989; B. Lusch et al. 2018; W. Cole Nockolds et al. 2025). We refer to the model as a flow-map architecture (M. W. Hirsch et al. 2013; P. Cvitanović et al. 2016; T. Qin et al. 2019; V. Churchill & D. Xiu 2023). Here, we
| Property | Value |
|---|---|
| Inputs and Outputs | |
| Global inputs | (Pressure, Temperature) |
| Species predicted | (e.g., ) |
| Time input | |
| Architecture | |
| Latent dimension | |
| Encoder hidden sizes | [1024, 1024, 1024, 1024] |
| Dynamics hidden sizes | [1024, 1024, 1024, 1024] |
| Decoder hidden sizes | [1024, 1024, 1024, 1024] |
| Activation | SiLU |
| Residual connections | latent residual + output residual |
| Training setup | |
| Epochs | 300 |
| Batch size | 2048 |
| Pairs per anchor | 4 |
| Anchor points per trajectory | 8 |
| Optimizer | AdamW |
| Learning rate | |
| Minimum learning rate | |
| Warmup epochs | 10 |
| Weight decay | |
| Loss | |
| Objective | weighted (Eq. 5) |
| Weights | (1.0, 0.5) |
Table 1. Model and training configuration for the chemical kinetics emulator. Each epoch takes minutes on a single NVIDIA A100 80 GB PCIe.
use a flow map to mean a function that advances the system state forward by a chosen time. The solution operator is approximated by
where is the flow map that advances the state forward by a time step , encodes the (normalized) chemical species state, and denotes the global parameters. A diagram of the model architecture is shown in Figure 1. The model is trained as a regression model to act as a surrogate for the full VULCAN calculations. It takes the input state and advances it in time by , where can take any value within the range encountered in the training set. The global parameters () consist of pressure and temperature. In our case, “global” refers to pressure and temperature being held fixed during a single time step.
The architecture contains three sequential building blocks: an encoder that maps the physical state to a latent representation, a latent dynamics operator that evolves this representation in time, and a decoder that reconstructs the predicted

optional residual connection, +
Figure 1. Schematic of the flow-map encoder–operator–decoder architecture used to emulate chemical kinetics. The encoder maps the current normalized input state (and global parameters) to a latent space. The latent dynamics operator evolves this latent state using the time step and global parameters, and the decoder reconstructs the predicted future normalized species state. Optional residual connections can be applied in latent space and/or on the normalized model outputs.
state. This design separates how the initial state is encoded/reconstructed and how it is evolved for a specified time step . We can write the model symbolically as
Motivated by chemical evolution which is often modeled in terms of changes relative to the current state, we also create a variant of the model designed to predict the residuals rather than the full state. This can be done either in the latent space or for the output. A similar approach has been previously used (e.g., K. He et al. 2016) and is known to aid learning for deep models. This variant for our case can be expressed as
where the encoded state, , is added to the output of the latent dynamics network, , and the decoded result is added to the initial state . Either residual connection can be enabled independently. Both are enabled in the model reported here. The architecture and important hyperparameters are shown in Table 1.
As data flows through the model, the encoder network maps the inputs to a latent vector . The latent dynamics network then takes and outputs an evolved latent vector . Finally, the decoder network maps back to the predicted species state . This output value is then de-normalized to physical species mixing ratios.
Our reaction network is particularly stiff. Following S.-M. Tsai et al. (2017), we define stiffness as
where is the slowest reaction timescale and is the fastest, and are the eigenvalues of the Jacobian of the chemical kinetics system. For comparison, the Robertson system (a smaller coupled ordinary differential equation problem often used to benchmark numerical integrators; H. H. Robertson 1967) has a stiffness ratio of . However, chemical networks required for exoplanet atmospheres have , implying a much more difficult numerical problem (S.-M. Tsai et al. 2017). As part of this work, we compare different machine learning architectures on the Robertson problem (see Appendix A).
2.5. Training
All models are implemented and trained with PyTorch (A. Paszke et al. 2019). We train the emulator using mini-batches of sampled flow-map pairs constructed as described above, with batch size . Optimization is performed with AdamW (weight decay ) using an initial learning rate of (I. Loshchilov & F. Hutter 2017). We use a linear warmup over the first 10 epochs followed by cosine annealing to a minimum learning rate of . The training objective is the
MALSKY ET AL.
weighted combination of log-ratio and normalized-space MSE losses described in Eq. 5.
Training is run on a single NVIDIA A100 80 GB PCIe GPU using automatic mixed precision in bfloat16 mode, with TF32 enabled. We enable cuDNN benchmarking and do not enforce deterministic execution. For the full VULCAN emulator configuration, training requires ~20 minutes per epoch on the A100. The smaller models used for ablation tests (e.g., the models with fewer parameters shown below) do not saturate the A100, and their wall-clock time is correspondingly dominated by non-compute overheads rather than GPU throughput.
2.6. Weighted Loss Function
We find that a custom loss function results in improved model performance. We implement both an loss in space and an MSE loss in normalized space during training:
where and are the mean and standard deviation of for species , computed from the training set and used to standardize each species in log space, and represents the physical (non-normalized) species abundances. The total objective is a weighted sum of these components; specifically, we set the weights of and to 1.0 and 0.5, respectively. Both losses are averaged over the predicted species.
Equation 5 is for a single target state (i.e., one initial state and the resulting state after some ). Although not shown here for simplicity, during training each sampled dataset item consists of one anchor state and target times, and we compute the loss for every target in the mini-batch. The final loss is the mean over all sampled pairs and all samples in the mini-batch (i.e., over target states, equivalently scalar species terms). Other loss functions, including Huber loss and MAE, were also explored but yielded lower overall accuracy.
3. RESULTS
3.1. Accuracy
Our machine learning model is able to accurately emulate the chemical kinetics evolution predicted by VULCAN. Figure 2 shows an example test-set trajectory of the model. From a single initial condition, the model predicts the temporal evolution of species abundances over times ranging from to seconds. The model captures the behavior of dominant species, like , that remain relatively stable in abundance, as well as less abundant species, like , that show a large dynamic range. Although the VULCAN network used to generate the training data includes 52 distinct species, the model only tracks the 12 species shown in Figure 2. We track the same 12 species as S.-M. Tsai et al. (2022), as this set is the most important for governing thermal opacities. The remaining 40 species are not included as model targets or input features. This demonstrates that, for our regime, the evolution of these key species can be accurately predicted using the smaller subset of species (at least within the time domain of our non-autoregressive model). Furthermore, the model architecture is flexible with respect to the number of species. Using a smaller or larger species set requires retraining, but no changes to the underlying model—making the architecture flexible for future atmospheric studies beyond exoplanet applications.
Figure 2 shows the true versus predicted abundance values for samples from the test set. We define the fractional error of a single species prediction as , with , where and are the true (VULCAN) and predicted abundances of species i. The is added to better handle species with trace abundances. About 4.5% of test-set targets lie below , and without an epsilon those points would skew the results while not being physically important abundances. Within these predictions, the fractional errors corresponding to the 50th, 90th, 95th, 99th, and 99.9th percentiles were 1.7%, 7.8%, 11.1%, 32.0%, and 101.8%. When filtered to only include true values larger than (dominant species), these fractional errors fall to 1.6%, 6.9%, 9.7%, 23.6%, and 95.8%. In comparison, simplified chemistry schemes may differ from full chemical kinetics by several orders of magnitude (S.-M. Tsai et al. 2022).
3.2. Speed
The cost of calculating each chemical kinetics prediction is on the order of microseconds per sample. This is many orders of magnitude faster than the original VULCAN calculations. At this speed, chemical kinetics calculations are no more computationally demanding.

Figure 2. Left: an example test-set trajectory for our trained chemical kinetics emulator (dashed lines), compared to the ground-truth VULCAN data (solid lines). For the 100 plotted times, the model takes the initial system state, the time to the final state , the pressure and temperature values, and determines the final evolved state of the system. This profile was evolved at a pressure of 3.1 mbar and 2620 K. The model is able to capture the stiff dynamics for times that span more than ten orders of magnitude. Middle: the true abundance values (from VULCAN) versus predicted values for the chemical kinetics emulator. The scatter points represent 10 individual time predictions, for 99 predictions per trajectory, representing all 12 species predictions, all randomly chosen from the test set trajectories. Right: The inference speed of our model, run on an ARM Neoverse-V2 CPU and an A100, and amortized over batches of varying size. Inference on either a CPU or a GPU is orders of magnitude faster than the classical VULCAN chemical kinetics calculations.
than dynamical or radiative calculations within multidimensional models. This opens the door for models that can capture the interactions and feedback between these processes at unprecedented accuracy.
Figure 2 shows the computational cost per sample for both CPU and GPU calculations. Here, a calculation corresponds to a single jump, but includes all tracked species. For a single prediction (batch size of one), the computational cost is on the order of milliseconds. However, larger batches reduce per-sample overhead, and the cost per sample decreases approximately inversely with batch size (until plateauing for large batches). We note that climate simulations require the parallel calculation of many 0D grid cells, meaning that large-batch calculations are well suited to this type of task.
3.3. Architectural Ablation Tests
Large mini-batches can degrade generalization beyond a certain threshold (N. S. Keskar et al. 2016; P. Goyal et al. 2017). This has been of considerable interest given the demand for fast training on enormous datasets and the increase in available compute. Although the underlying causes remain debated, large-batch training has been associated with convergence to sharper minima of the loss landscape (N. S. Keskar et al. 2016). Batch size exploration is especially important for our problem: the model has 11.6 million parameters, but requires a large training dataset to cover the high-dimensional parameter space of chemical kinetics. We expect related works emulating physical processes to face similar constraints, e.g., networks that are small by the standards of modern deep learning (millions of parameters, rather than billions), but trained on very large datasets. Figure 3 shows that our model performance drops for batches larger than 2048. In practice, we mitigate batch-size limitations by training several models simultaneously on one GPU. Additionally, we use a lower learning rate during the warm-up period at the start of training (P. Goyal et al. 2017).
Figure 3 shows that validation loss decreases as model size increases. Both increasing the latent dimensionality and increasing the layer width decrease validation loss. For this work, we aim to balance computational cost and accuracy. Because increasing model size increases inference cost, we choose a relatively small final model that achieves multiscale accuracy with typical fractional errors at the percent level. We expect larger models to further decrease error. As noted, comparable simplified chemical kinetics schemes may have errors larger than 100% (S.-M. Tsai et al. 2022). We performed detailed parameter testing to identify an accurate set of hyperparameters. This included varying layer widths, learning rates, activation functions, weight decay, and other settings.
3.4. Parameter Space Coverage
The data cover an extremely large parameter space in terms of C/O ratios and metallicity, as shown in Figure 4. Because we sample the individual species abundances log-uniformly, the initialized values span an ex-
MALSKY ET AL.

Figure 3. Validation losses for models with different latent dimensionalities ( ), and encoder, dynamics, and decoder network sizes (left). Larger models, and models with larger latent dimensions, perform better. Beyond a threshold, increasing batch size during training degrades model performance. Batch sizes above 2048 resulted in worse generalization (right), likely as the model had converged to a sharp minimum in the training space (N. S. Keskar et al. 2016; P. Goyal et al. 2017).
tremely large set of mixing ratios. We note that we only track an incomplete set of metals, so the metallicity values are a proxy. Because of the broad coverage, the ML emulator is applicable across a diverse set of exoplanet atmospheres. Figure 4 also shows that the accuracy of the model does not degrade across the C/O and metallicity space shown. Although extending the model presented here to other regimes would require regenerating the VULCAN training set and retraining the model, the underlying architecture and workflow would remain the same.
3.5. mini-chem Comparisons
We compare the ML surrogate model against mini-chem , a reduced chemical kinetics solver for gas giant exoplanet atmospheres. Mini-chem evolves a smaller set of species using T-p dependent net forward reactions calibrated against the full VULCAN network, making it fast enough for 3D GCM applications while retaining a physically interpretable reaction structure (S.-M. Tsai et al. 2022; E. K. H. Lee et al. 2023).
Because the ML surrogate model is trained directly from a large VULCAN dataset, a single trained model can cover a broad compositional parameter space. This flexibility is one of the main advantages of the emulator: within the range covered by the training data, it does not have to be recalibrated for different thermochemical regimes. Comparatively, mini-chem is a reduced kinetic solver, so its behavior remains tied to a small set of species and physically motivated net reactions. This makes it fast and interpretable, but also means that applying mini-chem to different metallicities and C/O ratios requires generating the corresponding rates for the net reactions.
Overall, the ML emulator shows closer agreement with the full VULCAN trajectories, although both methods capture the broad system dynamics. Figure 5 shows three example trajectories comparing mini-chem, VULCAN, and the surrogate model. We compare two modes: a single-jump mode, in which each state is predicted directly from the initial state, and an autoregressive mode, in which the model is advanced sequentially over 99 time steps. Both mini-chem and the emulator are initialized from the same VULCAN state. For clarity, we plot six representative species and three example trajectories spanning low-, intermediate-, and high-pressure conditions. Figure 6 shows the mean absolute error, in dex, relative to VULCAN, averaged over all 12 species and all 99 output times for each trajectory. The corresponding 90th-percentile errors are 0.0216 dex and 0.875 dex.
https://github.com/ELeeAstro/mini_chem

Figure 4. The true versus ML-surrogate model predicted compositions: (left) C/O ratio and (right) [M/H] proxy. Because of our sampling methodology, the data span an extremely large range of compositions, and model predictions remain accurate across nearly the entire distribution. Each panel shows 20,000 hold-out test set pairs.
On an Apple M3 Pro CPU, mini-chem’s cost per grid-cell calculation asymptotes to s per solver call, comparable to the ML emulator on the same hardware.
Although our model can also be run autoregressively by feeding each predicted state into the next prediction, the model used here was trained for one-shot state-to-state evolution. In autoregressive tests, the model remains accurate over short roll-outs but degrades at longer times as small prediction errors accumulate and push the input state away from the training distribution (A. Lamb et al. 2016; J. Brandstetter et al. 2022).
Autoregressive functionality is important for GCM applications, where chemical solvers must remain stable over tens of thousands of time steps (e.g., E. Rauscher & K. Menou 2010; B. Drummond et al. 2020; M. E. Steinrueck et al. 2023). The 10th, 50th, 90th, and 95th percentile fractional errors are 0.2%, 3.2%, 14.5%, and 21.1% after ten autoregressive steps, increasing to 0.7%, 13.2%, 56.6%, and 85.3% after 99 steps. This suggests that the architecture can support autoregressive evolution, but a GCM implementation will require training procedures designed specifically to control error accumulation over long roll-outs. In future work, we will adapt training for long-horizon autoregressive tasks. In contrast, mini-chem has been validated against long VULCAN trajectories up to times of s.
4. DISCUSSION AND CONCLUSIONS
In this work, we develop a state-to-state flow-map emulator, to predict evolving local mixing ratios within exoplanet atmospheres. The emulator is trained on VULCAN solutions, and replaces a classical time integration method. The ML model is a direct mapping from an initial state to the evolved state, rather than a time-stepped integrator. When amortized over large batches, the model presented here achieves microsecond-scale inference per sample, making chemical kinetics comparable in cost to dynamical processes within larger models, while maintaining percent-level accuracy for one-shot evolution predictions. The model covers K, bar, s, and species abundances spanning tens of orders of magnitude. Our model also has broad composition coverage, from strongly oxygen-rich to strongly carbon-rich conditions, with C/O ratios spanning at least to times solar, and from strongly subsolar to highly supersolar metallicities, spanning at least to times solar.
Other architectures have been explored to model chemical kinetics. Neural ordinary differential equation models (R. T. Chen et al. 2018) learn the time evolution of a system, but advancing the state still requires numerical time integration; for stiff kinetics this can be computationally expensive. Operator-learning approaches have also been applied in related contexts (S. Goswami
MALSKY ET AL.

Figure 5. Comparison of VULCAN, the chemical kinetics emulator presented here, and mini-chem for three representative trajectories. Solid lines show the VULCAN reference solution, dashed lines show predictions from this work, and markers show mini-chem evolved sequentially through the same time grid. The top row shows the single-jump mode of the ML emulator, and the bottom row shows the emulator run autoregressively for 99 sequential jumps.
et al. 2024), including Fourier Neural Operators (Z. Li et al. 2020). However, for our specific goal of computationally efficiently “jumping” from a single initial state to a final state in one step, we find that these architectures are not well suited to this problem. Lastly, Koopman models (B. Lusch et al. 2018; S. L. Brunton et al. 2021) have been used to learn nonlinear dynamics, but in practice they enforce approximately linear evolution in a learned latent space, which can be restrictive and may not capture strongly nonlinear behavior expected for chemical kinetics (K. Champion et al. 2019).
Chemical kinetics occupies a high-dimensional parameter space: the evolution is sensitive to the abundances of species as well as pressure and temperature. The system is also extremely stiff ( ). Achieving percent-level accuracy required an extremely large training dataset. Our results indicate that while many machine learning architectures perform well on simpler stiff systems (such as the Robertson equations), accurate emulation of exoplanet chemical kinetics requires architectures and training frameworks tailored to stiffness and wide dynamic range. We suggest our chemical kinetics dataset can serve as a benchmark for future machine learning studies.
The residual encoder–operator–decoder architecture reproduces the classical VULCAN solutions to a median fractional error of 1.7% per species. Although the model presented here is tailored for exoplanet chemical kinetics, the results are applicable to emulating large chemical kinetics networks. This framework can be applied more broadly in other atmospheric modeling contexts, such as emulating cloud microphysics, or other objects such as brown dwarf GCMs and sub-Neptune atmospheres which can have complex time-dependent chemistry. Through machine learning emulation techniques, one can reduce the computational cost of expensive routines, increase spatial and temporal resolutions,

Figure 6. Distribution of trajectory-averaged mean absolute errors, relative to VULCAN, for this work and mini-chem. Errors are averaged over all 12 tracked species and all 99 output times for each trajectory, using 1000 trajectories restricted to K and Pa.
and enable broader parameter exploration in multidimensional models.
DATA AVAILABILITY
The code for this paper is available at https://github.com/imalsky/Chemulator, and the Robertson benchmark code of Appendix A at https://github.com/imalsky/robertson-emulator. The trained model weights are archived in a Zenodo record: DOI: 10.5281/zenodo.21866197.
ACKNOWLEDGMENTS
A portion of this research was carried out at the Jet Propulsion Laboratory, California Institute of Technology, under a contract with the National Aeronautics and Space Administration (80NM0018D0004). X.Z. is supported by the National Science Foundation Astronomy and Astrophysics Research Grant (AAG) 2307463, the NASA Exoplanet Research grant (XRP) 80NSSC22K0236, and the NASA Interdisciplinary Consortia for Astrobiology Research grant (ICAR) 80NSSC21K0597. Z.H. is supported by SSERVICLEVER NNH22ZDA020C/80NSSC23M022 and Gatech Astrobiology Fellowship. S.-M.T. is supported by the National Science and Technology Council (grant 114-2112-M-001-065-MY3). E.L. is supported by the CSH through the Bernoulli Fellowship.
APPENDIX
A. ROBERTSON BENCHMARK
As a smaller proxy for the full chemical kinetics problem, we evaluate multilayer perceptron (MLP), flow-map, and DeepONet models on the Robertson problem, a coupled ODE system originally created to model an autocatalytic reaction (H. H. Robertson 1967). This benchmark allows us to quantify each architecture's prediction accuracy and to track how that accuracy degrades as stiffness is increased (by varying the reaction-rate parameters).
The Robertson problem describes the evolution of three chemical species and is widely used to benchmark numerical integrators because it yields a stiff ODE system with rate constants spanning many orders of magnitude, producing widely separated dynamical timescales (e.g., E. Hairer & G. Wanner 1996). The equations are
where , , and are the species abundances, and , , and are the reaction rates. We generated 1000 trajectories (split into training, validation, and test) with initial state . Reaction rates were sampled log-uniformly from the intervals , , and , spanning times to s. The original trajectories were integrated using the Radau IIA method (E. Hairer & G. Wanner
The Deep Operator Network; from L. Lu et al. (2019).
MALSKY ET AL.
1996). We -transformed all inputs (including time), normalizing species with a z-score transformation and scaling time to [0, 1]. This served as a baseline with which we could test different machine learning architectures on an established and similar surrogate model problem.
| Property | Value |
|---|---|
| MLP | |
| Architecture | [4, 32, 32, 32, 32, 32, 32, 32, 32, 3] |
| Parameters | 7,651 |
| Test Set -MAE | |
| Flow-map | |
| Encoder | [3, 32, 32, 16] |
| Propagator | [17, 32, 32, 32, 32, 16] |
| Decoder | [16, 32, 32, 3] |
| Latent dim | |
| Parameters | 7,683 |
| Test Set -MAE | |
| DeepONet | |
| Branch | [3, 32, 32, 32, 32, 16] |
| Trunk | [1, 32, 32, 32, 32, 16] |
| Features | 16 |
| Parameters | 7,635 |
| Test Set -MAE | |
Table 2. Performance benchmarks of various architectures on the Robertson system. For this benchmark, all models take as inputs from the fixed initial state and predict . All models shared common training hyperparameters, datasets, and SiLU activation functions. Network sizes were chosen so that each model would have approximately the same number of trainable parameters.
Figure 7 shows the training curves for a number of different model architectures (MLP, DeepONet, and flow-map). Table 2 shows the architectures and final performance of each model. Overall, all model architectures are able to learn the Robertson dynamics. However, the flow-map achieves the lowest test error, roughly a factor of two lower than the MLP and a factor of lower than the DeepONet. The flow-map's encoder-propagator-decoder structure imposes an information bottleneck (latent dim , less than the hidden layer width of 32), so the model is not architecturally collapsible to a deeper MLP. While the DeepONet model performed worst, we note that we did not perform an exhaustive search of model hyperparameters to find the best performance. Other works (W. Cole Nockolds et al. 2025) suggest using separate DeepONets for each component (i.e., each degree of freedom in the ODE). However, we do find that this performance gap is indicative of the DeepONet model being less well suited to this specific class of vector-to-vector problem.
By changing the reaction rates, , we can alter the Robertson equations to become stiffer. When we recreate the MLP, flow-map, and DeepONet models with a new dataset with a stiffness metric of , the accuracy of all models was decreased. However, the results remained qualitatively consistent; the relative performance of the DeepONet, MLP, and flow-map models was unchanged.
DeepONets have been used for chemical-kinetics emulation (e.g., A. Kumar & T. Echekki 2024; S. Goswami et al. 2024; W. Cole Nockolds et al. 2025). However, we note that DeepONets face a limitation for the specific chemical kinetics problem considered here. The general problem is to advance a chemical state in a single jump by some . DeepONets encode the input (the system state) in the branch net and the coordinate at which the output is evaluated in the trunk net. For this problem, this trunk net coordinate represents the time evolution. However, during inference we only ever evaluate one time jump per call, and only from a single input state. For this vector-to-vector, single-query problem, one therefore loses out on many of the advantages that motivate the DeepONet framework in function-to-function problems.

Figure 7. Training curves for different model architectures on the Robertson chemical reaction system. Solid lines are training loss and dashed lines are validation loss; the legend reports the test-set mean absolute error of each architecture. The flow-map achieves the lowest test error, outperforming the DeepONet by a factor of 4 and the MLP by a factor of 2.
MALSKY ET AL.
REFERENCES
Berkemeier, T., Krüger, M., Feinberg, A., et al. 2023, Geoscientific Model Development, 16, 2037, doi: 10.5194/gmd-16-2037-2023
Brandstetter, J., Worrall, D., & Welling, M. 2022, arXiv e-prints, arXiv:2202.03376, doi: 10.48550/arXiv.2202.03376
Brunton, S. L., Budišić, M., Kaiser, E., & Kutz, J. N. 2021, arXiv e-prints, arXiv:2102.12086, doi: 10.48550/arXiv.2102.12086
Brunton, S. L., & Kutz, J. N. 2022, Data-Driven Science and Engineering: Machine Learning, Dynamical Systems, and Control, 2nd edn. (Cambridge University Press)
Champion, K., Lusch, B., Kutz, J. N., & Brunton, S. L. 2019, Proceedings of the National Academy of Science, 116, 22445, doi: 10.1073/pnas.1906995116
Chen, R. T., Rubanova, Y., Bettencourt, J., & Duvenaud, D. K. 2018, Advances in neural information processing systems, 31
Churchill, V., & Xiu, D. 2023, arXiv e-prints, arXiv:2307.11013, doi: 10.48550/arXiv.2307.11013
Cole Nockolds, W., Krishnanunni, C. G., Bui-Thanh, T., & Tang, X. 2025, arXiv e-prints, arXiv:2501.08423, doi: 10.48550/arXiv.2501.08423
Cooper, C. S., & Showman, A. P. 2006, ApJ, 649, 1048, doi: 10.1086/506312
Cvitanović, P., Artuso, R., Mainieri, R., Tanner, G., & Vattay, G. 2016, Chaos: Classical and Quantum (Copenhagen: Niels Bohr Inst.). http://ChaosBook.org/
Drummond, B., Mayne, N. J., Manners, J., et al. 2018, ApJL, 855, L31, doi: 10.3847/2041-8213/aab209
Drummond, B., Hébrard, E., Mayne, N. J., et al. 2020, A&A, 636, A68, doi: 10.1051/0004-6361/201937153
Goswami, S., Jagtap, A. D., Babaee, H., Susi, B. T., & Karniadakis, G. E. 2024, Computer Methods in Applied Mechanics and Engineering, 419, 116674, doi: 10.1016/j.cma.2023.116674
Goyal, P., Dollár, P., Girshick, R., et al. 2017, arXiv e-prints, arXiv:1706.02677, doi: 10.48550/arXiv.1706.02677
Hairer, E., & Wanner, G. 1996, Springer Series in Computational Mathematics, Vol. 14, Solving Ordinary Differential Equations II: Stiff and Differential-Algebraic Problems, 2nd edn. (Berlin: Springer)
He, K., Zhang, X., Ren, S., & Sun, J. 2016, in 2016 IEEE Conference on Computer Vision and Pattern Recognition (CVPR), 1, doi: 10.1109/CVPR.2016.90
Hendrix, J. L. A. M., Louca, A. J., & Miguel, Y. 2023, MNRAS, 524, 643, doi: 10.1093/mnras/stad1763
Heng, K. 2017, Exoplanetary Atmospheres: Theoretical Concepts and Foundations (Princeton, NJ: Princeton University Press), doi: 10.1515/9781400883073
Hinton, G. E., & Salakhutdinov, R. R. 2006, Science, 313, 504, doi: 10.1126/science.1127647
Hirsch, M. W., Smale, S., & Devaney, R. L. 2013, Differential Equations, Dynamical Systems, and an Introduction to Chaos, 3rd edn. (Academic Press), doi: 10.1016/C2009-0-61160-0
Hochreiter, S., & Schmidhuber, J. 1997, Neural Computation, 9, 1735, doi: 10.1162/neco.1997.9.8.1735
Hornik, K., Stinchcombe, M., & White, H. 1989, Neural Networks, 2, 359, doi: https://doi.org/10.1016/0893-6080(89)90020-8
Hu, R., Seager, S., & Bains, W. 2012, ApJ, 761, 166, doi: 10.1088/0004-637X/761/2/166
Huang, Y., & Seinfeld, J. H. 2022, Environmental Science & Technology, 56, 4676, doi: 10.1021/acs.est.1c07648
Keskar, N. S., Mudigere, D., Nocedal, J., Smelyanskiy, M., & Tang, P. T. P. 2016, arXiv e-prints, arXiv:1609.04836, doi: 10.48550/arXiv.1609.04836
Kumar, A., & Echekki, T. 2024, Fuel, 365, 131212
Lamb, A., Goyal, A., Zhang, Y., et al. 2016, arXiv e-prints, arXiv:1610.09038, doi: 10.48550/arXiv.1610.09038
Lee, E. K. H., Tsai, S.-M., Hammond, M., & Tan, X. 2023, A&A, 672, A110, doi: 10.1051/0004-6361/202245473
Li, Z., Kovachki, N., Azizzadenesheli, K., et al. 2020, arXiv e-prints, arXiv:2010.08895, doi: 10.48550/arXiv.2010.08895
Loshchilov, I., & Hutter, F. 2017, arXiv e-prints, arXiv:1711.05101, doi: 10.48550/arXiv.1711.05101
Lu, L., Jin, P., & Karniadakis, G. E. 2019, arXiv e-prints, arXiv:1910.03193, doi: 10.48550/arXiv.1910.03193
Lusch, B., Kutz, J. N., & Brunton, S. L. 2018, Nature Communications, 9, 4950, doi: 10.1038/s41467-018-07210-0
Mendonça, J. M., Tsai, S.-m., Malik, M., Grimm, S. L., & Heng, K. 2018, ApJ, 869, 107, doi: 10.3847/1538-4357/aaed23
Moses, J. I., Visscher, C., Fortney, J. J., et al. 2011, ApJ, 737, 15, doi: 10.1088/0004-637X/737/1/15
Paszke, A., Gross, S., Massa, F., et al. 2019, arXiv e-prints, arXiv:1912.01703, doi: 10.48550/arXiv.1912.01703
Qin, T., Wu, K., & Xiu, D. 2019, Journal of Computational Physics, 395, 620, doi: https://doi.org/10.1016/j.jcp.2019.06.042
Rasmussen, C. E., & Williams, C. K. I. 2006, Gaussian Processes for Machine Learning (The MIT Press)
Rauscher, E., & Menou, K. 2010, ApJ, 714, 1334, doi: 10.1088/0004-637X/714/2/1334
Robertson, H. H. 1967, in Numerical Analysis: An Introduction, ed. J. Walsh (Cambridge, Massachusetts: Academic Press), 178–182
Ronneberger, O., Fischer, P., & Brox, T. 2015, in Lecture Notes in Computer Science, Vol. 9351, Medical Image Computing and Computer-Assisted Intervention – MICCAI 2015 (Springer International Publishing), 234–241, doi: 10.1007/978-3-319-24574-4_28
Rumelhart, D. E., Hinton, G. E., & Williams, R. J. 1986, in Parallel Distributed Processing: Explorations in the Microstructure of Cognition, Volume 1: Foundations, ed. D. E. Rumelhart, J. L. McClelland, & the PDP Research Group (Cambridge, MA, USA: MIT Press), 318–362.
http://dl.acm.org/citation.cfm?id=104279.104293
Showman, A. P., Fortney, J. J., Lian, Y., et al. 2009, ApJ, 699, 564, doi: 10.1088/0004-637X/699/1/564
Steinrueck, M. E., Koskinen, T., Lavvas, P., et al. 2023, ApJ, 951, 117, doi: 10.3847/1538-4357/acd4bb
Tsai, S.-M., Kitzmann, D., Lyons, J. R., et al. 2018, ApJ, 862, 31, doi: 10.3847/1538-4357/aac834
Tsai, S.-M., Lee, E. K. H., & Pierrehumbert, R. 2022, A&A, 664, A82, doi: 10.1051/0004-6361/202142816
Tsai, S.-M., Lyons, J. R., Grosheintz, L., et al. 2017, ApJS, 228, 20, doi: 10.3847/1538-4365/228/2/20
Tsai, S.-M., Malik, M., Kitzmann, D., et al. 2021, ApJ, 923, 264, doi: 10.3847/1538-4357/ac29bc
Venot, O., Bounaceur, R., Dobrijevic, M., et al. 2019, A&A, 624, A58, doi: 10.1051/0004-6361/201834861
Vojtekova, A., Waldmann, I., Yip, K. H., et al. 2025, MNRAS, 538, 1690, doi: 10.1093/mnras/staf297
Yung, Y. L., Allen, M., & Pinto, J. P. 1984, ApJS, 55, 465
Zahnle, K. J., & Marley, M. S. 2014, ApJ, 797, 41, doi: 10.1088/0004-637X/797/1/41