In-Context System Identification for Nonlinear Dynamics Using Large Language Models
Linyu Lin

TL;DR
This paper introduces an LLM-guided iterative pipeline for system identification that enhances the discovery of nonlinear governing equations from data, outperforming classical methods in accuracy and interpretability.
Contribution
The paper presents a novel LLM-aided SINDy pipeline that iteratively refines candidate equations, improving symbolic recovery and model accuracy for complex dynamical systems.
Findings
LLM-guided SINDy achieves higher equation similarity to ground truth.
The method reduces test RMSE compared to classical SINDy.
Effective in discovering governing equations for complex dynamics.
Abstract
Sparse Identification of Nonlinear Dynamics (SINDy) is a powerful method for discovering parsimonious governing equations from data, but it often requires expert tuning of candidate libraries. We propose an LLM-aided SINDy pipeline that iteratively refines candidate equations using a large language model (LLM) in the loop through in-context learning. The pipeline begins with a baseline SINDy model fit using an adaptive library and then enters a LLM-guided refinement cycle. At each iteration, the current best equations, error metrics, and domain-specific constraints are summarized in a prompt to the LLM, which suggests new equation structures. These candidate equations are parsed against a defined symbolic form and evaluated on training and test data. The pipeline uses simulation-based error as a primary metric, but also assesses structural similarity to ground truth, including matching…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsModel Reduction and Neural Networks · Machine Learning in Materials Science · Topic Modeling
