about
LLM4ED: Large Language Models for Automatic Equation Discovery (arxiv.org)
5 points by cscurmudgeon on May 16, 2024 | hide | past | pdf | discuss on HN

In plain words: Instead of hand-built symbolic algorithms, a large language model writes candidate equations as text, scores them against data, and refines them through self-improvement and evolutionary search. On nonlinear dynamic systems it recovered the underlying laws, showing good stability and usability compared with leading tools.

Abstract

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.

Mengge Du, Yuntian Chen, Zhongzheng Wang, Longfeng Nie, Dongxiao Zhang
arXiv:2405.07761 · cs.LG, cs.AI, cs.SC, math-ph, stat.AP · submitted May 13, 2024 · updated Jul 22, 2024
abstract · pdf · html

add comment on HN