Atmospheric Transport Modeling of CO2 with Neural Networks

Vitus Benson, Ana Bastos, Christian Reimers, Alexander J. Winkler, Fanny Yang, Markus ReichsteinarXiv 2024 · DOI

Abstract

Accurate monitoring of global $CO_2$ concentrations is essential for verifying climate commitments, yet traditional atmospheric tracer transport models are computationally intensive. This paper introduces CarbonBench, a comprehensive benchmark for training deep learning models to simulate $CO_2$ transport. By incorporating physical constraints such as mass conservation and input centering, the researchers adapted the SwinTransformer to achieve near-perfect emulation of physics-based models for up to 90 days. These results demonstrate that AI can provide the high-resolution, low-latency simulations required for modern greenhouse gas monitoring and inverse modeling.

Introduction: The Challenge of $CO_2$ Transport

To effectively manage climate change, we must understand the "breath" of the planet—the complex movement of $CO_2$ from surface sources (like industrial emissions and forest respiration) through the atmosphere. Traditionally, scientists use atmospheric tracer transport models to bridge the gap between known surface fluxes and observed concentrations. These models solve the continuity equation, a complex fluid dynamics problem, on supercomputers.

However, as the demand for higher spatial resolution increases—allowing us to pinpoint emissions from individual power plants or cities—the computational cost of these traditional solvers grows exponentially. While deep learning has revolutionized weather forecasting, $CO_2$ transport presents two unique hurdles:

  1. Mass Conservation: Unlike temperature, $CO_2$ is a physical substance. Neural networks must be constrained to ensure that mass is neither created nor destroyed arbitrarily.
  2. Covariate Shift: Global $CO_2$ levels are rising. A model trained on 2010 data might fail when encountering the significantly higher concentrations of 2024 because the values fall outside its training distribution.

Methodology and the CarbonBench Dataset

The authors introduced CarbonBench, a "deep learning-ready" dataset derived from CarbonTracker (CT2022). It includes data from 2000 to 2020, aggregated at multiple resolutions for robust testing. The general modeling framework is shown in Figure 1, where meteorological forcing and surface fluxes are used to predict the evolution of $CO_2$ concentrations.

Overview of the CO2 transport modeling framework using deep neural networks.

To ensure physical consistency, the researchers implemented three key innovations:

  • CentFlux: This technique centers input fields to a zero mean, effectively making the model "blind" to the global mean concentration. By focusing purely on gradients and transport, the model avoids the covariate shift problem associated with rising global $CO_2$.
  • Massfixer: A post-hoc scaling step that enforces strict mass conservation. It ensures the total atmospheric mass at time $t+1$ exactly matches the mass at time $t$ plus the net surface emissions.
  • SpecLoss: A specialized loss function that penalizes deviations in the "power spectrum." This prevents the model from becoming unstable or "blurry" during long-term simulations by maintaining realistic distributions of small- and large-scale features.

Evaluating Model Architectures

The study benchmarked four prominent deep learning architectures: UNet (CNN-based), GraphCast (Graph-based), SFNO (Spectral-based), and the SwinTransformer (Attention-based).

Surprisingly, the SwinTransformer performed the best, despite having the least "built-in" physical structure compared to the mesh-based GraphCast or spectral SFNO. The SwinTransformer uses a "shifted window" attention mechanism, illustrated below, that allows it to capture global dependencies while remaining computationally efficient. This flexibility proved more valuable for $CO_2$ transport than the rigid geometric priors of other models.

The SwinTransformer architecture adapted for global CO2 transport using window-based attention.

Key Results and Performance

The constrained SwinTransformer achieved remarkable results:

  • Near-Perfect Emulation: The model reached a global $R^2 > 0.99$ for 90-day forecasts, effectively mimicking the traditional TM5 physics model.
  • Long-term Stability: While many AI models diverge after a few weeks, these constrained models remained stable for over six months, with the SwinTransformer remaining physically plausible for multi-year runs.
  • Solving the "Pole Problem": Most models struggle with grid distortions at the Earth's poles. The SwinTransformer's attention mechanism handled these geometric challenges more robustly than its competitors.
  • Efficiency: A 30-day forecast takes approximately 1.5 seconds on an Nvidia A40 GPU. While comparable to optimized low-resolution traditional models, AI is expected to offer massive speedups at the ultra-high resolutions where traditional solvers struggle to scale.

Limitations and Future Outlook

Despite these successes, challenges remain. The models still struggle with "oversmoothing" in the upper stratosphere and exhibit higher errors in the surface layer, where $CO_2$ variability is most intense. Improving accuracy in the surface layer is a priority, as this is where emission monitoring is most critical.

The ultimate goal is inverse modeling: using these fast AI emulators to work backward from satellite observations to identify specific emission sources. By proving that the "forward" transport can be emulated accurately and efficiently, this research paves the way for real-time, global greenhouse gas monitoring.

Summary updated

BibTeX
@misc{benson2024atmospheric,
  author = {Vitus Benson and Ana Bastos and Christian Reimers and Alexander J. Winkler and Fanny Yang and Markus Reichstein},
  title = {{Atmospheric Transport Modeling of CO2 with Neural Networks}},
  year = {2024},
  eprint = {2408.11032},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2408.11032},
}
Figure