Skip to main content
QUICK REVIEW

[论文解读] FLUID-LLM: Learning Computational Fluid Dynamics with Spatiotemporal-aware Large Language Models

Max Zhu, Adrián Bazaga|arXiv (Cornell University)|Jun 6, 2024
Topic ModelingComputer Science被引用 5
一句话总结

FLUID-LLM 将预训练的 LLM 与时空编码/解码器结合,以预测非定常流体动力学,在标准基准上提升 CFD 预测。

ABSTRACT

Learning computational fluid dynamics (CFD) traditionally relies on computationally intensive simulations of the Navier-Stokes equations. Recently, large language models (LLMs) have shown remarkable pattern recognition and reasoning abilities in natural language processing (NLP) and computer vision (CV). However, these models struggle with the complex geometries inherent in fluid dynamics. We introduce FLUID-LLM, a novel framework combining pre-trained LLMs with spatiotemporal-aware encoding to predict unsteady fluid dynamics. Our approach leverages the temporal autoregressive abilities of LLMs alongside spatial-aware layers, bridging the gap between previous CFD prediction methods. Evaluations on standard benchmarks reveal significant performance improvements across various fluid datasets. Our results demonstrate that FLUID-LLM effectively integrates spatiotemporal information into pre-trained LLMs, enhancing CFD task performance.

研究动机与目标

  • 通过利用预训练的 LLMs 来处理流体动力学任务,推动降低 CFD 的计算成本。
  • 引入时空编码方案和基于 patch 的 transformer 框架,以处理高维 CFD 数据。
  • 演示基于自回归的 LLM 预测,并使用基于 GNN 的网格解码器来产生状态差分。
  • 在标准 CFD 数据集上与 MeshGraphNets 及其他基线进行对比评估。

提出的方法

  • 基于 patch 的编码器,将 2D CFD 状态转换为 LLM 特征空间。
  • 时空嵌入将 x、y 与时间坐标注入到 patch 嵌入中。
  • 经过微调的 LLM 以自回归方式处理编码后的嵌入。
  • 基于网格的解码器将 LLM 输出映射到 16x16 的 patch,并通过 GNN 汇聚以预测状态差分。
  • 训练采用端到端自回归设置,对 LLM 进行 DoRA 微调,并在 MSE/MAE 损失之间进行权衡。
  • 在 Cylinder 和 Airflow 数据集上进行评估,给出跨多个预测时域的 RMSE。

实验结果

研究问题

  • RQ1具备时空编码的预训练 LLMs 能否从历史快照准确预测非定常 CFD 状态?
  • RQ2增加 LLM 规模与预训练对简单和复杂流动中的 CFD 预测准确性有何影响?
  • RQ3情境学习和少样本学习是否有助于在未见 CFD 参数空间中实现更好的泛化和自适应?
  • RQ4相对于 LLM,基于 GNN 的解码器在实现准确状态预测方面的贡献是什么?

主要发现

  • FLUID-OPT2.7b 在 Cylinder 与 Airfoil 数据集的各个时域上始终优于基线。
  • 从 125M 增至 2.7B 参数在 Cylinder 上的 150 步时 RMSE 约下降 42%(在相同编码器/解码器下)。
  • 在 Airfoil 数据集上,FLUID-OPT2.7b 在 150 步时的 RMSE 相较 MeshGraphNets 约降低 48%。
  • 情境历史提供适度的改进(例如,在固定任务设定中,将上下文从 1 增加到 6 时,RMSE 降幅约 3%)。
  • 较小的 FLUID-OPT125m 受益于预训练,适用于短序列;较大的 FLUID-OPT2.7b 能处理较长时域,预测更清晰。
  • DilResNet 与 GAT2Conv 在较长时域表现出不稳定性,而 FLUID-OPT2.7b 能维持长时域的高准确预测。

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。