WorksComputer Science
OceanFlow: Coherent Flow Matching for Probabilistic Ocean Modeling
Abstract
Probabilistic ocean modeling is essential for risk-aware marine operations, climate analysis, and scientific decision-making, where downstream decisions depend on the conditional distribution of future ocean states rather than a single deterministic trajectory. Recent data-driven ocean models have made deterministic global ocean modeling increasingly accurate and efficient, but probabilistic ocean modeling remains underdeveloped. Specifically, perturbation-driven ensembles can create spread without explicitly optimizing the joint distribution of their members, often yielding poor calibration and physical inconsistency. To address these issues, we propose OceanFlow, a coherent flow matching framework for probabilistic global ocean modeling. OceanFlow first establishes a sharp, stable mean anchor for the conditional ensemble. Flow matching then learns a coherent state-conditioned pathwise law that jointly reshapes the residual distribution around this anchor at each transition, preserving the predictive center while refining state-dependent uncertainty. We further introduce a Factorized Dynamics Operator (FDO), which combines factorized transitions with a learned state-conditioned response to parameterize the mean anchor and residual-flow velocity. Extensive experiments show that OceanFlow improves ensemble-mean accuracy, probabilistic reliability, and physical-consistency diagnostics over competitive baselines, supporting coherent flow matching as an effective route toward data-driven probabilistic ocean modeling. Code is available at https://github.com/YuanGao-YG/OceanFlow.
Introduction
Ocean modeling is essential for risk-aware marine operations, climate analysis, and scientific decision-making ([15, 19, 31]). Incomplete observations leave uncertainty in the initial ocean state, while nonlinear dynamics can amplify small state errors into substantially different future evolutions ([21, 18]). Even an accurate deterministic estimate cannot characterize the range of plausible outcomes or their relative likelihoods. Probabilistic modeling can address this limitation by representing the conditional distribution of future ocean states, providing uncertainty information beyond a single trajectory. Recent data-driven models, including AI-GOMS ([36]), XiHe ([33]), LangYa ([37]), and WenHai ([4]), have substantially advanced deterministic global ocean modeling, combining competitive predictive accuracy with considerably faster inference than traditional numerical models. These gains make ocean modeling more affordable and provide a strong foundation for efficient ensemble generation. However, despite this progress in deterministic modeling, data-driven probabilistic ocean modeling remains comparatively underexplored.
Similar to initial-condition perturbation in numerical ensemble forecasting, data-driven ocean models can be extended to probabilistic modeling by perturbing their initial states and evolving the resulting members with a pretrained deterministic model ([10]). Prescribed perturbations can generate ensemble spread and improve ensemble-mean accuracy through averaging. However, members evolve independently without joint distributional optimization, potentially yielding distributions that deviate from physically plausible ocean variability and fail to faithfully represent uncertainty in the underlying dynamics. FuXi-ONS ([13]) advances beyond prescribed noise by learning state-dependent, spatially structured perturbations for autoregressive ocean prediction. This provides a more adaptive representation of ensemble variability. Nevertheless, its memberwise prediction objective leaves ensemble calibration implicit, while member updates do not explicitly account for the evolving ensemble context. These advances motivate a central question: _how can the ensemble be jointly refined to more faithfully characterize uncertainty in the underlying ocean dynamics while maintaining a controlled predictive center?_
To answer this question, we propose OceanFlow, a coherent flow matching framework for probabilistic ocean modeling. As illustrated in Figure 1, OceanFlow learns a coherent state-conditioned pathwise law for the residual ensemble around a controlled mean anchor at each transition. This law couples member-specific transport paths through a shared velocity field conditioned on the ocean state and evolving ensemble context. Ensemble diversity is thus jointly refined as a conditional residual distribution, with final recentering preserving the predictive center. We further introduce a Factorized Dynamics Operator (FDO) that parameterizes both the mean anchor and residual-flow velocity through a unified composition of factorized dynamics and learned state-conditioned response. Our contributions can be summarized as:

Figure 1. Learning coherent ensemble laws for ocean modeling. (a) Deterministic modeling produces a single trajectory. (b) OceanFlow represents ocean uncertainty through a mean-anchored ensemble, jointly refining member residuals under a coherent state-conditioned pathwise law at each transition.
We propose OceanFlow, a coherent flow matching framework for probabilistic ocean modeling that learns a coherent state-conditioned pathwise law around the mean anchor center. By coupling member residuals through the evolving ensemble context, it jointly refines the conditional distribution while preserving a controlled mean anchor.
We introduce a Factorized Dynamics Operator (FDO), which unifies factorized dynamics and a learned state-conditioned response within a single conditional operator formulation. FDO supports both an accurate deterministic reference for the mean anchor and a structured velocity field for residual transport.
Extensive experiments on global ocean simulation and forecasting tasks demonstrate that the proposed framework achieves improved ensemble-mean accuracy, probabilistic reliability, and physical consistency.
Method
Problem Formulation
Let denote the ocean state and the external forcing. Simulation uses observed future forcing, whereas prediction uses forcing generated by a separately trained OneForecast atmospheric model [7]. Both settings follow the same conditional ocean transition. Given , probabilistic modeling seeks an -member conditional ensemble,
As depicted in Figure 2, OceanFlow constructs this distribution through a mean anchor and a coherent state-conditioned pathwise law for member anomalies. The anchor controls the predictive center, while the ensemble-conditioned residual transport learns the distribution around it. A Factorized Dynamics Operator (FDO) provides a unified parameterization for the deterministic reference underlying the anchor and the residual-flow velocity.

