Abstract
Progress in hybrid physics-machine learning (ML) climate simulations has been limited by the difficulty of obtaining performant coupled (i.e. online) simulations. While evaluating hundreds of ML parameterizations of subgrid closures (here of convection and radiation) offline is straightforward, online evaluation at the same scale is technically challenging. Our software automation achieves an order-of-magnitude larger sampling of online modeling errors than has previously been examined. Using this, we evaluate the hybrid climate model performance and define strategies to improve it. We show that model online performance improves when incorporating memory, a relative humidity input feature transformation, and additional input variables. We also reveal substantial variation in online error and inconsistencies between offline vs. online error statistics. The implication is that hundreds of candidate ML models should be evaluated online to detect the effects of parameterization design choices. This is considerably more sampling than tends to be reported in the current literature.
Introduction
Climate models are computationally expensive due to the need to simulate subgrid processes like clouds and turbulence at high resolution. Replacing these physics-based components with neural network (NN) emulators promises significant speedups. However, the field faces a reproducibility crisis: NNs often show low error during offline training but cause instabilities or drift when coupled to a Global Circulation Model (GCM).
This "offline-online gap" is exacerbated by the stochastic nature of NN training. Because online failures are sensitive to random seeds, researchers typically test only a handful of models, making it difficult to distinguish between the impact of a specific design choice and mere statistical noise. This paper addresses these challenges by introducing an automated framework for large-scale ensemble testing.
Methods and Data
To systematically explore the design space, we developed ClimScale, a semi-automated pipeline for end-to-end processing from data preparation to online evaluation.
We utilized data from the Super-Parameterized Community Atmosphere Model v3 (SPCAM3) in an "aquaplanet" configuration to isolate atmospheric physics from geographical complexity. The training set comprised approximately 17.9 million samples across 30 vertical levels. To ensure statistical rigor, we trained 330 NNs for each of nine architectural configurations, totaling nearly 3,000 models. This large-scale ensemble approach allows for the use of Welch’s t-tests and Benjamini-Hochberg corrections to identify statistically significant improvements rather than emergent noise.
Key Insights: The Stability-Accuracy Trade-off
Our large-scale testing revealed that many design choices involve significant trade-offs between stability (survival rate) and accuracy (online error).
- Loss Functions: Switching from Mean Squared Error (MSE) to Mean Absolute Error (MAE) was a "stability powerhouse," improving survival rates by 32.4%. However, it also increased online temperature error by 1.16 K, suggesting that MAE may over-smooth important physical extremes.
- Dropout: While removing dropout decreased online error by 0.967 K, it reduced the survival rate by 14.2%, highlighting its role in stabilizing coupled simulations.
- "Win-Win" Configurations: Certain choices improved both metrics. Incorporating convective memory (using inputs from the previous timestep), batch normalization, and multiclimate training (control, -4K, and +4K) consistently enhanced performance. Multiclimate training was particularly robust, improving survival by 27.3% and reducing error by 0.237 K.
The Necessity of Large Ensembles
A critical finding is the scale of sampling required to overcome the inherent stochastic noise of NN training. We calculate that detecting a causally relevant difference in online performance (e.g., the impact of including ozone in the inputs) requires an ensemble size of approximately 384 models. This is significantly higher than the sampling typically reported in current literature. Furthermore, while offline error generally correlates with online error (Spearman’s $\rho \approx 0.85$), this relationship breaks down for certain configurations like "no dropout," proving that offline metrics alone are insufficient for model selection.
Conclusion
This study demonstrates that navigating the noise of ML parameterization design requires large-scale ensemble testing. While "win-win" strategies like memory and multiclimate training exist, many common techniques involve hidden trade-offs between stability and accuracy. Future work will explore whether these findings generalize to real-geography models and more complex architectures like CNNs or Transformers.
Summary updated