Abstract
Machine learning (ML) models in climate science often struggle with generalization when applied to future, warmer climates because they encounter "out-of-distribution" data. This research introduces a "climate-invariant" framework that leverages physical principles—such as the Clausius-Clapeyron relationship—to transform raw data into representations that remain stable across different climate states. By engineering features that are naturally invariant to temperature shifts, the proposed method significantly improves the accuracy and reliability of climate projections.
Introduction
Projecting the future of Earth's climate is a massive extrapolation challenge. Current climate models rely on "closures" to approximate subgrid-scale processes like cloud formation and turbulence. While ML is adept at learning these closures from high-resolution data, it faces a significant "generalization gap." A model trained on contemporary climate data often fails when tested on a world 4°C warmer because variables like specific humidity increase exponentially with temperature, pushing the model into unfamiliar territory where its predictions become unreliable.
Methods: Physical Transformations for Invariance
The authors propose a five-step workflow to transition from raw-data mapping to climate-invariant (CI) mapping. The core strategy involves finding a coordinate system where the probability density functions (PDFs) of inputs and outputs overlap across different climate regimes.
Key transformations include:
- Specific Humidity to Relative Humidity (RH): Normalizing moisture by its saturation point ensures stability across temperatures.
- Temperature to Plume Buoyancy ($B_{plume}$): Replacing absolute temperature with a measure of convective instability.
- Latent Heat Flux Scaling: Scaling surface fluxes by the near-surface saturation deficit.
These transformations act as a physical pre-processor, ensuring that the ML model (whether a simple linear regression or a deep neural network) learns mappings that are fundamentally consistent with thermodynamic laws rather than just statistical correlations.
Datasets and Experimental Setup
The framework was validated across three distinct atmospheric model configurations to ensure its robustness across varying levels of complexity and different dynamical cores:
- SPCAM3: An "aquaplanet" (ocean-only) simulation used for testing extreme temperature jumps (-4K to +4K).
- SPCESM2: A complex, Earth-like simulation incorporating continents and seasonal cycles.
- SAM: A quasi-global simulation using a different dynamical core (hypohydrostatic) to test the method's independence from the underlying physics engine.
Key Insights and Results
Physics as a Feature Engineering Tool
Unlike traditional "physics-informed" ML that enforces constraints during training, this approach incorporates physics at the input level. This makes the models more data-efficient; a CI model trained on limited data can outperform a raw-data model trained on a much larger dataset because it does not need to "re-learn" basic thermodynamics.
Improved Generalization and Locality
In the "warm tropics" test case, the mean squared error (MSE) of raw-data neural networks increased tenfold. In contrast, climate-invariant NNs maintained errors within 25% of a model trained directly on warm-climate data. Furthermore, SHAP (Shapley Additive Explanations) analysis revealed that CI models learn more "spatially local" mappings, stripping away spurious vertical correlations that often plague raw-data models.
Synergy with ML Regularization
While physical transformations provide the primary performance boost, combining them with standard ML techniques like Dropout and Batch Normalization further enhanced performance, particularly in complex scenarios like the transition from idealized aquaplanets to realistic continental simulations.
Conclusion and Future Work
While input transformations successfully addressed the bulk of the generalization problem, transforming outputs (like heating and moistening profiles) proved more challenging. This suggests that while the drivers of convection are well-understood in a climate-invariant context, the resulting atmospheric responses require further theoretical development. Future research will focus on extending this framework to complex variables like cloud ice and liquid water, with the ultimate goal of integrating climate-invariant ML components into global climate models for more reliable long-term forecasting.
Summary updated