Skip to main content
QUICK REVIEW

[Paper Review] Towards Foundation Models for Scientific Machine Learning: Characterizing Scaling and Transfer Behavior

Shashank Subramanian, Peter Harrington|arXiv (Cornell University)|Jun 1, 2023
Topic ModelingComputer Science14 citations
TL;DR

This paper investigates pre-training and fine-tuning of neural operators for SciML, showing that a pre-trained model can achieve accurate transfer with far less downstream data, and that scaling the model size enhances fine-tuning gains across PDE tasks.

ABSTRACT

Pre-trained machine learning (ML) models have shown great performance for a wide range of applications, in particular in natural language processing (NLP) and computer vision (CV). Here, we study how pre-training could be used for scientific machine learning (SciML) applications, specifically in the context of transfer learning. We study the transfer behavior of these models as (i) the pre-trained model size is scaled, (ii) the downstream training dataset size is scaled, (iii) the physics parameters are systematically pushed out of distribution, and (iv) how a single model pre-trained on a mixture of different physics problems can be adapted to various downstream applications. We find that-when fine-tuned appropriately-transfer learning can help reach desired accuracy levels with orders of magnitude fewer downstream examples (across different tasks that can even be out-of-distribution) than training from scratch, with consistent behavior across a wide range of downstream examples. We also find that fine-tuning these models yields more performance gains as model size increases, compared to training from scratch on new downstream tasks. These results hold for a broad range of PDE learning tasks. All in all, our results demonstrate the potential of the "pre-train and fine-tune" paradigm for SciML problems, demonstrating a path towards building SciML foundation models. We open-source our code for reproducibility.

Motivation & Objective

  • Develop a framework to study transfer learning for SciML using neural operators across diverse PDE systems.
  • Quantify how downstream data scale, model size, and physics parameters affect TL performance.
  • Assess multi-operator pre-training and zero-shot/few-shot fine-tuning effectiveness in in-domain and out-of-domain settings.

Proposed method

  • Pre-train a Fourier Neural Operator (FNO) on a large, diverse set of PDE problems with varying sources and coefficients.
  • Incorporate per-instance normalization to handle wide input value ranges.
  • Fine-tune the pre-trained model on downstream tasks using zero-shot or few-shot learning, and compare to training from scratch.
  • Vary model size by adjusting embedding dimension and Fourier modes to study scaling effects.
  • Evaluate transfer across different physics and across multiple operators by including coefficients and sources as inputs.

Experimental results

Research questions

  • RQ1What is the effect of downstream dataset size on transfer learning performance for neural operators?
  • RQ2How does model parameter scale influence fine-tuning gains versus training from scratch?
  • RQ3How does transfer learning behave when downstream physics deviate from the pre-training physics (OOD generalization)?
  • RQ4Can a single model pre-trained on multiple PDE operators transfer effectively to new PDE tasks across different operators?

Key findings

  • Pre-training on a diverse corpus followed by fine-tuning yields significantly better performance than training from scratch, especially with limited downstream data.
  • Fine-tuning yields greater gains with larger model sizes compared to training from scratch as model capacity increases.
  • Transfer learning remains advantageous under moderate out-of-distribution shifts and in few-shot settings, with gains diminishing as shifts become large or downstream data are abundant.
  • A single model pre-trained on multiple operators retains transfer gains across downstream tasks, enabling a foundation-model-like approach for SciML.

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.