arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2410.01137cs.LGphysics.comp-ph
收藏

像给五岁孩子解释一样:利用LLMs通过文本改进PDE代理模型

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

Carnegie Mellon University(卡内基梅隆大学)

Cooper Lorsung, Amir Barati Farimani

AI总结:

本研究针对PDE求解的数值计算难题,提出在FactFormer中加入多模态模块融合文本与数值信息,验证了预训练LLMs可利用系统文本描述,仅靠初始条件实现PDE的准确预测。

摘要:

求解偏微分方程(PDEs)在科学与工程领域无处不在。数值求解器的计算复杂度高且编写难度大,推动了数据驱动的机器学习技术发展,以快速生成求解结果。近年来大语言模型(LLMs)日益流行,使得文本能够轻松集成到多模态机器学习模型中,可通过文本便捷纳入边界条件、控制方程等额外系统信息。本研究探索利用预训练LLMs将不同量级的已知系统信息整合到PDE学习中。我们以FactFormer作为测试骨干网络,新增多模态模块融合数值与文本信息,在2D Heat、Burgers、Navier-Stokes和Shallow-Water数据集上,对比了句子级嵌入、词级嵌入和标准分词器的效果。这些高难度基准测试表明,预训练LLMs能够利用系统信息的文本描述,仅需初始条件即可实现准确预测。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