Figure 2. Overview of OceanFlow. The mean anchor controls the predictive center, while coherent state-conditioned pathwise flow jointly transports member residuals. Learned residuals refine the reference ensemble, while final recentering preserves the mean anchor. FDO parameterizes both the deterministic reference and residual velocity through a unified composition of factorized dynamics and learned state-conditioned response.
Coherent Flow Matching
Coherent flow matching couples member residual paths through ensemble-conditioned dynamics while retaining explicit control of their common center. The law acts at each autoregressive transition
in residual flow time : a deterministic reference advances the member conditions, and the learned transport determines the evaluated conditional ensemble.
Mean anchoring. Mean anchoring separates central-state accuracy from residual uncertainty. A pretrained deterministic FDO instance advances member conditions , formed by perturbing the ocean state while sharing the same forcing. The reference ensemble can be expressed as
where is the reference-ensemble size used to estimate , while is the number of residual particles and corresponding output members; at evaluation. A learned correction adapts this reference center,
where controls the correction scale and removes each channel’s spatial mean over valid ocean points. The resulting ensemble separates the mean anchor from zero-mean member anomalies,
This decomposition allows the mean branch to learn a central correction without letting residual transport displace the anchor.
Coherent state-conditioned pathwise flow. The residual ensemble evolves under one velocity field whose dependence on symmetric ensemble summaries couples the member paths. Let be smooth normalized residual noise. The training target combines a spread target derived from the verifying center error with zero-mean patterns of that error; its construction is given in Appendix § 13.§ 2. For a shared interpolation time ,
OceanFlow learns a shared residual velocity field by the flow matching objective
where is the verifying state, collects the stochastic member inputs, and contains the ensemble mean, standard deviation, and mean absolute deviation. These summaries are recomputed from the joint residual state, making each member’s velocity responsive to the ensemble context rather than to its own condition alone. Norms use the masked-grid convention in Appendix § 13.§ 4.
Inference advances the residual ensemble with the same shared velocity,
Here applies the ocean mask and residual bound. The update defines a coherent member-set transport ; shared parameters and symmetric context make it equivariant to jointly reordering particles and their conditions, as shown in Appendix § 13.§ 2. Let denote the anomalies obtained by composing the reference-member anomalies with the transported residuals and applying spread calibration and stabilization. The final projection is
which fixes the empirical center at for every generated ensemble. Coherence thus resides in the jointly conditioned residual transport, with mean anchoring enforcing the center of the resulting law. Reference composition and calibration are specified in Appendix § 13.§ 2.
Factorized Dynamics Operator
The Factorized Dynamics Operator (FDO) is a general-purpose conditional transition operator for mean-anchor and residual-velocity parameterization. It expresses each transition through factorized dynamics composed with a state-conditioned response, giving both instances a unified operator structure.
For operator input and context , a conditional patch encoder establishes the state on which factorized dynamics act,
The transition is accumulated through interacting dynamical factors,
where induces factor , evolves it, and combines cross-factor interactions with state-dependent selection. The update map integrates this collective response into the patch state.
FDO maps this evolution to the target space through a state-conditioned response composition,
Here restores the output field, while conditions its response on both the decoded dynamics and the operator input, with learned coefficient . The mean and velocity instances use separate parameters and task-specific inputs; their shared composition is detailed in Appendix § 13.§ 3.
Training Losses and Calibration
Training first establishes a deterministic reference and then learns the coherent conditional ensemble around it. For normalized, masked ocean fields, the deterministic FDO instance minimizes the channel-averaged relative risk,
where is the number of ocean channels and the valid-ocean mask for channel . The pretrained reference is then frozen. With , the probabilistic stage optimizes the joint mean–residual objective
The expectation averages training transitions, stochastic member inputs, and flow time. Here is the sample-level integrand of Eq. equation 6; supervises the center and its improvement over the reference; and controls member error and spread calibration. Distributional supervision uses empirical ensemble CRPS,
where denotes the masked-grid absolute average. The score balances member–target agreement with ensemble dispersion, while penalizes CRPS exceeding that of the reference ensemble. Final recentering enforces the mean identity independently of optimization. Component definitions are given in Appendix § 13.§ 4.
Theoretical Analysis
For transition context and member conditions , the continuous-time idealization of coherent transport evolves the residual ensemble through
Let denote either the time-one flow or the implemented finite-step transport, the reference composition and calibration, and the zero-mean projection. For stochastic input , the resulting conditional ensemble law is
Lemma 1 (Coherent conditional law). Under the assumptions in Appendix § 9, each ensemble-conditioned transport induces its own conditional law with empirical mean for every stochastic input.
Experiments
We evaluate OceanFlow on ocean simulation and forecasting tasks in terms of ensemble-mean accuracy, probabilistic reliability, ocean-specific diagnostics, physical consistency, and model complexity.
Experimental Setup
❶ Dataset We evaluate OceanFlow on GLORYS12 reanalysis with 93 ocean variables: salinity, temperature, and two velocity components at 23 depths, plus sea surface height. Four ERA5 forcing variables at two consecutive time steps provide eight atmospheric input channels. Data are processed at daily temporal and spatial resolution, using daily-mean ocean states and forcings sampled at 12:00 UTC. We use 1993–2017 for training, 2018–2019 for validation, and 2020 for testing, with additional generalization tests on 2024 data. Further data details refer to the Appendix.
❷ Evaluation Metrics We evaluate ensemble-mean skill with RMSE and ACC, and probabilistic quality with empirical ensemble CRPS, spread–skill ratio (SSR), rank histograms, and coverage calibration curves. RankDev and CalibErr quantify deviations from rank uniformity and nominal coverage, respectively. Metric definitions appear in Appendix § 11.
❸ Baselines We compare OceanFlow with a diverse set of baselines: the general spatiotemporal model SimVP (Tan et al., [30]); Earth-system architectures GraphCast (Lam et al., [16]) and CirT (Liu et al., [20]); and ocean-specific models WenHai (Cui et al., [4]), NeuralOM (Gao et al., [8]), and DSLcast (Wu et al., [35]). We retrain SimVP, GraphCast, and CirT under the same protocol and use official pretrained weights for WenHai, NeuralOM, and DSLcast.
Probabilistic Ocean Simulation
Table 1 reports ocean simulation results over 20 initial conditions (ICs) under prescribed atmospheric forcing, separating ocean-state uncertainty from atmospheric forecasting error. OceanFlow achieves the lowest ensemble-mean RMSE and highest ACC, together with the lowest CRPS, across all lead times. Although Perlin perturbations improve ensemble-mean RMSE over the corresponding deterministic trajectories, substantial gaps in ACC and CRPS remain relative to OceanFlow, particularly at longer lead times. This suggests that perturbation-induced spread alone may not adequately represent the state-dependent uncertainty of ocean dynamics. These results support the central premise of coherent flow matching: jointly refining the conditional residual distribution improves probabilistic quality while preserving an accurate ensemble center. Figure 4 shows that the gains extend across important sea-surface variables throughout the simulation range. The 120-day fields in Figure 3 provide
| Method | 90-Day | 120-Day | ||||||
| RMSE | ACC | CRPS | SSR | RMSE | ACC | CRPS | SSR | |
| SimVP | — | — | — | — | ||||
| SimVP* | ||||||||
| GraphCast | — | — | — | — | ||||
| GraphCast* | ||||||||
| CirT | — | — | — | — | ||||
| CirT* | ||||||||
| WenHai | — | — | — | — | ||||
| NeuralOM | — | — | — | — | ||||
| DSLCast | — | — | — | — | ||||
| DSLCast* | ||||||||
| OceanFlow |
Table 1. Quantitative ocean simulation results over 93 variables. Lower RMSE/CRPS, higher ACC, and SSR closer to 1 are better. Values are meanstd; red/orange/blue mark the best/second-/third-best results. * denotes Perlin-noise ensemble modeling for deterministic baselines.
Figure 3. 120-day simulation results for several important surface variables. Our method achieves better physical consistency and yields results that are closest to the ground truth.

Figure 4. The RMSE, ACC and CRPS results of several important ocean surface variables.
a complementary spatial comparison: the ensemble mean of OceanFlow remains sharp and spatially organized, while several baselines lose fine-scale structure or exhibit pronounced spatial distortions. Figure 5 and Table 2 further assess ensemble reliability. OceanFlow yields rank distributions closer to uniform and empirical coverage closer to nominal levels, with the lowest RankDev and CalibErr at all simulation horizons.

Figure 5. Rank histograms and calibration curves of ocean simulations.
| Method | Simulation | Forecasting | ||||||
| 90-Day | 120-Day | 20-Day | 30-Day | |||||
| RankDev↓ | CalibErr↓ | RankDev↓ | CalibErr↓ | RankDev↓ | CalibErr↓ | RankDev↓ | CalibErr↓ | |
| SimVP* | 0.396±0.005 | 0.355±0.003 | 0.416±0.006 | 0.366±0.004 | 0.328±0.002 | 0.292±0.002 | 0.338±0.002 | 0.307±0.002 |
| GraphCast* | 0.309±0.002 | 0.299±0.001 | 0.254±0.002 | 0.261±0.002 | 0.326±0.002 | 0.294±0.001 | 0.352±0.002 | 0.317±0.001 |
| CirT* | 0.368±0.010 | 0.337±0.008 | 0.381±0.009 | 0.343±0.009 | 0.426±0.004 | 0.372±0.002 | 0.390±0.003 | 0.351±0.002 |
| DSLCast* | 0.215±0.002 | 0.230±0.002 | 0.163±0.003 | 0.189±0.002 | 0.288±0.003 | 0.261±0.003 | 0.306±0.002 | 0.281±0.002 |
| OceanFlow | 0.088±0.001 | 0.032±0.001 | 0.093±0.001 | 0.041±0.001 | 0.079±0.002 | 0.104±0.003 | 0.106±0.002 | 0.124±0.003 |
Table 2. Quantitative reliability diagnostics for ocean simulation and forecasting. RankDev is computed as the L2 deviation using all 21 rank bins. Lower values are better.
Probabilistic Ocean Forecasting
To assess OceanFlow’s real-world application ability, we drive the ocean model with atmospheric forecasts produced by Gao et al. [7]. OneForecast is initialized from the atmospheric state paired with each ocean IC and rolled out at 6-hour resolution to provide forcings. The results in Table 3, averaged over 20 ICs, show that OceanFlow improves both ensemble-mean skill and CRPS at 20-day and 30-day lead times. The reliability gains observed in simulation persist under predicted forcing: Figure 6 and Table 2 (right) show more uniform rank histograms and better-calibrated uncertainty estimates than the perturbation-based baselines.
| Method | 20-Day | 30-Day | ||||||
| RMSE ↓ | ACC ↑ | CRPS ↓ | SSR → 1 | RMSE ↓ | ACC ↑ | CRPS ↓ | SSR → 1 | |
| SimVP* | 0.667±0.006 | 0.602±0.004 | 0.408±0.003 | 0.221±0.002 | 0.774±0.008 | 0.465±0.007 | 0.475±0.004 | 0.271±0.005 |
| GraphCast* | 0.684±0.005 | 0.523±0.005 | 0.414±0.003 | 0.258±0.002 | 0.749±0.004 | 0.395±0.005 | 0.461±0.002 | 0.269±0.004 |
| CirT* | 1.640±0.020 | 0.096±0.003 | 0.787±0.012 | 0.354±0.008 | 1.984±0.037 | 0.044±0.003 | 0.903±0.016 | 0.434±0.012 |
| DSLCast* | 0.624±0.008 | 0.641±0.008 | 0.360±0.004 | 0.324±0.005 | 0.712±0.008 | 0.521±0.007 | 0.416±0.004 | 0.357±0.006 |
| OceanFlow | 0.589±0.007 | 0.660±0.006 | 0.311±0.004 | 0.514±0.006 | 0.661±0.008 | 0.550±0.007 | 0.357±0.003 | 0.483±0.007 |
Table 3. Probabilistic ocean forecasting results for 93 ocean variables.

