betaFeedback

WorksPhysics and Astronomy

New Wine in an Old Bottle – NeuralPOM: A Hybrid Ocean Forecast Model with Differentiable Dynamics and Staged Learning

Abstract

Coarse-grid ocean circulation models rely on empirical subgrid parameterizations that struggle to capture mesoscale eddies, whereas purely data-driven neural forecasters accumulate trajectory drift, violate tracer conservation, and damp small-scale variability over extended integrations. Here we present NeuralPOM, a hybrid ocean forecast model that couples differentiable explicit mode-split and semi-implicit free-surface implementations of the Princeton Ocean Model (POM) to a conservation-constrained neural corrector. The three-dimensional primitive-equation solver advances the ocean state, while the neural network periodically updates the physical fields at high-frequency (1 h) or low-frequency (1 day) intervals under volume, heat, and salt conservation constraints. Using a fine-grid reference dataset exceeding 100,000 model days in a wind-driven double-gyre basin, we introduce a three-stage training procedure comprising offline single-step pretraining, multi-step differentiable training through the ocean solver, and multi-day closed-loop rollout training. Over 100-day forecasts, NeuralPOM reduces errors across all prognostic fields relative to coarse-grid physical closures and direct neural forecasters, preserving mesoscale kinetic energy while improving eddy phase alignment. Controlled ablations show that closed-loop training suppresses multi-day drift, whereas backpropagating gradients through the differentiable solver stabilizes high-frequency coupling. Finally, because high-frequency tracer updates can introduce density anomalies via the equation of state that excite spurious baroclinic pressure gradients, we introduce Density-Normal Damping (DND) to attenuate the density-modifying (diapycnal) tracer component while retaining the density-compensated (isopycnal) correction.

New Wine in an Old Bottle

†These authors contributed equally.

*Correspondence: Hao Li ([email protected]) and Xiaomeng Huang ([email protected]).

Introduction

Forecasting the physical state of the ocean requires predicting the coupled three-dimensional evolution of horizontal and vertical currents, free-surface elevation, potential temperature, salinity, seawater density, and turbulent mixing. Operational and climate-scale ocean models address this problem by numerically integrating the hydrostatic, Boussinesq primitive equations under prescribed atmospheric forcing and basin geometry [1, 2]. At grid spacings affordable for extended ensembles or multi-month integrations, however, numerical models only partially resolve the baroclinic instabilities and mesoscale eddies that govern much of the ocean’s kinetic energy and tracer transport [3], while empirical subgrid closures must balance numerical stability against excessive dissipation of resolved scales. Conversely, purely data-driven neural forecasters can advance daily ocean states at lower computational cost than numerical solvers [4, 5, 6, 7], yet over multi-week autoregressive integrations they exhibit compounding trajectory drift [4, 5, 8], progressive attenuation of near-grid mesoscale variability under pointwise mean-squared-error objectives [8, 9, 10], and lack built-in volume, heat, and salt conservation constraints across interior layers [10, 11].

A natural question is whether numerical circulation models and machine learning can be combined into a hybrid framework that retains the conservation laws and dynamical balance of a numerical solver while leveraging data-driven corrections for unresolved processes. Recent studies have embedded learned subgrid parameterizations within idealized and regional ocean models [12, 13, 14, 15, 16, 17], demonstrated end-toend differentiable training in atmospheric general circulation models [10], and coupled physics-guided neural correctors and assimilation modules with ocean dynamical frameworks [11, 18, 19, 20]. Most ocean hybrid studies to date, however, have focused on idealized quasi-geostrophic, barotropic, or shallow-water configurations, leaving open how neural state updates interact with a complete three-dimensional, terrain-following primitive-equation circulation model that prognostically evolves barotropic and baroclinic velocity modes, a free surface, active temperature and salinity, a nonlinear equation of state (EOS), and a two-equation vertical turbulence closure.

Coupling a neural corrector to a three-dimensional primitive-equation ocean model introduces three physical and numerical challenges that do not arise in simplified models. First, because each correction alters the state trajectory visited by the physical dynamical framework, a network trained only on offline single-step targets experiences distribution shift during closed-loop integration [15, 21], requiring staged training procedures that combine multi-step differentiable training through the dynamical framework with closed-loop rollout training [22, 23, 24]. Second, advancing the solver across time steps requires complete multi-time-level state histories, including current and backward leapfrog levels, barotropic–baroclinic mode-coupling transports, and turbulent kinetic energy and mixing-length fields; unconstrained state updates that violate leapfrog time-level consistency or column volume budgets excite computational modes and fast external gravity waves. Third, potential temperature and salinity are active thermodynamic variables that enter the horizontal momentum equations through the nonlinear EOS [25] and hydrostatic baroclinic pressure-gradient force, while modulating vertical viscosity and diffusivity through the buoyancy frequency in the turbulence closure [26]. Consequently, a tracer increment that reduces instantaneous pointwise error at a single step can still introduce small-scale density anomalies, generate spurious baroclinic pressure-gradient tendencies, and perturb vertical mixing over subsequent integration steps.

Here we present NeuralPOM, a hybrid ocean forecasting system built upon the three-dimensional Princeton Ocean Model (POM) [27, 28]. NeuralPOM combines two core components: differentiable PyTorch POM dynamical frameworks—covering both explicit mode-split and semi-implicit free-surface formulations verified against double-precision Fortran POM across idealized and coastal benchmarks—and a residual U-Net corrector that periodically updates horizontal velocity, potential temperature, and salinity under volume, heat, and salt conservation constraints. Using a fine-grid reference ensemble exceeding 100,000 model days in a wind-driven double-gyre ocean basin, we train NeuralPOM through a three-stage training procedure comprising offline single-step pretraining, multi-step differentiable training through the physical dynamical framework, and 10-day closed-loop rollout training. Over 100-day forecasts, NeuralPOM reduces forecast errors across all prognostic variables relative to coarse-grid physical parameterizations and direct neural forecasting architectures [29, 30, 31, 32]. Stage progressions and controlled route ablations demonstrate that multi-step differentiable training and closed-loop rollout training play complementary roles: backpropagating gradients through the differentiable dynamical framework during multi-step training stabilizes thermohaline and circulation evolution under high-frequency hourly coupling, while multi-day closed-loop rollout training suppresses cumulative trajectory drift across both low-frequency daily and high-frequency hourly coupling regimes. Furthermore, diagnostic perturbation experiments and 100-day closed-loop integrations reveal that under high-frequency hourly coupling, uncoordinated temperature and salinity increments project onto density anomalies via the nonlinear EOS and trigger spurious baroclinic pressure-gradient feedback; decomposing each layerwise tracer increment relative to the local EOS density gradient and applying Density-Normal Damping (DND) to attenuate the density-modifying (diapycnal) component while preserving the density-compensated (isopycnal) water-mass correction suppresses this instability and consistently improves long-range skill. Finally, wavenumber spectral analysis shows that NeuralPOM maintains physical eddy kinetic energy and near-grid variability while reducing spectral error through improved mesoscale phase alignment.

The NeuralPOM Framework

NeuralPOM alternates two operations across forecast cycles: a differentiable three-dimensional primitive-equation dynamical framework advances the complete numerical ocean state over a physical integration interval Δ\Delta, and a conservation-constrained neural corrector updates the physical fields at the end of each interval (Figure 1). We investigate both high-frequency (Δ=1\Delta= 1 h) and low-frequency (Δ=1\Delta= 1 day) coupling regimes to examine how the frequency of neural state updates interacts with three-dimensional primitive-equation dynamics.

Figure 1. Physical–neural coupling and three-stage training. a, At each coupling step, the physical dynamical framework supplies the ocean state to a residual U-Net, which returns conservation-constrained increments to update the physical fields. b, Pretrain optimizes single-step corrections on cached physical forecasts. c, Midtrain unrolls four correction steps across three online differentiable physical integration intervals. d, Posttrain integrates 10-day closed-loop trajectories under high-frequency (Δ=1\Delta= 1 h) or low-frequency (Δ=1\Delta= 1 day) coupling with daily parameter updates and inter-day gradient detachment. Warm brown dashed arrows denote active parameter-gradient paths.

Differentiable primitive-equation frameworks

Both dynamical frameworks integrate the hydrostatic, Boussinesq primitive equations of the Princeton Ocean Model (POM) on a staggered Arakawa-C horizontal grid with terrain-following σ\sigma-coordinates [27]. With horizontal velocity uh=(u,v)\mathbf{u}_h=(u,v), vertical velocity ww, material derivative DtD_t, Coriolis parameter ff, reference density ρ0\rho_0, hydrostatic pressure pp, in-situ density ρ\rho, and prognostic tracers C∈{T,S}C \in\{T,S\}, the continuous governing equations are

Dtuh+fez×uh=−ρ0−1∇hp+Dm,∂zp=−gρ,(1)D_t\mathbf{u}_h+f\mathbf{e}_z\times\mathbf{u}_h=-\rho_0^{-1}\nabla_h p+D_m,\qquad\partial_zp=-g\rho, \tag*{(1)}
∇h⋅uh+∂zw=0,DtC=DC,(2)\nabla_h\cdot\mathbf{u}_h+\partial_zw=0,\qquad D_tC=D_C, \tag*{(2)}

where DmD_m and DCD_C represent subgrid momentum and tracer mixing. Seawater density ρ(T,S,P)\rho(T,S,P) is evaluated from the nonlinear Mellor equation of state (EOS) [25], vertical viscosity KMK_M and diffusivity KHK_H are obtained from the prognostic two-equation Mellor–Yamada level-2.5 turbulence closure for turbulent kinetic energy and length scale (q2,q2l)(q^2,q^2l) [26], and reference horizontal dissipation follows the harmonic Smagorinsky formulation (AH=0.2AMA_H=0.2A_M).

The free-surface elevation η\eta evolves according to the vertically integrated continuity equation ∂tη+∇h⋅(HU)=0\partial_t\eta+\nabla_h\cdot(H\mathbf{U})=0, where H=h+ηH=h+\eta is the total water-column depth and U=(U,V)\mathbf{U}=(U,V) is the depth-averaged horizontal velocity. We implemented two differentiable PyTorch dynamical frameworks that share identical three-dimensional baroclinic, thermohaline, and turbulence operators at the internal time step Δt=600\Delta t=600 s but differ in their numerical integration of fast external gravity waves. The explicit mode-split framework (Explicit) directly follows the standard split-explicit formulation of the original Fortran POM [27]: within each internal step, the depth-integrated barotropic mode is subcycled explicitly over Ne=30N_e=30 leapfrog steps (δt=20\delta t=20 s) with Robert–Asselin time filtering, accumulating interval-averaged free-surface elevations and face transports to maintain volume consistency with the three-dimensional baroclinic mode.

In the semi-implicit free-surface framework (Implicit), external subcycling is replaced by an elliptic Helmholtz solve for the forward free-surface elevation ηf\eta^f at Δt=600\Delta t=600 s using preconditioned conjugate gradients (PCG) with a discrete sine transform preconditioner; during reverse-mode differentiation, a custom implicit-differentiation adjoint solves the area-weighted self-adjoint linear system directly rather than backpropagating through the PCG iterations, accounting for the sensitivity of the elliptic operator to total water depth. Appendix § 10 presents the discrete governing equations and adjoint formulation, and Appendix § 15 verifies both PyTorch frameworks against double-precision Fortran POM across double-gyre, seamount, idealized coastal, and realistic Jiaozhou Bay tidal benchmarks. In both formulations, potential temperature and salinity force the momentum and turbulence equations through the diagnostic density ρ\rho via hydrostatic baroclinic pressure gradients and vertical buoyancy stratification, and advancing the solver across intervals requires the complete 45-variable state vector across current (nn) and backward (bb) leapfrog time levels.

Inference framework: Constrained state updates and density-normal damping

With the differentiable primitive-equation solver in place, coupled forecast inference proceeds by alternating physical integration with periodic neural state updates at either high frequency (Δ=1\Delta=1 h) or low frequency (Δ=1\Delta=1 day). Let xn+x_n^+ denote the complete numerical ocean state after correction cycle nn, PΔ\mathcal{P}^{\Delta} the physical integration operator over interval Δ\Delta, and Kθ\mathcal{K}_{\theta} the constrained neural correction operator. Each coupled forecast cycle advances according to

xn+1−=PΔ(xn+),xn+1+=Kθ(xn+1−).(3)x_{n+1}^{-}=\mathcal{P}^{\Delta}(x_n^{+}),\qquad x_{n+1}^{+}=\mathcal{K}_{\theta}(x_{n+1}^{-}). \tag*{(3)}

At the end of each physical interval, a residual U-Net takes 101 standardized input channels—comprising (un,ub,vn,vb,Tn,Sn)(u^n,u^b,v^n,v^b,T^n,S^n) together with the external-mode fields ηn\eta^n and (Un,Ub,Vn,Vb)(U^n,U^b,V^n,V^b)—and predicts 60 raw increment channels (δu,δv,δT,δS)(\delta u,\delta v,\delta T,\delta S) across the 15 active vertical σ\sigma-layers (Appendix § 11.§ 2).

