Explain Like I'm Five: Using LLMs to Improve PDE Surrogate Models with Text

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Lorsung, Cooper, Farimani, Amir Barati
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866912241176018944
author Lorsung, Cooper
Farimani, Amir Barati
author_facet Lorsung, Cooper
Farimani, Amir Barati
contents Solving Partial Differential Equations (PDEs) is ubiquitous in science and engineering. Computational complexity and difficulty in writing numerical solvers has motivated the development of data-driven machine learning techniques to generate solutions quickly. The recent rise in popularity of Large Language Models (LLMs) has enabled easy integration of text in multimodal machine learning models, allowing easy integration of additional system information such as boundary conditions and governing equations through text. In this work, we explore using pretrained LLMs to integrate various amounts of known system information into PDE learning. Using FactFormer as our testing backbone, we add a multimodal block to fuse numerical and textual information. We compare sentence-level embeddings, word-level embeddings, and a standard tokenizer across 2D Heat, Burgers, Navier-Stokes, and Shallow-Water data sets. These challenging benchmarks show that pretrained LLMs are able to utilize text descriptions of system information and enable accurate prediction using only initial conditions.
format Preprint
id arxiv_https___arxiv_org_abs_2410_01137
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Explain Like I'm Five: Using LLMs to Improve PDE Surrogate Models with Text
Lorsung, Cooper
Farimani, Amir Barati
Machine Learning
Computational Physics
Solving Partial Differential Equations (PDEs) is ubiquitous in science and engineering. Computational complexity and difficulty in writing numerical solvers has motivated the development of data-driven machine learning techniques to generate solutions quickly. The recent rise in popularity of Large Language Models (LLMs) has enabled easy integration of text in multimodal machine learning models, allowing easy integration of additional system information such as boundary conditions and governing equations through text. In this work, we explore using pretrained LLMs to integrate various amounts of known system information into PDE learning. Using FactFormer as our testing backbone, we add a multimodal block to fuse numerical and textual information. We compare sentence-level embeddings, word-level embeddings, and a standard tokenizer across 2D Heat, Burgers, Navier-Stokes, and Shallow-Water data sets. These challenging benchmarks show that pretrained LLMs are able to utilize text descriptions of system information and enable accurate prediction using only initial conditions.
title Explain Like I'm Five: Using LLMs to Improve PDE Surrogate Models with Text
topic Machine Learning
Computational Physics
url https://arxiv.org/abs/2410.01137