Modeling Oceanic Variables with Dynamic Graph Neural Networks

Caio F. D. Netto, Marcel R. de Barros, Jefferson F. Coelho, Lucas P. de Freitas, Felipe M. Moreno, Marlon S. Mathias, Marcelo Dottori, Fábio Gagliardi Cozman, Anna H. R. Costa, Edson S. Gomi, Eduardo Aoun TannuriarXiv 2022 · DOI

Abstract

Predicting ocean dynamics, such as current velocity and sea surface height (SSH), is vital for maritime safety and logistics. Traditional numerical models, while physically grounded, are computationally intensive and sensitive to data gaps. This paper introduces a data-driven approach using Dynamic Graph Neural Networks (DGNNs). By combining temporal sequence models with spatial relational models, the proposed framework outperforms traditional physics-based simulations by up to 27% in the Santos-Sao Vicente-Bertioga Estuarine System, demonstrating high robustness to missing sensor data.

Introduction

Accurate forecasting of water movement and tidal levels is critical for coastal management. Traditionally, these predictions rely on numerical methods solving fluid dynamics equations (e.g., Navier-Stokes). However, these models face significant challenges: high computational costs, the need for precise seafloor topography, and difficulty modeling complex coastal interactions where mathematical representations become increasingly complex.

To address these "pain points," this research proposes a machine learning alternative. By treating the estuarine system as a dynamic graph, the model learns spatiotemporal patterns directly from historical sensor data, bypassing the need for perfect physical equations while remaining resilient to the noise and outages typical of field-deployed sensors.

Methodology

The authors model the estuarine system as a Discrete-Time Dynamic Graph (DTDG), where each node represents a physical variable (e.g., wind, current, or SSH) at a specific sensor location.

Model Architecture

The architecture follows a modular Encoder-Decoder framework designed to capture both time-series dependencies and spatial relationships between sensors.

The DGNN architecture featuring temporal encoders, a GNN block for spatial relations, and a decoder for final forecasting.
  • Temporal Encoders: Each node utilizes an LSTM or a Transformer to process historical data windows. Crucially, the model incorporates "future" features known in advance, such as astronomical tide schedules, to provide context for the forecast.
  • Spatial Encoder (GNN Block): Following temporal processing, a Graph Attention Network (GATv2) allows nodes to exchange information. This enables the model to learn how a change at one station (e.g., a sea-level rise at the bay entrance) influences variables at another (e.g., an inland current surge).
  • Decoders: Multi-Layer Perceptrons (MLPs) generate the final predictions. A "Dynamic Output Size" decoder for SSH incorporates future astronomical tide data, significantly enhancing performance by allowing the model to focus on learning the harder-to-predict residuals caused by weather.

Experimental Setup and Datasets

The study focuses on the Santos-Sao Vicente-Bertioga Estuarine System (SSVBES) in Brazil, which hosts Latin America's largest port.

Map of the study area showing the distribution of the six environmental sensing stations used for data collection.

The dataset consists of environmental sensing data from six stations collected between January 2019 and September 2021. The primary variables include water current velocity, SSH, and wind. A significant challenge in this dataset is the "messiness" of real-world data: approximately 50.1% of the data was missing due to sensor outages, with wind data missing up to 84.1% of the time. The performance was benchmarked against the Santos Operational Forecasting System (SOFS), the region's state-of-the-art physical numerical model.

Key Results and Insights

The DGNN model demonstrated superior performance over the physical SOFS baseline across all metrics:

  • Water Current Speed: Achieved a 27% improvement in the Index of Agreement (IoA).
  • Water Current Direction: Achieved a 14% improvement in IoA.
  • Sea Surface Height: Maintained excellent performance, slightly exceeding the accuracy of established physical models.

Insights on Model Synergy

  • Cross-Variable Learning: The model's performance improved when it could access multiple variables simultaneously. For instance, including SSH data enhanced current velocity predictions, mirroring the physical reality that tidal levels drive water flow.
  • Temporal Backbone: Transformers generally outperformed LSTMs as temporal encoders, proving more effective at capturing long-term dependencies in oceanic cycles.
  • Future Knowledge Injection: Feeding predictable future data (astronomical tides) into the decoder acted as a "cheat sheet," allowing the neural network to focus its learning capacity on harder-to-predict phenomena like storm surges.

Conclusion and Future Directions

While the DGNN approach shows great promise, the authors identified several areas for improvement. A phenomenon known as "over-squashing" was observed when adding many nodes, where fixed-size hidden representations became a bottleneck for information aggregation.

Future research will explore Heterogeneous GNNs to distinguish between different types of physical relationships (e.g., wind-to-current vs. current-to-current). Additionally, the team aims to develop models that can learn the optimal graph topology automatically rather than relying on a predefined structure. Finally, a "physics-informed" hybrid approach—using physical model outputs as features for the GNN—could combine the strengths of both numerical and data-driven methods.

Summary updated

BibTeX
@misc{netto2022modeling,
  author = {Caio F. D. Netto and Marcel R. de Barros and Jefferson F. Coelho and Lucas P. de Freitas and Felipe M. Moreno and Marlon S. Mathias and Marcelo Dottori and Fábio Gagliardi Cozman and Anna H. R. Costa and Edson S. Gomi and Eduardo Aoun Tannuri},
  title = {{Modeling Oceanic Variables with Dynamic Graph Neural Networks}},
  year = {2022},
  eprint = {2206.12746},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2206.12746},
}
Figure