Crafting the Future: Machine learning for ocean forecasting

Patrick Heimbach, Fearghal O’Donncha, Timothy A. Smith, José María García-Valdecasas, Alain Arnaud, Liying Wan

Abstract

Artificial intelligence and machine learning are accelerating research in Earth system science, with huge potential for impact and challenges in ocean prediction. Such algorithms are being deployed on different aspects of the forecasting workflow with the aim of improving its speed and skill. They include pattern classification and anomaly detection; regression and diagnostics; and state prediction from nowcasting to synoptic, sub-seasonal, and seasonal forecasting. This brief review emphasizes scientific machine learning methods that have the capacity to embed domain knowledge; to ensure interpretability through causal explanation, to be robust and reliable; to involve effectively high-dimensional statistical methods, supporting multi-scale and multi-physics simulations aimed at improving parameterization; and to drive intelligent automation, as well as decision support. An overview of recent numerical developments is discussed, highlighting the importance of fully data-driven ocean models for future expansion of ocean forecasting capabilities.

Introduction: The Evolution of Ocean Prediction

Traditional ocean forecasting has long relied on Numerical Weather Prediction (NWP) workflows and complex partial differential equations (PDEs). While these physics-based models are highly accurate, they are computationally expensive and struggle with "subgrid-scale" processes—phenomena like turbulence that are too small to simulate directly but significantly impact large-scale accuracy.

While atmospheric AI has seen a "breathtaking" acceleration, oceanography faces unique hurdles: a lack of densely sampled observational data, complex land-ocean boundaries, and the absolute necessity for models to respect physical laws (like the conservation of mass and energy) to be reliable for long-term climate projections. This paper reviews the rapid shift in oceanography from traditional numerical modeling toward Scientific Machine Learning (SciML), exploring how hybrid models and data-driven surrogates are beginning to rival the accuracy of classical simulations while offering massive gains in computational speed.

Methodological Approaches: Hybrid vs. Data-Driven

The integration of machine learning (ML) into ocean forecasting follows two primary paths:

1. Hybrid Physics–ML Models

Instead of replacing physics entirely, researchers are targeting specific "weak links" in traditional models. This includes using ML to improve parameterization (representing small-scale processes) and differentiable programming, which allows models to "learn" their own parameters during simulation. This push toward "differentiable adjoints" allows the ML and physics engines to update each other in real-time.

2. Purely Data-Driven Surrogates

These models aim to replace numerical simulations entirely. Key architectures include:

  • Convolutional Neural Networks (CNNs): Effective for pattern recognition and emulating specific forecast blocks.
  • Graph Neural Networks (GNNs): Used for modeling data on irregular meshes, as seen in architectures like GraphCast.
  • Transformers: The backbone of leading emulators like Pangu-Weather and FuXi, capable of handling long-range spatial dependencies.
  • Fourier Neural Operators (FNOs): Highly efficient for global-scale applications in the spectral domain, though they face challenges with irregular land boundaries that can create artifacts near coasts.
  • Generative Models: Utilizing Diffusion Models (e.g., GenCast) to produce probabilistic forecasts that account for uncertainty.

Data Foundations and Benchmarking

Because real-world ocean data is sparse, most ML models currently rely on high-fidelity model simulations (synthetic data) for training. Primary sources include:

  • Reanalysis Data: Atmospheric and oceanic reanalysis sets (like those from ECMWF) serve as the primary training grounds.
  • ClimSim: A large-scale dataset specifically designed for hybrid physics-ML climate emulation.
  • WeatherBench / WeatherBench 2: These serve as the gold-standard benchmarks for the atmosphere; the ocean community is now working to replicate these to ensure objective evaluation.

Key Insights and Results

The Shift to SciML

The future of the field lies in Scientific Machine Learning, which moves away from "black box" AI by embedding domain knowledge—physical principles, symmetries, and constraints—directly into neural network architectures. This ensures that models remain physically consistent even when data is sparse.

Performance and Stability

Recent transformer-based models are now demonstrating performance that rivals leading operational global ocean forecasting systems, particularly in predicting Sea Surface Height (SSH). Furthermore, coupled atmosphere-ocean emulators have successfully produced stable climate simulations for 1,000-year periods, proving that ML can handle long-term stability beyond short-term "nowcasting."

Digital Twins and Speed

The concept of the Digital Twin (DT) frames the future of oceanography. A DT is a dynamic system that ingests real-time data to allow for "what-if" queries, bridging the gap between complex science and actionable decision support. The move to surrogate models offers the prospect of accelerating simulation "time to solution" by orders of magnitude, enabling large ensembles of forecasts that were previously computationally prohibitive.

Limitations and Future Outlook

Despite rapid progress, several challenges remain:

  • Data Scarcity: Reliance on synthetic training data means ML models may inherit the biases and structural errors of the numerical models they aim to replace.
  • The Need for "OceanBench": The field lacks standardized benchmarks. A community-wide effort is needed to establish common datasets and metrics for fair model comparison.
  • Extrapolation Risks: Physics-Informed Neural Networks (PINNs) still struggle with predicting scenarios far outside their training data, such as unprecedented extreme weather events.
  • Interpretability: For high-stakes decision-making in climate policy, ensuring that ML-based predictions are bolstered by causal explanations remains a prerequisite.

The transition toward fully data-driven ocean models represents a significant expansion of forecasting capabilities, promising a future where ocean prediction is faster, more accurate, and more accessible for global decision-making.

Summary updated

BibTeX
@misc{heimbach2025crafting,
  author = {Patrick Heimbach and Fearghal O’Donncha and Timothy A. Smith and José María García-Valdecasas and Alain Arnaud and Liying Wan},
  title = {{Crafting the Future: Machine learning for ocean forecasting}},
  year = {2025},
  doi = {10.5194/sp-5-opsr-22-2025},
}
Figure