Figure 6. Rank histograms and calibration curves of probabilistic ocean forecasting.
Generalization and ENSO Diagnosis
We evaluate out-of-sample generalization in 2024 using 10 ICs. Global metrics are averaged over 93 variables, while ENSO metrics are computed from the Niño-3.4 SST anomaly index over the same ICs. We compare against DSLCast+Perlin, the strongest perturbation-based ensemble baseline in the main simulation comparison. Table 4 shows improvements across global simulation metrics and Niño-3.4 RMSE and CRPS at both 90-day and 120-day horizons. These gains extend beyond the 2020 test year, supporting generalization in both global ocean states and large-scale tropical Pacific variability. As a preliminary extension toward coupled forecasting, we drive OceanFlow with atmospheric states generated by an independently running two-way PnP-Corrector system [35]. At the 90-day horizon, this configuration improves all reported global and Niño-3.4 metrics relative to the one-way forcing configuration. These findings suggest that end-to-end probabilistic two-way coupling could further improve ocean forecasting.
| Lead | Model | RMSE↓ | ACC↑ | CRPS↓ | RankDev↓ | SSR→ 1 | CalibErr↓ | RMSE↓ | CRPS↓ |
| 90d | DSLCast* | 0.784±0.003 | 0.399±0.004 | 0.449±0.001 | 0.216±0.001 | 0.665±0.004 | 0.232±0.001 | 0.6181 | 0.5007 |
| 90d | OceanFlow | 0.698±0.003 | 0.430±0.003 | 0.383±0.001 | 0.095±0.001 | 0.744±0.001 | 0.034±0.000 | 0.1451 | 0.0901 |
| 120d | DSLCast* | 0.779±0.003 | 0.377±0.003 | 0.435±0.001 | 0.159±0.001 | 0.790±0.005 | 0.188±0.001 | 0.7977 | 0.6879 |
| 120d | OceanFlow | 0.686±0.003 | 0.416±0.003 | 0.382±0.001 | 0.102±0.001 | 0.836±0.005 | 0.054±0.001 | 0.2304 | 0.1496 |
Table 4. Out-of-sample 2024 simulation and ENSO diagnosis. The best results are shown in bold.
Analysis of Physical Consistency
Aggregate scores alone do not fully reveal whether the generated ensemble members are physically plausible. Moreover, in a well-formed ensemble system, the ensemble mean should not be interpreted as a single realized ocean state: as lead time increases, averaging over plausible but phase-shifted members can naturally smooth unpredictable high-wavenumber components [18]. We therefore separate ensemble-mean structure from member-level realism in Figure 7. For readability, we visualize representative surface variables covering typical near-surface dynamical and thermodynamic ocean processes. Solid lines show spectra of the ensemble mean, while dashed lines show member-averaged spectra computed by first evaluating each of the 20 ensemble members separately and then averaging their spectra over members and 20 ICs. The member-averaged spectra of OceanFlow are overall closer to the ground truth across these variables, indicating that individual ensemble members preserve realistic multiscale ocean variability. Meanwhile, the ensemble-mean spectra show larger deviations from the ground truth at high wavenumbers. This behavior is consistent with a well-calibrated ensemble, whose mean averages out unpredictable spectral components rather than reproducing the full spectrum of a single realization. In addition to the spectral comparison, Figure 8 reports three targeted physical diagnostics at the 120-day simulation horizon, covering SSTa mean tendency consistency, SSH-current multi-

Figure 7. Spectral fidelity of ensemble mean and member-averaged 120-day ocean simulations

