Large language models for automatic equation discovery of nonlinear dynamics

被引:0
|
作者
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
基金
中国国家自然科学基金;
关键词
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
相关论文
共 50 条
  • [21] Large Language Models: The Next Frontier for Variable Discovery within Metamorphic Testing
    Tsigkanos, Christos
    Rani, Pooja
    Mueller, Sebastian
    Kehrer, Timo
    [J]. 2023 IEEE INTERNATIONAL CONFERENCE ON SOFTWARE ANALYSIS, EVOLUTION AND REENGINEERING, SANER, 2023, : 678 - 682
  • [22] Automatic Bug Fixing via Deliberate Problem Solving with Large Language Models
    Weng, Guoyang
    Andrzejak, Artur
    [J]. 2023 IEEE 34TH INTERNATIONAL SYMPOSIUM ON SOFTWARE RELIABILITY ENGINEERING WORKSHOPS, ISSREW, 2023, : 34 - 36
  • [23] Investigating large language models capabilities for automatic code repair in Python']Python
    Omari, Safwan
    Basnet, Kshitiz
    Wardat, Mohammad
    [J]. CLUSTER COMPUTING-THE JOURNAL OF NETWORKS SOFTWARE TOOLS AND APPLICATIONS, 2024, 27 (08): : 10717 - 10731
  • [24] Towards Automatic Mapping of Vulnerabilities to Attack Patterns using Large Language Models
    Das, Siddhartha Shankar
    Dutta, Ashutosh
    Purohit, Sumit
    Serra, Edoardo
    Halappanavar, Mahantesh
    Pothen, Alex
    [J]. 2022 IEEE INTERNATIONAL SYMPOSIUM ON TECHNOLOGIES FOR HOMELAND SECURITY (HST), 2022,
  • [25] Automatic Generation of Programming Exercises and Code Explanations Using Large Language Models
    Sarsa, Sami
    Denny, Paul
    Hellas, Arto
    Leinonen, Juho
    [J]. PROCEEDINGS OF THE 2022 ACM CONFERENCE ON INTERNATIONAL COMPUTING EDUCATION RESEARCH, ICER 2022, VOL. 1, 2023, : 27 - 43
  • [26] Assessing the proficiency of large language models in automatic feedback generation: An evaluation study
    Dai, Wei
    Tsai, Yi-Shan
    Lin, Jionghao
    Aldino, Ahmad
    Jin, Hua
    Li, Tongguang
    Gašević, Dragan
    Chen, Guanliang
    [J]. Computers and Education: Artificial Intelligence, 2024, 7
  • [27] Towards Automatic Evaluation of NLG Tasks Using Conversational Large Language Models
    Riyadh, Md
    Shafiq, M. Omair
    [J]. ARTIFICIAL INTELLIGENCE APPLICATIONS AND INNOVATIONS, AIAI 2023, PT II, 2023, 676 : 425 - 437
  • [28] A Study Case of Automatic Archival Research and Compilation using Large Language Models
    Guo, Dongsheng
    Yue, Aizhen
    Ning, Fanggang
    Huang, Dengrong
    Chang, Bingxin
    Duan, Qiang
    Zhang, Lianchao
    Chen, Zhaoliang
    Zhang, Zheng
    Zhan, Enhao
    Zhang, Qilai
    Jiang, Kai
    Li, Rui
    Zhao, Shaoxiang
    Wei, Zizhong
    [J]. 2023 IEEE INTERNATIONAL CONFERENCE ON KNOWLEDGE GRAPH, ICKG, 2023, : 52 - 59
  • [29] Equation Discovery for Nonlinear System Identification
    Simidjievski, Nikola
    Todorovski, Ljupco
    Kocijan, Jus
    Dzeroski, Saso
    [J]. IEEE ACCESS, 2020, 8 : 29930 - 29943
  • [30] A Survey on Automatic Generation of Figurative Language: From Rule-based Systems to Large Language Models
    Lai, Huiyuan
    Nissim, Malvina
    [J]. ACM COMPUTING SURVEYS, 2024, 56 (10)