Towards fully differentiable neural ocean model with Veros
Etienne Meunier, Said Ouala, Hugo Frezat, Julien Le Sommer, Ronan Fablet
TL;DR
This work presents a differentiable extension of the VEROS ocean model by introducing modifications that make its step function compatible with JAX automatic differentiation. The authors provide forward and backward validation, demonstrating accurate gradient propagation and negligible impact on forward dynamics. They showcase two applications: gradient-based correction of an initial state and calibration of key physical parameters (Ah and r_bot) in an idealized ACC setup using BSF observations. The results illustrate the feasibility and potential of differentiable ocean modeling for data assimilation, parameter estimation, and physics-informed learning, while outlining future directions to improve efficiency and scalability for long-horizon simulations.
Abstract
We present a differentiable extension of the VEROS ocean model, enabling automatic differentiation through its dynamical core. We describe the key modifications required to make the model fully compatible with JAX autodifferentiation framework and evaluate the numerical consistency of the resulting implementation. Two illustrative applications are then demonstrated: (i) the correction of an initial ocean state through gradient-based optimization, and (ii) the calibration of unknown physical parameters directly from model observations. These examples highlight how differentiable programming can facilitate end-to-end learning and parameter tuning in ocean modeling. Our implementation is available online.
