Fourier analysis of the physics of transfer learning for data-driven subgrid-scale models of ocean turbulence
Moein Darman, Pedram Hassanzadeh, Laure Zanna, Ashesh Chattopadhyay
TL;DR
This work tackles the generalization problem of data-driven subgrid-scale parameterizations in ocean turbulence by using a 9-layer CNN to map coarse velocity fields to subgrid forcing in a two-layer quasi-geostrophic model. Through Fourier-space analysis of CNN kernels, the authors show that learned filters are primarily low-pass, high-pass, or Gabor-like, and that out-of-distribution data cause underestimation of activation spectra in early layers, degrading spectral fidelity. Transfer learning, achieved by retraining only a single layer, realigns activation spectra and output spectra to match target systems, enabling effective generalization with far less target data. The study provides a mechanistic link between kernel spectra and learned physics, offering a broadly applicable framework for efficient, interpretable data-driven SGS parameterizations across isotropic and anisotropic flows in multi-scale dynamical systems.
Abstract
Transfer learning (TL) is a powerful tool for enhancing the performance of neural networks (NNs) in applications such as weather and climate prediction and turbulence modeling. TL enables models to generalize to out-of-distribution data with minimal training data from the new system. In this study, we employ a 9-layer convolutional NN to predict the subgrid forcing in a two-layer ocean quasi-geostrophic system and examine which metrics best describe its performance and generalizability to unseen dynamical regimes. Fourier analysis of the NN kernels reveals that they learn low-pass, Gabor, and high-pass filters, regardless of whether the training data are isotropic or anisotropic. By analyzing the activation spectra, we identify why NNs fail to generalize without TL and how TL can overcome these limitations: the learned weights and biases from one dataset underestimate the out-of-distribution sample spectra as they pass through the network, leading to an underestimation of output spectra. By re-training only one layer with data from the target system, this underestimation is corrected, enabling the NN to produce predictions that match the target spectra. These findings are broadly applicable to data-driven parameterization of dynamical systems.
