Skip to main content
QUICK REVIEW

[Paper Review] Towards Optimally Weighted Physics-Informed Neural Networks in Ocean Modelling

Taco de Wolff, Hugo Carrillo|arXiv (Cornell University)|Jun 16, 2021
Model Reduction and Neural NetworksPhysics and Astronomy25 references20 citations
TL;DR

This paper investigates physics-informed neural networks (PINNs) for ocean modeling, proposing optimal weighting of data and physics loss terms to improve generalization, especially with limited data. It finds that incorporating physical laws reduces error by 65% and variability by 56% in low-data regimes, with tanh and GELU activations outperforming ReLU due to better second-derivative learning.

ABSTRACT

The carbon pump of the world's ocean plays a vital role in the biosphere and climate of the earth, urging improved understanding of the functions and influences of the ocean for climate change analyses. State-of-the-art techniques are required to develop models that can capture the complexity of ocean currents and temperature flows. This work explores the benefits of using physics-informed neural networks (PINNs) for solving partial differential equations related to ocean modeling; such as the Burgers, wave, and advection-diffusion equations. We explore the trade-offs of using data vs. physical models in PINNs for solving partial differential equations. PINNs account for the deviation from physical laws in order to improve learning and generalization. We observed how the relative weight between the data and physical model in the loss function influence training results, where small data sets benefit more from the added physics information.

Motivation & Objective

  • To determine the optimal balance between data and physics loss in PINNs for oceanographic PDEs.
  • To assess the impact of physics-informed regularization on model accuracy and stability when training data is scarce.
  • To explore the influence of neural network hyperparameters—such as activation functions, depth, and width—on optimal loss weighting.
  • To initiate a framework for automatic PINN parameterization using ocean modeling as a test case.
  • To identify stable, minimal data subsets that ensure robust training in low-data scenarios.

Proposed method

  • Formulates a loss function combining data fidelity and physics-informed PDE residuals, with a learnable weight λ balancing the two terms.
  • Applies PINNs to three canonical PDEs: Burgers, advection-diffusion, and wave equations, representative of oceanic fluid dynamics.
  • Employs a range of activation functions (tanh, GELU, ReLU, etc.) to evaluate their impact on learning PDE derivatives.
  • Conducts numerical experiments with varying data set sizes (N_u) and random data subset selections to assess robustness.
  • Uses hyperparameter sweeps to study the influence of network width, depth, and activation on optimal λ.
  • Analyzes relative error and standard deviation across 25 random data subset trials to quantify stability and performance.

Experimental results

Research questions

  • RQ1How does the relative weighting of data and physics loss affect PINN performance in solving ocean-relevant PDEs?
  • RQ2In what scenarios is physics-informed regularization most effective, particularly with limited data?
  • RQ3Which activation functions enable better learning of second and higher-order derivatives in PINNs?
  • RQ4How do network architecture hyperparameters (width, depth, activation) influence the optimal loss weighting?
  • RQ5What constitutes a stable, minimal data subset that ensures robust training in low-data regimes?

Key findings

  • Adding a physics loss term reduced the average relative error by 65% and the standard deviation of error by 56% in low-data regimes (small N_u).
  • The optimal loss weight λ varied significantly across PDEs: λ = 0.1 for Burgers, λ = 0.5 for advection-diffusion, and λ = 0.002 for wave equations.
  • The tanh and GELU activation functions outperformed others, particularly in learning second derivatives, while ReLU failed due to zero second derivatives except at discontinuities.
  • Softsign and CELU functions also underperformed due to discontinuous second derivatives at x=0.
  • PINNs with physics loss showed improved training stability and reduced variance across different random data subset selections.
  • The study represents the first known investigation into optimal loss weighting in PINNs across different PDEs and hyperparameters, especially in ocean modeling contexts.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.