[Paper Review] LLM-ODE: Data-driven Discovery of Dynamical Systems with Large Language Models
LLM-ODE integrates large language models with genetic programming to guidedly discover governing equations of dynamical systems from trajectory data, improving search efficiency and Pareto-front quality over traditional GP and Transformer-only methods.
Discovering the governing equations of dynamical systems is a central problem across many scientific disciplines. As experimental data become increasingly available, automated equation discovery methods offer a promising data-driven approach to accelerate scientific discovery. Among these methods, genetic programming (GP) has been widely adopted due to its flexibility and interpretability. However, GP-based approaches often suffer from inefficient exploration of the symbolic search space, leading to slow convergence and suboptimal solutions. To address these limitations, we propose LLM-ODE, a large language model-aided model discovery framework that guides symbolic evolution using patterns extracted from elite candidate equations. By leveraging the generative prior of large language models, LLM-ODE produces more informed search trajectories while preserving the exploratory strengths of evolutionary algorithms. Empirical results on 91 dynamical systems show that LLM-ODE variants consistently outperform classical GP methods in terms of search efficiency and Pareto-front quality. Overall, our results demonstrate that LLM-ODE improves both efficiency and accuracy over traditional GP-based discovery and offers greater scalability to higher-dimensional systems compared to linear and Transformer-only model discovery methods.
Motivation & Objective
- Motivate the discovery of governing equations for dynamical systems from data.
- Propose a hybrid LLM-guided genetic programming framework to improve search efficiency.
- Evaluate LLM-ODE on a benchmark of 91 dynamical systems and compare to baseline methods.
- Demonstrate scalability advantages of LLM-ODE for higher-dimensional systems.
Proposed method
- Decompose the system into individual state-variable time derivatives f_i(x) to learn per-equation expressions.
- Replace stochastic GP operators with LLM-generated proposals that exploit patterns from elite equations.
- Implement an island-based evolutionary strategy with periodic refinement and cross-island mixing to maintain diversity.
- Use in-context LLM prompting to generate candidate symbolic expressions; optimize constants with a numerical optimizer (e.g., BFGS).
- Construct a system of equations pool via Cartesian product of per-equation candidates and select via system-level Pareto optimization over complexity and trajectory error.
Experimental results
Research questions
- RQ1Can LLMs provide structurally informed mutations and crossovers to guide symbolic evolution toward higher-fitness equations?
- RQ2Does an LLM-guided GP framework improve search efficiency and Pareto-front quality relative to traditional GP and Transformer-only methods for dynamical system discovery?
- RQ3How does the approach scale with increasing system dimensionality (D=1–4) and with chaotic dynamics?
- RQ4What is the impact of avoiding system metadata in prompts on mitigating memorization while maintaining discovery accuracy?
Key findings
- LLM-ODE variants consistently outperform classical GP baselines in search efficiency and Pareto-front quality across 91 dynamical systems.
- Hybrid LLM-guided search achieves faster convergence than uninformed GP, often reaching high discovery rates within fewer iterations.
- LLM-ODE maintains superior scalability to higher-dimensional systems compared to linear models and Transformer-only methods, with SINDy faltering at D=4.
- Across modalities (Mistral, Mistral-like, Qwen), LLM-ODE shows robust performance with varying LLM backends.
- The framework shows higher discovery rates at stringent NMSE thresholds than baselines, indicating more accurate equation discovery under challenging conditions.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.