Figure 8. Physical diagnostics of the generated ensemble members and ensemble mean.
variate consistency, and member-level spatial variability. OceanFlow achieves the lowest error on all three diagnostics, further indicating that it better preserves large-scale thermal evolution, dynamical SSH-current relationships, and realistic spatial variability of individual ensemble members.
Ablation Study
To validate the architectural design of OceanFlow, we conduct ablation studies through 90-day simulations over 10 ICs, as reported in Table 7. All variants are trained same as the main method. The deterministic variants are compared against FDO: (1) w/o Factorized Dynamics replaces the factorized dynamics block with a plain convolutional block, substantially degrading simulation skill. (2) w/o State Response removes the state-conditioned response, leading to poorer accuracy and highlighting its contribution to the factorized transition. (3) w/o Adaptive State Response substitutes a fixed persistence addition for the learned response, partially recovering performance but remaining inferior to FDO. This supports adapting the state response rather than prescribing a fixed additive connection. The probabilistic comparisons further isolate the role of coherent residual transport: (4) FDO+Perlin uses the same deterministic backbone with prescribed perturbations but yields poorer probabilistic scores than OceanFlow, showing that the gains cannot be attributed to the backbone alone. (5) w/o mean correction/re-centering degrades both ensemble-mean accuracy and reliability, supporting explicit control of the predictive center. (6) w/o learned pathwise flow also reduces probabilistic performance, demonstrating the benefit of learned residual transport beyond the perturbation reference. Together, these results support the complementary roles of FDO, mean anchoring, and coherent residual transport in producing accurate and reliable ocean ensembles.
| Variants | RMSE↓ | ACC↑ | CRPS↓ | RankDev↓ | SSR→ 1 | CalibErr↓ |
| w/o Factorized Dynamics | 1.054±0.008 | 0.188±0.009 | — | — | — | — |
| w/o State Response | 0.934±0.062 | 0.072±0.090 | — | — | — | — |
| w/o Adaptive State Response | 0.844±0.007 | 0.322±0.010 | — | — | — | — |
| FDO | 0.825±0.009 | 0.352±0.007 | — | — | — | — |
| FDO+Perlin | 0.715±0.005 | 0.406±0.003 | 0.403±0.002 | 0.204±0.001 | 0.625±0.004 | 0.225±0.001 |
| w/o mean correction/re-centering | 0.692±0.005 | 0.420±0.003 | 0.376±0.002 | 0.101±0.001 | 0.690±0.003 | 0.059±0.001 |
| w/o learned pathwise flow | 0.697±0.004 | 0.417±0.002 | 0.379±0.002 | 0.109±0.001 | 0.665±0.004 | 0.081±0.002 |
| OceanFlow | 0.684±0.005 | 0.425±0.002 | 0.371±0.002 | 0.088±0.000 | 0.708±0.003 | 0.032±0.000 |
Table 7. Ablation results of OceanFlow. The best results are shown in bold.
Training Protocol and Efficiency Analysis
We train SimVP, GraphCast, CirT, and the deterministic FDO backbone for 50 epochs on 8 NVIDIA A100 GPUs under the same framework. The learning rate starts at and decays to zero with a cosine schedule. For OceanFlow, residual transport is trained for 3 additional epochs using residual particles per sample and reference members for mean anchoring. At inference, both the reference and transported ensembles contain 20 members (). Table 6 restricts the parameter comparison to models retrained under the common protocol; official pretrained baselines use different training configurations, OceanFlow has the fewest trainable parameters.
| Models | SimVP | GraphCast | CirT | OceanFlow |
| Params (M) | 78.54 | 40.82 | 61.56 | 37.45 |
Table 6. Parameter comparison for retrained models.
Conclusion and Limitations
We present OceanFlow, a coherent flow matching framework for probabilistic ocean modeling. By coupling member residuals through the evolving ensemble context, OceanFlow learns a coherent state-conditioned pathwise law that refines ensemble diversity around a controlled mean anchor. FDO parameterizes both the mean anchor and residual-flow velocity through a unified composition of factorized dynamics and learned state-conditioned response. Experiments demonstrate improved ensemble-mean accuracy, probabilistic reliability, and physical-consistency diagnostics, supporting coherent flow matching as an effective approach to ocean uncertainty modeling. Current ocean forecasting relies on the forcings produced by external model, extending the framework to end-to-end probabilistic ocean-atmosphere coupling may further improve ocean forecasting accuracy.
AI USE STATEMENT
We use AI to check for grammatical errors in the text; the AI is not involved in ideas, experimental design, or the actual writing of the paper.
ETHICS STATEMENT
This work complies with the ICLR Code of Ethics. All datasets and pretrained models are publicly available and used under their respective licenses. We have carefully designed our experiments to minimize risks of bias or discrimination. We uphold the principles of transparency and integrity throughout the work.
REPRODUCIBILITY STATEMENT
To support reproducibility, we document data sources, preprocessing, and splits in Appendix § 12, and provide architectural details, training objectives, and inference procedures in Appendix § 13. Evaluation metrics and the theoretical proof are presented in Appendices § 11 and § 9, respectively. Training settings and hardware are reported in the main text.
ACKNOWLEDGMENTS
This work was supported by the National Natural Science Foundation of China (42125503, 42430602).
Proof of the Coherent Conditional Law
Proof of Lemma 1. Fix trained parameters and ensemble size , with denoting valid ocean-grid coordinates. State and context spaces carry their Borel sigma-algebras, and is a probability kernel. Assume joint measurability of the velocity, anchor, reference composition, calibration, and context encoding. For continuous transport, assume continuity in and global Lipschitz continuity in , uniformly on with constant for fixed , including the shared context. With , the flow satisfies
Picard–Lindelöf gives existence and uniqueness; Grönwall bounds sensitivity in flow time , not autoregressive lead time. For initial law , the joint residual law obeys the weak continuity equation,
All member paths are components of this joint flow. For , the chain rule at differentiable points and fixed gives
A nonzero cross derivative makes the velocity locally nonseparable: enables cross-member interaction beyond parameter sharing, although its learned strength need not be nonzero. The mean, standard deviation, and mean absolute deviation remain Lipschitz even at nondifferentiable points.
Shared parameters and symmetric summaries give ; uniqueness transfers this joint-relabeling symmetry to the flow.
Center control follows from the projection itself. For and ,
Centering therefore preserves the pairwise contrasts of its input. Taking after reference composition, calibration, and stabilization yields
The identity holds for every , even when the anchor varies with the stochastic reference. Joint measurability makes measurable in , so its pushforward of is a probability kernel.
For continuous transport, . Each implemented update in Eq. (7), including masking and clipping, is measurable and permutation equivariant. Finite composition therefore induces its own conditional law with the same mean identity, without ordinary differential equation regularity or equality to the continuous law.
Finally, condition on a reference rollout and its forcing, with remaining stochastic inputs . Composing the transition-wise generators and context encodings defines , with
This law describes reference-guided ensembles, not flow-driven autoregressive particles. Coherence concerns jointly conditioned residual paths and exact center control at each transition; the result neither requires persistent memory nor establishes calibration or long-horizon skill. □
Related Work
Deterministic ocean modeling. Numerical circulation models such as HYCOM (Chassignet et al. [3]) and NEMO (Madec et al. [22]), together with state-estimation and reanalysis systems such as ECCO (Forget et al. [6]) and Copernicus global ocean products (Lellouche et al. [19]), provide the physical and observational foundations of ocean prediction. However, the integration remains computationally intensive, limiting the practical scale of ensemble generation. Data-driven models offer efficient alternatives with increasingly competitive deterministic skill. AI-GOMS (Xiong et al. [36]) develops a reusable ocean modeling backbone; XiHe (Wang et al. [33]) and WenHai (Cui et al. [4]) demonstrate eddy-resolving global prediction; LangYa (Yang et al. [37]) addresses cross-spatiotemporal prediction. NeuralOM (Gao et al. [8]) extends data-driven ocean modeling to subseasonal-to-seasonal simulation. The growing diversity of these models calls for consistent protocols to assess their relative performance. OceanForecastBench (Jia et al. [14]) further supports systematic evaluation. These advances make ensemble generation more accessible, but accurate deterministic trajectories alone do not characterize the conditional uncertainty of future ocean states.
Probabilistic Earth-system modeling. Data-driven probabilistic models have found increasing application in Earth-system prediction, particularly in weather and precipitation forecasting ([17, 25, 38]). Examples include MetNet (Sønderby et al. [29]), generative radar nowcasting (Ravuri et al. [28]), diffusion-based weather ensembles with GenCast (Price et al. [27]), and learned ensemble generation with FuXi-ENS (Zhong et al. [39]). Despite these advances, data-driven probabilistic ocean modeling remains comparatively underexplored. Conventional ocean ensembles ([21, 18, 1, 34]) represent uncertainty through initial-condition perturbations ([32, 24]), ensemble data assimilation ([5, 12]), or multiple models ([2, 26]), but require computationally expensive numerical integrations. Perturbing pretrained AI ocean models enables efficient ensemble generation and can improve ensemble-mean accuracy. However, independent rollouts lack joint distributional optimization and may misrepresent uncertainty in ocean dynamics. FuXi-ONS (Huang et al. [13]) learns state-dependent, spatially structured perturbations, but its memberwise objective leaves calibration implicit and its updates do not explicitly use ensemble context. In contrast, OceanFlow learns a coherent state-conditioned pathwise law that couples member residuals through the evolving ensemble context, jointly refining their conditional distribution while preserving a controlled mean anchor.
Evaluation Metrics
Evaluation distinguishes the accuracy of the ensemble center from the quality of the distribution around it. Root mean square error (RMSE) and anomaly correlation coefficient (ACC) assess the ensemble mean; the continuous ranked probability score (CRPS), rank deviation (RankDev), spread–skill ratio (SSR), and calibration error (CalibErr) assess complementary aspects of the ensemble distribution. Lower RMSE, CRPS, RankDev, CalibErr, and physical-diagnostic errors are better; higher ACC and Niño-3.4 correlation are better; and SSR is optimal at one. Ocean-specific diagnostics further examine regional variability, multivariate consistency, and member-level structure. Let and denote a predicted and target ocean field, let index the evaluated ocean channels, and let index latitude and longitude. The latitude weight is
where is the number of evaluated latitudes and is the latitude at row . Spatial statistics are computed over valid ocean points within the relevant evaluation region. Where used, is a small constant for numerical stability.
Root mean square error (RMSE). RMSE is computed on normalized ocean variables and then averaged over channels:
Anomaly correlation coefficient (ACC). ACC is computed on anomalies relative to the climatological mean. Let and . The channel-wise anomaly correlation is
Continuous ranked probability score (CRPS). For an ensemble , we use the empirical ensemble form [23, 11, 9],
Rank deviation (RankDev). At every channel–grid point where the target and all members are valid, the target rank is
Let denote the set of valid channel–grid points. The latitude-weighted rank histogram and its deviation from the uniform histogram are
We use , giving 21 rank bins. Lower RankDev indicates a rank distribution closer to uniform.
Spread–skill ratio (SSR). Let and let
be the sample standard deviation across members. Denoting the latitude-weighted, channel-averaged RMSE in Eq. equation 24 by , we compute
The numerator measures ensemble spread and the denominator measures ensemble-mean skill; values closer to one are better.
Calibration error (CalibErr). For nominal central coverage , let be the empirical -quantile of the members at . Its latitude-weighted empirical coverage is
Using , the scalar calibration error is
Lower CalibErr indicates closer agreement between nominal and empirical coverage. Unless stated otherwise, all six global metrics are first computed separately for each initial condition and then summarized across initial conditions.
Niño-3.4 diagnosis. We assess El Niño–Southern Oscillation (ENSO) variability using the Niño-3.4 sea surface temperature (SST) anomaly index. Let denote the region –, –. For initial condition , the member and verifying indices are computed directly from the raw SST anomaly fields as
without adding a climate mean, normalizing variables, or applying latitude weights. Let , , and . At each reported lead time, across initial conditions, we compute
The three physical-consistency diagnostics below distinguish the evolution of the ensemble center from the spatial variability of individual members. The first two assess central-state consistency, whereas the third computes spatial variability before averaging across members. Here SSS and SSH denote sea surface salinity and height, while U0 and V0 denote surface zonal and meridional velocities. The suffix indicates anomaly fields: SSSa, SSTa, SSHa, U0a, and V0a. We use the latitude-weighted mean and standard deviation over valid ocean points ,
SSTa mean tendency error. Let be the ensemble-mean SST anomaly field and its verifying field at lead day . Over the day trajectory, we compute
The latitude-weighted global mean summarizes the evolution of surface thermal anomalies. Comparing its daily increments tests whether the ensemble center follows the observed aggregate tendency throughout the rollout, rather than merely matching the final field. This provides a conservation-related consistency check on the mean trajectory, not a test of exact energy conservation: SST anomalies alone do not determine the full ocean heat budget.
SSH–current correlation error. For a valid grid set , let and define analogously. The latitude-weighted correlation is
Here contains ocean points satisfying whose immediate grid neighbors are also valid. The superscripts pred and gt denote the ensemble-mean and verifying fields, respectively. For , using discrete grid gradients of SSH anomaly,
and the ensemble-mean consistency error is
SSH gradients and near-surface currents are dynamically related away from the equator. Comparing their correlations with those of the verifying state tests whether the ensemble center retains this cross-variable relationship, which separate field-wise errors cannot establish. The diagnostic measures agreement in aggregate multivariate structure; it does not impose a geostrophic constraint or measure its pointwise residual.
Member spatial standard-deviation error. For the surface anomaly variables , we compute
Unlike the first two diagnostics, this metric computes spatial variability within each member before averaging across members. It therefore complements center-based evaluation by detecting a deficit or excess in the average member variability across thermodynamic and dynamical surface fields. The absolute log-ratio penalizes deficient and excessive variability symmetrically. This amplitude-based diagnostic complements spectral analysis without requiring each member to reproduce the verifying field’s spatial phase.
Data Details
Dataset
We conduct the experiments on GLORYS12 reanalysis data, which provides daily mean ocean variables covering latitudes between and from 1993 to the present. The data can be downloaded from https://data.marine.copernicus.eu. We use 1993–2017 for training, 2018–2019 for validation, and 2020 for the main test set. The additional 2024 evaluation in Table 4 assesses generalization beyond this test year without changing the training split. The ocean variables used in our experiments include four depth-dependent variables and one surface variable. The four depth-dependent variables are Sea salinity (S), Sea stream zonal velocity (U), Sea stream meridional velocity (V), and Sea temperature (T), each of which contains 23 depth levels. These depth levels correspond to 0.49 m, 2.65 m, 5.08 m, 7.93 m, 11.41 m, 15.81 m, 21.60 m, 29.44 m, 40.34 m, 55.76 m, 77.85 m, 92.32 m, 109.73 m, 130.67 m, 155.85 m, 186.13 m, 222.48 m, 266.04 m, 318.13 m, 380.21 m, 453.94 m, 541.09 m, and 643.57 m. The surface variable used in this work is Sea surface height (SSH). To improve computational efficiency, we downsample all variables to a spatial resolution of using bilinear interpolation, resulting in an original grid size of and . To better adapt the data to the input requirements of different model architectures, we retain the first 180 latitude grids and use data with a spatial size of in the experiments. Four ERA5 variables provide atmospheric forcing: 10 metre u wind component (U10M), 10 metre v wind component (V10M), 2 metre temperature (T2M), and mean sea level pressure (MSLP). Each ocean transition uses these four fields at the current and next day, yielding eight atmospheric input channels. Ocean states are daily means, while forcing fields are sampled at 12:00 UTC. ERA5 data are available from https://cds.climate.copernicus.eu. Table 8 summarizes the variables used in the main experiments.
| Type | Full name | Abbreviation | Layers | Time | Dt | Spatial Res. |
| Atmosphere | 10 metre u wind component | U10M | 1 | 1993–2020 | 24h | |
| Atmosphere | 10 metre v wind component | V10M | 1 | 1993–2020 | 24h | |
| Atmosphere | 2 metre temperature | T2M | 1 | 1993–2020 | 24h | |
| Atmosphere | Mean sea level pressure | MSLP | 1 | 1993–2020 | 24h | |
| Ocean | Sea salinity | S | 23 | 1993–2020 | 24h | |
| Ocean | Sea stream zonal velocity | U | 23 | 1993–2020 | 24h | |
| Ocean | Sea stream meridional velocity | V | 23 | 1993–2020 | 24h | |
| Ocean | Sea temperature | T | 23 | 1993–2020 | 24h | |
| Ocean | Sea surface height | SSH | 1 | 1993–2020 | 24h | |
| Static | Land-sea mask | LSM | — | — | — |
Table 8. The data details used in this work.
Data Preprocessing
Different ocean variables and forcing variables have different physical meanings, units, and numerical ranges. To reduce the influence of these scale differences, we normalize each variable before feeding it into the model. This preprocessing step enables the model to focus more on learning the spatiotemporal evolution of ocean states rather than adapting to the magnitude discrepancies among variables. We first compute daily climatological means for ocean salinity, temperature, and sea-surface height using the first 365 days of each year in the 1993–2017 training period. The resulting climatology has dimensions , corresponding to days, variables, latitude, and longitude, respectively. The 47 variables comprise salinity and temperature at 23 depth levels each, together with sea-surface height. These variables are converted into anomalies by subtracting their corresponding daily climatological means. We then compute variable-wise means and standard deviations over the same training period, using anomaly fields for these 47 variables and the original fields for the remaining variables, and apply these statistics for normalization. For forcing variables, means and standard deviations are computed from ERA5 data over 1959–2017. Each variable is normalized independently using its own mean and standard deviation. Specifically, for each variable, we first subtract its corresponding mean and then divide the result by its corresponding standard deviation. For land regions, the original ocean variables contain ‘nan’ values. Before inputting the data into the model, these missing values are filled with zeros after normalization. The Land-sea mask is used as a static variable to indicate the distribution of land and ocean regions.
Detailed Method
Mean anchoring and ensemble-conditioned residual transport jointly define the coherent conditional law at each ocean transition. The deterministic reference establishes the basis for the anchor, while the residual flow learns the distribution around it. Separate FDO instances parameterize the reference transition and residual velocity.
Mean Anchoring
The deterministic reference and residual flow use the same normalized ocean representation. Let denote a raw ocean channel and its daily climatology for salinity, temperature, and sea-surface height; for velocity channels, set . With channel-wise training statistics defining and ocean mask , the normalized state is
Normalization is evaluated on valid ocean points, with land values subsequently set to zero. The masked expressions here and below use this zero-fill convention. Member conditions introduce structured perturbations only in the normalized ocean-state channels,
where sets the variable- and depth-dependent scale. Concatenating the perturbed state with the shared forcing gives in Eq. equation 2. The perturbation reference supplies initial ensemble variability and a spread scale for subsequent distributional refinement. For smooth, spatially centered Perlin fields , ocean-domain root mean square (RMS) normalization gives
Salinity, temperature, velocity, and sea-surface height have separate base scales, with subsurface amplitudes decaying with depth. These relative scales are fixed, whereas the positive global amplitude is learned jointly with the probabilistic model. Forcing channels and the land–sea mask remain unperturbed. The deterministic outputs define the reference center in Eq. equation 2, which the mean branch adjusts through Eq. equation 3. We set in normalized variable space. The channel-wise ocean-domain projection is
where each channel has at least one valid ocean cell. Applying before and after the bounded nonlinearity preserves a zero spatial mean for the correction. This spatial constraint is distinct from ensemble recentering, which fixes the member average at . The mean branch adapts the predictive center to the current state, while the final ensemble projection prevents residual transport from displacing it.
Coherent State-Conditioned Pathwise Flow
Coherent residual transport learns the joint distribution of member departures around the mean anchor. Suppressing the physical-time index within a transition, let denote the mean of the reference members paired with residual particles, and define
The member-specific centers are , and the reference anomalies also determine the spread reference. Training uses reference members to estimate the mean anchor and residual particles, each yielding one output member. The anomalies above are centered over the reference members paired with these particles. At evaluation, both the reference and output ensembles contain 20 members (). Residual noise sampled independently of the reference anomalies initializes the transport,
where is smooth, spatially centered noise with per-member RMS normalization followed by the prescribed variable- and depth-dependent scaling. Centering across members precedes normalization, so the initial particle set is not constrained to have an exactly zero empirical mean; Eq. equation 8 enforces this identity at the output. Let , with denoting stop-gradient. The spread target is obtained by scaling and bounding the channel-wise ocean RMS of and broadcasting it over valid ocean points. With denoting the scaled error pattern modulated by centered, RMS-normalized member coefficients, the transport target is
followed by ocean masking, with . The interpolation and velocity target in the main text use one shared for each training ensemble, so all member velocities are learned within the same joint interpolation state. Flow matching supervises this state-dependent transport, while the mean and probability objectives supervise the generated ocean ensemble.
The integrated paths used for distributional training and inference both use two updates with . Each update recomputes the ensemble context, evaluates the shared velocity at , and applies the residual bound and mask through in Eq. equation 7. Pathwise thus refers to member residual evolution in flow time within each ocean transition. Let denote residual centering, smoothing, and learned spread calibration, and let apply member stabilization, recentering, and the reference-spread floor. The composition preceding the final projection is
where . Spread calibration blends the centered residual with a version normalized to the learned spread map. Stabilization bounds member departures, and the reference floor rescales channel-wise ensemble RMS when it falls below the prescribed fraction of reference spread. Final recentering in Eq. equation 8 preserves the anchor. Together, reference anomalies and learned residuals determine ensemble diversity around this controlled center.
The shared velocity couples these paths through the evolving residual ensemble. For , its symmetric context is
The mean, standard deviation, and mean absolute deviation describe the current residual center and dispersion; they condition the velocity rather than impose fixed moment constraints. The mean and standard deviation enter each member’s input directly, alongside a learned projection of all three summaries. Ensemble summaries evolve with the residual paths, whereas the ocean–forcing embedding is shared across members and recomputed at each ocean transition. Shared parameters and symmetric summaries yield
where particles and member conditions are permuted together. Masking, clipping, reference composition, and recentering preserve this symmetry. Coherence is expressed by the dependence of member velocities on the evolving ensemble context, as formalized in Eq. equation 19; permutation equivariance ensures that this interaction does not depend on arbitrary member ordering.
Factorized Dynamics Operator
FDO parameterizes conditional transitions through factorized dynamics and a learned state-conditioned response, following the operator composition in Eqs. equation 9–equation 11. Separate instances support the deterministic reference underlying the mean anchor and the residual-flow velocity. For the velocity instance, , where is the pointwise member standard deviation and projects the ensemble summaries. Its context combines flow time with the current ocean–forcing embedding. The deterministic instance takes the ocean–forcing tensor and a learned static context embedding. Conditional patch encoding gives
Within each block, contextual modulation determines the representation on which factorized dynamics operate,
where is normalization. A spatial transformation and learned projection induce factors of width . Factor-specific evolution and cross-factor interaction then take the form
Factor-specific operators evolve distinct learned subspaces, and the near-identity matrix mediates their interactions. Its coefficients are learned but state independent; a state-dependent gate selects the contribution of each interacting factor at each location,
Here integrates the weighted factors, and supplies a normalized, context-modulated channel update; together they instantiate in Eq. equation 10. Factor indices identify learned subspaces, without imposing a one-to-one correspondence with physical variables or ocean processes. These updates act in encoding and decoding streams connected by a learned width projection. Normalization and patch restoration through yield the decoded field, whose state-conditioned response is
The learned response adapts the decoded factorized transition to its input condition: member residuals, ocean–forcing inputs, and ensemble context for the velocity instance, or the ocean–forcing state for the deterministic instance. Both instances follow the same operator composition but use separate parameters. The velocity output projection and response coefficient are initialized to zero, and the deterministic instance is pretrained before ensemble learning.
Training Losses and Calibration
Training first establishes the deterministic reference and then learns the mean-anchored residual distribution. The reference FDO models the normalized one-step transition
using the relative risk in Eq. equation 12. Let denote its sample-level error, computed separately for each ocean channel and then averaged; the spatial norm is neither squared nor latitude weighted. The pretrained parameters remain frozen in the probabilistic stage, whose trainable parameters are denoted by . Its flow matching and CRPS terms use the fixed-grid masked average
Land cells remain zero in this fixed-grid reduction. The expectation in Eq. equation 13 averages over training transitions, stochastic member inputs, and flow time. Its mean component combines central-state supervision with improvement over the frozen reference,
where and . The coefficients absorb the mean-supervision weights, including the corrected-reference loss on , which is algebraically identical to supervision of . Reference comparisons are fixed under differentiation. Distributional supervision combines empirical CRPS in Eq. equation 14 with . Gradients through the integrated residual paths connect the interpolation dynamics to terminal distributional quality. The denominator gives the empirical ensemble score, not its finite-member fair-score correction. Member-specific reference centers are detached in the probability and member losses.
The remaining terms supervise member error and the amplitude of the learned distribution. Let be the pointwise ensemble standard deviation with denominator , the spatial smoothing map, and the learned spread field. For derived spread fields, write for the full-grid mean square; smoothing acts on masked fields without an additional mask before reduction. The spread objectives are
The regularizer combines these terms with the member error . Spread targets use the detached center error; the training spread penalty acts pointwise, whereas the sampling floor in acts on channel-wise ensemble RMS. These objectives jointly supervise the center, residual transport, and terminal distribution, while final recentering enforces the mean identity independently of optimization.
Inference
Structured perturbations of an observed ocean state establish the initial member conditions. At each day, the deterministic reference advances these conditions, and mean correction and coherent residual transport produce the evaluated ensemble through Eqs. equation 48 and equation 8. Reference outputs supply the next member conditions, while the shared context is reinitialized from the new condition. The coherent law therefore governs the conditional ensemble at each transition, with the reference determining progression in physical time. All reported OceanFlow ensemble metrics evaluate the transformed ensemble rather than the raw reference.
Simulation takes from the test reanalysis, whereas prediction uses OneForecast atmospheric states. OneForecast is initialized at the 12:00 UTC state aligned with the ocean IC and advanced through four 6-hour steps per ocean day, supplying the current-day and next-day forcing pair. The ocean rollout protocol otherwise remains unchanged. The preliminary coupled-forcing experiment in Table 5 instead takes atmospheric states from an independently running two-way PnP-Corrector system. Here “two-way” identifies the forcing source: OceanFlow does not feed its ensemble back into that atmospheric model, and end-to-end probabilistic ocean–atmosphere coupling remains future work.
| Model | RMSE↓ | ACC↑ | CRPS↓ | RankDev↓ | SSR→ 1 | CalibErr↓ | RMSE↓ | CRPS↓ | |
| DSLCast* | one-way | 0.867±0.027 | 0.258±0.028 | 0.495±0.013 | 0.245±0.009 | 0.605±0.020 | 0.253±0.006 | 0.9736 | 0.7933 |
| OceanFlow | one-way | 0.796±0.027 | 0.257±0.033 | 0.436±0.012 | 0.134±0.005 | 0.678±0.019 | 0.057±0.005 | 0.9118 | 0.7173 |
| OceanFlow | two-way | 0.762±0.014 | 0.327±0.013 | 0.419±0.006 | 0.116±0.002 | 0.699±0.009 | 0.045±0.001 | 0.6898 | 0.4643 |
Table 5. Out-of-sample 2024 probabilistic ocean forecasting and ENSO prediction results.
Additional Results
The additional results examine whether the gains in aggregate scores extend across depth, lead time, and individual ensemble members. They complement the main comparisons by separating the quality of the predictive center from the spatial structure and diversity of the conditional ensemble.
Figure 9 reports the 1–120-day simulation RMSE, ACC, and CRPS at representative subsurface levels (109.73 m, 222.48 m, and 453.94 m), with curves and shaded bands denoting the mean and standard deviation over the first 20 initial conditions starting from January 1, 2020 at one-day intervals. Due to ocean states typically vary smoothly in the vertical direction, adjacent depth levels often exhibit similar error patterns. We therefore report representative depths to provide a compact and interpretable assessment of the model’s ability to capture three-dimensional ocean structure.
Figure 9. Simulation RMSE, ACC, and CRPS over 1–120 days at depths of 109.73 m, 222.48 m, and 453.94 m. Lines and shaded bands show the mean and standard deviation across 20 ICs. Lower RMSE and CRPS and higher ACC are better.
Figure 10 compares ensemble-mean and individual-member simulation fields at the 120-day horizon for the first IC. Each model is represented by its ensemble mean and the same three fixed member indices (members 1, 10, and 20), rather than members selected by their agreement with the ground truth. The examples show how OceanFlow combines a spatially organized center with structured variation among individual members. These fields complement the member-averaged spectra and physical diagnostics in the main text: they illustrate the generated distribution beyond its mean, while the aggregate diagnostics assess its behavior across ICs and members.

