arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2405.07761cs.LGcs.AIcs.SCmath-phmath.MPstat.AP
收藏

LLM4ED:用于自动方程发现的大语言模型

LLM4ED: Large Language Models for Automatic Equation Discovery

College of Engineering(工学院);Peking University(北京大学);Ningbo Institute of Digital Twin(宁波数字孪生研究院);Eastern Institute of Technology(东方理工学院);School of Environmental Science and Engineering(环境科学与工程学院);Southern University of Science and Technology(南方科技大学);National Center for Applied Mathematics Shenzhen (NCAMS)(深圳国家应用数学中心)

Mengge Du, Yuntian Chen, Zhongzheng Wang, Longfeng Nie, Dongxiao Zhang

AI总结:

本文提出LLM4ED框架,利用自然语言提示引导大语言模型自动发现控制方程,通过生成与交替优化策略,在偏微分和常微分方程上验证了有效性,降低了方程发现的应用门槛。

摘要:

方程发现旨在直接从数据中提取物理定律,并已成为一个关键的研究领域。以往基于符号数学的方法取得了实质性进展,但往往需要设计实现复杂的算法。在本文中,我们引入了一个新框架,利用基于自然语言的提示来引导大语言模型(LLMs)自动从数据中挖掘控制方程。具体来说,我们首先利用LLMs的生成能力生成字符串形式的多样化方程,然后基于观测数据评估生成的方程。在优化阶段,我们提出了两种交替迭代的策略来协同优化生成的方程。第一种策略是将LLMs视为黑盒优化器,基于历史样本及其性能实现方程的自改进。第二种策略是指导LLMs执行进化算子以进行全局搜索。我们在偏微分方程和常微分方程上进行了广泛的实验。结果表明,我们的框架能够发现有效的方程,以揭示各种非线性动态系统下的潜在物理定律。进一步与最先进模型的比较表明,我们的框架具有良好的稳定性和可用性。我们的框架大大降低了学习和应用方程发现技术的门槛,展示了LLMs在知识发现领域的应用潜力。

英文摘要:

Equation discovery is aimed at directly extracting physical laws from data and has emerged as a pivotal research domain. Previous methods based on symbolic mathematics have achieved substantial advancements, but often require the design of implementation of complex algorithms. In this paper, we introduce a new framework that utilizes natural language-based prompts to guide large language models (LLMs) in automatically mining governing equations from data. Specifically, we first utilize the generation capability of LLMs to generate diverse equations in string form, and then evaluate the generated equations based on observations. In the optimization phase, we propose two alternately iterated strategies to optimize generated equations collaboratively. The first strategy is to take LLMs as a black-box optimizer and achieve equation self-improvement based on historical samples and their performance. The second strategy is to instruct LLMs to perform evolutionary operators for global search. Experiments are extensively conducted on both partial differential equations and ordinary differential equations. Results demonstrate that our framework can discover effective equations to reveal the underlying physical laws under various nonlinear dynamic systems. Further comparisons are made with state-of-the-art models, demonstrating good stability and usability. Our framework substantially lowers the barriers to learning and applying equation discovery techniques, demonstrating the application potential of LLMs in the field of knowledge discovery.

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

↑