Large language models for automatic equation discovery of nonlinear dynamics

被引:4
作者
Du, Mengge [1 ]
Chen, Yuntian [2 ]
Wang, Zhongzheng [1 ]
Nie, Longfeng [3 ]
Zhang, Dongxiao [2 ,4 ]
机构
[1] Peking Univ, Coll Engn, Beijing 100871, Peoples R China
[2] Ningbo Inst Digital Twin, Eastern Inst Technol, Ningbo 315200, Zhejiang, Peoples R China
[3] Southern Univ Sci & Technol, Sch Environm Sci & Engn, Shenzhen 518000, Guangdong, Peoples R China
[4] Southern Univ Sci & Technol, Natl Ctr Appl Math Shenzhen NCAMS, Shenzhen 518000, Guangdong, Peoples R China
基金
中国国家自然科学基金;
关键词
Equations of state - Nonlinear equations - Nonlinear systems;
D O I
10.1063/5.0224297
中图分类号
O3 [力学];
学科分类号
08 ; 0801 ;
摘要
Equation discovery aims to directly extract physical laws from data and has emerged as a pivotal research domain in nonlinear systems. Previous methods based on symbolic mathematics have achieved substantial advancements, but often require handcrafted representation rules and complex optimization algorithms. In this paper, we introduce a novel framework that utilizes natural language-based prompts to guide large language models (LLMs) in automatically extracting governing equations from data. Specifically, we first utilize the generation capability of LLMs to generate diverse candidate equations in string form and then evaluate the generated equations based on observations. The best equations are preserved and further refined iteratively using the reasoning capacity of LLMs. We propose two alternately iterated strategies to collaboratively optimize the generated equations. The first strategy uses LLMs as a black-box optimizer to achieve equation self-improvement based on historical samples and their performance. The second strategy instructs LLMs to perform evolutionary operations for a global search. Experiments are conducted on various nonlinear systems described by partial differential equations, including the Burgers equation, the Chafee-Infante equation, and the Navier-Stokes equation. The results demonstrate that our framework can discover correct equations that reveal the underlying physical laws. Further comparisons with state-of-the-art models on extensive ordinary differential equations showcase that the equations discovered by our framework possess physical meaning and better generalization capability on unseen data.
引用
收藏
页数:16
相关论文
共 58 条
[1]   Genetic programming performance prediction and its application for symbolic regression problems [J].
Astarabadi, Samaneh Sadat Mousavi ;
Ebadzadeh, Mohammad Mehdi .
INFORMATION SCIENCES, 2019, 502 :418-433
[2]  
Biggio L, 2021, PR MACH LEARN RES, V139
[3]   Dimensionally-consistent equation discovery through probabilistic attribute grammars [J].
Brence, Jure ;
Dzeroski, Saso ;
Todorovski, Ljupco .
INFORMATION SCIENCES, 2023, 632 :742-756
[4]   Probabilistic grammars for equation discovery [J].
Brence, Jure ;
Todorovski, Ljupco ;
Dzeroski, Sago .
KNOWLEDGE-BASED SYSTEMS, 2021, 224
[5]   Discovering governing equations from data by sparse identification of nonlinear dynamical systems [J].
Brunton, Steven L. ;
Proctor, Joshua L. ;
Kutz, J. Nathan .
PROCEEDINGS OF THE NATIONAL ACADEMY OF SCIENCES OF THE UNITED STATES OF AMERICA, 2016, 113 (15) :3932-3937
[6]   Data-driven discovery of coordinates and governing equations [J].
Champion, Kathleen ;
Lusch, Bethany ;
Kutz, J. Nathan ;
Brunton, Steven L. .
PROCEEDINGS OF THE NATIONAL ACADEMY OF SCIENCES OF THE UNITED STATES OF AMERICA, 2019, 116 (45) :22445-22451
[7]   An invariance constrained deep learning network for partial differential equation discovery [J].
Chen, Chao ;
Li, Hui ;
Jin, Xiaowei .
PHYSICS OF FLUIDS, 2024, 36 (04)
[8]  
Chen Y, 2022, arXiv
[9]   Symbolic genetic algorithm for discovering open-form partial differential equations (SGA-PDE) [J].
Chen, Yuntian ;
Luo, Yingtao ;
Liu, Qiang ;
Xu, Hao ;
Zhang, Dongxiao .
PHYSICAL REVIEW RESEARCH, 2022, 4 (02)
[10]  
Cranmer M, 2023, Arxiv, DOI arXiv:2305.01582