Figure 10. 120-day ensemble-mean and member-level simulation results at representative depth levels for the first IC. Individual members use fixed indices 1, 10, and 20 for every model.
Additional visual results are shown in Figure 11, Figure 12, Figure 13, Figure 14, covering 17 key ocean variables at lead times from 30 to 120 days, initialized from Jan. 1, 2020. For salinity, temperature, and SSH, whose variations are relatively small compared with their background values, we visualize anomalies to better highlight these subtle yet meaningful changes. In contrast, the original fields are directly shown for the zonal and meridional velocity components, U and V. For clarity, we provide several examples of the variable naming convention: SSSa denotes the sea surface salinity anomaly, while Sa109, Sa222, and Sa453 denote salinity anomalies at depths of 109.73 m, 222.48 m, and 453.94 m, respectively. Similarly, U0 denotes the sea surface zonal velocity, and U109, U222, and U453 denote the zonal ocean velocity at the corresponding depths. Collectively, these additional visualizations further demonstrate the effectiveness of the proposed OceanFlow in capturing multivariate ocean-state evolution over extended simulation horizons.

Figure 11. 30-day simulation results of different models at several representative depth levels.

Figure 12. 60-day simulation results of different models at several representative depth levels.

Figure 13. 90-day simulation results of different models at several representative depth levels.

