FESOM2-JAX v1.0: a differentiable shadow of the ocean-sea-ice model FESOM2, cast onto GPUs

📅 2026-08-02
📈 Citations: 0
Influential: 0
📄 PDF
🤖 AI Summary
This study addresses the limitations of traditional ocean–sea ice models, which lack support for gradient-based computation and seamless integration with machine learning, while also posing deployment challenges on heterogeneous hardware. The authors present a JAX-based reimplementation of FESOM2 that preserves its unstructured-grid finite-volume formulation and, for the first time, delivers a CMIP-class global differentiable ocean–sea ice model. This new framework enables end-to-end automatic differentiation, hybrid physics–machine learning modeling, and seamless scalability from a single CPU to multi-GPU configurations. A 1°-resolution simulation runs efficiently on a single GPU, and a four-GPU node achieves an average throughput of 113 simulated years per day. Sixty-year climatological results show excellent agreement with the original Fortran version—deviations are substantially smaller than observational uncertainties—and full-model gradient accuracy is rigorously validated.
📝 Abstract
We present FESOM2-JAX, a Python re-implementation of the Finite-volumE Sea ice-Ocean Model (FESOM2) in JAX. The model retains the unstructured-mesh, cell-vertex finite-volume formulation of the original, runs unchanged from a laptop CPU to 256 GPUs, and is end-to-end differentiable. FESOM2-JAX is a code shadow of the Fortran model: a projection onto the Python ecosystem, translated with large language models and verified kernel by kernel against the original. It is built to lower the barrier to experimentation, from new numerics and parameterizations to gradient-based calibration and hybrid physics-machine-learning components, while remaining close enough to the original so that what is developed in the shadow can be transferred back. In a 1958-2019 hindcast at 1$^{\circ}$ equivalent resolution with identical physics and forcing, the mean states of the JAX and Fortran versions differ from each other by two orders of magnitude less than either differs from observations, and the two runs agree for six decades in global temperature, salinity, heat content, and sea ice. The complete 1$^{\circ}$ configuration fits on a single GPU, a node of four GH200 superchips integrates $\sim$113 simulated years per wall-clock day, and meshes of up to 7.4 million surface vertices ($\sim$5 km) scale to 128 GPUs. What limits the model is communication rather than arithmetic. What the shadow adds to the original is the gradient: a single reverse-mode pass through the full time loop returns the sensitivity of a model diagnostic to a parameter at every mesh vertex, verified against finite differences. To our knowledge, FESOM2-JAX is the first global ocean-sea-ice model of CMIP-class complexity written natively in a differentiable framework, and the first on an unstructured mesh.
Problem

Research questions and friction points this paper is trying to address.

differentiable modeling
ocean-sea-ice model
unstructured mesh
gradient-based calibration
CMIP-class model
Innovation

Methods, ideas, or system contributions that make the work stand out.

differentiable modeling
unstructured mesh
JAX
ocean-sea-ice model
GPU acceleration
🔎 Similar Papers
No similar papers found.
N
Nikolay V. Koldunov
Alfred Wegener Institute, Helmholtz Centre for Polar and Marine Research, Bremerhaven, Germany
Sergey Danilov
Sergey Danilov
Senior scientist, Alfred Wegener Institute, Helmholtz Centre for Polar and Marine Research
geophysical fluid dynamicsnumerical ocean modeling on unstructured meshes
S
Suvarchal Cheedela
Alfred Wegener Institute, Helmholtz Centre for Polar and Marine Research, Bremerhaven, Germany
D
Dmitry Sidorenko
Alfred Wegener Institute, Helmholtz Centre for Polar and Marine Research, Bremerhaven, Germany
S
Sebastian Beyer
Alfred Wegener Institute, Helmholtz Centre for Polar and Marine Research, Bremerhaven, Germany
P
Patrick Scholz
Alfred Wegener Institute, Helmholtz Centre for Polar and Marine Research, Bremerhaven, Germany
Ivan Kuznetsov
Ivan Kuznetsov
Unknown affiliation
J
Jan Streffing
Alfred Wegener Institute, Helmholtz Centre for Polar and Marine Research, Bremerhaven, Germany
A
Aleksei Koldunov
Alfred Wegener Institute, Helmholtz Centre for Polar and Marine Research, Bremerhaven, Germany
D
Dmitrii Pantiukhin
Alfred Wegener Institute, Helmholtz Centre for Polar and Marine Research, Bremerhaven, Germany
S
Svetlana N. Loza
Alfred Wegener Institute, Helmholtz Centre for Polar and Marine Research, Bremerhaven, Germany
Thomas Jung
Thomas Jung
Head of Climate Dynamics at Alfred Wegener Institute (AWI); Professor at the University of Bremen
Physics of the climate system and climate modelling