To ensure that the neural increments respect the conservation laws and time-stepping structure of the primitive-equation solver, raw network outputs are filtered through a sequence of physical projections before updating the model state (Appendix § 11.§ 3). Horizontal velocity increments are first projected to zero thickness-weighted column mean (∑k=014Δσkδuijk=0(\sum_{k=0}^{14}\Delta\sigma_k\delta u_{ijk}=0 and ∑k=014Δσkδvijk=0)\sum_{k=0}^{14}\Delta\sigma_k\delta v_{ijk}=0), restricting direct momentum updates to the vertical baroclinic shear so that depth-integrated volume transport remains governed by the external continuity equation. Temperature and salinity increments are similarly projected to zero volume-weighted horizontal mean on every active σ\sigma-layer (∑ijwijkδTijk=0(\sum_{ij}w_{ijk}\delta T_{ijk}=0 and ∑ijwijkδSijk=0\sum_{ij}w_{ijk}\delta S_{ijk}=0, where wijk=AijmijHB,ijΔσkw_{ijk}=A_{ij}m_{ij}H_{\mathrm{B},ij}\Delta\sigma_k is the wet cell volume), redistributing heat and salt laterally without introducing net layer sources or sinks.

Within each σ\sigma-layer, the standardized tracer increment z=(δT′/sT,δS′/sS)z=(\delta T'/s_T,\delta S'/s_S) is further decomposed relative to the local EOS density gradient into two orthogonal, layer-mean-preserving components: a density-modifying (diapycnal) component EzEz aligned with the local density normal, and a density-compensated (isopycnal) component (I−E)z(I-E)z tangent to local isopycnals. Scaling the density-modifying component by c∈[0,1]c\in[0,1] yields the filtered tracer update

zc=(I−E)z+cEz.(4)z_c=(I-E)z+cEz. \tag*{(4)}

Setting c=1c=1 gives the Undamped tracer update, whereas setting c=3/4c=3/4 defines Density-Normal Damping (DND), which attenuates the density-modifying component by 25% in amplitude (43.75% in squared norm) while fully preserving the density-compensated water-mass correction (§ 5 and Appendix § 12). To prevent extreme local corrections without violating the zero-mean conservation constraints, the standardized velocity and tracer increments are proportionally rescaled whenever their maximum magnitude exceeds zmax⁡=5z_{\max}=5. The resulting physical increments are then applied synchronously to both the current (n)(n) and backward (b)(b) leapfrog time levels (fn←fn+δf^cf^n\leftarrow f^n+\widehat{\delta f}_c and fb←fb+δf^cf^b\leftarrow f^b+\widehat{\delta f}_c for f∈{u,v,T,S}f\in\{u,v,T,S\}), which shifts the model state without altering the leapfrog difference fn−fbf^n-f^b or exciting computational modes. Finally, three-dimensional density ρ\rho is immediately updated from the corrected (T,S)(T,S) fields via the nonlinear EOS, while the remaining prognostic and diagnostic fields (η,Ω,(\eta,\Omega, turbulence variables, and barotropic transports) adjust dynamically during the next physical integration PΔ\mathcal{P}^{\Delta}.

Training framework: Physics-informed objective and three-stage training procedure

While the constrained inference operator Kθ\mathcal{K}_{\theta} enforces instantaneous conservation and leapfrog consistency at each coupling step, maintaining accuracy and dynamical stability over multi-week rollouts requires a physics-informed objective paired with a staged training procedure. At each scored correction step, the updated coarse-grid state xx is evaluated against the coarse-grained fine-grid reference state yy using a composite loss ℓ(x,y)\ell(x,y) (Appendix § 11.§ 4). In addition to volume-weighted mean squared errors in horizontal velocity, potential temperature, and salinity, ℓ(x,y)\ell(x,y) incorporates a hydrostatic baroclinic pressure-gradient consistency term, a horizontal frontal-gradient term, and (during multi-step training) a sea-surface height term to penalize dynamically imbalanced corrections.

Training a randomly initialized corrector directly on long closed-loop rollouts is computationally expensive and prone to early trajectory divergence, whereas a network trained only on offline single-step targets suffers from distribution shift and unmitigated dynamical feedbacks once coupled in a closed loop. We therefore train Kθ\mathcal{K}_{\theta} sequentially through three stages—Pretrain, Midtrain, and Posttrain—that progressively extend the coupling horizon from single-step offline states to multi-step differentiable physics and multi-day closed-loop rollouts (Figure 1b–Figure 1d and Appendix § 11.§ 5).

In the first stage, single-step pretraining (Pretrain), the network learns an initial correction mapping without differentiating through the ocean solver. Starting from a reference state x0x_0, the physical framework advances one interval offline to produce a cached pre-correction forecast x1−=PΔ(x0)x_1^{-} = \mathcal{P}^{\Delta}(x_0), and KθK_{\theta} is optimized by minimizing the single-step loss against the reference target y1y_1:

Jpre(θ)=E[ℓ(Kθ(x1−),y1)],x1−=PΔ(x0),(5)J_{\mathrm{pre}}(\theta) = \mathbb{E}\left[\ell\left(K_{\theta}(x_1^{-}), y_1\right)\right], \qquad x_1^{-} = \mathcal{P}^{\Delta}(x_0), \tag*{(5)}

with PΔ\mathcal{P}^{\Delta} outside the automatic-differentiation graph.

Because single-step pretraining cannot observe how a state update alters subsequent physical evolution, the second stage, multi-step differentiable training (Midtrain), teaches the corrector to account for the dynamical response of the primitive-equation solver. Initialized from the Pretrain checkpoint, the coupled model is unrolled across four correction cycles connected by three online physical integration intervals retained within the differentiable solver graph (spanning 4 h for high-frequency Δ=1\Delta= 1 h coupling and 4 days for low-frequency Δ=1\Delta= 1 day coupling):

Jmid(θ)=14∑j=14ℓ(xj+,yj),xj+=Kθ(PΔ(xj−1+)).(6)J_{\mathrm{mid}}(\theta) = \frac{1}{4}\sum_{j=1}^{4}\ell(x_j^{+}, y_j), \qquad x_j^{+} = K_{\theta}\left(\mathcal{P}^{\Delta}(x_{j-1}^{+})\right). \tag*{(6)}

Backpropagating through PΔ\mathcal{P}^{\Delta} allows endpoint errors at steps j>1j > 1—including free-surface elevation and velocity errors—to constrain earlier state updates at step j−1j - 1 through the linearized primitive equations.

Even after four-step differentiable training, extended autoregressive integrations encounter cumulative trajectory drift over multi-day horizons where full backpropagation through time is memory-prohibitive. In the final stage, closed-loop rollout training (Posttrain), the model is initialized from the Midtrain checkpoint and integrated continuously over 10-day closed-loop rollouts (d=1,…,10d = 1, \ldots, 10) to adapt KθK_{\theta} to the closed-loop state distribution. Let K=1K = 1 day/Δ/\Delta denote the number of coupling cycles per day (K=1K = 1 for low-frequency Δ=1\Delta= 1 day coupling and K=24K = 24 for high-frequency Δ=1\Delta= 1 h coupling). On each rollout day dd, starting from the previous day’s detached state xd,0+=sg⁡(xd−1,K+)x_{d,0}^{+} = \operatorname{sg}(x_{d-1,K}^{+}), the coupled system advances through KK cycles with the stop-gradient operator sg⁡(⋅)\operatorname{sg}(\cdot) detaching the physical state before each neural update:

xd,k−=PΔ(xd,k−1+),xd,k+=Kθ(sg⁡(xd,k−))(k=1,…,K).(7)x_{d,k}^{-} = \mathcal{P}^{\Delta}(x_{d,k-1}^{+}), \qquad x_{d,k}^{+} = K_{\theta}\left(\operatorname{sg}(x_{d,k}^{-})\right) \qquad(k = 1, \ldots, K). \tag*{(7)}

Network parameters θ\theta are updated once at the end of each day (k=Kk = K) against the daily reference state ydy_d by minimizing

Jpost,d(θ)=ℓ(xd,K+,yd),(8)J_{\mathrm{post},d}(\theta) = \ell(x_{d,K}^{+}, y_d), \tag*{(8)}

before detaching xd,K+x_{d,K}^{+} to initialize day d+1d + 1. Under this formulation, the first K−1K - 1 cycles of each day evolve the closed-loop trajectory in forward-only mode and only the final cycle of each day tracks parameter gradients, suppressing multi-day trajectory drift without backpropagating across 10-day horizons.

Double-Gyre Benchmark and Experimental Protocol

Wind-driven double-gyre reference dataset

We evaluate NeuralPOM in an idealized three-dimensional, wind-driven double-gyre ocean basin spanning 30°N to 50°N across a 2500 km domain with a flat 2000 m bottom and 15 active terrain-following σ\sigma-layers. (Figure 2). Steady sinusoidal zonal wind stress forces a subtropical and subpolar gyre pair separated by an unstable eastward jet and an energetic mesoscale eddy field. Potential temperature is initialized from an exponential vertical stratification profile and salinity from a uniform value, with zero surface heat and freshwater fluxes.

Figure 2. Developed three-dimensional circulation in the fine-grid wind-driven double-gyre reference dataset. Instantaneous uppermost-layer normalized relative vorticity ζ/f\zeta/ f, free-surface elevation, potential temperature, zonal velocity, meridional velocity, and salinity from the fine-grid Explicit reference simulation (model day 10,298).

For each dynamical framework (Explicit and Implicit), we generated a multi-member fine-grid reference ensemble at eddy-resolving resolution (∼7\sim7 km horizontal spacing, 354×322×16354 \times322 \times16 grid) exceeding 100,000 model days in total, and conservatively restricted the trajectories onto an eddy-permitting coarse forecast grid (∼28\sim28 km spacing, 90×82×1690 \times82 \times16 grid) to provide both low-frequency daily and high-frequency hourly reference targets (Appendix § 11.§ 1). The ensemble is partitioned into independent training, validation, and test splits; all out-of-sample evaluations are initialized from 16 evenly spaced test origins on an unseen ensemble member and integrated continuously for 100 days.

Baselines and evaluation protocol

Our experimental design crosses the two dynamical frameworks (Implicit and Explicit), two coupling frequencies—low-frequency daily (Δ=1\Delta= 1 day) and high-frequency hourly (Δ=1\Delta= 1 h)—and the three training stages (Pretrain, Midtrain, and Posttrain; Appendix § 11.§ 5). Forecast skill is quantified over 100-day integrations across all 16 test origins using volume-weighted root-mean-square errors (RMSE) and radially averaged horizontal velocity wavenumber spectra (Appendix § 13.§ 1).

We benchmark NeuralPOM against two categories of baselines. First, on the uncorrected coarse-grid POM solver, we compare three classical horizontal subgrid closures (Appendix § 13.§ 2): standard second-order harmonic Smagorinsky diffusion (the primary physical baseline), scale-selective fourth-order Biharmonic viscosity, and a kinetic-energy Backscatter parameterization that recycles a fraction of biharmonically dissipated energy into the resolved flow. Second, we compare against five direct spatiotemporal neural forecasters—Triton [29], ResUNet, SimVP [30], ConvLSTM [31], and PastNet [32]—which autoregressively advance the full daily ocean state without a numerical solver and are trained through both single-step pretraining (Pre) and 10-day closed-loop rollout training (Post) (Appendix § 14).

To isolate the mechanisms governing hybrid forecast stability, we conduct three sets of controlled ablations. First, to evaluate directional tracer damping at inference, networks trained with c=1c = 1 in Eq. (4) are deployed with frozen weights under three tracer update rules: Undamped (c=1c = 1), Density-Normal Damping (DND, c=3/4c = 3/4), and an isotropic norm-matched control (Uniform) that scales the entire tracer increment uniformly by a scalar factor κ\kappa calibrated to match the mean increment norm of DND (Appendix § 12.§ 2). Second, to separate the effect of backpropagating gradients through the differentiable solver during Midtrain from multi-step rollout exposure and closed-loop Posttrain, we compare three training routes at matched update budgets (Appendix § 11.§ 5): the full three-stage procedure (Full, Pre →\to Mid →\to Post), skipping Midtrain (Skip, Pre →\to Post), and a detached-gradient control (Detached, Pre →\to Middetached_{\mathrm{detached}} →\to Post) that executes the identical 4-step Midtrain rollouts while detaching state gradients before each physical interval PΔ\mathcal{P}^{\Delta}. Third, to trace how a single tracer correction propagates through the primitive equations without subsequent neural intervention, we sample 36 pre-correction states from the hybrid forecast trajectories, apply the neural corrector once at t=0t = 0—using an identical velocity update paired with four tracer update rules (no-TS, Undamped, Uniform, and DND)—and then turn off the neural corrector to integrate the pure physical solver forward for 72 hours (Appendix § 12.§ 2).

Forecast Results

Whole-state forecast skill across dynamical frameworks

Across 100-day forecasts initialized from the 16 out-of-sample test origins, NeuralPOM improves whole-state forecast skill relative to the uncorrected coarse-grid Smagorinsky baseline in both the semi-implicit (Implicit) and explicit mode-split (Explicit) dynamical frameworks (Table 1 and Figure 3). Under low-frequency daily coupling (Δ=1\Delta= 1 day), both DND and Undamped deployments lower 100-day root-mean-square error (RMSE) across all five prognostic variables, reducing horizontal velocity and sea-surface height (SSH) errors by 5%–10%, potential temperature error by 10%–12%, salinity error by 15%–18%, and diagnostic equation-of-state (EOS) density error by 8%–11% (Figure 3b). Even without direct neural updates to η\eta, SSH errors decrease by 6%–9% because updates to baroclinic velocity shear and interior buoyancy stratification adjust the sea surface through barotropic–baroclinic mode coupling during the subsequent physical integration.

FrameworkConfigurationIntervaluuvvSSHTTSSρ\rho (EOS)
ImplicitBiharmonic (physics)–+10.94+8.39+7.60+6.84+15.70+7.37
ImplicitBackscatter (physics)–+11.44+8.82+7.27+6.76+16.53+7.33
ImplicitNeuralPOM (Undamped)1 day−7.03−5.27−6.72−9.90−14.72−7.75
ImplicitNeuralPOM (DND)1 day−6.45−4.97−6.21−9.59−16.56−7.87
ImplicitNeuralPOM (Undamped)1 h−2.01−0.53−3.53+3.16+58.66+3.63
ImplicitNeuralPOM (DND)1 h−9.47−7.32−12.12−9.04−0.93−7.11
ExplicitBiharmonic (physics)–+7.54+6.29+5.05+3.67+4.60+3.70
ExplicitBackscatter (physics)–+8.62+7.20+5.69+4.17+5.19+4.20
ExplicitNeuralPOM (Undamped)1 day−9.62−4.92−9.03−11.83−16.17−9.85
ExplicitNeuralPOM (DND)1 day−9.46−5.13−8.96−11.98−17.95−10.56
ExplicitNeuralPOM (Undamped)1 h−5.69−3.33−7.89+5.38+90.57+3.46
ExplicitNeuralPOM (DND)1 h−10.35−8.64−13.49−8.15+7.98−5.63

Table 1. Whole-state 100-day forecast skill relative to the coarse-grid Smagorinsky baseline. Percentage change in pooled 100-day RMSE across the 16 test origins relative to the uncorrected Smagorinsky physical model of the same dynamical framework (Implicit or Explicit); negative values indicate error reductions. Hybrid rows report the final Posttrain checkpoints deployed with Density-Normal Damping (DND, c=3/4c = 3/4) and the undamped tracer update (Undamped, c=1c = 1). Seawater density ρ\rho is evaluated diagnostically via the nonlinear POM equation of state.

Figure 3. Forecast skill across training stages and correction intervals. a, Percentage change in 100-day RMSE relative to the Smagorinsky physical baseline for all twelve hybrid configurations deployed with DND. b, Corresponding percentage change in 100-day EOS density RMSE. Negative values indicate improvements over Smagorinsky; annotations are rounded to whole percentages. Imp and Exp denote the semi-implicit and explicit frameworks.

Comparing low-frequency daily and high-frequency hourly coupling illustrates the trade-off between frequent circulation guidance and baroclinic sensitivity to tracer updates. When deployed with DND, high-frequency hourly coupling (Δ=1\Delta= 1 h) produces the largest circulation and sea-level error reductions in both frameworks, lowering 100-day RMSE by 7%–10% in horizontal velocity and 12%–13% in SSH

alongside 8%–9% reductions in temperature error and 6%–7% reductions in density error. Without directional damping (Undamped), however, high-frequency tracer updates degrade salinity by 59%–91% and increase temperature and density errors by 3%–5% relative to Smagorinsky; as shown in § 5, DND prevents this degradation by attenuating the density-modifying component of the tracer increment. On the uncorrected coarse grid, replacing harmonic Smagorinsky diffusion with scale-selective Biharmonic viscosity or kinetic-energy Backscatter increases 100-day RMSE across all variables by 4%–17% in both frameworks (Table 1).

Comparison with direct neural forecasters

We next compare low-frequency daily NeuralPOM (DND) against the five direct neural forecasters evaluated at both their Pretrain (Pre) and Posttrain (Post) stages on the semi-implicit reference (Table 2; early- and late-window splits are reported in Appendix § 14). Across the 100-day evaluation window, daily NeuralPOM achieves the lowest RMSE in every prognostic field, improving upon the strongest direct neural baseline in each variable by 5%–12% in horizontal velocity and SSH, 28% in temperature, and 74% in salinity.

Configurationu↓u \downarrowv↓v \downarrowSSH ↓\downarrowT↓T \downarrowS↓S \downarrow
m s−1^{-1}m s−1^{-1}m∘^\circC
Smagorinsky0.079260.081970.119700.293510.03382
Triton Pre0.099350.095260.215440.792940.21825
Triton Post0.088860.086630.145700.366680.10914
ResUNet Pre0.101890.097670.164600.457700.12531
ResUNet Post0.082670.084010.128120.609350.22609
SimVP Pre0.094340.091230.223820.792260.21567
SimVP Post0.084520.081800.138040.632660.25703
ConvLSTM Pre0.100880.103510.295080.966300.22385
ConvLSTM Post0.102220.096650.180620.514040.10723
PastNet Pre0.142490.126740.230170.611660.17605
PastNet Post0.102780.101500.170010.770170.26912
NeuralPOM Post-DND (ours)0.074150.077890.112270.265370.02822

Table 2. Comparison of hybrid NeuralPOM and direct neural forecasters. Pooled 100-day RMSE on the semi-implicit reference across the 16 test origins. Shading and boldface mark the best value in each column and underlining marks the second best, ranked on unrounded scores. Pre and Post denote the frozen Pretrain and Posttrain checkpoints of each direct neural architecture; salinity is in model units.

For direct neural models trained only with single-step pretraining (Pre), autoregressive errors compound over the 100-day rollout, yielding substantially larger errors than the uncorrected coarse-grid Smagorinsky baseline across all variables. Incorporating 10-day closed-loop rollout training (Post) markedly improves the long-range stability of all five direct neural architectures and brings their 100-day velocity and SSH errors close to the coarse-grid physical baseline. Even after closed-loop training, however, pure data-driven rollouts without an underlying dynamical framework and physical conservation constraints struggle to maintain three-dimensional thermohaline structure over multi-month horizons, incurring larger temperature errors and three- to eightfold higher salinity RMSE than the uncorrected physical solver.

Eddy variability, phase alignment and spatial error structure

In turbulent ocean flows, grid-point RMSE mixes eddy amplitude errors with spatial phase errors. To separate these two effects across spatial scales, we evaluate horizontal velocity wavenumber spectra over days 51–100 using three dimensionless metrics (Table 3, Figure 4, and Appendix § 13.§ 4): the energy ratio RR of predicted to reference kinetic energy (R=1R = 1 matches the reference energy level; Rnear−gridR_{\mathrm{near-grid}} denotes its value at near-grid scales), the phase alignment A∈[−1,1]A \in[-1, 1] measuring spatial coherence between predicted and reference eddies (A=1A = 1 indicates perfect phase alignment), and the normalized error energy QQ (where lower QQ indicates smaller spectral error). These three quantities satisfy

ModelIntervalRRAAQQ ↓ΔQamp\Delta Q_{\mathrm{amp}}ΔQalign\Delta Q_{\mathrm{align}}Rnear−gridR_{\mathrm{near-grid}}
Smagorinsky (Implicit)–0.5590.2531.181––0.998
Biharmonic (Implicit)–0.8190.2291.404+0.260−0.0372.231
Backscatter (Implicit)–0.8400.2371.405+0.281−0.0572.512
NeuralPOM Implicit (DND)1 day0.5950.3151.109+0.036−0.1080.378
NeuralPOM Implicit (DND)1 h0.6040.3851.006+0.045−0.2201.134
Smagorinsky (Explicit)–0.5280.2221.205––0.836
Biharmonic (Explicit)–0.7530.2051.397+0.226−0.0331.700
Backscatter (Explicit)–0.7760.1971.428+0.248−0.0251.884
NeuralPOM Explicit (DND)1 day0.5810.2871.143+0.053−0.1150.365
NeuralPOM Explicit (DND)1 h0.5040.3401.022−0.024−0.1591.033
Triton Post (direct AI)1 day0.5620.2411.201+0.003+0.0170.072
SimVP Post (direct AI)1 day0.7890.3291.204+0.230−0.2070.090
ResUNet Post (direct AI)1 day0.7530.3061.222+0.194−0.1530.121
ConvLSTM Post (direct AI)1 day0.6000.1601.352+0.041+0.1290.191
PastNet Post (direct AI)1 day0.7410.1851.421+0.181+0.0590.294

Table 3. Table 3. Layer-weighted velocity spectral statistics over forecast days 51–100. Full-scale energy ratio RR, phase alignment AA, normalized error energy Q=R+1−2ARQ = R + 1 - 2A\sqrt{R}, additive decomposition of ΔQ=Q−QSmag\Delta Q = Q - Q_{\mathrm{Smag}} into amplitude (ΔR\Delta R) and alignment (−2Δ(AR)-2\Delta(A\sqrt{R})) contributions relative to Smagorinsky of the same dynamical framework, and near-grid energy ratio Rnear−gridR_{\mathrm{near-grid}}} (0.25 < k≤0.5k \le0.5 cpg). Hybrid rows show the final Posttrain models deployed with DND; direct AI models are evaluated on the semi-implicit reference.

Figure 4. Wavenumber velocity spectra of the late forecast. Rows correspond to the four Posttrain hybrid configurations deployed with DND over days 51–100. Columns display the predicted-to-reference kinetic-energy ratio R(k)R(k), the error-to-reference energy ratio Q(k)Q(k) and the phase alignment A(k)A(k) as functions of radial wavenumber kk (cycles per grid interval), weighted by layer thickness. Shaded bands denote the near-grid scale (0.25 < kk ≤ 0.5 cpg) and corner wavenumbers (kk > 0.5 cpg).

Q=R+1−2AR,(9)Q = R + 1 - 2A\sqrt{R}, \tag*{(9)}

which decomposes any change in spectral error relative to the Smagorinsky baseline (ΔQ\Delta Q) into an amplitude term ΔQamp=ΔR\Delta Q_{\mathrm{amp}} = \Delta R and a phase-alignment term ΔQalign=−2Δ(AR)\Delta Q_{\mathrm{align}} = -2\Delta(A\sqrt{R}). At small scales where phase alignment is low (A≈0A \approx0, so Q≈1+RQ \approx1 + R), Eq. (9) also captures the double-penalty effect [9, 10]: energizing unaligned eddies increases QQ, whereas smoothing out small-scale variability (R→0R \to0) lowers QQ at the expense of physical structure.

Because the coarse grid (∼28\sim28 km) physically resolves roughly half of the fine-grid kinetic energy in the reference Smagorinsky solver, an effective hybrid model should maintain this resolved energy level (ΔQamp≈0\Delta Q_{\mathrm{amp}} \approx0) while improving the spatial phase alignment AA of mesoscale eddies (ΔQalign<0\Delta Q_{\mathrm{align}} < 0). As shown in Table 3 and Figure 4, all four NeuralPOM (DND) configurations follow this pattern: they keep bulk kinetic energy RR close to the Smagorinsky baseline while consistently increasing full-spectrum phase alignment AA, so that the reduction in spectral error QQ comes almost entirely from the phase-alignment term ΔQalign\Delta Q_{\mathrm{align}}. In addition, high-frequency hourly coupling (Δ=1\Delta= 1 h) preserves realistic near-grid eddy variability (Rnear−grid≈1.0R_{\mathrm{near-grid}} \approx1.0–1.1), whereas low-frequency daily coupling (Δ=1\Delta= 1 day) partially smooths near-grid scales.

By contrast, the purely physical and purely data-driven baselines exhibit opposite limitations (Table 3). On the uncorrected coarse grid, replacing Smagorinsky diffusion with Biharmonic viscosity or kinetic-energy Backscatter injects substantial energy into small scales (raising both RR and Rnear−gridR_{\mathrm{near-grid}}), but without data-driven guidance purely physical closures cannot align the spatial phase of these eddies; the resulting amplitude penalty (ΔQamp>0\Delta Q_{\mathrm{amp}} > 0) increases total spectral error QQ relative to Smagorinsky. Conversely, direct neural forecasters trained with closed-loop rollouts (Post) recover large-scale kinetic energy and, in architectures such as SimVP and ResUNet, achieve reasonable large-scale phase alignment, but they strongly damp near-grid variability (Rnear−grid<0.3R_{\mathrm{near-grid}} < 0.3) where phase predictability is low, leaving their full-spectrum error QQ higher than both Smagorinsky and NeuralPOM. Complementing the velocity spectra, a spatial decomposition of three-dimensional tracer error (Eq. (D.3); Figure 7 and Appendix § 13.§ 3) confirms that horizontal eddy and frontal structure dominates 100-day temperature and salinity errors. Overall, these diagnostics show that NeuralPOM improves long-range skill mainly by better aligning resolved mesoscale eddies and fronts while relying on the physical solver to sustain small-scale variability.

Figure 7. Tracer error evolution over 100 days. Daily potential temperature and salinity RMSE of the Posttrain DND hybrid forecasts and the coarse-grid Smagorinsky baselines, pooled across the 16 evaluation origins at each lead day.

Contributions of staged training and route ablation

We next examine how the three training stages (Pretrain →\to Midtrain →\to Posttrain) and three controlled training routes contribute to 100-day forecast skill at matched update budgets (Table 4 and Figure 3a; Appendix § 11.§ 5). Here Full denotes the complete three-stage procedure (Pretrain →\to Midtrain →\to Posttrain); Skip omits the intermediate stage and proceeds directly from Pretrain to Posttrain (Pretrain →\to Posttrain); and Detached (Pretrain →\to Midtraindetached→_{\mathrm{detached}} \to Posttrain) executes the same 4-step Midtrain rollouts as Full but detaches state gradients at the entrance of each physical integration interval PΔ\mathcal{P}^{\Delta}, preventing gradients from backpropagating through the ocean solver.

FrameworkIntervalComparisonuuvvSSHTTSS
Implicit1 dayMid/Pre (Δ\Delta%)−3.47−2.33−4.62−3.28−4.66
Post/Mid (Δ\Delta%)+0.19+0.15−0.04−2.07−1.49
Full vs. Skip (% gain)+0.09+0.72+0.39+0.21+0.34
Full vs. Detached (% gain)−0.38+0.06−0.20−0.13−0.10
Explicit1 dayMid/Pre (Δ\Delta%)−0.56−2.28−1.66+0.63−3.38
Post/Mid (Δ\Delta%)−4.12−1.90−5.50−8.39−4.46
Full vs. Skip (% gain)+0.29+0.10+0.33+0.33+0.87
Full vs. Detached (% gain)−0.74−0.54−1.05−0.85−0.40
Implicit1 hMid/Pre (Δ\Delta%)+8.39+7.74+17.02+18.70−15.98
Post/Mid (Δ\Delta%)−24.55−22.23−29.18−32.63−23.28
Full vs. Skip (% gain)−1.58−1.59−3.71+1.02+3.58
Full vs. Detached (% gain)+0.06+0.39−1.82+0.96+9.71
Explicit1 hMid/Pre (Δ\Delta%)+12.35+10.60+18.87+19.36−4.35
Post/Mid (Δ\Delta%)−24.00−23.02−28.21−29.17−17.22
Full vs. Skip (% gain)+3.23+2.67+3.46+8.42+41.15
Full vs. Detached (% gain)+4.66+4.88+5.09+8.80+38.75

Table 4. Table 4. Staged training progression and controlled route ablations under DND deployment. For each configuration deployed with DND (c=3/4c = 3/4), Mid/Pre and Post/Mid report percentage changes in 100-day RMSE between successive stages (negative values indicate error reductions). Full vs. Skip and Full vs. Detached report relative 100-day RMSE reductions $100% \times (1 - E_{\mathrm{Full}}/E_{\mathrm{control}})$ of the full route (Pre →\to Mid →\to Post) over skipping Midtrain (Pre →\to Post) and detached-gradient Midtrain (Pre →\to Mid_{\mathrm{detached}} \to$ Post) at matched update budgets (positive values favor Full).

Across the three training stages, the behavior of the 4-step differentiable Midtrain stage depends on the

physical horizon spanned by those four steps (Table 4). Under low-frequency daily coupling (Δ=1\Delta= 1 day), four steps span a 4-day window, and both Midtrain and 10-day closed-loop Posttrain reduce 100-day RMSE progressively across both frameworks. Under high-frequency hourly coupling (Δ=1\Delta= 1 h), however, four steps span only 4 h: optimizing over this short window already lowers 100-day salinity error, but it also energizes mesoscale eddies over the short horizon and temporarily elevates 100-day velocity, SSH, and temperature RMSE relative to Pretrain. Subsequent 10-day closed-loop Posttrain (spanning 240 hourly cycles per rollout) damps this excess energy growth and stabilizes the long-range trajectory, reducing 100-day RMSE relative to Midtrain by 17%–33% across all five variables.

Comparing the three training routes (Full, Skip, and Detached) isolates the effect of backpropagating gradients through the differentiable physical solver during Midtrain from multi-step rollout exposure alone (Table 4). Under low-frequency daily coupling, 10-day closed-loop Posttrain is already sufficient to stabilize long-range trajectories, and all three routes converge to nearly identical 100-day skill (within 1% across all variables). Under high-frequency hourly coupling, by contrast, backpropagating gradients across physical steps plays a key role, especially in the explicit mode-split (Explicit) framework where 30 barotropic substeps per baroclinic step propagate fast external gravity waves. In the hourly Explicit model, Detached offers almost no benefit over Skip, whereas retaining gradients through the differentiable solver (Full) reduces 100-day velocity and SSH RMSE by 3%–5%, temperature RMSE by 8%–9%, and salinity RMSE by roughly 40%. A smaller gain in temperature and salinity also appears in the hourly Implicit model, where implicit free-surface damping already filters fast external gravity waves during forward integration. In summary, closed-loop Posttrain provides long-range stability across all configurations, while multi-step differentiable Midtrain is critical under high-frequency coupling to account for the short-term dynamical response of the primitive-equation solver.

Baroclinic Feedback of Tracer Corrections and Density-Normal Damping

Baroclinic pressure-gradient feedback and density-normal decomposition

In Table 1, undamped tracer updates (c=1c = 1) improve all five prognostic variables under low-frequency daily coupling (Δ=1\Delta= 1 day), yet degrade temperature and strongly degrade salinity under high-frequency hourly coupling (Δ=1\Delta= 1 h). This sensitivity arises because potential temperature TT and salinity SS actively force the three-dimensional primitive equations through the nonlinear equation of state ρ(T,S,P)\rho(T,S,P). Even when a neural update reduces single-step tracer error, uncoordinated small-scale residuals between δT\delta T and δS\delta S generate local density anomalies δρ\delta\rho that feed back onto the flow through two physical pathways: horizontally, density gradients ∇hδρ\nabla_h\delta\rho introduce hydrostatic baroclinic pressure-gradient forces that drive near-grid ageostrophic currents; vertically, density gradients −∂zδρ-\partial_z\delta\rho perturb the buoyancy stratification N2N^2 and modulate the vertical diffusivity and viscosity (KH,KMK_H,K_M) in the Mellor–Yamada turbulence closure. We hypothesize that under low-frequency daily coupling, the 24-hour physical interval gives the solver sufficient time to disperse and dissipate these transient perturbations between updates, whereas under high-frequency hourly coupling new density anomalies are injected every hour before the flow can adjust, causing near-grid kinetic energy and vertical profile drift to accumulate.

Because both feedback pathways are driven by density perturbations δρ\delta\rho, we can suppress them without sacrificing tracer conservation by separating each layerwise tracer increment according to whether it modifies seawater density (Appendix § 12). Using the local EOS density gradient on each active σ\sigma-layer, volume-weighted orthogonal projection splits any layer-mean-preserving standardized tracer increment z=(δT′/sT,δS′/sS)z = (\delta T'/s_T,\delta S'/s_S) into two orthogonal components: a density-modifying (diapycnal) component $E_z aligned with the local density normal, which directly alters buoyancy and baroclinic pressure gradients, and a density-compensated (isopycnal) component (I−E)z(I-E)z tangent to local isopycnals, which adjusts water-mass properties along constant-density surfaces (δρ≈0\delta\rho\approx0 to first order). Scaling the density-modifying component by c∈[0,1]c \in[0,1] yields the filtered update (Eq. (4)) and reduces the squared volume-weighted norm of the density-modifying projection by 1−c21-c^2.

zc=(I−E)z+cEz,∥zc∥w2=∥z∥w2−(1−c2)∥Ez∥w2.(10)z_c=(I-E)z+cEz,\qquad\lVert z_c\rVert_w^2=\lVert z\rVert_w^2-(1-c^2)\lVert Ez\rVert_w^2. \tag*{(10)}

With c=3/4c=3/4, Density-Normal Damping (DND) reduces the squared norm of the density-modifying component (and thus the linearized baroclinic pressure-gradient perturbation energy) by 1−(3/4)2=43.75%1-(3/4)^2=43.75\%, while retaining 100% of the density-compensated water-mass correction and maintaining exact layerwise heat and salt conservation.

Single-perturbation propagation over 72 hours

To test whether DND suppresses baroclinic forcing inside the ocean solver as predicted by Eq. (10), we design a controlled 72-hour single-perturbation experiment that isolates the physical response to a single neural correction (Figure 5 and Appendix § 12.§ 2). Specifically, we first sample 36 pre-correction states from the hybrid NeuralPOM forecast trajectories across all four configurations (three initialization origins at forecast days 1, 10, and 30). At t=0t=0, we invoke the neural corrector once on each state: all four branches receive the identical neural velocity update (δu\delta u, δv\delta v), while the neural tracer update (δT\delta T, δS\delta S) is applied under four rules—omitting the tracer update (no-TS), Undamped (c=1c=1), norm-matched isotropic scaling (Uniform), and DND (c=3/4c=3/4). For 0<t≤720<t\leq72 h, we turn off the neural corrector and integrate all four branches forward using the pure physical solver alone. Omitting subsequent neural updates prevents later corrections from confounding the flow evolution, allowing us to directly trace how the density anomaly δρ\delta\rho introduced by a single tracer update forces the primitive equations over the following 72 hours.

Figure 5. Single-perturbation physical response and 72-hour propagation across 36 forecast states. a, Instantaneous percentage change in baroclinic pressure-gradient tendency MSE relative to Undamped at t=0t = 0 (dashed line marks the linearized −43.75%-43.75\% reduction). b, Percentage change in horizontal velocity RMSE of Undamped relative to omitting the tracer update (no-TS) over 72 hours of free physical integration. c, Percentage change in horizontal velocity RMSE of DND and norm-matched Uniform relative to Undamped in the two hourly models.

At t=0t=0, DND reduces the instantaneous baroclinic pressure-gradient tendency MSE relative to Undamped by roughly 45% across all four configurations—closely matching the theoretical 43.75% reduction and roughly tripling the reduction of norm-matched Uniform scaling (Figure 5a)—which in turn cuts tracer-induced horizontal velocity perturbation energy by a similar fraction over the next 72 hours. Tracking horizontal velocity RMSE across the 72-hour window also clarifies the contrast between hourly and daily coupling (Figure 5b,Figure 5c). In the high-frequency hourly models, a single Undamped tracer update excites ageostrophic perturbations that elevate velocity RMSE relative to no-TS (Figure 5b), whereas DND suppresses this imbalance and lowers velocity error throughout the 72-hour window (Figure 5c). In the low-frequency daily models, by contrast, the physical flow adjusts over 24–72 hours so that the tracer update reduces velocity error relative to no-TS even without strong diapycnal damping.

Closed-loop 100-day verification against uniform scaling

To verify that selectively damping the density-modifying direction—rather than simply shrinking the overall tracer increment—stabilizes long-range forecasts, we compare Undamped, norm-matched Uniform, and DND over 100-day closed-loop integrations from all 16 test origins using identical frozen Posttrain network weights (Table 5 and Figure 6). Under high-frequency hourly coupling, DND lowers 100-day RMSE relative to Undamped across all variables, achieving four to eight times the error reductions of norm-matched Uniform scaling (Table 5 and Figure 6a). Because all three deployments share the exact same network weights and velocity updates (with no direct neural updates to η\eta), the circulation and sea-level gains under DND result entirely from suppressing spurious baroclinic and vertical-mixing feedbacks during closed-loop cycling.

FrameworkIntervalRuleuuvvSSHTTSSρ\rho
Implicit1 hUniform−2.42−2.24−2.38−3.10−5.87−3.24
DND−7.62−6.82−8.90−11.83−37.56−10.37
Explicit1 hUniform−1.10−1.22−1.16−2.48−5.23−2.22
DND−4.94−5.50−6.08−12.83−43.34−8.78
Implicit1 dayUniform+0.18+0.04+0.18−0.02−0.18−0.16
DND+0.63+0.32+0.55+0.35−2.16−0.13
Explicit1 dayUniform+0.21−0.15+0.18−0.07−0.14−0.24
DND+0.18−0.22+0.08−0.17−2.13−0.79

Table 5. Closed-loop 100-day comparison of directional damping versus uniform scaling on frozen Posttrain networks. Percentage change in 100-day RMSE relative to Undamped (c=1c = 1) across the 16 test origins using identical network weights. DND scales only the density-modifying tracer component by c=3/4c = 3/4, whereas Uniform scales the entire tracer increment isotropically to match the mean increment norm of DND.

Figure 6. Closed-loop 100-day verification of DND versus norm-matched Uniform in hourly coupling. a, Percentage change in 100-day RMSE relative to Undamped on frozen Posttrain networks. b, Late-window (days 51–100) near-grid velocity energy ratio Rnear−gridR_{\mathrm{near-grid}} (left; dashed line marks R=1R = 1) and full-spectrum phase alignment AA (right) across Undamped, Uniform, and DND.

Late-window diagnostics over days 51–100 confirm that DND stabilizes both physical pathways (Figure 6b): horizontally, it eliminates the spurious buildup of near-grid kinetic energy and improves full-spectrum phase alignment AA; vertically, nearly half of the hourly salinity MSE reduction comes from eliminating vertical profile drift driven by turbulence-closure perturbations. Under low-frequency daily coupling, where the 24-hour physical intervals already allow the flow to adjust between updates, DND leaves 100-day velocity, SSH, and temperature skill virtually unchanged while modestly reducing salinity error (Table 5).

Discussion

NeuralPOM demonstrates that a three-dimensional, terrain-following primitive-equation ocean model and a neural state corrector can be coupled and trained to outperform both coarse-grid subgrid closures and direct neural forecasters over 100-day integrations. On an eddy-permitting coarse grid, conventional subgrid parameterizations cannot recover the spatial phase of unresolved mesoscale eddies from resolved strain rates alone, whereas pure data-driven forecasters damp small-scale variability and struggle to maintain long-range thermohaline conservation. By retaining explicit mode-split and semi-implicit primitive-equation frameworks to enforce volume continuity, dynamical balance, and vertical turbulent mixing while applying conservation-constrained velocity and tracer updates at regular intervals, NeuralPOM lowers forecast errors across all prognostic fields while preserving realistic mesoscale kinetic energy. Achieving this long-range stability requires pairing the constrained inference interface with the three-stage training procedure: closed-loop rollout training (Posttrain) suppresses multi-day trajectory drift across all configurations, while multi-step differentiable training (Midtrain) teaches the corrector to account for the short-term dynamical response of the ocean solver under high-frequency coupling.

The diagnostic perturbation and closed-loop experiments further clarify how thermohaline state updates interact with primitive-equation dynamics under high-frequency coupling. Because potential temperature and salinity force horizontal momentum and vertical turbulence through the nonlinear equation of state ρ(T,S,P)\rho(T,S,P), uncoordinated residuals in frequent temperature and salinity updates project onto density anomalies, exciting near-grid ageostrophic currents and perturbing vertical mixing before the flow can adjust. Decomposing layerwise tracer increments relative to the local EOS density gradient separates density-compensated (isopycnal) water-mass corrections from density-modifying (diapycnal) perturbations. By selectively attenuating the density-modifying component while preserving the density-compensated component and layerwise conservation, Density-Normal Damping (DND) stabilizes high-frequency coupled forecasts far more effectively than uniform scaling, playing a role analogous to incremental analysis updates [33] and balance constraints in operational ocean data assimilation.

The present forecast experiments are conducted in an idealized double-gyre basin with zero surface buoyancy fluxes and complete fine-grid reference states. Extending this framework with probabilistic or spectral training objectives to jointly recover unresolved eddy amplitude and phase [9, 10], and applying the differentiable POM frameworks and constrained coupling interface to realistic regional and global ocean forecasting systems trained against ocean reanalyses or observations, are natural directions for future work.

Acknowledgements

This work was supported by the Fundamental and Interdisciplinary Disciplines Breakthrough Plan of the Ministry of Education of China (JYB2025XDXIM801) and the National Natural Science Foundation of China (42125503 and 42430602).

Data and code availability

The NeuralPOM source code is available at https://github.com/ChiyodaMomo01/NeuralPOM. The dataset is available at https://www.modelscope.cn/datasets/chiyodamomo01/NeuralPOM.

References

Governing equations and numerical discretization

This appendix specifies the governing equations and discrete operators of NeuralPOM. Both dynamical frameworks solve the hydrostatic, Boussinesq primitive equations in terrain-following coordinates following the Princeton Ocean Model (POM) [27] and differ in their free-surface integration: the Explicit framework resolves the external barotropic mode through split-explicit subcycling, whereas the Implicit framework solves a semi-implicit elliptic free-surface system at the internal baroclinic time step. Validation against the double-precision Fortran reference code is presented in Appendix § 15.

Coordinates, variables, and time levels

Horizontal coordinates are xx, yy, the vertical coordinate zz increases upward, and tt denotes time. With resting bathymetric depth h(x,y)>0h(x,y) > 0 and free-surface elevation η\eta, the total water-column thickness is H=h+ηH = h + \eta. Horizontal velocity components are uu, vv, physical vertical velocity is wzw_z, and gg, ρ0\rho_0, ff denote gravitational acceleration, reference seawater density, and the Coriolis parameter. Potential temperature TT and salinity SS are stored relative to reference offsets (Tbias,Sbias)(T_{\mathrm{bias}}, S_{\mathrm{bias}}), and density ρ\rho is represented by the normalized anomaly r=(ρ−ρoff)/ρ0r = (\rho- \rho_{\mathrm{off}})/\rho_0.

The terrain-following vertical coordinate σ∈[−1,0]\sigma\in[-1, 0] and transformed vertical velocity Ω\Omega are defined by

σ=z−ηH,z=η+σH,Ω=HDσDt=wz−∂tη−u∂xη−v∂yη−σ(∂tH+u∂xH+v∂yH).(11)\sigma= \frac{z-\eta}{H}, \qquad z = \eta+ \sigma H, \qquad\Omega= H\frac{D\sigma}{Dt} = w_z - \partial_t\eta- u\partial_x\eta- v\partial_y\eta- \sigma(\partial_t H + u\partial_x H + v\partial_y H). \tag*{(11)}

For any scalar field ϕ\phi, horizontal and vertical derivatives transform according to

∂xϕ∣z=∂xϕ∣σ−∂xη+σ∂xHH∂σϕ,∂zϕ=1H∂σϕ,(12)\left.\partial_x\phi\right|_z = \left.\partial_x\phi\right|_\sigma- \frac{\partial_x\eta+ \sigma\partial_x H}{H}\partial_\sigma\phi, \qquad\partial_z\phi= \frac{1}{H}\partial_\sigma\phi, \tag*{(12)}

and analogously in yy. The water column is discretized into NzN_z active layers k=0,…,Nz−1k = 0, \ldots, N_z - 1 bounded by interfaces σ0=0>σ1>⋯>σNz=−1\sigma_0 = 0 > \sigma_1 > \cdots> \sigma_{N_z} = -1, with layer thicknesses Δσk=σk−σk+1\Delta\sigma_k = \sigma_k - \sigma_{k+1} (∑k=0Nz−1Δσk=1\sum_{k=0}^{N_z-1}\Delta\sigma_k = 1), layer centers σˉk=12(σk+σk+1)\bar{\sigma}_k = \frac{1}{2}(\sigma_k + \sigma_{k+1}), and center-to-center spacings Δσˉk=σˉk−σˉk+1\Delta\bar{\sigma}_k = \bar{\sigma}_k - \bar{\sigma}_{k+1}. An inactive bottom storage level k=Nzk = N_z is excluded from vertical integrals.

The internal baroclinic time step is Δt\Delta t and the external barotropic substep is δt\delta t. Superscripts bb, nn, ff denote the backward, current, and forward leapfrog time levels separated by 2Δt2\Delta t (internal) or 2δt2\delta t (external), with free-surface pressure weight α\alpha and Robert–Asselin time-filter coefficient μ\mu. The mode-split formulation tracks external elevation ηE\eta_E (HE=h+ηEH_E = h + \eta_E), internal body elevation ηB\eta_B (HB=h+ηBH_B = h + \eta_B), and the interval-averaged elevation ηG\eta_G entering the internal momentum equations.

Hydrostatic momentum, continuity, and tracer equations

Let pp denote hydrostatic pressure, ηa=pa/(ρ0g)\eta_a = p_a/(\rho_0 g) atmospheric pressure head, KMK_M, KHK_H vertical turbulent viscosity and diffusivity, ν\nu molecular background diffusivity, and Fu\mathcal{F}_u, Fv\mathcal{F}_v horizontal viscous force divergences. In σ\sigma-coordinates, the conservative flux-divergence operator L(ϕ)\mathcal{L}(\phi) and volume continuity equation take the form

L(ϕ)=∂t(Hϕ)+∂x(Huϕ)+∂y(Hvϕ)+∂σ(Ωϕ),∂tH+∂x(Hu)+∂y(Hv)+∂σΩ=0.(13)\mathcal{L}(\phi) = \partial_t(H\phi) + \partial_x(Hu\phi) + \partial_y(Hv\phi) + \partial_\sigma(\Omega\phi), \qquad\partial_t H + \partial_x(Hu) + \partial_y(Hv) + \partial_\sigma\Omega= 0. \tag*{(13)}

Integrating continuity over σ∈[−1,0]\sigma\in[-1,0] with an impermeable bottom (Ω∣σ=−1=0\Omega|_{\sigma=-1}=0), surface volume flux FvF_v, and depth-averaged velocities (U,V)=∫−10(u,v) dσ(U,V)=\int_{-1}^{0}(u,v)\,\mathrm{d}\sigma yields ∂tη+∇h⋅(HU,HV)+Fv=0\partial_t\eta+\nabla_h\cdot(HU,HV)+F_v=0. Writing zx=∂xη+σ∂xHz_x=\partial_x\eta+\sigma\partial_xH and zy=∂yη+σ∂yHz_y=\partial_y\eta+\sigma\partial_yH, the horizontal momentum and hydrostatic relations are

C(u)−Hfv=−Hρ0(∂xp−zxH∂σp)+∂σ[KM+νH∂σu]+HFu,(14)\mathcal{C}(u)-Hfv=-\frac{H}{\rho_0}\left(\partial_xp-\frac{z_x}{H}\partial_\sigma p\right)+\partial_\sigma\left[\frac{K_M+\nu}{H}\partial_\sigma u\right]+HF_u, \tag*{(14)}
C(v)+Hfu=−Hρ0(∂yp−zyH∂σp)+∂σ[KM+νH∂σv]+HFv,∂σp=−gHρ.(15)\mathcal{C}(v)+Hfu=-\frac{H}{\rho_0}\left(\partial_yp-\frac{z_y}{H}\partial_\sigma p\right)+\partial_\sigma\left[\frac{K_M+\nu}{H}\partial_\sigma v\right]+HF_v,\qquad\partial_\sigma p=-gH\rho. \tag*{(15)}

Potential temperature TT and salinity SS evolve under horizontal diffusion along σ\sigma-surfaces (acting on backward-level anomalies relative to reference climatology Tc,ScT_c,S_c with turbulent Prandtl ratio AH/AM=0.20A_H/A_M=0.20) and vertical turbulent diffusion:

C(T)=∇h⋅[HAH∇h(T−Tc)]+∂σ[KH+νH∂σT]+HQT,C(S)=∇h⋅[HAH∇h(S−Sc)]+∂σ[KH+νH∂σS]+HQS.(16)\mathcal{C}(T)=\nabla_h\cdot\left[HA_H\nabla_h(T-T_c)\right]+\partial_\sigma\left[\frac{K_H+\nu}{H}\partial_\sigma T\right]+HQ_T,\qquad\mathcal{C}(S)=\nabla_h\cdot\left[HA_H\nabla_h(S-S_c)\right]+\partial_\sigma\left[\frac{K_H+\nu}{H}\partial_\sigma S\right]+HQ_S. \tag*{(16)}

Vertical momentum boundary conditions prescribe surface wind stress (KM+ν)∂z(u,v)∣z=η=τs/ρ0(K_M+\nu)\partial_z(u,v)|_{z=\eta}=\boldsymbol{\tau}_s/\rho_0 and quadratic bottom drag (KM+ν)∂z(u,v)∣z=−h=CD∣ub∣ub(K_M+\nu)\partial_z(u,v)|_{z=-h}=C_D|\boldsymbol{u}_b|\boldsymbol{u}_b. In-situ density ρ\rho and empirical sound speed cc are evaluated from the nonlinear POM equation of state [25, 27] as functions of potential temperature ϑ=T+Tbias (∘C)\vartheta=T+T_{\mathrm{bias}}\ ({}^\circ\mathrm{C}), salinity s=S+Sbiass=S+S_{\mathrm{bias}}, and static reference pressure P=−ρ0gσhˉ×10−5 (bar)P=-\rho_0g\sigma\bar{h}\times10^{-5}\ (\mathrm{bar}):

ρ=ρ(ϑ,s,P),r=ρ(ϑ,s,P)−ρoffρ0.(17)\rho=\rho(\vartheta,s,P),\qquad r=\frac{\rho(\vartheta,s,P)-\rho_{\mathrm{off}}}{\rho_0}. \tag*{(17)}

Arakawa-C spatial discretization and Smagorinsky viscosity

Horizontal operators are discretized on an orthogonal Arakawa-C grid where scalar cell (i,j)(i,j) has grid spacings Δxij,Δyij\Delta x_{ij},\Delta y_{ij}, area Aij=ΔxijΔyijA_{ij}=\Delta x_{ij}\Delta y_{ij}, and wet mask mT,ijm_{T,ij}, while face velocities uiju_{ij} (between cells i−1i-1 and ii) and vijv_{ij} (between cells j−1j-1 and jj) carry control areas Aiju,AijvA^u_{ij},A^v_{ij}, interpolated depths Hiju=12(Hij+Hi−1,j)H^u_{ij}=\frac{1}{2}(H_{ij}+H_{i-1,j}) and Hijv=12(Hij+Hi,j−1)H^v_{ij}=\frac{1}{2}(H_{ij}+H_{i,j-1}), transverse face lengths Liju,LijvL^u_{ij},L^v_{ij}, and face masks mU,ij,mV,ijm_{U,ij},m_{V,ij}. For masked face transports Qu=mUHuuQ^u=m_UH^uu and Qv=mVHvvQ^v=m_VH^vv, the discrete horizontal flux divergence is

(Dh(Qu,Qv))ij=Li+1,juQi+1,ju−LijuQiju+Li,j+1vQi,j+1v−LijvQijvAij.(18)(D_h(Q^u,Q^v))_{ij}=\frac{L^u_{i+1,j}Q^u_{i+1,j}-L^u_{ij}Q^u_{ij}+L^v_{i,j+1}Q^v_{i,j+1}-L^v_{ij}Q^v_{ij}}{A_{ij}}. \tag*{(18)}

Second-order centered differences discretize advective momentum and tracer fluxes at time level nn. Horizontal viscous and diffusive fluxes act on backward-level (bb) velocity strain and climatological tracer anomalies ϕ′b=ϕb−ϕc\phi^{\prime b}=\phi^b-\phi_c using resting face depths hu,hvh^u,h^v, advancing tracers to the intermediate state

ϕij,k∗=AijHijbϕij,kb−2Δt Lϕ,ij,kAijHijb\phi^*_{ij,k}=\frac{A_{ij}H^b_{ij}\phi^b_{ij,k}-2\Delta t\,L_{\phi,ij,k}}{A_{ij}H^b_{ij}}

prior to implicit vertical diffusion. Horizontal eddy viscosity follows the deformation-dependent Smagorinsky closure with cell-centered normal strain rates Dxu,DyvD_xu,D_yv and interpolated shear sxys_{xy}:

AM=CsΔxΔy(Dxu)2+(Dyv)2+12sxy2,Cs=0.05.(19)A_M=C_s\Delta x\Delta y\sqrt{(D_xu)^2+(D_yv)^2+\frac{1}{2}s_{xy}^2},\qquad C_s=0.05. \tag*{(19)}

Discrete hydrostatic baroclinic pressure gradient

Let r′=r−rmeanr'=r-r_{\mathrm{mean}} denote the normalized density anomaly relative to the horizontally uniform reference profile rmeanr_{\mathrm{mean}}. For the two scalar columns adjacent to a uu-face, define Δrk′=ri,k′−ri−1,k′\Delta r'_k=r'_{i,k}-r'_{i-1,k} and Σrk′=ri,k′+ri−1,k′\Sigma r'_k=r'_{i,k}+r'_{i-1,k}.

Vertical integration of the σ\sigma-transformed hydrostatic relation yields the discrete baroclinic pressure-gradient recurrence

B0u=g2(−σˉ0)(Hi+Hi−1)Δr0′,(20)B_0^u = \frac{g}{2}(-\bar{\sigma}_0)(H_i + H_{i-1})\Delta r'_0, \tag*{(20)}
Bku=Bk−1u+g4(σˉk−1−σˉk)(Hi+Hi−1)(Δrk′+Δrk−1′)+g4(σˉk−1+σˉk)(Hi−Hi−1)(Σrk′−Σrk−1′).(21)B_k^u = B_{k-1}^u + \frac{g}{4}(\bar{\sigma}_{k-1} - \bar{\sigma}_k)(H_i + H_{i-1})(\Delta r'_k + \Delta r'_{k-1}) + \frac{g}{4}(\bar{\sigma}_{k-1} + \bar{\sigma}_k)(H_i - H_{i-1})(\Sigma r'_k - \Sigma r'_{k-1}). \tag*{(21)}

The corresponding horizontal baroclinic force is Pku=HuLuBkumUP_k^u = H^u L^u B_k^u m_U (and analogously PkvP_k^v in yy). Equations (A.10)–(A.11) enter both the internal momentum solver and the baroclinic pressure-gradient term of the training loss (Appendix § 11.§ 4).

Vertical turbulence closure and implicit column diffusion

Vertical turbulent mixing is parameterized by the Mellor–Yamada level-2.5 closure [26] with prognostic equations for twice the turbulent kinetic energy q2q^2 and the master length-scale product q2lq^2l:

C(q2)=∇h⋅(HAM∇hq2)+∂σ[KQ+νH∂σq2]+2H(Ps+B−q3B1l),(22)\mathcal{C}(q^2) = \nabla_h \cdot(H A_M \nabla_h q^2) + \partial_\sigma\left[\frac{K_Q+\nu}{H}\partial_\sigma q^2\right] + 2H\left(P_s+B-\frac{q^3}{B_1l}\right), \tag*{(22)}
C(q2l)=∇h⋅[HAM∇h(q2l)]+∂σ[KQ+νH∂σ(q2l)]+H(E1l(Ps+B)−q3B1Wl),(23)\mathcal{C}(q^2l) = \nabla_h \cdot\left[H A_M \nabla_h(q^2l)\right] + \partial_\sigma\left[\frac{K_Q+\nu}{H}\partial_\sigma(q^2l)\right] + H\left(E_1l(P_s+B)-\frac{q^3}{B_1}W_l\right), \tag*{(23)}

where Ps=KM[(∂zu)2+(∂zv)2]P_s = K_M[(\partial_z u)^2+(\partial_z v)^2] is vertical shear production, B=KHbB = K_H b is buoyancy production, Wl=1+E2[lκ−1((z+h)−1+(η−z)−1)]2W_l = 1+E_2[l\kappa^{-1}((z+h)^{-1}+(\eta-z)^{-1})]^2 is the wall-proximity function, and (B1,E1,E2,κ)=(16.6,1.8,1.33,0.40)(B_1,E_1,E_2,\kappa) = (16.6, 1.8, 1.33, 0.40). At interface kk, with compressibility-corrected sound speed ckc_k from the POM equation of state, the vertical buoyancy gradient bkb_k, stability parameter GHG_H, and dissipation coefficient dkd_k are given by

bk=g(rk−1−rk)Δσˉk−1H+2g2ck−12+ck2,GH=min⁡(lk2bk∣qb2∣,0.028),dk=∣qb2∣B1lk+ϵl.(24)b_k = \frac{g(r_{k-1}-r_k)}{\Delta\bar{\sigma}_{k-1}H} + \frac{2g^2}{c_{k-1}^2+c_k^2}, \qquad G_H = \min\left(\frac{l_k^2b_k}{|q_b^2|},0.028\right), \qquad d_k = \frac{\sqrt{|q_b^2|}}{B_1l_k+\epsilon_l}. \tag*{(24)}

With closure constants (A1,A2,B2,C1)=(0.92,0.74,10.1,0.08)(A_1,A_2,B_2,C_1) = (0.92, 0.74, 10.1, 0.08), the stability functions SH(GH),SM(GH)S_H(G_H),S_M(G_H) determine the updated vertical diffusivities KM,KH,KQK_M,K_H,K_Q, which are averaged equally with their values from the preceding step. Boundary conditions for q2q^2 and q2lq^2l are set by surface and bottom kinematic stress magnitudes as,aba_s,a_b:

l0=2×105as/g,Qs=(15.8×100)2/3as,Qbot=B12/3ab,(25)l_0 = 2 \times10^5 a_s/g, \qquad Q_s = (15.8 \times100)^{2/3}a_s, \qquad Q_{\mathrm{bot}} = B_1^{2/3}a_b, \tag*{(25)}
L1=−κσ1Hfq12,LNz−1=κ(1+σNz−1)HfqNz−12.(26)L_1 = -\kappa\sigma_1H_fq_1^2, \qquad L_{N_z-1} = \kappa(1+\sigma_{N_z-1})H_fq_{N_z-1}^2. \tag*{(26)}

Vertical diffusive updates for (u,v,T,S,q2,q2l)(u,v,T,S,q^2,q^2l) are solved implicitly over 2Δt2\Delta t via tridiagonal column inversions across the active layers, with quadratic bottom drag γb=CD∣ubb∣\gamma_b = C_D|\mathbf{u}_b^b| entering the bottom momentum diagonal and logarithmic bottom drag coefficient

CD=clip⁡[{κln⁡[(zsh+(1+σˉbottom)HE)/z0]}2,CD,min⁡,CD,max⁡],(27)C_D = \operatorname{clip}\left[\left\{\frac{\kappa}{\ln[(z_{\mathrm{sh}}+(1+\bar{\sigma}_{\mathrm{bottom}})H_E)/z_0]}\right\}^2,C_{D,\min},C_{D,\max}\right], \tag*{(27)}

where CD,min⁡=0.0025C_{D,\min}=0.0025 and CD,max⁡=1C_{D,\max}=1.

Explicit mode-split integration

With mode-split step ratio Ne=Δt/δtN_e = \Delta t/\delta t, the Explicit framework advances the external barotropic mode over m=0,…,Ne−1m = 0,\ldots,N_e-1 substeps driven by depth-averaged baroclinic forcing held fixed across the internal step:

ηm+1=ηm−1−2δt[Dh(Hu,mUm,Hv,mVm)+Fvm].(28)\eta^{m+1} = \eta^{m-1} - 2\delta t\left[D_h\left(H^{u,m}U^m,H^{v,m}V^m\right)+F_v^m\right]. \tag*{(28)}
Hu,m+1Um+1=Hu,m−1Um−1−2δtAu[F‾u−AuCu+gHuLuδxχ+P‾u+Au(asu−abu)].(29)H^{u,m+1}U^{m+1}=H^{u,m-1}U^{m-1}-\frac{2\delta t}{A^u}\left[\overline{\mathcal{F}}^u-A^u C^u+gH^{u}L^u\delta_x\chi+\overline{P}^u+A^u(a^u_s-a^u_b)\right]. \tag*{(29)}

where χ=(1−2α)ηm+α(ηm−1+ηm+1)+ηa\chi=(1-2\alpha)\eta^m+\alpha(\eta^{m-1}+\eta^{m+1})+\eta_a, CuC^u is the depth-weighted Coriolis term, and Vm+1V^{m+1} is updated analogously. At each step, leapfrog levels are damped by the Robert–Asselin filter x~n=xn+μ2(xb−2xn+xf)\widetilde{x}^n=x^n+\frac{\mu}{2}(x^b-2x^n+x^f) (with the vertical mean removed from Δ2uk,Δ2vk\Delta^2u_k,\Delta^2v_k so that three-dimensional filtering preserves the barotropic transport). Across the NeN_e substeps, the solver accumulates the forward body elevation ηBf=μ4ηf(Ne−2)+12(1−μ2)ηf(Ne−1)+12ηf(Ne)\eta_B^f=\frac{\mu}{4}\eta_f^{(N_e-2)}+\frac{1}{2}(1-\frac{\mu}{2})\eta_f^{(N_e-1)}+\frac{1}{2}\eta_f^{(N_e)}, the interval-averaged elevation ηGf\eta_G^f, and the mean external transports Q+u,v=Ne−1∑m=0Ne−1Hu,v,(m)(U,V)(m)Q_+^{u,v}=N_e^{-1}\sum_{m=0}^{N_e-1}H^{u,v,(m)}(U,V)^{(m)}.

Semi-implicit free-surface solver and implicit adjoint

The Implicit framework advances the external mode directly over Δt\Delta t. Forming predictor transports Q∗u=Hu,nU∗u=Hu,bUb−(2Δt/Au)NuQ_*^u=H^{u,n}U_*^u=H^{u,b}U^b-(2\Delta t/A^u)N^u (and Q∗vQ_*^v analogously) with explicit pressure head χ∗=(1−2α)ηn+αηb+ηa\chi_*=(1-2\alpha)\eta^n+\alpha\eta^b+\eta_a and right-hand side bη=ηb−2Δt[Dh(Q∗u,Q∗v)+Fvn]b_\eta=\eta^b-2\Delta t[D_h(Q_*^u,Q_*^v)+F_v^n], the forward free-surface elevation ηf\eta^f satisfies the elliptic system

LHϕ=Dh(mUHuGxϕ,mVHvGyϕ),Aη=I−4Δt2gαLHn,Aηηf=bη.(30)L_H\phi=D_h\left(m_UH^uG_x\phi,m_VH^vG_y\phi\right),\qquad A_\eta=I-4\Delta t^2g\alpha L_H^n,\qquad A_\eta\eta^f=b_\eta. \tag*{(30)}

The velocity corrector updates the barotropic transport via Hu,fUf=Hu,nU∗−2Δt gαHu,fGxηfH^{u,f}U^f=H^{u,n}U_* -2\Delta t\,g\alpha H^{u,f}G_x\eta^f in the double-gyre forecast experiments and via the conservative form

Hu,fUf=Hu,nU∗−2Δt gαHu,nGxηf(31)H^{u,f}U^f=H^{u,n}U_* -2\Delta t\,g\alpha H^{u,n}G_x\eta^f \tag*{(31)}

in the Fortran validation suite. The linear system Aηηf=bηA_\eta\eta^f=b_\eta is solved by preconditioned conjugate gradients (PCG) with a fast discrete sine transform (DST-I) spectral preconditioner SS based on the constant-coefficient Helmholtz eigenvalues λab=4Δx0−2sin⁡2[πa/(2(nx+1))]+4Δy0−2sin⁡2[πb/(2(ny+1))]\lambda_{ab}=4\Delta x_0^{-2}\sin^2[\pi a/(2(n_x+1))]+4\Delta y_0^{-2}\sin^2[\pi b/(2(n_y+1))] evaluated at the median resting depth H0H_0,

B−1r=S−1[S(r)1+4Δt2gαH0λab].(32)B^{-1}r=S^{-1}\left[\frac{S(r)}{1+4\Delta t^2g\alpha H_0\lambda_{ab}}\right]. \tag*{(32)}

To propagate sensitivities through the elliptic solve without unrolling PCG iterations, we apply implicit differentiation. For any state or parameter ζ\zeta entering AηA_\eta or bηb_\eta and scalar objective L\mathcal{L} with upstream gradient gη=∂L/∂ηfg_\eta=\partial\mathcal{L}/\partial\eta^f, differentiating Aηηf=bηA_\eta\eta^f=b_\eta gives

AηTλ=gη,dLdζ=λT[∂bη∂ζ−∂Aη∂ζηf].(33)A_\eta^{\mathsf{T}}\lambda=g_\eta,\qquad\frac{d\mathcal{L}}{d\zeta}=\lambda^{\mathsf{T}}\left[\frac{\partial b_\eta}{\partial\zeta}-\frac{\partial A_\eta}{\partial\zeta}\eta^f\right]. \tag*{(33)}

Because AηA_\eta is self-adjoint with respect to the cell-area inner product MA=diag⁡(Aij)M_A=\operatorname{diag}(A_{ij}), AηT=MAAηMA−1A_\eta^{\mathsf{T}}=M_AA_\eta M_A^{-1} and the adjoint variable is obtained from a single PCG solve:

λ=MAAη−1(MA−1gη).(34)\lambda=M_AA_\eta^{-1}\left(M_A^{-1}g_\eta\right). \tag*{(34)}

Projection and three-dimensional mode coupling

Prior to internal baroclinic transport, horizontal velocities are constrained to match the two-interval average external transport Q‾u,v=12(Q−u,v+Q+u,v)\overline{Q}^{u,v}=\frac{1}{2}(Q_-^{u,v}+Q_+^{u,v}) while preserving vertical shear, uk←uk−∑ℓΔσℓuℓ+Q‾u/HBuu_k\leftarrow u_k-\sum_\ell\Delta\sigma_\ell u_\ell+\overline{Q}^{u}/H_B^u (and analogously for vkv_k). The transformed vertical velocity Ω\Omega is then diagnosed downward from the surface condition Ω0=Fv\Omega_0 = F_v via discrete continuity:

Ωk+1=Ωk+Δσk[Dh(HBuuk,HBvvk)+ηBf−ηBb2Δt].(35)\Omega_{k+1} = \Omega_k + \Delta\sigma_k \left[ D_h(H_B^u u_k, H_B^v v_k) + \frac{\eta_B^f - \eta_B^b}{2\Delta t} \right]. \tag*{(35)}

Three-dimensional horizontal momentum is subsequently advanced with surface pressure gradient δxχ3\delta_x\chi_3 (χ3=12(ηGf+ηGb)+ηa\chi_3 = \frac{1}{2}(\eta_G^f + \eta_G^b) + \eta_a) and baroclinic pressure-gradient force Pku,v\mathcal{P}_k^{u,v}, followed by the implicit vertical viscosity solve, the vertical-mean-preserving Robert–Asselin filter, and the leapfrog time-level shift.

State Correction Interface, Objective, and Training

Dataset construction, splits, and target alignment

For each dynamical framework (Explicit and Implicit), the fine-grid reference ensemble comprises eight members integrated for 9,000 model days each on a 354×322×16354 \times322 \times16 grid (∼7\sim7 km horizontal spacing, 352×320352 \times320 wet interior cells, 15 active σ\sigma-layers plus one inactive bottom storage level) from distinct divergence-free velocity perturbations, with potential temperature initialized from an exponential vertical stratification profile and salinity from a uniform value of 35 in model units. Volume-weighted conservative restriction onto the 90×82×1690 \times82 \times16 coarse forecast grid (∼28\sim28 km spacing, 88×8088 \times80 wet interior cells) archives complete daily 45-variable state checkpoints alongside 20-minute subdaily targets during the first four hours of each day. Ensemble members 0–6 over days 1000–7000 provide training trajectories, member 7 over days 7000–8000 provides validation data, and out-of-sample test evaluations are initialized from member 7 at 16 evenly spaced forecast origins dr=8000+32rd_r = 8000 + 32r (r=0,…,15r = 0,\ldots,15) and integrated for 100 days. Each forecast initialized at start day dd begins from the fine-grid reference state projected onto the coarse grid at the end of day d−1d - 1. Daily reference targets correspond to day-boundary states; hourly reference targets are extracted from the 20-minute reference fields archived during the first four hours of each day, so that each one-hour correction interval spans six 600-s coarse-grid internal steps (three 20-minute reference intervals). An offline cache stores the uncorrected coarse-grid state after the first physical integration interval, providing the exact pre-correction state for single-step pretraining and for the first coupling step of multi-step differentiable training.

Neural corrector architecture

The network input concatenates the three-dimensional current and backward leapfrog horizontal velocities and tracers (uu, ubu^b, vv, vbv^b, TT, SS) across all 16 stored vertical levels together with five two-dimensional external-mode fields (free-surface elevation and current and backward depth-averaged velocities), yielding 6×16+5=1016 \times16 + 5 = 101 input channels, each standardized by frozen training-set mean and standard deviation statistics. The architecture is a two-dimensional residual U-Net with base width 256 and three 2×22 \times2 max-pooling stages (512, 1024, and 2048 channels), paired with a bilinear-upsampling decoder and skip connections. Each residual block consists of two bias-free 3×33 \times3 convolutions with group normalization and ReLU activations, supplemented by a 1×11 \times1 projection shortcut when channel width changes. The final 1×11 \times1 output convolution is initialized to zero so that training begins from an exact zero-increment identity mapping. The network contains 156×106156 \times10^6 parameters and executes in 32-bit floating point with activation checkpointing during multi-step training.

Increment constraints and state update

The 60 output channels (four three-dimensional fields across the 15 active vertical layers) are scaled to physical units via δf=sfoutaθ,f\delta f = s^{\mathrm{out}}_f a_{\theta,f} for f∈{u,v,T,S}f \in\{u,v,T,S\}. With horizontal cell area AijA_{ij}, scalar wet mask mijm_{ij}, resting depth hijh_{ij}, predicted body elevation ηB,ij\eta_{\mathrm{B},ij}, and layer thickness Δσk\Delta\sigma_k, the cell-volume weights are wijk=Aijmij(hij+ηB,ij)Δσkw_{ijk} = A_{ij}m_{ij}(h_{ij}+\eta_{\mathrm{B},ij})\Delta\sigma_k. At every correction step, tracer increments are projected to zero layerwise volume mean and horizontal velocity increments are projected to zero column mean:

δTijk′=δTijk−∑ijwijkδTijk∑ijwijk,δuijk′=mU,ij[δuijk−∑kΔσkδuijk∑kΔσk],(36)\delta T'_{ijk}=\delta T_{ijk}-\frac{\sum_{ij}w_{ijk}\delta T_{ijk}}{\sum_{ij}w_{ijk}},\qquad\delta u'_{ijk}=m_{U,ij}\left[\delta u_{ijk}-\frac{\sum_k\Delta\sigma_k\delta u_{ijk}}{\sum_k\Delta\sigma_k}\right], \tag*{(36)}

and analogously for SS and vv. When Density-Normal Damping (DND) is applied, the layer-mean-preserving orthogonal decomposition and density-normal attenuation zc=(I−E)z+cEzz_c=(I-E)z+cEz (c=3/4c=3/4, Appendix C) act on the standardized layer-mean-preserving tracer increment pair (δT′/sT,δS′/sS)(\delta T'/s_T,\delta S'/s_S). Each variable pair is then bounded by a domain-wide scalar limiter cTS=zmax⁡/max⁡(zmax⁡,pTS)c_{TS}=z_{\max}/\max(z_{\max},p_{TS}), where pTSp_{TS} is the maximum absolute standardized tracer increment across both tracers and all active wet cells, and cuvc_{uv} analogously for horizontal velocity, with zmax⁡=5z_{\max}=5. In the state update, the resulting physical increments are added identically to both the current and backward leapfrog time levels, fn←fn+δff^n\leftarrow f^n+\delta f and fb←fb+δff^b\leftarrow f^b+\delta f, the inactive bottom level k=15k=15 is left unchanged, and in-situ density ρ\rho is updated across all wet cells via the nonlinear equation of state.

Composite endpoint loss

For variable ff with predicted-geometry volume weights wfw^f and error normalization scale sferrs^{\mathrm{err}}_f, define the normalized mean squared error Nf=∑wf(f−f∗)2/∑wf(sferr)2N_f=\sum w^f(f-f^*)^2/\sum w^f(s^{\mathrm{err}}_f)^2. The momentum term averages current and backward leapfrog velocity errors, Nm=14(Nu+Nub+Nv+Nvb)N_m=\frac{1}{4}(N_u+N_u^b+N_v+N_v^b). The baroclinic pressure-gradient consistency term NpN_p applies the discrete hydrostatic pressure-gradient recurrence (Eqs. (A.10)–(A.11)) to the equation-of-state density error re=r−r∗r_e=r-r^*, converts the resulting horizontal baroclinic force error (Px,Py)(P_x,P_y) into an equivalent single-step leapfrog velocity increment,

kijku=−4ΔtPx,ijk(Hij+Hi−1,j)AijumU,ij,(37)k^u_{ijk}=-\frac{4\Delta t P_{x,ijk}}{(H_{ij}+H_{i-1,j})A^u_{ij}}m_{U,ij}, \tag*{(37)}

and analogously for kvk^v, and penalizes Np=12[M(ku)+M(kv)]/(sperr)2N_p=\frac{1}{2}[M(k^u)+M(k^v)]/(s^{\mathrm{err}}_p)^2. The horizontal frontal-gradient term NFN_F averages the normalized squared differences of temperature and salinity errors between adjacent wet cells in both horizontal grid directions. The composite endpoint loss is

ℓχ=0.25Nm+0.25NT+0.25NS+0.15Np+0.10NF+0.10χNη,(38)\ell_{\chi}=0.25N_m+0.25N_T+0.25N_S+0.15N_p+0.10N_F+0.10\chi N_{\eta}, \tag*{(38)}

where χ=0\chi=0 during Pretrain and χ=1\chi=1 during Midtrain and Posttrain. Because the state update does not modify free-surface elevation directly, NηN_{\eta} contributes a nonzero parameter gradient only during Midtrain, where earlier velocity and tracer increments influence subsequent sea-surface height through the differentiable primitive-equation solver.

Optimization schedule and selected checkpoints

The three-stage training procedure progresses sequentially through Pretrain, Midtrain, and Posttrain. Pretrain optimizes single-step intervals (N=1N=1) on cached physical forecasts; Midtrain unrolls N=4N=4 coupled correction-and-integration intervals end-to-end through the differentiable dynamical framework; and Posttrain integrates 10-day closed-loop trajectories, performing one parameter update at the final correction of each day while detaching the computational graph between days. All three stages use eight-GPU data-parallel optimization with AdamW (weight decay 10−410^{-4}) and global gradient norm clipping at 10. Pretrain samples initialization states every six days across the seven 6000-day training reference members (7,000 samples per epoch) and trains for 40 epochs with a cosine learning-rate schedule decaying from 5×10−55 \times10^{-5} to 5×10−65 \times10^{-6} after a three-epoch linear warmup. Midtrain and Posttrain use a fixed learning rate of 3×10−63 \times10^{-6}. Hourly Midtrain samples trajectories every 24 days for 10 epochs; daily Midtrain samples every 72 days for three epochs. Posttrain samples 10-day rollouts every 60 days. Table 6 lists the completed optimizer updates for all four configurations; in the route ablations (§ 4.4), Skip omits Midtrain while Detached applies a stop-gradient operator at the entrance of each Midtrain physical interval PΔP^{\Delta} under identical update budgets.

ConfigurationPretrainMidtrainPosttrain
Implicit, 1 h35,0002,2001,800
Implicit, 1 day35,0002005,000
Explicit, 1 h35,0002,2001,800
Explicit, 1 day35,0002005,000

Table 6. Optimizer updates across training stages. Entries report the approximate number of optimizer updates (rounded to the nearest hundred) for each training stage.

Layer-Constrained Density-Normal Projection

This appendix derives the layer-mean-preserving orthogonal projection used in Density-Normal Damping (DND, § 5) and summarizes its numerical implementation.

Orthogonal projection onto the density-modifying subspace

Consider a single active σ\sigma-layer with wet cells ii, normalized cell-volume weights wi>0w_i > 0 (∑iwi=1\sum_i w_i = 1), and the Hilbert space of layer-mean-preserving standardized tracer increments H0={u=(ui):ui∈R2, ∑iwiui=0}\mathcal{H}_0 = \{u = (u_i) : u_i \in\mathbb{R}^2,\ \sum_i w_i u_i = 0\} equipped with the volume-weighted inner product ⟨u,v⟩w=∑iwiuiTvi\langle u,v\rangle_w = \sum_i w_i u_i^{\mathsf{T}}v_i. Let ri=(ρi−ρoff)/ρ0r_i = (\rho_i - \rho_{\mathrm{off}})/\rho_0 denote the normalized in-situ density anomaly at the pre-correction state, gi=(sT∂Tri,sS∂Sri)Tg_i = (s_T\partial_T r_i, s_S\partial_S r_i)^{\mathsf{T}} its gradient in standardized tracer coordinates, ni=gi/∥gi∥2n_i = g_i/\lVert g_i\rVert_2 the local unit density-normal direction, and ai=niTzia_i = n_i^{\mathsf{T}}z_i the pointwise density-normal component of a given tracer increment z∈H0z \in\mathcal{H}_0.

Because nin_i varies horizontally across the basin due to the nonlinear equation of state, the pointwise density-normal field ainia_i n_i does not in general have zero layer mean. The subspace of layer-mean-preserving density-modifying (diapycnal) increments is

S={p∈H0:pi=βini, ∑iwiniβi=0}.(39)\mathcal{S} = \left\{p \in\mathcal{H}_0 : p_i = \beta_i n_i,\ \sum_i w_i n_i\beta_i = 0\right\}. \tag*{(39)}

Finding the closest element p∈Sp \in\mathcal{S} to zz in the ∥⋅∥w\lVert\cdot\rVert_w norm reduces to minimizing 12∑iwi(βi−ai)2\frac{1}{2}\sum_i w_i(\beta_i-a_i)^2 subject to ∑iwiniβi=0\sum_i w_i n_i\beta_i = 0. Introducing a Lagrange multiplier λ∈R2\lambda\in\mathbb{R}^2, the stationarity conditions give βi=ai−niTλ\beta_i = a_i - n_i^{\mathsf{T}}\lambda and Mλ=bM\lambda= b, where M=∑iwininiT∈R2×2M = \sum_i w_i n_i n_i^{\mathsf{T}} \in\mathbb{R}^{2\times2} is the symmetric positive semidefinite Gram matrix of the layer density normals and b=∑iwiniai∈R2b = \sum_i w_i n_i a_i \in\mathbb{R}^2. Because any t∈ker⁡Mt \in\ker M satisfies 0=tTMt=∑iwi(niTt)20 = t^{\mathsf{T}}Mt = \sum_i w_i(n_i^{\mathsf{T}}t)^2 and hence niTt=0n_i^{\mathsf{T}}t=0 for all ii, we have tTb=0t^{\mathsf{T}}b=0, so b∈ran⁡Mb\in\operatorname{ran}M. Applying the Moore–Penrose pseudoinverse M+M^{+} [34] yields the unique minimum-norm multiplier λ=M+b\lambda=M^{+}b and the projected scalar amplitude

βi=ai−niTM+b,∑iwipi=b−MM+b=0.(40)\beta_i=a_i-n_i^{\mathsf{T}}M^{+}b,\qquad\sum_i w_i p_i=b-MM^{+}b=0. \tag*{(40)}

For any test field ti=γini∈St_i=\gamma_i n_i\in S, ⟨z−p,t⟩w=∑iwi(ai−βi)γi=λT∑iwiniγi=0\langle z-p,t\rangle_w=\sum_iw_i(a_i-\beta_i)\gamma_i=\lambda^{\mathsf{T}}\sum_iw_in_i\gamma_i=0. Thus p=Ezp=Ez defines the exact ww-orthogonal projection of H0\mathcal{H}_0 onto SS, while (I−E)z∈S⊥∩H0(I-E)z\in S^\perp\cap\mathcal{H}_0 is the layer-mean-preserving density-compensated (isopycnal) component.

Applying a directional retention factor c∈[0,1]c\in[0,1] to the density-modifying subspace produces the filtered increment

zc=(I−E)z+cEz,∥zc∥w2=∥z∥w2−(1−c2)∥Ez∥w2.(41)z_c=(I-E)z+cEz,\qquad\lVert z_c\rVert_w^2=\lVert z\rVert_w^2-(1-c^2)\lVert Ez\rVert_w^2. \tag*{(41)}

For DND (c=3/4c=3/4), Eq. (C.3) reduces the squared volume-weighted norm of the density-modifying component EzEz by 1−(3/4)2=7/16=43.75%1-(3/4)^2=7/16=43.75\%, while leaving the density-compensated component (I−E)z(I-E)z and the layerwise heat and salt budgets unchanged.

Numerical implementation and norm-matched uniform control

At each correction step, the layer-mean-preserving tracer increment is computed in 64-bit precision and normalized by (sT,sS)(s_T,s_S). Analytical partial derivatives (∂Tρ,∂Sρ)(\partial_T\rho,\partial_S\rho) of the POM equation of state (Eq. (A.7)) evaluated at the pre-correction state define the unit normal ni=gi/max⁡(∥gi∥2,10−30)n_i=g_i/\max(\lVert g_i\rVert_2,10^{-30}). Within each active layer, the 2×22\times2 Gram matrix M=∑iwininiT=∑j=12λjujujTM=\sum_iw_in_in_i^{\mathsf{T}}=\sum_{j=1}^2\lambda_ju_ju_j^{\mathsf{T}} is inverted via its truncated eigendecomposition,

Mτ+=∑λj>τλmax⁡max⁡(λj,10−30)−1ujujT,τ=10−10.(42)M_\tau^{+}=\sum_{\lambda_j>\tau\lambda_{\max}}\max(\lambda_j,10^{-30})^{-1}u_ju_j^{\mathsf{T}},\qquad\tau=10^{-10}. \tag*{(42)}

After forming zc=(I−E)z+cEzz_c=(I-E)z+cEz with c=3/4c=3/4 and applying the paired L∞L_\infty limiter (zmax⁡=5z_{\max}=5, Appendix § 11.§ 3), the physical increments are added identically to (Tn,Tb)(T^n,T^b) and (Sn,Sb)(S^n,S^b), followed by a full nonlinear equation-of-state density update.

For the norm-matched Uniform control evaluated in § 5.3, both tracer increments are scaled isotropically by zkuni=κzz_k^{\mathrm{uni}}=\kappa z with a fixed scalar factor κ\kappa calibrated once on cached Undamped development endpoints (days 1–10 from initialization days 8000, 8160, and 8320) to match the mean volume-weighted standardized tracer increment norm of DND: κ=0.9047\kappa=0.9047 for Implicit 1 h, 0.9064 for Implicit 1 day, 0.9313 for Explicit 1 h, and 0.9038 for Explicit 1 day. In the 72-hour single-perturbation propagation experiment (§ 5.2), the 36 pre-correction states are sampled at forecast lead days 1, 10, and 30 from initialization origins 8000, 8160, and 8320 across all four Posttrain configurations (3×3×4=363\times3\times4=36 states).

Evaluation Protocol and Physical Baselines

Error metrics

For forecast initialization origin r∈{1,…,16}r\in\{1,\ldots,16\} and lead day d∈{1,…,100}d\in\{1,\ldots,100\}, three-dimensional prognostic fields are weighted by cell volume wijkref=Aijmijf(hij+ηB,ijref)Δσkw_{ijk}^{\mathrm{ref}}=A_{ij}m_{ij}^{f}(h_{ij}+\eta_{B,ij}^{\mathrm{ref}})\Delta\sigma_k, using the fine-grid reference body elevation of that day and the variable’s native staggered wet mask; sea-surface height uses the horizontal cell area AijmijA_{ij}m_{ij}. The spatial mean squared error Mf(r,d)M_f(r,d) is evaluated across the 15 active vertical layers, and any forecast lead window [a,b][a,b] of length L=b−a+1L=b-a+1 days is summarized by the pooled root-mean-square error and relative percentage change:

Ef(a,b)=[116L∑r=116∑d=abMf(r,d)]1/2,Δfref=100[EfEfref−1].(43)E_f(a,b)=\left[\frac{1}{16L}\sum_{r=1}^{16}\sum_{d=a}^{b}M_f(r,d)\right]^{1/2},\qquad\Delta_f^{\mathrm{ref}}=100\left[\frac{E_f}{E_f^{\mathrm{ref}}}-1\right]. \tag*{(43)}

All reductions are accumulated in 64-bit floating-point precision, whereas coarse-grid physical and hybrid forecast integrations execute at Δt=600\Delta t=600 s in 32-bit floating-point precision. Training objectives and layer-budget constraints use the predicted model geometry, whereas forecast evaluation uses the fine-grid reference geometry common to all methods at each origin and lead day.

Coarse-grid physical parameterizations

We compare three classical subgrid momentum and tracer closures on the coarse-grid POM dynamical frameworks:

  • Smagorinsky: The standard second-order harmonic Smagorinsky horizontal viscosity A0=cmΔxΔyShA_0=c_m\Delta x\Delta yS_h and harmonic tracer diffusivity AH=ccΔxΔyShA_H=c_c\Delta x\Delta yS_h, where ShS_h is the resolved horizontal deformation rate. The reference coarse-grid baseline uses cm=0.05c_m=0.05 and cc=0.01c_c=0.01 (tprni =cc/cm=0.20=c_c/c_m=0.20), and we additionally sweep independent (cm,cc)(c_m,c_c) scaling pairs across both dynamical frameworks.

  • Biharmonic: A scale-selective fourth-order horizontal momentum dissipation closure that replaces harmonic momentum viscosity with a symmetric fourth-order dissipative update at each internal step,

v+−v−=−Δt L†Wκ4L12(v++v−),κ4=γcm0.05A04(Δx−2+Δy−2).(44)\mathbf{v}^{+}-\mathbf{v}^{-}=-\Delta t\,L^{\dagger W}\kappa_4L\frac{1}{2}\left(\mathbf{v}^{+}+\mathbf{v}^{-}\right),\qquad\kappa_4=\gamma\frac{c_m}{0.05}\frac{A_0}{4(\Delta x^{-2}+\Delta y^{-2})}. \tag*{(44)}

where LL is the discrete horizontal stress operator at unit viscosity, WW is the diagonal matrix of wet-face control volumes, and L†W=W−1L⊤WL^{\dagger W}=W^{-1}L^{\top}W is its volume-weighted adjoint. The implicit midpoint update yields an exact single-step kinetic-energy dissipation rate of Δt⟨Lvˉ,κ4Lvˉ⟩W\Delta t\langle L\bar{\mathbf{v}},\kappa_4L\bar{\mathbf{v}}\rangle_W with γ=2\gamma=2.

  • Backscatter: Fourth-order biharmonic viscosity coupled with a kinetic-energy backscatter parameterization. A fraction β=0.5\beta=0.5 of the biharmonic kinetic-energy loss is transferred to column subgrid energy reservoirs in regions where the flow is geostrophically balanced and the first baroclinic Rossby radius of deformation is resolved, and is reinjected into the resolved flow via anti-viscous harmonic forcing while accounting for the exact finite-step energy exchange (γ=2\gamma=2). Across both dynamical frameworks, Biharmonic and Backscatter yield larger 100-day RMSE than harmonic Smagorinsky across all five prognostic variables.

Spatial tracer error decomposition and density

With normalized reference volume weights WikW_{ik} (∑i,kWik=1\sum_{i,k}W_{ik}=1), layer weights Wk=∑iWikW_k=\sum_iW_{ik}, layer-mean error μk=Wk−1∑iWikeik\mu_k=W_k^{-1}\sum_iW_{ik}e_{ik}, and global domain-mean error μ=∑kWkμk\mu=\sum_kW_k\mu_k, the three-dimensional tracer MSE decomposes orthogonally into domain-mean, vertical profile-shape, and horizontal anomaly components:

∑i,kWikeik2=μ2+∑kWk(μk−μ)2+∑i,kWik(eik−μk)2.(45)\sum_{i,k}W_{ik}e_{ik}^{2}=\mu^{2}+\sum_kW_k(\mu_k-\mu)^2+\sum_{i,k}W_{ik}(e_{ik}-\mu_k)^2. \tag*{(45)}

In-situ density errors are evaluated in kg m−3^{-3} from the nonlinear POM equation of state (xref}Eq. (A.7). Figure 7 shows the 100-day daily RMSE evolution of temperature and salinity across all four hybrid configurations and their coarse-grid Smagorinsky baselines.

Horizontal velocity spectra

Each horizontal velocity component is analyzed on its native staggered C-grid. Within each active layer kk, the velocity field is masked, multiplied by a two-dimensional Hann window qijq_{ij}, demeaned with the same window weights, normalized by [(NxNy)−1∑ijqij2]1/2\left[(N_xN_y)^{-1}\sum_{ij}q_{ij}^{2}\right]^{1/2}, and transformed via forward-normalized two-dimensional fast Fourier transforms. Isotropic radial wavenumber bins span 0 to 1/2\sqrt{1/2} cycles per grid interval. Layer kinetic energies Ekb=12∑b(∣u^k∣2+∣v^k∣2)E_{kb}=\frac{1}{2}\sum_b\left(\lvert\hat{u}_k\rvert^2+\lvert\hat{v}_k\rvert^2\right) are weighted by layer thickness Δσk\Delta\sigma_k. Prediction, reference, error, and cross-spectral kinetic energies EPE^P, ErE^r, EeE^e, CC are averaged across the 16 evaluation origins and lead days within each forecast window before forming the energy ratio R=EP/ErR=E^P/E^r, normalized spectral error Q=Ee/ErQ=E^e/E^r, and phase alignment A=C/EPErA=C/\sqrt{E^PE^r}, which satisfy the exact identity

Q=R+1−2AR.Q=R+1-2A\sqrt{R}.

Spectral bands are partitioned into large scales (k≤0.125k\le0.125 cycles per grid interval), intermediate scales (0.125<k≤0.250.125<k\le0.25), near-grid scales (0.25<k≤0.50.25<k\le0.5), and corner scales (k>0.5k>0.5).

Direct Neural Forecasters

Full-state emulation task and architectures

The direct autoregressive neural forecasters are trained and evaluated on the semi-implicit reference dataset in the wind-driven double-gyre ocean basin using the same ensemble member and temporal split as NeuralPOM. At each daily step, each direct model takes as input and predicts the complete 313-channel model state: 18 three-dimensional variables across all 16 vertical levels (current and backward horizontal velocities and tracers, turbulent kinetic energy and mixing length variables, vertical momentum and tracer diffusivities, horizontal viscosity, in-situ density, and transformed vertical velocity Ω\Omega) together with 25 two-dimensional variables (free-surface elevations, depth-averaged velocities, interval transport accumulators, surface wind forcing, and bottom stress). Each channel is standardized using frozen training-set statistics; land and bottom cells are masked, and the model clock advances by one day per autoregressive step without invoking the primitive-equation solver.

We evaluate five spatiotemporal neural architectures:

  • ResUNet: The residual U-Net architecture of the hybrid corrector widened to 313 input and 313 output channels.

  • Triton: The multi-scale spatiotemporal hierarchy of [29], configured with spatial hidden width 256, temporal hidden width 512, four spatial blocks, and eight temporal blocks.

  • SimVP: The Inception-based spatiotemporal translator of [30] with spatial width 256 and temporal width 512.

  • ConvLSTM: A two-layer convolutional LSTM network [31] with 256 hidden channels per layer and 3×33 \times3 kernels.

  • PastNet: The hybrid spectral-convolution and discrete vector-quantized codebook architecture of [32] with a 512-entry codebook.

Horizontal grids are padded to 92×8492 \times84 (Triton, SimVP) or 96×9696 \times96 (PastNet) and cropped back to the 90×8290 \times82 domain after each forward pass.

Two-stage training protocol and window evaluation

All five direct neural architectures are trained using the channel-averaged, area- and thickness-weighted mean squared error across all 313 standardized state channels:

ℓAI=1313∑c=1313∑iwci(a^ci−aci)2∑iwci.(46)\ell_{\mathrm{AI}} = \frac{1}{313} \sum_{c=1}^{313} \frac{\sum_i w_{ci}(\hat{a}_{ci} - a_{ci})^2}{\sum_i w_{ci}}. \tag*{(46)}

During single-step pretraining (Pretrain), each network is trained on one-day state transitions sampled every six days across the seven 6000-day training members using the same optimizer and cosine learning-rate schedule as the hybrid Pretrain stage. During closed-loop rollout training (Posttrain), initialized from the Pretrain checkpoint, each network is trained on 10-day autoregressive rollouts sampled every 60 days, performing one optimizer update per rollout day with the predicted state detached between consecutive daily steps. In both stages, training is terminated via early stopping based on validation skill.

Whereas Table 2 in § 4.2 reports the full 100-day pooled RMSE across all 16 evaluation origins, Table 7 partitions performance into early (days 1–50) and late (days 51–100) forecast windows for all ten direct neural checkpoints, the coarse-grid Smagorinsky baseline, and the daily NeuralPOM hybrid forecast (DND).

Configurationuu ↓vv ↓SSH ↓TT ↓SS ↓
Days 1–50
Smagorinsky0.057150.061250.082910.206760.02327
Triton Pre0.080460.081430.169750.605550.16690
Triton Post0.067220.066940.112660.294190.09654
ResUNet Pre0.080420.078200.124400.358880.09838
ResUNet Post0.057960.059340.086420.431610.17765
SimVP Pre0.084070.081550.191070.680220.18472
SimVP Post0.061370.061520.101500.510950.22896
ConvLSTM Pre0.101150.103330.303470.947090.21542
ConvLSTM Post0.077650.077410.132090.392240.08424
PastNet Pre0.117790.112060.189380.548990.18091
PastNet Post0.083450.084560.138180.723250.26158
NeuralPOM Post-DND (ours)0.048130.052820.069350.165860.01769
Days 51–100
Smagorinsky0.096440.098410.147590.359920.04179
Triton Pre0.115180.107320.253010.943830.25964
Triton Post0.106190.102610.172530.427040.12042
ResUNet Pre0.119570.113860.196740.538680.14740
ResUNet Post0.101540.102920.159250.745870.26585
SimVP Pre0.103590.099970.252350.890310.24270
SimVP Post0.102570.097980.166760.734480.28231
ConvLSTM Pre0.100620.103700.286440.985140.23197
ConvLSTM Post0.121940.112660.218620.612070.12609
PastNet Pre0.163490.139890.264740.668490.17105
PastNet Post0.119010.115990.196760.814400.27646
NeuralPOM Post-DND (ours)0.093170.096660.142830.336660.03577

Table 7. Early- and late-window forecast RMSE (days 1–50 and days 51–100). Shading and boldface denote the lowest RMSE in each column within each forecast window; underlining denotes the second lowest (see Table 2 for days 1–100). Horizontal velocities uu, vv in m s−1^{-1}, sea-surface height (SSH) in m, potential temperature TT in °C, and salinity SS in model salinity units.

Validation of the differentiable dynamical frameworks

Both differentiable PyTorch dynamical frameworks were validated in 64-bit floating point against the double-precision Fortran Princeton Ocean Model across four benchmark configurations spanning idealized basin, coastal, topographic, and realistic embayment regimes with identical initial states, bathymetry, forcing, and time steps:

  1. Double gyre: A 24-hour spin-up of the wind-driven double-gyre ocean basin on a closed 90 × 82 horizontal grid with 15 active σ\sigma-layers, zero normal boundary velocities, internal step Δt=900\Delta t = 900 s, external substep δt=30\delta t = 30 s, and μ=0.10\mu= 0.10 (whereas the long double-gyre forecast integrations in the main text use Δt=600\Delta t = 600 s, δt=20\delta t = 20 s, (α,μ)=(0.225,0.10)(\alpha, \mu) = (0.225, 0.10) for Explicit, and (0.333,0.15)(0.333, 0.15) for Implicit).

  1. Coastal tide: A 15-day barotropic tidal integration on a 161 × 101 grid with four active layers, Δt=10\Delta t = 10 s, δt=1\delta t = 1 s, fixed tracers, logarithmic bottom drag (Eq. (A.17)) with zsh=0.01z_{\mathrm{sh}} = 0.01 m and z0=0.005z_0 = 0.005 m,

an eastern Flather radiation condition UE=Uadj+g/Hadj(ηadj−ηE)U_E = U_{\mathrm{adj}} + \sqrt{g/H_{\mathrm{adj}}}(\eta_{\mathrm{adj}} - \eta_E), and western M2_2 tidal forcing ηtide,j(th)=ajcos⁡(ωth−ϕj)\eta_{\mathrm{tide},j}(t_h) = a_j \cos(\omega t_h - \phi_j) enforced via Dirichlet boundary lifting in the Implicit solver.

  1. Stratified seamount: A 10-day integration initialized from rest over an isolated seamount on a 65×4965 \times49 grid with 15 active layers, Δt=150\Delta t = 150 s, δt=5\delta t = 5 s, rmean=0r_{\mathrm{mean}} = 0, open eastern and western radiation boundaries UW,E=∓g/h(ηW,E−ηW,Eext)U_{W,E} = \mp\sqrt{g/h}(\eta_{W,E} - \eta^{\mathrm{ext}}_{W,E}) incorporated into AηA_\eta as diagonal Robin terms, and conservative body-elevation updates driven by QQ.

  1. Jiaozhou Bay: A 15-day realistic-topography tidal integration of Jiaozhou Bay on a 312×213312 \times213 horizontal grid (Δx≈141.7\Delta x \approx141.7 m, Δy≈185.0\Delta y \approx185.0 m, 30,159 interior wet water columns with 2.402.40 m ≤h≤60.03\le h \le60.03 m) and 16 active σ\sigma-layers, with Δt=10\Delta t = 10 s, δt=1\delta t = 1 s, fixed tracers, depth-gated logarithmic bottom drag (zsh=0.01z_{\mathrm{sh}} = 0.01 m, z0=0.005z_0 = 0.005 m evaluated where H≥hc=0.05H \ge h_c = 0.05 m), gravity-wave and Orlanski velocity radiation boundaries, and M2_2 tidal forcing across 389 active wet open-boundary nodes along the southern and eastern boundaries enforced via Dirichlet boundary lifting in the Implicit solver.

Across all four validation benchmarks, the Implicit solver uses the conservative transport corrector (Eq. (A.21)), area-weighted PCG inner products, and a relative residual tolerance of 10−1110^{-11}.

The Explicit framework reproduces the Fortran reference to numerical round-off: after 24 hours in the double-gyre benchmark, its velocity RMSEs are 1.78×10−91.78 \times10^{-9} and 1.64×10−91.64 \times10^{-9} m s−1^{-1}, and its sea-surface elevation RMSE is 8.51×10−108.51 \times10^{-10} m (Table 8 and Figure 8). The Implicit framework replaces external mode subcycling with a semi-implicit elliptic solve at the baroclinic step; its 24-hour double-gyre elevation difference of 1.42 mm decreases to 0.46 mm when Δt\Delta t is reduced from 900 s to 100 s, confirming temporal consistency between the two free-surface discretizations. In the coastal tidal benchmark, the root-mean-square elevation difference over hours 240–360 is 1.9 μ\mum for Explicit and 0.50 mm for Implicit, with station M2_2 tidal amplitudes and phases agreeing with Fortran to within 0.46 mm and 0.042∘0.042^\circ. In the resting stratified seamount benchmark, both PyTorch frameworks and Fortran POM develop the same terrain-following pressure-gradient error current of approximately 0.30 m s−1^{-1} after 10 days [35], with inter-model velocity differences below 10−410^{-4} m s−1^{-1}. In the realistic-topography Jiaozhou Bay benchmark, where an un-ramped cold-start M2_2 tide propagates across complex coastal geometry and shallow shoals, the Explicit framework matches Fortran to machine precision over the initial steps (∼10−16\sim10^{-16} m) and maintains a root-mean-square elevation difference of 0.094 mm over days 10–15 (0.19 mm at day 15), while the Implicit framework damps the initial six-hour cold-start gravity-wave transient at Δt=10\Delta t = 10 s before converging onto the forced tidal equilibrium with a root-mean-square elevation difference of 0.19 mm over days 10–15 (0.28 mm at day 15) and interior station M2_2 amplitude and phase differences within 0.12 mm and 0.010∘0.010^\circ across both frameworks (Figure 9).

BenchmarkFrameworkuuvvTTSSη\eta
Double gyre (24 h)Explicit1.780e-091.638e-093.502e-091.981e-098.510e-10
Double gyre (24 h)Implicit7.357e-053.563e-052.303e-061.438e-051.416e-03
Coastal tide (15 d)Explicit1.349e-067.935e-07001.224e-06
Coastal tide (15 d)Implicit7.175e-041.858e-04005.466e-04
Seamount (10 d)Explicit6.298e-052.382e-051.764e-049.766e-084.439e-05
Seamount (10 d)Implicit9.304e-054.911e-051.973e-049.540e-083.002e-05
Jiaozhou Bay (15 d)Explicit2.916e-035.724e-03001.866e-04
Jiaozhou Bay (15 d)Implicit5.371e-037.468e-03002.840e-04

Table 8. Root-mean-square differences against the double-precision Fortran POM reference at the end of each validation benchmark. Velocities u,vu,v in m s−1^{-1}, potential temperature TT in °C, salinity SS in model salinity units, and free-surface elevation η\eta in m.

Figure 8. Double-gyre validation benchmark at 24 hours. Fortran POM reference fields (left) and pointwise differences for the Explicit (middle) and Implicit (right) differentiable PyTorch frameworks, shown for free-surface elevation (top) and column-maximum horizontal speed (bottom).

Figure 9. Realistic-topography Jiaozhou Bay validation benchmark over a 15-day (360 h) M2M_2 tidal integration. (a) Coastal bathymetry hh, southern and eastern M2M_2 open boundaries, and interior tidal gauge locations (S1 Bay Mouth, S2 Inner Bay, S3 Bay Center, S4 Dagu Estuary). (b) Equilibrium tidal gauge elevation series over days 12.5–15 (top) and 15-day domain-weighted free-surface elevation RMSE time series against the double-precision Fortran POM reference (bottom). (c–e) Day-15 free-surface elevation η\eta for the Fortran reference (m) and pointwise differences (mm) for the Explicit and Implicit differentiable PyTorch frameworks. (f–h) Day-15 column-maximum horizontal speed (m s−1^{-1}) with depth-averaged current vectors overlaid on the Fortran reference, alongside pointwise speed differences for the Explicit and Implicit frameworks.

References

  1. [1]Baylor Fox-Kemper, Alistair Adcroft, Claus W. Böning, Eric P. Chassignet, Enrique Curchitser, Gokhan Danabasoglu, Carsten Eden, Matthew H. England, Rüdiger Gerdes, Richard J. Greatbatch, Stephen M. Griffies, Robert W. Hallberg, Emmanuel Hanert, Patrick Heimbach, Helene T. Hewitt, Christopher N. Hill, Yoshiki Komuro, Sonya Legg, Julien Le Sommer, Simona Masina, Simon J. Marsland, Stephen G. Penny, Fangli Qiao, Todd D. Ringler, Anne Marie Treguier, Hiroyuki Tsujino, Petteri Uotila, and Stephen G. Yeager. Challenges and Prospects in Ocean Circulation Models. Frontiers in Marine Science, 6:65, 2019. doi: 10.3389/fmars.2019.00065. URL https://www.frontiersin.org/journals/marine-science/articles/10.3389/fmars.2019.00065/full.DOI
  2. [2]Patrick Heimbach, Fearghal O’Donncha, Timothy A. Smith, Jose Maria Garcia-Valdecasas, Alain Arnaud, and Liying Wan. Crafting the future: Machine learning for ocean forecasting. State of the Planet, 5-opsr:22, 2025. doi: 10.5194/sp-5-opsr-22-2025. URL https://sp.copernicus.org/articles/5-opsr/22/2025/.DOI
  3. [3]Helene T. Hewitt, Malcolm Roberts, Pierre Mathiot, Arne Biastoch, Ed Blockley, Eric P. Chassignet, Baylor Fox-Kemper, Pat Hyder, David P. Marshall, Ekaterina Popova, Anne-Marie Treguier, Laure Zanna, Andrew Yool, Yongqiang Yu, Rebecca Beadling, Mike Bell, Till Kuhlbrodt, Thomas Arsouze, Alessio Bellucci, Fred Castruccio, Bolan Gan, Dian Putrasahan, Christopher D. Roberts, Luke Van Roekel, and Qiuying Zhang. Resolving and Parameterising the Ocean Mesoscale in Earth System Models. Current Climate Change Reports, 6(4):137–152, 2020. doi: 10.1007/s40641-020-00164-w. URL https://link.springer.com/article/10.1007/s40641-020-00164-w.DOI
  4. [4]Yingzhe Cui, Ruohan Wu, Xiang Zhang, Ziqi Zhu, Bo Liu, Jun Shi, Junshi Chen, Hailong Liu, Shenghui Zhou, Liang Su, Zhao Jing, Hong An, and Lixin Wu. Forecasting the eddying ocean with a deep neural network. Nature Communications, 16(1):2268, 2025. doi: 10.1038/s41467-025-57389-2. URL https://www.nature.com/articles/s41467-025-57389-2.DOI
  5. [5]Anass El Aouni, Quentin Gaudel, Charly Regnier, Simon Van Gennip, Olivier Le Galloudec, Marie Drevillon, Yann Drillet, and Jean-Michel Lellouche. GLONET: Mercator’s end-to-end neural global ocean forecasting system. Journal of Geophysical Research: Machine Learning and Computation, 2(3):e2025JH000686, 2025. doi: 10.1029/2025JH000686. URL https://agupubs.onlinelibrary.wiley.com/doi/10.1029/2025JH000686.DOI
  6. [6]Daniel Holmberg, Emanuela Clementi, Italo Epicoco, and Teemu Roos. Accurate mediterranean sea forecasting via graph-based deep learning. Scientific Reports, 15(1):45051, 2025. doi: 10.1038/s41598-025-31177-w. URL https://www.nature.com/articles/s41598-025-31177-w.DOI
  7. [7]Yuan Niu, Qiusheng Huang, Xiaohui Zhong, Anybou Guo, Lei Chen, Dianjun Zhang, Zhen-Qiang Zhou, Xiaoyan Jia, Libo Wu, Renhe Zhang, Jiawei Qi, Xuefeng Zhang, and Hao Li. A deep learning global ocean forecasting model with sub-daily and eddy-resolving resolution. npj Climate and Atmospheric Science, 9(1):194, 2026. doi: 10.1038/s41612-026-01444-2. URL https://doi.org/10.1038/s41612-026-01444-2.
  8. [8]Ashesh Chattopadhyay, Michael Gray, Tianning Wu, Anna B. Lowe, and Ruoying He. OceanNet: a principled neural operator-based digital twin for regional oceans. Scientific Reports, 14(1):21181, 2024. doi: 10.1038/s41598-024-72145-0. URL https://www.nature.com/articles/s41598-024-72145-0.DOI
  9. [9]C. E. Leith. Theoretical skill of Monte Carlo forecasts. Monthly Weather Review, 102(6):409–418, 1974. doi: 10.1175/1520-0493(1974)102<0409:TSOMCF>2.0.CO;2.doi.org/10.1175/1520-0493(1974)102<0409:tsomcf>2.0.co;2
  10. [10]Dmitrii Kochkov, Janni Yuval, Ian Langmore, Peter Nørgaard, Jamie Smith, Griffin Mooers, Milan Klöwer, James Lottes, Stephan Rasp, Peter Düben, Sam Hatfield, Peter Battaglia, Alvaro Sanchez-Gonzalez, Matthew Willson, Michael P. Brenner, and Stephan Hoyer. Neural general circulation models for weather and climate. Nature, 632(8027):1060–1066, 2024. doi: 10.1038/s41586-024-07744-y. URL https://doi.org/10.1038/s41586-024-07744-y.
  11. [11]Laure Zanna, William Gregory, Pavel Perezhogin, Aakash Sane, Cheng Zhang, Alistair Adcroft, Mitch Bushuk, Carlos Fernandez-Granda, Brandon Reichl, Dhruv Balwada, Julius Busecke, William Chapman, Alex Connolly, Danni Du, Kelsey Everard, Fabrizio Falasca, Renaud Falga, David Kamm, Etienne Meunier, Qi Liu, Antoine Nasser, Matthew Pudig, Andrew Shao, Julia L. Simpson, Linus Vogt, and Jiarong Wu. A framework for hybrid physics-AI coupled ocean models, 2025. URL https://arxiv.org/abs/2510.22676. Preprint; version 1 consulted.
  12. [12]Thomas Bolton and Laure Zanna. Applications of Deep Learning to Ocean Data Inference and Subgrid Parameterization. Journal of Advances in Modeling Earth Systems, 11(1):376–399, 2019. doi: 10.1029/2018MS001472. URL https://doi.org/10.1029/2018MS001472.
  13. [13]Laure Zanna and Thomas Bolton. Data-Driven Equation Discovery of Ocean Mesoscale Closures. Geophysical Research Letters, 47(17):e2020GL088376, 2020. doi: 10.1029/2020GL088376. URL https://doi.org/10.1029/2020GL088376.
  14. [14]Arthur P. Guillaumin and Laure Zanna. Stochastic-Deep Learning Parameterization of Ocean Momentum Forcing. Journal of Advances in Modeling Earth Systems, 13(9):e2021MS002534, 2021. doi: 10.1029/2021MS002534. URL https://doi.org/10.1029/2021MS002534.
  15. [15]Andrew Ross, Ziwei Li, Pavel Perezhogin, Carlos Fernandez-Granda, and Laure Zanna. Benchmarking of Machine Learning Ocean Subgrid Parameterizations in an Idealized Model. Journal of Advances in Modeling Earth Systems, 15(1):e2022MS003258, 2023. doi: 10.1029/2022MS003258. URL https://doi.org/10.1029/2022MS003258.
  16. [16]Pavel Perezhogin, Cheng Zhang, Alistair Adcroft, Carlos Fernandez-Granda, and Laure Zanna. A Stable Implementation of a Data-Driven Scale-Aware Mesoscale Parameterization. Journal of Advances in Modeling Earth Systems, 16(10):e2023MS004104, 2024. doi: 10.1029/2023MS004104. URL https://doi.org/10.1029/2023MS004104.
  17. [17]David Kamm, Pavel Perezhogin, Julie Deshayes, Etienne Meunier, and Alexis Barge. Assessing Data-Driven Eddy-Parameterizations in an Atlantic Sector Model. Journal of Advances in Modeling Earth Systems, 18(6):e2026MS005816, 2026. doi: 10.1029/2026MS005816. URL https://doi.org/10.1029/2026MS005816.
  18. [18]Ruiqi Shu, Hao Wu, Yuan Gao, Fanghua Xu, Ruijian Gou, Wei Xiong, and Xiaomeng Huang. Advanced forecasts of global extreme marine heatwaves through a physics-guided data-driven approach. Environmental Research Letters, 20(4):044030, 2025. doi: 10.1088/1748-9326/ad bddd. URL https://doi.org/10.1088/1748-9326/ad bddd.
  19. [19]Ruiqi Shu, Ruijian Gou, Yanfei Xiang, and Xiaomeng Huang. Ocean-E2E: Hybrid Physics-Based and Data-Driven Global Forecasting of Marine Heatwaves with End-to-End Neural Assimilation. In Proceedings of the 32nd ACM SIGKDD Conference on Knowledge Discovery and Data Mining V.2, pages 12018–12029, 2026. doi: 10.1145/3770855.3818893. URL https://doi.org/10.1145/3770855.3818893.
  20. [20]Ruiqi Shu, Xiaohui Zhong, Qiusheng Huang, Ruijian Gou, Tianrun Gao, Hao Li, and Xiaomeng Huang. HybridDM: Hybrid physics-based and data-driven global ocean modeling with efficient spatial downscaling. In Proceedings of the 43rd International Conference on Machine Learning, volume 306 of Proceedings of Machine Learning Research, pages 112816–112846. PMLR, 2026. URL https://proceedings.mlr.press/v306/shu26b.html.arxiv.org/abs/2602.00598
  21. [21]Said Ouala, Bertrand Chapron, Fabrice Collard, Lucile Gaultier, and Ronan Fablet. Online calibration of deep learning sub-models for hybrid numerical modeling systems. Communications Physics, 7(1):402, 2024. doi: 10.1038/s42005-024-01880-7. URL https://doi.org/10.1038/s42005-024-01880-7.
  22. [22]Hugo Frezat, Julien Le Sommer, Ronan Fablet, Guillaume Balarac, and Redouane Lguensat. A Posteriori Learning for Quasi-Geostrophic Turbulence Parametrization. Journal of Advances in Modeling Earth Systems, 14(11):e2022MS003124, 2022. doi: 10.1029/2022MS003124. URL https://doi.org/10.1029/2022MS003124.
  23. [23]Bjoern List, Li-Wei Chen, Kartik Bali, and Nils Thurey. Differentiability in unrolled training of neural physics simulators on transient dynamics. Computer Methods in Applied Mechanics and Engineering, 433:117441, 2025. doi: 10.1016/j.cma.2024.117441. URL https://doi.org/10.1016/j.cma.2024.117441.
  24. [24]F. E. Yan, H. Frezat, J. Le Sommer, J. Mak, and K. Otness. Adjoint-Based Online Learning of Two-Layer Quasi-Geostrophic Baroclinic Turbulence. Journal of Advances in Modeling Earth Systems, 17(7):e2024MS004857, 2025. doi: 10.1029/2024MS004857. URL https://doi.org/10.1029/2024MS004857.
  25. [25]George L. Mellor. An Equation of State for Numerical Models of Oceans and Estuaries. Journal of Atmospheric and Oceanic Technology, 8(4):609–611, 1991. doi: 10.1175/1520-0426(1991)008<0609:AEOSFN>2.0.CO;2. URL https://doi.org/10.1175/1520-0426(1991)008<0609:AEOSFN>2.0.CO;2.
  26. [26]George L. Mellor and Tetsuji Yamada. Development of a turbulence closure model for geophysical fluid problems. Reviews of Geophysics, 20(4):851–875, 1982. doi: 10.1029/RG020i004p00851. URL https://doi.org/10.1029/RG020i004p00851.
  27. [27]Alan F. Blumberg and George L. Mellor. A description of a three-dimensional coastal ocean circulation model. In Norman S. Heaps, editor, Three-Dimensional Coastal Ocean Models, volume 4 of Coastal and Estuarine Sciences, pages 1–16. American Geophysical Union, 1987. doi: 10.1029/C0004p0001. URL https://doi.org/10.1029/C0004p0001.
  28. [28]S. Xu, X. Huang, L.-Y. Oey, F. Xu, H. Fu, Y. Zhang, and G. Yang. POM.gpu-v1.0: a GPU-based Princeton Ocean Model. Geoscientific Model Development, 8(9):2815–2827, 2015. doi: 10.5194/gmd-8-2815-2015. URL https://gmd.copernicus.org/articles/8/2815/2015/.DOI
  29. [29]Hao Wu, Yuan Gao, Ruiqi Shu, Kun Wang, Ruijian Gou, Chuhan Wu, Xinliang Liu, Juncai He, Shuhao Cao, Junfeng Fang, Xingjian Shi, Feng Tao, Qi Song, Shengxuan Ji, Yanfei Xiang, Yuze Sun, Jiahao Li, Fan Xu, Huanshuo Dong, Haixin Wang, Fan Zhang, Penghao Zhao, Xian Wu, Qingsong Wen, Deliang Chen, and Xiaomeng Huang. Advanced long-term earth system forecasting by learning the small-scale nature, 2025. URL https://arxiv.org/abs/2505.19432v1. Preprint; version 1 consulted, describing the historical Triton architecture.
  30. [30]Zhangyang Gao, Cheng Tan, Lirong Wu, and Stan Z. Li. SimVP: Simpler yet better video prediction. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 3170–3180, 2022. URL https://openaccess.thecvf.com/content/CVPR2022/html/Gao_SimVP_Simpler_Yet_Better_Video_Prediction_CVPR_2022_paper.html.arxiv.org/abs/2206.05099
  31. [31]Xingjian Shi, Zhourong Chen, Hao Wang, Dit-Yan Yeung, Wai-kin Wong, and Wang-chun Woo. Convolutional LSTM network: A machine learning approach for precipitation nowcasting. In Advances in Neural Information Processing Systems, volume 28, pages 802–810, 2015. URL https://papers.nips.cc/paper_files/paper/2015/hash/07563a3fe3bbe7e3ba84431ad9d055af-Abstract.html.arxiv.org/abs/1506.04214
  32. [32]Hao Wu, Fan Xu, Chong Chen, Xian-Sheng Hua, Xiao Luo, and Haixin Wang. PastNet: Introducing physical inductive biases for spatio-temporal video prediction. arXiv preprint arXiv:2305.11421, 2023. doi: 10.48550/arXiv.2305.11421. URL https://arxiv.org/abs/2305.11421.
  33. [33]Stephen C. Bloom, Lawrence L. Takacs, Arlindo M. da Silva, and D. Ledvina. Data assimilation using incremental analysis updates. Monthly Weather Review, 124(6):1256–1271, 1996. doi: 10.1175/1520-0493(1996)124<1256:DAUIAU>2.0.CO;2.doi.org/10.1175/1520-0493(1996)124<1256:dauiau>2.0.co;2
  34. [34]R. Penrose. A generalized inverse for matrices. Proceedings of the Cambridge Philosophical Society, 51(3):406–413, 1955. doi: 10.1017/S0305004100030401. URL https://www.cambridge.org/core/services/aop-cambridge-core/content/view/S0305004100030401.DOI
  35. [35]Alexander F. Shchepetkin and James C. McWilliams. A method for computing horizontal pressure-gradient force in an oceanic model with a nonaligned vertical coordinate. Journal of Geophysical Research: Oceans, 108(C3):3090, 2003. doi: 10.1029/2001JC001047. URL https://doi.org/10.1029/2001JC001047.

Paper details

vlnc:W_tmvmhm26
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC BY 4.0
Usage

views · 0

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Physics and Astronomy

Not recorded for this paper

View statement
Looking for related papers…
Contents