Figure 14. 120-day simulation results of different models at several representative depth levels.
References
- [1]Hassan Al Sukhni, Fatma Sakr, Mutasem K Alsmadi, Magdy Abd-Elghany, Ibrahim A Gomaa, Shaimaa Abdallah, et al. Data-driven weather prediction: Integrating deep learning and ensemble models for robust weather forecasting. Journal of Cybersecurity & Information Management, 15 (2), 2025.
- [2]Roberto Buizza, PL Houtekamer, Gerald Pellerin, Zoltan Toth, Yuejian Zhu, and Mozheng Wei. A comparison of the ecmwf, msc, and ncep global ensemble prediction systems. Monthly Weather Review, 133(5):1076–1097, 2005.DOI
- [3]Eric P Chassignet, Harley E Hurlburt, Ole Martin Smedstad, George R Halliwell, Patrick J Hogan, Alan J Wallcraft, Remy Baraille, and Rainer Bleck. The hycom (hybrid coordinate ocean model) data assimilative system. Journal of Marine Systems, 65(1-4):60–83, 2007.DOI
- [4]Yingzhe Cui, Ruohan Wu, Xiang Zhang, Ziqi Zhu, Bo Liu, Jun Shi, Junshi Chen, Hailong Liu, Shenghui Zhou, Liang Su, et al. Forecasting the eddying ocean with a deep neural network. Nature Communications, 16(1):2268, 2025.DOI
- [5]Geir Evensen. Sequential data assimilation with a nonlinear quasi-geostrophic model using monte carlo methods to forecast error statistics. Journal of Geophysical Research: Oceans, 99(C5):10143–10162, 1994.DOI
- [6]GAEL Forget, J-M Campin, P Heimbach, CN Hill, RM Ponte, and C Wunsch. Ecco version 4: An integrated framework for non-linear inverse modeling and global ocean state estimation. Geoscientific Model Development, 8(10):3071–3104, 2015.
- [7]Yuan Gao, Hao Wu, Ruiqi Shu, huanshuo dong, Fan Xu, Rui Ray Chen, Yibo Yan, Qingsong Wen, Xuming Hu, Kun Wang, Jiahao Wu, Li Qing, Hui Xiong, and Xiaomeng Huang. Oneforecast: A universal framework for global and regional weather forecasting. In Forty-second International Conference on Machine Learning, 2025. URL https://openreview.net/forum?id=9xGSeVolCN.arxiv.org/abs/2502.00338
- [8]Yuan Gao, Hao Wu, Fan Xu, Yanfei Xiang, Ruijian Gou, Ruiqi Shu, Qingsong Wen, Xian Wu, Kun Wang, and Xiaomeng Huang. Neuralom: Neural ocean model for subseasonal-to-seasonal simulation. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 40, pp. 14756–14764, 2026.
- [9]Tilmann Gneiting and Adrian E Raftery. Strictly proper scoring rules, prediction, and estimation. Journal of the American statistical Association, 102(477):359–378, 2007.
- [10]Rixu Hao, Yuxin Zhao, Shaoqing Zhang, and Xiong Deng. Deep learning for ocean forecasting: A comprehensive review of methods, applications, and datasets. IEEE Transactions on Cybernetics, 2025.DOI
- [11]Hans Hersbach. Decomposition of the continuous ranked probability score for ensemble prediction systems. Weather and Forecasting, 15(5):559–570, 2000.doi.org/10.1175/1520-0434(2000)015<0559:dotcrp>2.0.co;2
- [12]Peter L Houtekamer and Herschel L Mitchell. Data assimilation using an ensemble kalman filter technique. Monthly weather review, 126(3):796–811, 1998.doi.org/10.1175/1520-0493(1998)126<0796:dauaek>2.0.co;2
- [13]Qiusheng Huang, Xiaohui Zhong, Anboyu Guo, Ziyi Peng, Lei Chen, and Hao Li. Data-driven ensemble prediction of the global ocean. arXiv preprint arXiv:2603.19591, 2026.arxiv.org/abs/2603.19591
- [14]Haoming Jia, Yi Han, Xiang Wang, Huizan Wang, Wei Wu, Jianming Zheng, and Peikun Xiao. Oceanforecastbench: A benchmark dataset for data-driven global ocean forecasting. arXiv preprint arXiv:2511.18732, 2025.arxiv.org/abs/2511.18732
- [15]Eugenia Kalnay. Atmospheric modeling, data assimilation and predictability. Cambridge university press, 2003.DOI
- [16]Remi Lam, Alvaro Sanchez-Gonzalez, Matthew Willson, Peter Wirnsberger, Meire Fortunato, Ferran Alet, Suman Ravuri, Timo Ewalds, Zach Eaton-Rosen, Weihua Hu, et al. Learning skillful medium-range global weather forecasting. Science, 382(6677):1416–1421, 2023.DOI
- [17]Erik Larsson, Joel Oskarsson, Tomas Landelius, and Fredrik Lindsten. Crps-lam: Regional ensemble weather forecasting from matching marginals. arXiv preprint arXiv:2510.09484, 2025.
- [18]Cecil E Leith. Theoretical skill of monte carlo forecasts. Monthly weather review, 102(6):409–418, 1974.doi.org/10.1175/1520-0493(1974)102<0409:tsomcf>2.0.co;2
- [19]Jean-Michel Lellouche, Eric Greiner, Olivier Le Galloudec, Gilles Garric, Charly Regnier, Marie Drevillon, Mounir Benkiran, Charles-Emmanuel Testut, Romain Bourdalle-Badie, Florent Gasparin, et al. Recent updates to the copernicus marine service global ocean monitoring and forecasting real-time 1/ 12 high-resolution system. Ocean Science, 14(5):1093–1126, 2018.DOI
- [20]Yang Liu, Zinan Zheng, Jiashun Cheng, Fugee Tsung, Deli Zhao, Yu Rong, and Jia Li. Cirt: Global subseasonal-to-seasonal forecasting with geometry-inspired transformer. arXiv preprint arXiv:2502.19750, 2025.arxiv.org/abs/2502.19750
- [21]Edward N Lorenz. Deterministic nonperiodic flow 1. In Universality in Chaos, 2nd edition, pp. 367–378. Routledge, 2017.
- [22]Gurvan Madec et al. Nemo ocean engine. 2015.
- [23]James E Matheson and Robert L Winkler. Scoring rules for continuous probability distributions. Management science, 22(10):1087–1096, 1976.DOI
- [24]Franco Molteni, Roberto Buizza, Tim N Palmer, and Thomas Petrelagios. The ecmwf ensemble prediction system: Methodology and validation. Quarterly journal of the royal meteorological society, 122(529):73–119, 1996.
- [25]Congyi Nai, Xi Chen, Shangshang Yang, Ziniu Xiao, and Baoxiang Pan. Boosting weather forecast via generative superensemble. npj Climate and Atmospheric Science, 8(1):377, 2025.arxiv.org/abs/2412.08377
- [26]Tim Palmer. The ecmwf ensemble prediction system: Looking back (more than) 25 years and projecting forward 25 years. Quarterly Journal of the Royal Meteorological Society, 145:12–24, 2019.DOI
- [27]Ilan Price, Alvaro Sanchez-Gonzalez, Ferran Alet, Tom R Andersson, Andrew El-Kadi, Dominic Masters, Timo Ewalds, Jacklynn Stott, Shakir Mohamed, Peter Battaglia, et al. Gencast: Diffusion-based ensemble forecasting for medium-range weather. arXiv preprint arXiv:2312.15796, 2023.arxiv.org/abs/2312.15796
- [28]Suman Ravuri, Karel Lenc, Matthew Willson, Dmitry Kangin, Remi Lam, Piotr Mirowski, Megan Fitzsimons, Maria Athanassiadou, Sheleem Kashem, Sam Madge, et al. Skillful precipitation nowcasting using deep generative models of radar. Nature, 597(7878):672–677, 2021.DOI
- [29]Casper Kaae Sønderby, Lasse Espeholt, Jonathan Heek, Mostafa Dehghani, Avital Oliver, Tim Salimans, Shreya Agrawal, Jason Hickey, and Nal Kalchbrenner. Metnet: A neural weather model for precipitation forecasting. arXiv preprint arXiv:2003.12140, 2020.
- [30]Cheng Tan, Zhangyang Gao, Siyuan Li, and Stan Z Li. Simvp2: Towards simple yet powerful spatiotemporal predictive learning. IEEE Transactions on Multimedia, 2025a.arxiv.org/abs/2211.12509
- [31]Xianchun Tan, Zhe Peng, Yonglong Cheng, Yi Wang, Qingchen Chao, Xiaomeng Huang, Hongshuo Yan, and Deliang Chen. Leveraging artificial intelligence for research and action on climate change: opportunities, challenges, and future directions. Science Bulletin, 2025b.DOI
- [32]Zoltan Toth and Eugenia Kalnay. Ensemble forecasting at nmc: The generation of perturbations. Bulletin of the american meteorological society, 74(12):2317–2330, 1993.doi.org/10.1175/1520-0477(1993)074<2317:efantg>2.0.co;2
- [33]Xiang Wang, Renzhi Wang, Ningzi Hu, Pinqiang Wang, Peng Huo, Guihua Wang, Huizan Wang, Senzhang Wang, Junxing Zhu, Jianbo Xu, et al. Xihe: A data-driven model for global ocean eddy-resolving forecasting. arXiv preprint arXiv:2402.02995, 2024.
- [34]Hao Wu, Yuan Gao, Xingjian Shi, Shuaipeng Li, Fan Xu, Fan Zhang, Zhihong Zhu, Weiyan Wang, Xiao Luo, Kun Wang, et al. Spatiotemporal forecasting as planning: A model-based reinforcement learning approach with generative world models. arXiv preprint arXiv:2510.04020, 2025.arxiv.org/abs/2510.04020
- [35]Hao Wu, Fan Xu, Yuxu Lu, Penghao Zhao, Fan Zhang, Hao Jia, Yuxuan Liang, Ruijian Gou, Qingsong Wen, Xian Wu, Xiaomeng Huang, and Yuan Gao. Pnp-corrector: A universal correction framework for coupled spatiotemporal forecasting. In Forty-third International Conference on Machine Learning, 2026. URL https://openreview.net/forum?id=IYtXaU7N6B.arxiv.org/abs/2605.08935
- [36]Wei Xiong, Yanfei Xiang, Hao Wu, Shuyi Zhou, Yuze Sun, Muyuan Ma, and Xiaomeng Huang. Ai-goms: Large ai-driven global ocean modeling system. arXiv preprint arXiv:2308.03152, 2023.arxiv.org/abs/2308.03152
- [37]Nan Yang, Chong Wang, Meihua Zhao, Zimeng Zhao, Huiling Zheng, Bin Zhang, Jianing Wang, and Xiaofeng Li. Langya: Revolutionizing cross-spatiotemporal ocean forecasting. arXiv preprint arXiv:2412.18097, 2024.arxiv.org/abs/2412.18097
- [38]Demin Yu, Xuntao Li, Yunming Ye, Baoquan Zhang, Chuyao Luo, Kuai Dai, Rui Wang, and Xunlai Chen. Diffcast: A unified framework via residual diffusion for precipitation nowcasting. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 27758–27767, 2024.
- [39]Xiaohui Zhong, Lei Chen, Hao Li, Roberto Buizza, Jun Liu, Jie Feng, Zijian Zhu, Xu Fan, Kan Dai, Jing-jia Luo, et al. Fuxi-ens: A machine learning model for efficient and accurate ensemble weather prediction. Science Advances, 11(44):eadu2854, 2025.DOI

