FEABench:评估语言模型的多物理场推理能力
FEABench: Evaluating Language Models on Multiphysics Reasoning Ability
AI总结:
FEABench提出一个基准,评估大语言模型通过操作COMSOL Multiphysics®进行有限元分析以求解多物理场问题的能力,并设计了可经API交互迭代改进解的智能体,最佳策略88%可生成可执行API调用。
摘要:
构建真实世界的精确仿真并调用数值求解器来回答定量问题,是工程与科学领域的一项基本要求。我们提出FEABench,一个用于评估大语言模型(LLMs)和LLM智能体利用有限元分析(FEA)仿真并求解物理、数学和工程问题能力的基准。我们引入一套全面的评估方案,考察LLM通过对自然语言问题描述进行推理并操作FEA软件COMSOL Multiphysics®来计算答案、从而端到端地解决这些问题的能力。此外,我们设计了一个语言模型智能体,使其能够通过应用程序编程接口(API)与该软件交互,检查软件输出,并使用工具在多次迭代中改进其解。我们表现最佳的策略在88%的情况下能够生成可执行的API调用。能够成功与FEA软件交互并操作该软件来解决我们基准中此类问题的LLM,将推动工程领域自动化的前沿发展。获得这种能力将使LLM的推理技能与数值求解器的精度相结合,并推动能够应对现实世界中复杂问题的自主系统的发展。代码可在https://github.com/google/feabench获取。
英文摘要:
Building precise simulations of the real world and invoking numerical solvers to answer quantitative problems is an essential requirement in engineering and science. We present FEABench, a benchmark to evaluate the ability of large language models (LLMs) and LLM agents to simulate and solve physics, mathematics and engineering problems using finite element analysis (FEA). We introduce a comprehensive evaluation scheme to investigate the ability of LLMs to solve these problems end-to-end by reasoning over natural language problem descriptions and operating COMSOL Multiphysics$^\circledR$, an FEA software, to compute the answers. We additionally design a language model agent equipped with the ability to interact with the software through its Application Programming Interface (API), examine its outputs and use tools to improve its solutions over multiple iterations. Our best performing strategy generates executable API calls 88% of the time. LLMs that can successfully interact with and operate FEA software to solve problems such as those in our benchmark would push the frontiers of automation in engineering. Acquiring this capability would augment LLMs' reasoning skills with the precision of numerical solvers and advance the development of autonomous systems that can tackle complex problems in the real world. The code is available at https://github.com/google/feabench
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。