Using Machine Learning at scale in numerical simulations with SmartSim: An application to ocean climate modeling

Sam Partee, Matthew Ellis, Alessandro Rigazzi, Andrew E. Shao, Scott Bachman, Gustavo Marques, Benjamin Robbins

Research output: Contribution to journalArticlepeer-review

48 Scopus citations

Abstract

We demonstrate the first climate-scale, numerical ocean simulations improved through distributed, online inference of Deep Neural Networks (DNN) using SmartSim. SmartSim is a library dedicated to enabling online analysis and Machine Learning (ML) for high performance, numerical simulations. In this paper, we detail the SmartSim architecture and provide benchmarks including online inference with a shared ML model, EKE-ResNet, on heterogeneous HPC systems. We demonstrate the capability of SmartSim by using it to run a 12-member ensemble of global-scale, high-resolution ocean simulations, each spanning 19 compute nodes, all communicating with the same ML architecture at each simulation timestep. In total, 970 billion inferences are collectively served by running the ensemble for a total of 120 simulated years. The inferences are used to predict the oceanic eddy kinetic energy (EKE), which is a variable that is used to tune different turbulence closures in the model and thus directly affects the simulation. The root-mean-square of the error in EKE (as compared to an eddy-resolving simulation) is 20% lower when using the ML-prediction than the previous state of the art. This demonstration is an example of how machine learning methods can be integrated into traditional numerical simulations, replace prognostic equations, and preserve overall simulation stability without significantly affecting the time to solution.

Original languageEnglish
Article number101707
JournalJournal of Computational Science
Volume62
DOIs
StatePublished - Jul 2022

Keywords

  • Climate modeling
  • Deep learning
  • High performance computing
  • Numerical simulation
  • SmartSim

Fingerprint

Dive into the research topics of 'Using Machine Learning at scale in numerical simulations with SmartSim: An application to ocean climate modeling'. Together they form a unique fingerprint.

Cite this