Generalizable Implicit Neural Representations via Parameterized Latent Dynamics for Baroclinic Ocean Forecasting

Guang Zhao, Xihaier Luo, Seungjun Lee, Yihui Ren, Shinjae Yoo, Luke Van Roekel, Balu Nadiga, Sri Hari Krishna Narayanan, Yixuan Sun, Wei XuarXiv 2025 · DOI

Abstract

Simulating high-resolution ocean dynamics is computationally demanding, creating a bottleneck for "many-query" tasks such as parameter estimation and uncertainty quantification. This paper introduces PINROD (Parameterized Implicit Neural Representations for Ocean Dynamics), a machine learning surrogate that integrates Implicit Neural Representations (INRs) with parameterized Neural ODEs. By learning how physical parameters influence latent dynamics, PINROD enables fast, accurate, and continuous spatiotemporal forecasting directly on unstructured grids. Our results demonstrate that PINROD outperforms existing baselines, maintaining stability and physical fidelity over long forecast horizons without the rapid error accumulation typical of autoregressive models.

Introduction: The Challenge of Ocean Forecasting

Mesoscale ocean dynamics, including eddies and currents, are fundamental to climate modeling and global heat transport. Capturing these nonlinear processes requires high-fidelity numerical simulations, which are notoriously slow and expensive. This computational cost becomes prohibitive in scenarios requiring thousands of simulation runs with varying initial conditions or physical parameters.

While machine learning surrogates offer a faster alternative, they face two primary hurdles in oceanography:

  1. Unstructured Grids: Ocean models often utilize complex, non-Cartesian meshes (e.g., hexagonal grids) to represent coastlines. Standard deep learning architectures like CNNs require regular grids, necessitating interpolation that introduces errors.
  2. Parameter Generalization: Standard Implicit Neural Representations (INRs) typically require retraining for every new set of physical parameters, limiting their utility in many-query applications.

Methods: The PINROD Framework

PINROD addresses these challenges through a reduced-order modeling framework consisting of three components:

  • Encoder (Auto-decoder): Compresses high-dimensional spatial ocean states into a compact, low-dimensional latent vector.
  • Parameterized Neural ODE (PNODE): The core innovation. Unlike standard Neural ODEs, the PNODE accepts physical parameters (e.g., bottom drag coefficients) as explicit inputs, evolving the latent state continuously through time while adapting to varying physical conditions.
  • Decoder (SIREN-based INR): Reconstructs the high-dimensional ocean field from the evolved latent vector at any continuous spatial coordinate.

This architecture allows PINROD to act as a single, generalizable model capable of forecasting continuous spatiotemporal dynamics across diverse physical parameters without retraining.

Experimental Setup

The framework was evaluated on the SOMA (Simulating Ocean Mesoscale Activity) test case using the MPAS-Ocean framework. The dataset features an unstructured hexagonal mesh with 8,521 cells and 60 vertical layers, totaling over 15 million data points per simulation. Variables include temperature, salinity, layer thickness, and velocity. The study utilized 92 forward runs over 30 days, varying the "bottom drag coefficient" to test the model's ability to handle parameter-dependent dynamics.

Key Insights and Performance

Escaping the Autoregressive Trap

A significant advantage of PINROD is its continuous-time ODE formulation. Many ML models predict time steps autoregressively, causing errors to snowball. PINROD maintains stability over a 29-day forecast horizon, as shown in the error analysis below.

MSE comparison over 29 forecasting time steps, highlighting PINROD's stability against error accumulation.

Native Unstructured Grid Handling

By utilizing coordinate-based INRs, PINROD bypasses the need for data interpolation onto Cartesian grids. This preserves the integrity of the original hexagonal SOMA data, providing a distinct accuracy advantage over grid-dependent baselines.

Key Results

PINROD was compared against Fourier Neural Operators (FNO) and Vectorized Conditional Neural Fields (VCNeF) on a 29-day forecast task.

  • Quantitative Accuracy: PINROD achieved the lowest Mean Squared Error (MSE) across all variables. For Temperature, PINROD's MSE of 2.74e-02 significantly outperformed VCNeF (3.35e-02) and FNO (3.80e-01).
  • Qualitative Fidelity: Visualizations at day 29 reveal that PINROD preserves complex, fine-scale structures, whereas baselines—particularly FNO—tend to blur or distort the physics.
Qualitative comparison of temperature fields across different vertical layers (z0 to z19) at day 29.
  • Efficiency: PINROD generates a full 29-day forecast in approximately 3.43 seconds. While slightly slower than grid-based ML baselines (~1.1s), it is orders of magnitude faster than traditional numerical solvers, offering a superior accuracy-to-speed trade-off.

Conclusion and Future Work

PINROD demonstrates that INRs can be successfully generalized for complex ocean forecasting tasks. While the coordinate-based querying makes it slightly slower than some ML baselines, its accuracy and stability are paramount for reliable climate modeling. Future research will focus on adaptive sampling and training optimizations to further enhance inference speed and scale the approach to global oceanic datasets.

Summary updated

BibTeX
@misc{zhao2025generalizable,
  author = {Guang Zhao and Xihaier Luo and Seungjun Lee and Yihui Ren and Shinjae Yoo and Luke Van Roekel and Balu Nadiga and Sri Hari Krishna Narayanan and Yixuan Sun and Wei Xu},
  title = {{Generalizable Implicit Neural Representations via Parameterized Latent Dynamics for Baroclinic Ocean Forecasting}},
  year = {2025},
  eprint = {2503.21588},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2503.21588},
}
Figure