Automatic Ordinary Differential Equations Discovery For Biological Systems Using Large Language Model Powered Agentic System

David Krongauz\(^{1,2}\), Arad Zulti \(^{1,2}\), Eran Segal\(^{1,3}\), Teddy Lazebnik\(^{4,5,*}\)

\(^1\) Department of Computer Science and Applied Mathematics,
Weizmann Institute of Science, Rehovot, Israel
\(^2\) Department of Molecular Cell Biology,
Weizmann Institute of Science, Rehovot, Israel
\(^3\) Mohamed bin Zayed University of Artificial Intelligence,
Abu Dhabi, United Arab Emirates
\(^4\) Department of Information Systems, University of Haifa, Haifa, Israel
\(^5\) Department of Computing, Jonkoping University, Jonkoping, Sweden
\(^*\) Corresponding author:
teddy.lazebnik@ju.se


Abstract

Automatic scientific discovery has long been a goal of computational scholars - a machine that can discover nature’s secrets on its own, moving computational systems beyond data-fitting tools toward the generation and refinement of mechanistic models of the universe. Recent advances in symbolic regression (SR) and large-language-model (LLM)-based agents suggest that such systems can recover equations from data, incorporate domain priors, and automate parts of the research workflow. However, most existing approaches either focus on narrow equation-discovery benchmarks or broad end-to-end automation pipelines, while biological systems remain comparatively underexplored. Here, we introduce the MEDA system, an LLM- and SR-powered agentic framework for discovering ordinary-differential-equation (ODE) models of biological and biologically inspired dynamical systems. MEDA retrieves background knowledge, defines admissible variables, generates mechanistic constraints, proposes candidate ODEs, and fits and evaluates them. We evaluate it across canonical model retrieval, reasoning-based extrapolation to unseen variants, and open-ended discovery, with and without experimental data. Across these settings, MEDA recovered the correct state variables, achieved strong structural recovery in retrieval and extrapolation tasks, and produced biologically plausible discovery-oriented models. Ablation and robustness analyses show that knowledge-guided formalization and mechanistic constraints are load-bearing components, whereas numerical fitting alone can preserve trajectory-compatible but biologically incorrect equations.

Keywords: hypothesis evaluation; dynamical systems; foundation models; AI-assisted theorization; literature-aware reasoning.

1 Main↩︎

Automatic scientific discovery (ASD) has sparked the imagination of scientists across space and time, pushing a wide and long chain of studies to achieve this ultimate goal [1][4]. ASD has moved from a longstanding aspiration of artificial intelligence (AI) into an active research program spanning equation discovery, closed-loop experimentation, and increasingly agentic workflows [5][7]. In parallel, large language models (LLMs) are being positioned not merely as interfaces for scientific text, but as components of the scientific method itself, with proposed roles in background synthesis, hypothesis generation, experimental planning, and interpretation [8][11]. This momentum has created a renewed expectation that parts of scientific reasoning may become automatable, or at least systematically augmentable, across a wide range of domains [12][14].

Indeed, high-visibility systems now attempt end-to-end research automation, including ideation, code generation, experimentation, visualization, and paper writing [15], [16]. Nevertheless, the current wave of LLM-driven scientific automation often over-promises relative to its empirical reliability [17], [18]. For example, on memorization-resistant equation-discovery benchmarks, the strongest reported systems still recover the correct symbolic form in only a minority of cases [19][21]. Likewise, when used as scientific verifiers, state-of-the-art LLMs exhibit poor recall and precision on real errors in published manuscripts [22]. These findings suggest that fluent generation of reports or academic papers should not be conflated with successful scientific discovery. If the goal is to automate central scientific work, then the target should not be the production of polished manuscripts, but the construction, criticism, and refinement of mechanistic hypotheses [23], [24].

This distinction is especially important for exact and life sciences that are based on mathematical formalization to describe the world [25][28], often using ordinary differential equations (ODEs) based modeling [29][31]. Across systems biology, epidemiology, ecology, and population dynamics, ODEs remain one of the most compact and useful languages for expressing mechanistic assumptions about rates, interactions, feedback, and intervention effects. The main challenge is structural rather than merely numerical, as one must infer not only parameter values, but also which terms should appear in the equations at all. Symbolic regression (SR) addresses this problem by searching jointly over equation structure and coefficients, rather than fitting parameters inside a prespecified functional family [32], [33]. For instance, given a time series of predator and prey abundances, SR may discover that a bilinear interaction term such as \(xy\) is required in the governing law, rather than merely approximating the trajectories with a black-box predictor [21]. In spite of that, it is inherently solving only the challenge of discovering symbolic models from numerical data, neglecting most of the scientific process of feature definition, dynamics inference from partial observations, and even evaluation of the obtained model’s usability as a scientific tool [34], [35].

To this end, recent attempts have partially aimed to address these challenges using an optimization loop of human (or scientist) feedback [36][38]. For instance, in ecology, SR has already been framed as a collaborative human–machine process for surfacing relationships, models, and candidate principles from data [39]. In equation discovery more broadly, SciMED showed that explicit scientist-in-the-loop design can inject domain knowledge into symbolic search so as to improve robustness, plausibility, and interpretability [40]. Other lines of work have demonstrated that constraining the hypothesis space through sparse libraries or grammar-based priors can substantially improve the recovery of governing equations [41], [42]. More recently, LLM-SR illustrated that LLMs can contribute scientific priors and programmatic scaffolds to symbolic search [43] or even guide the SR search process as a judge [44], but it still primarily treats equation discovery as a benchmarked search problem rather than as a broader scientific reasoning problem cycle.

In this study, we deliberately reduce the objective of ASD from automatically writing academic papers, with all the sub-tasks related to such a process, to the more central scientific task of discovering ODEs together with explicit mechanistic reasons for them, which further extends recent SR systems’ scope. While most of the knowledge-integrated SR models focus on physics [45][48], where one can express rules using formal equations [49] and take advantage of prior knowledge in the form of symmetries [50], or general-purpose reduction forms (such as Newton’s laws) [51], [52], in this study, we focused on biological use-cases, which is a more challenging domain lacking such properties but do have a rich history of ODE modeling [53][55]. Specifically, biological ODE discovery is particularly difficult because the data are noisy, sparse, heterogeneous, and often only partially informative, while prior knowledge is typically incomplete rather than absent [56], [57]. Our LLM-powered agentic-based, therefore, begins by searching for relevant background knowledge, then schematically defines admissible dynamical structures through biologically motivated constraints, and only then generates, fits, and critiques candidate equations. Candidate hypotheses are evaluated not only by numerical agreement with observed dynamics, if such is provided, but also by conceptual criteria such as mechanistic consistency, admissible interactions, and interpretability, all inferred implicitly by the model rather than by an expert user. By coupling SR with knowledge-enriched numerical fitting and iterative scientific critique, the proposed framework aims both to reconstruct known biological ODEs and to discover new ODEs when the literature provides only partial mechanistic guidance.

2 Mechanistic Equation Discovery Agentic System↩︎

MEDA (Mechanistic Equation Discovery Agentic) system discovers ODE models of mechanistic systems by coupling LLM agents with constrained SR. Rather than fitting trajectories with a black-box predictor, or asking an LLM to output an equation directly, MEDA reconstructs the scientific reasoning around a model. It follows a path similar to the process of a human scientist as it gathers background knowledge from the literature, defines the admissible state variables and biological constraints, searches for sparse ODE systems that satisfy them, and then critiques and evaluates the result. Each step is performed by a specialized agent that reads and writes a human-readable artifact, so the full chain of reasoning behind a discovered equation can be inspected, interpreted, and validated by a human expert.

Figure 1 provides a schematic view of MEDA’s architecture. The pipeline proceeds in stages. A Literature Surveyor compiles cited background on the target system, including expected constraints, candidate model families, and qualitative dynamical signatures. A Formalizer curates this material into a machine-readable problem specification: it selects the relevant constraints, expresses them in a typed grammar, and proposes seed equations. A Runner then performs an evolutionary search over polynomial ODE systems, scoring candidates by how well they satisfy the biological constraints, how sparse they are, and, when data are available, how well they reproduce the observed trajectories. Finally, a Reporter, Recapper, and Evaluator summarize, critique, and (against held-out ground truth) score the discovered model.

Figure 1: Architecture of MEDA. Specialized agents (centre) each read a defined input artifact and write a defined output artifact (right) to a shared session directory. Solid arrows apply in both operating modes; green dashed arrows are active only in data-anchored mode, in which a supplied time series feeds the Explorer (EDA + SINDy screening) and the Runner. The ground-truth equations are quarantined from all discovery agents and read only after the blind search ends, by the Evaluator (red dashed arrow).

MEDA is organized as a set of specialized agents coordinated by an orchestrator. Each agent reads a defined input artifact, performs a narrow scientific or computational role, and writes a structured output artifact to a shared session directory. This design makes the discovery process inspectable: the literature review, data summary, formal constraints, seed equations, selected ODE system, diagnostics, critique, and evaluation metrics can each be audited independently. The system operates in two modes. In constraint-only mode, no empirical time series is supplied, and the search is guided by literature-derived biological constraints, qualitative dynamical signatures, and a sparsity preference. In data-anchored mode, the user additionally provides a time series; the system summarizes the trajectories, optionally performs a SINDy-like sparse-regression screen, and augments the search objective with a trajectory-fit score. In both modes, ground-truth equations used for benchmarking are quarantined from all discovery agents and are accessed only after model generation by the post-hoc recapping and evaluation stages. The pipeline proceeds through a sequence of interpretable artifacts. A Data Explorer, used only in data-anchored mode, characterizes the supplied trajectories and identifies candidate data-supported terms. A Literature Surveyer summarizes relevant biological mechanisms, constraints, canonical model families, and qualitative signatures. A Formalizer converts this information into a machine-readable problem specification containing state variables, typed hard and soft constraints, candidate seed equations, protected core terms, polynomial-degree limits, and constraint weights. A validator checks this specification before search begins. The Runner then performs constrained symbolic search over sparse polynomial ODE systems using a composite objective that combines constraint satisfaction, data fit when available, and sparsity, while hard-constraint gating and core-term protection preserve biological admissibility. Finally, the Reporter translates the selected model into human-readable scientific output, the Recapper diagnoses system-level failure modes, and the Evaluator compares the result with ground truth when available. Full technical details and default implementation settings are provided in the Appendix.

Importantly, MEDA runs in two modes. In mode no measurements are provided, and the search is driven purely by literature-derived constraints and a preference for parsimony; in mode the user additionally supplies a time series, which a Data Explorer characterizes and the Runner uses as an extra fit objective. In both modes, any ground-truth equations used for benchmarking are quarantined from the discovery agents and read only afterwards, so the search remains blind. Due to the fact that candidates are judged by mechanistic plausibility and not numerical fit alone, MEDA can propose defensible models even when the literature offers only partial guidance and no data are available. We provide MEDA as an online tool.

3 Experimental results↩︎

We evaluated model construction using a hierarchy of metrics that follows the structure of the MEDA pipeline. Variable precision, recall and \(F_1\) measure whether the system identified the correct dynamical state space. This metric reveals if MEDA pick the right variables of the dynamic, operating similarly to a feature selection/engineering phase. Next, constraint precision, recall and \(F_1\) assess whether the intermediate biological restrictions were consistent with the reference mechanism. Since the constraints are the core of the equation design, these metrics allow to evaluate the equation reconstruction under the model’s discovery. Finally, term precision, recall and \(F_1\) quantify recovery of the symbolic building blocks of the ODEs, independent of exact coefficient values. To capture whole-expression similarity, we report an expression score defined as \(1-\mathrm{TED}\), where TED is the normalized Tree Edit Distance between the predicted and reference expressions [44]. We also report an inclusion score, which measures whether the reference terms are contained in the generated expression, and an expert plausibility score, which evaluates whether the complete model is biologically coherent even when exact symbolic recovery is not unique. The plausibility score is computed to be the average of five scores between zero and one given by five biomathematicians, each with a PhD in mathematics and over ten years of academic experience as prime investigators.

Table 1 provides a term-level audit of the generated ODEs under two inference regimes: construction from biological constraints alone and construction with additional fitting data. In the constraints-only rows, numerical coefficients are represented by symbolic coefficients (\(c_1,c_2,\ldots\)), since the comparison focuses on whether the correct mechanistic terms were selected rather than on parameter calibration, as data fitting is lacking in this configuration. Green-underlined terms denote recovered reference terms with the correct sign, red-underlined terms denote spurious or sign-inconsistent terms, and orange-underlined terms denote reference terms that were absent from the prediction. Several patterns emerge from the table. First, the system reliably identifies the relevant state variables and often recovers the correct mechanistic skeleton even when the final symbolic expression is imperfect, indicating that most failures occur at the level of term selection rather than problem formulation. Second, fitting data are beneficial when the remaining ambiguity is primarily a search or calibration problem: for example, Lotka–Volterra and misinformation dynamics improve to exact or near-exact structural recovery with data. However, the effect of data is not monotonic. In FitzHugh–Nagumo adaptation and chronic wound healing, data-driven fitting favours trajectory-compatible but mechanistically incorrect expressions, introducing high-degree or spurious terms while missing defining biological couplings. The host–dual-pathogen case exposes a different challenge: the same wrong biological family persists with and without data, suggesting that errors introduced by constraint generation cannot always be corrected downstream by numerical fitting.

Table 1: Per-case performance with and without fitting data.
Data Setting Problem Predicted equation Var. F\(_1\) Constr. F\(_1\) Term P Term R Term F\(_1\) Expr. score Inclusion Plaus.
Data Setting Problem Predicted equation Var. F\(_1\) Constr. F\(_1\) Term P Term R Term F\(_1\) Expr. score Inclusion Plaus.
Continued on next page
With data IR Single population growth \(\displaystyle \frac{dN}{dt} = {\color{green!55!black}\underline{{\color{black}+0.23N}}} {\color{green!55!black}\underline{{\color{black}-0.0001N^2}}}\) 1.00 0.91 1.00 1.00 1.00 1.00 1.00 1.00
No data IR Lotka–Volterra predator–prey

\(\displaystyle \frac{dH}{dt} = {\color{green!55!black}\underline{{\color{black}+c_1H}}} {\color{green!55!black}\underline{{\color{black}-c_2HL}}} {\color{red!75!black}\underline{{\color{black}-c_3H^2}}}\)

\(\displaystyle \frac{dL}{dt} = {\color{green!55!black}\underline{{\color{black}+c_4HL}}} {\color{green!55!black}\underline{{\color{black}-c_5L}}} {\color{red!75!black}\underline{{\color{black}-c_6L^2}}}\)

1.00 1.00 0.67 1.00 0.80 0.75 1.00 0.93
With data IR Lotka–Volterra predator–prey

\(\displaystyle \frac{dx}{dt} = {\color{green!55!black}\underline{{\color{black}+0.80x}}} {\color{green!55!black}\underline{{\color{black}-0.10xy}}}\)

\(\displaystyle \frac{dy}{dt} = {\color{green!55!black}\underline{{\color{black}+0.10xy}}} {\color{green!55!black}\underline{{\color{black}-0.50y}}}\)

1.00 1.00 1.00 1.00 1.00 1.00 1.00 1.00
No data IR SIR epidemic

\(\displaystyle \frac{dS}{dt} = {\color{green!55!black}\underline{{\color{black}-c_1SI}}}\)

\(\displaystyle \frac{dI}{dt} = {\color{green!55!black}\underline{{\color{black}+c_2SI}}} {\color{green!55!black}\underline{{\color{black}-c_3I}}}\)

\(\displaystyle \frac{dR}{dt} = {\color{green!55!black}\underline{{\color{black}+c_4I}}}\)

1.00 1.00 1.00 1.00 1.00 1.00 1.00 1.00
With data IR SIR epidemic

\(\displaystyle \frac{dS}{dt} = {\color{green!55!black}\underline{{\color{black}-0.0003SI}}}\)

\(\displaystyle \frac{dI}{dt} = {\color{green!55!black}\underline{{\color{black}+0.0003SI}}} {\color{green!55!black}\underline{{\color{black}-0.10I}}}\)

\(\displaystyle \frac{dR}{dt} = {\color{green!55!black}\underline{{\color{black}+0.10I}}}\)

1.00 1.00 1.00 1.00 1.00 1.00 1.00 0.98
No data IR Allee fixed threshold \(\displaystyle \frac{dN}{dt} = {\color{green!55!black}\underline{{\color{black}-c_1N}}} {\color{green!55!black}\underline{{\color{black}+c_2N^2}}} {\color{green!55!black}\underline{{\color{black}-c_3N^3}}}\) 1.00 0.86 1.00 1.00 1.00 1.00 1.00 0.92
With data IR Allee fixed threshold \(\displaystyle \frac{dN}{dt} = {\color{green!55!black}\underline{{\color{black}-0.46N}}} {\color{green!55!black}\underline{{\color{black}+0.03N^2}}} {\color{green!55!black}\underline{{\color{black}-0.0002N^3}}}\) 1.00 0.92 1.00 1.00 1.00 1.00 1.00 0.99
No data IR FitzHugh–Nagumo

\(\displaystyle \frac{dV}{dt} = {\color{green!55!black}\underline{{\color{black}+c_1V}}} {\color{green!55!black}\underline{{\color{black}-c_2V^3}}} {\color{green!55!black}\underline{{\color{black}-c_3W}}} \quad [\text{\scriptsize missing: } {\color{orange!85!black}\underline{{\color{black}+c_4}}}]\)

\(\displaystyle \frac{dW}{dt} = {\color{green!55!black}\underline{{\color{black}+c_5V}}} {\color{green!55!black}\underline{{\color{black}-c_6W}}} \quad [\text{\scriptsize missing: } {\color{orange!85!black}\underline{{\color{black}+c_7}}}]\)

1.00 0.89 1.00 0.71 0.83 0.75 0.75 0.94
With data IR FitzHugh–Nagumo

\(\displaystyle \frac{dv}{dt} = {\color{green!55!black}\underline{{\color{black}+0.33v}}} {\color{green!55!black}\underline{{\color{black}-0.16v^3}}} {\color{green!55!black}\underline{{\color{black}-0.44w}}} {\color{red!75!black}\underline{{\color{black}+0.17v^2}}} \quad [\text{\scriptsize missing: } {\color{orange!85!black}\underline{{\color{black}+I}}}]\)

\(\displaystyle \frac{dw}{dt} = {\color{green!55!black}\underline{{\color{black}+0.10v}}} {\color{green!55!black}\underline{{\color{black}-0.003w}}} \quad [\text{\scriptsize missing: } {\color{orange!85!black}\underline{{\color{black}+c}}}]\)

1.00 0.86 0.83 0.71 0.77 0.75 0.75 0.78
No data EX SIR age-structured

\(\displaystyle \frac{dS_y}{dt} = {\color{green!55!black}\underline{{\color{black}-c_1S_yI_y}}} {\color{green!55!black}\underline{{\color{black}-c_2S_yI_o}}}\)

\(\displaystyle \frac{dI_y}{dt} = {\color{green!55!black}\underline{{\color{black}+c_3S_yI_y}}} {\color{green!55!black}\underline{{\color{black}+c_4S_yI_o}}} {\color{green!55!black}\underline{{\color{black}-c_5I_y}}}\)

\(\displaystyle \frac{dR_y}{dt} = {\color{green!55!black}\underline{{\color{black}+c_6I_y}}}\)

\(\displaystyle \frac{dS_o}{dt} = {\color{green!55!black}\underline{{\color{black}-c_7S_oI_y}}} {\color{green!55!black}\underline{{\color{black}-c_8S_oI_o}}}\)

\(\displaystyle \frac{dI_o}{dt} = {\color{green!55!black}\underline{{\color{black}+c_9S_oI_y}}} {\color{green!55!black}\underline{{\color{black}+c_{10}S_oI_o}}} {\color{green!55!black}\underline{{\color{black}-c_{11}I_o}}}\)

\(\displaystyle \frac{dR_o}{dt} = {\color{green!55!black}\underline{{\color{black}+c_{12}I_o}}}\)

1.00 1.00 1.00 1.00 1.00 1.00 1.00 0.96
With data EX SIR age-structured

\(\displaystyle \frac{dI_Y}{dt} = {\color{green!55!black}\underline{{\color{black}+I_YS_Y}}} {\color{green!55!black}\underline{{\color{black}+I_OS_Y}}} {\color{green!55!black}\underline{{\color{black}-I_Y}}}\)

Same equation

1.00 1.00 1.00 1.00 1.00 1.00 1.00 0.94
No data EX Host dual pathogen

\(\displaystyle \frac{dN}{dt} = {\color{green!55!black}\underline{{\color{black}+c_1N}}} {\color{green!55!black}\underline{{\color{black}-c_2N^2}}} {\color{green!55!black}\underline{{\color{black}-c_3NP_1}}} {\color{green!55!black}\underline{{\color{black}-c_4NP_2}}}\)

\(\displaystyle \frac{dP_1}{dt} = {\color{red!75!black}\underline{{\color{black}-c_5P_1}}} {\color{green!55!black}\underline{{\color{black}-c_6P_1P_2}}} {\color{red!75!black}\underline{{\color{black}+c_7NP_1}}}\)

\(\displaystyle \frac{dP_2}{dt} = {\color{red!75!black}\underline{{\color{black}-c_8P_2}}} {\color{green!55!black}\underline{{\color{black}-c_9P_1P_2}}} {\color{red!75!black}\underline{{\color{black}+c_{10}NP_2}}}\)

1.00 0.93 0.80 1.00 0.89 0.78 1.00 0.87
With data EX Host dual pathogen

\(\displaystyle \frac{dN}{dt} = {\color{green!55!black}\underline{{\color{black}+0.25N}}} {\color{green!55!black}\underline{{\color{black}-0.0001N^2}}} {\color{green!55!black}\underline{{\color{black}-0.019NP}}} {\color{green!55!black}\underline{{\color{black}-0.001NQ}}}\)

\(\displaystyle \frac{dP}{dt} = {\color{red!75!black}\underline{{\color{black}-0.015P}}} {\color{green!55!black}\underline{{\color{black}-0.010PQ}}} {\color{red!75!black}\underline{{\color{black}+0.000004NP}}}\)

\(\displaystyle \frac{dQ}{dt} = {\color{red!75!black}\underline{{\color{black}-0.029Q}}} {\color{green!55!black}\underline{{\color{black}-0.023PQ}}} {\color{red!75!black}\underline{{\color{black}+0.000001NQ}}}\)

1.00 0.77 0.80 1.00 0.89 0.78 1.00 0.80
No data EX IGP 4-species

\(\displaystyle \frac{dN_1}{dt} = {\color{green!55!black}\underline{{\color{black}+c_1N_1}}} {\color{green!55!black}\underline{{\color{black}-c_2N_1^2}}} {\color{green!55!black}\underline{{\color{black}-c_3N_1P}}} {\color{green!55!black}\underline{{\color{black}-c_4N_1Q}}}\)

\(\displaystyle \frac{dN_2}{dt} = {\color{green!55!black}\underline{{\color{black}+c_5N_2}}} {\color{green!55!black}\underline{{\color{black}-c_6N_2^2}}} {\color{green!55!black}\underline{{\color{black}-c_7N_2P}}} {\color{green!55!black}\underline{{\color{black}-c_8N_2Q}}}\)

\(\displaystyle \frac{dP}{dt} = {\color{green!55!black}\underline{{\color{black}-c_9P}}} {\color{green!55!black}\underline{{\color{black}+c_{10}N_1P}}} {\color{green!55!black}\underline{{\color{black}+c_{11}N_2P}}} {\color{green!55!black}\underline{{\color{black}+c_{12}PQ}}}\)

\(\displaystyle \frac{dQ}{dt} = {\color{green!55!black}\underline{{\color{black}-c_{13}Q}}} {\color{green!55!black}\underline{{\color{black}+c_{14}N_1Q}}} {\color{green!55!black}\underline{{\color{black}+c_{15}N_2Q}}} {\color{green!55!black}\underline{{\color{black}-c_{16}PQ}}}\)

1.00 1.00 1.00 1.00 1.00 1.00 1.00 0.98
With data EX IGP 4-species

\(\displaystyle \frac{dx_1}{dt} = {\color{green!55!black}\underline{{\color{black}+1.00x_1}}} {\color{green!55!black}\underline{{\color{black}-0.003x_1^2}}} {\color{green!55!black}\underline{{\color{black}-0.012x_1y_1}}} {\color{green!55!black}\underline{{\color{black}-0.010x_1y_2}}}\)

\(\displaystyle \frac{dx_2}{dt} = {\color{green!55!black}\underline{{\color{black}+0.80x_2}}} {\color{green!55!black}\underline{{\color{black}-0.003x_2^2}}} {\color{green!55!black}\underline{{\color{black}-0.010x_2y_1}}} {\color{green!55!black}\underline{{\color{black}-0.012x_2y_2}}}\)

\(\displaystyle \frac{dy_1}{dt} = {\color{green!55!black}\underline{{\color{black}-0.30y_1}}} {\color{green!55!black}\underline{{\color{black}+0.007x_1y_1}}} {\color{green!55!black}\underline{{\color{black}+0.005x_2y_1}}} {\color{green!55!black}\underline{{\color{black}+0.00005y_1y_2}}}\)

\(\displaystyle \frac{dy_2}{dt} = {\color{green!55!black}\underline{{\color{black}-0.25y_2}}} {\color{green!55!black}\underline{{\color{black}+0.005x_1y_2}}} {\color{green!55!black}\underline{{\color{black}+0.006x_2y_2}}} {\color{green!55!black}\underline{{\color{black}-0.0001y_1y_2}}}\)

1.00 0.97 1.00 1.00 1.00 1.00 1.00 0.98
No data EX Allee cooperative support

\(\displaystyle \frac{dN}{dt} = {\color{green!55!black}\underline{{\color{black}-c_1N}}} {\color{red!75!black}\underline{{\color{black}-c_2N^2}}} {\color{red!75!black}\underline{{\color{black}-c_3N^2C}}} {\color{green!55!black}\underline{{\color{black}-c_4N^3}}} {\color{red!75!black}\underline{{\color{black}+c_5CN}}} \quad [\text{\scriptsize missing: } {\color{orange!85!black}\underline{{\color{black}+c_6N^3C}}}]\)

\(\displaystyle \frac{dC}{dt} = {\color{green!55!black}\underline{{\color{black}+c_7N}}} {\color{green!55!black}\underline{{\color{black}-c_8C}}} \quad [\text{\scriptsize missing: } {\color{orange!85!black}\underline{{\color{black}-c_9NC}}}]\)

1.00 0.90 0.86 0.75 0.80 0.74 0.70 0.83
With data EX Allee cooperative support

\(\displaystyle \frac{dN}{dt} = {\color{green!55!black}\underline{{\color{black}-0.03N}}} {\color{green!55!black}\underline{{\color{black}-1.10N^3}}} {\color{red!75!black}\underline{{\color{black}+1.32CN}}} \quad [\text{\scriptsize missing: } {\color{orange!85!black}\underline{{\color{black}+N^2}}},\;{\color{orange!85!black}\underline{{\color{black}+N^2C}}},\;{\color{orange!85!black}\underline{{\color{black}+N^3C}}}]\)

\(\displaystyle \frac{dC}{dt} = {\color{green!55!black}\underline{{\color{black}+0.66N}}} {\color{green!55!black}\underline{{\color{black}-0.73NC}}} {\color{green!55!black}\underline{{\color{black}-0.04C}}}\)

1.00 0.95 0.83 0.71 0.77 0.85 0.75 0.85
No data EX FitzHugh–Nagumo adaptation

\(\displaystyle \frac{dv}{dt} = {\color{green!55!black}\underline{{\color{black}+c_1v}}} {\color{green!55!black}\underline{{\color{black}-c_2v^3}}} {\color{green!55!black}\underline{{\color{black}-c_3w}}} {\color{green!55!black}\underline{{\color{black}-c_4a}}}\)

\(\displaystyle \frac{dw}{dt} = {\color{green!55!black}\underline{{\color{black}+c_5v}}} {\color{green!55!black}\underline{{\color{black}-c_6w}}}\)

\(\displaystyle \frac{da}{dt} = {\color{green!55!black}\underline{{\color{black}-c_7a}}} {\color{red!75!black}\underline{{\color{black}+c_8v}}} \quad [\text{\scriptsize missing: } {\color{orange!85!black}\underline{{\color{black}+c_9v^2}}}]\)

1.00 0.95 0.88 0.88 0.88 0.93 0.87 0.95
With data EX FitzHugh–Nagumo adaptation

\(\displaystyle \frac{dv}{dt} = {\color{green!55!black}\underline{{\color{black}-2.90w}}} {\color{red!75!black}\underline{{\color{black}+0.30v^2}}} {\color{red!75!black}\underline{{\color{black}-0.17A^3}}} {\color{red!75!black}\underline{{\color{black}-0.07w^3}}} \quad [\text{\scriptsize missing: } {\color{orange!85!black}\underline{{\color{black}+v}}},\;{\color{orange!85!black}\underline{{\color{black}-\frac{1}{3}v^3}}},\;{\color{orange!85!black}\underline{{\color{black}-\chi A}}},\;{\color{orange!85!black}\underline{{\color{black}+I}}}]\)

\(\displaystyle \frac{dw}{dt} = {\color{green!55!black}\underline{{\color{black}+0.06v}}} {\color{green!55!black}\underline{{\color{black}-0.08w}}} {\color{red!75!black}\underline{{\color{black}+0.03v^2}}} \quad [\text{\scriptsize missing: } {\color{orange!85!black}\underline{{\color{black}+c}}}]\)

\(\displaystyle \frac{dA}{dt} = {\color{green!55!black}\underline{{\color{black}-0.0005A}}} {\color{red!75!black}\underline{{\color{black}-0.018v}}} \quad [\text{\scriptsize missing: } {\color{orange!85!black}\underline{{\color{black}+\rho v^2}}}]\)

1.00 0.92 0.44 0.50 0.47 0.69 0.64 0.45
No data DI Misinformation dynamics

\(\displaystyle \frac{dM}{dt} = {\color{green!55!black}\underline{{\color{black}+c_1M}}} {\color{green!55!black}\underline{{\color{black}-c_2MT}}} {\color{green!55!black}\underline{{\color{black}-c_3MR}}} {\color{red!75!black}\underline{{\color{black}-c_4M^2}}}\)

\(\displaystyle \frac{dT}{dt} = {\color{green!55!black}\underline{{\color{black}-c_5T}}} {\color{green!55!black}\underline{{\color{black}-c_6MT}}} {\color{red!75!black}\underline{{\color{black}-c_7M}}} {\color{red!75!black}\underline{{\color{black}-c_8R}}}\)

\(\displaystyle \frac{dR}{dt} = {\color{green!55!black}\underline{{\color{black}-c_9R}}} {\color{green!55!black}\underline{{\color{black}-c_{10}MR}}} {\color{red!75!black}\underline{{\color{black}-c_{11}M}}} {\color{red!75!black}\underline{{\color{black}+c_{12}T}}}\)

1.00 1.00 0.58 1.00 0.74 0.67 1.00 0.74
With data DI Misinformation dynamics

\(\displaystyle \frac{dM}{dt} = {\color{green!55!black}\underline{{\color{black}+0.12M}}} {\color{green!55!black}\underline{{\color{black}-0.12MT}}} {\color{green!55!black}\underline{{\color{black}-0.05CM}}}\)

\(\displaystyle \frac{dT}{dt} = {\color{green!55!black}\underline{{\color{black}+0.01}}} {\color{green!55!black}\underline{{\color{black}-0.01T}}} {\color{green!55!black}\underline{{\color{black}-0.01MT}}}\)

\(\displaystyle \frac{dC}{dt} = {\color{green!55!black}\underline{{\color{black}+0.02}}} {\color{green!55!black}\underline{{\color{black}-0.01C}}} {\color{green!55!black}\underline{{\color{black}-0.02CM}}}\)

1.00 1.00 1.00 1.00 1.00 1.00 1.00 0.98
No data DI Chronic wound

\(\displaystyle \frac{dM}{dt} = {\color{green!55!black}\underline{{\color{black}+c_1DM}}} {\color{green!55!black}\underline{{\color{black}-c_2IM}}} {\color{green!55!black}\underline{{\color{black}-c_3M}}}\)

\(\displaystyle \frac{dI}{dt} = {\color{green!55!black}\underline{{\color{black}+c_4M}}} {\color{green!55!black}\underline{{\color{black}-c_5I}}} {\color{green!55!black}\underline{{\color{black}+c_6D}}} \quad [\text{\scriptsize missing: } {\color{orange!85!black}\underline{{\color{black}-c_7MI}}},\;{\color{orange!85!black}\underline{{\color{black}-c_8DI}}}]\)

\(\displaystyle \frac{dD}{dt} = {\color{green!55!black}\underline{{\color{black}-c_9D}}} {\color{green!55!black}\underline{{\color{black}+c_{10}M}}} {\color{green!55!black}\underline{{\color{black}+c_{11}I}}} \quad [\text{\scriptsize missing: } {\color{orange!85!black}\underline{{\color{black}-c_{12}MD}}},\;{\color{orange!85!black}\underline{{\color{black}-c_{13}ID}}}]\)

1.00 0.96 1.00 0.69 0.82 0.69 0.69 0.90
With data DI Chronic wound

\(\displaystyle \frac{dB}{dt} = {\color{green!55!black}\underline{{\color{black}+0.001B}}} {\color{red!75!black}\underline{{\color{black}+0.02BI}}} {\color{red!75!black}\underline{{\color{black}-0.32B^2}}} \quad [\text{\scriptsize missing: } {\color{orange!85!black}\underline{{\color{black}-BH}}}]\)

\(\displaystyle \frac{dI}{dt} = {\color{red!75!black}\underline{{\color{black}+1.65B^2}}} \quad [\text{\scriptsize missing: } {\color{orange!85!black}\underline{{\color{black}+1}}},\;{\color{orange!85!black}\underline{{\color{black}+B}}},\;{\color{orange!85!black}\underline{{\color{black}-BI}}},\;{\color{orange!85!black}\underline{{\color{black}-H}}},\;{\color{orange!85!black}\underline{{\color{black}-I}}},\;{\color{orange!85!black}\underline{{\color{black}+HI}}}]\)

\(\displaystyle \frac{dH}{dt} = {\color{green!55!black}\underline{{\color{black}-0.76BH}}} {\color{green!55!black}\underline{{\color{black}-0.75HI}}} {\color{red!75!black}\underline{{\color{black}+0.38I}}} {\color{red!75!black}\underline{{\color{black}-0.89I^2}}} {\color{red!75!black}\underline{{\color{black}+1.81BI}}} \quad [\text{\scriptsize missing: } {\color{orange!85!black}\underline{{\color{black}+1}}},\;{\color{orange!85!black}\underline{{\color{black}-H}}}]\)

1.00 0.89 0.44 0.36 0.40 0.46 0.48 0.57

Next, we performed an ablation study on three representative benchmark problems. Recall, the MEDA consists of exploratory data analysis and SINDy-based [58], [59] initialization, literature retrieval, formalization of variables, constraints and candidate seeds, validation, genetic search, numerical data fitting, and final evaluation. From here, we compared the full system against five ablated configurations. In the constraints-only setting, we evaluated a pretrained-formalizer variant without literature retrieval. In the with-data setting, we evaluated four variants: a no-EDA variant in which literature retrieval and formalization were retained but exploratory analysis and SINDy were removed; a no-literature variant in which EDA/SINDy were retained but the formalizer was driven only by data-derived structure; a pretrained-formalizer variant in which both EDA and literature were removed but the pretrained formalizer was retained; and a pure-SINDy variant in which SINDy was used directly without literature, formalization, or explicit constraints.

Table 2 summarizes the performance across the three with-data benchmark problems depended mainly on knowledge-guided formalization rather than numerical fitting alone. The full system recovered the correct term structure in all cases, with average term-level \(F_1=1.00\) and plausibility \(S_{\mathrm{plaus}}=0.967\). Removing EDA/SINDy had little effect, with the no-EDA variant remaining at \(F_1=1.00\) and plausibility (0.969). The pretrained-formalizer variant also stayed near ceiling, despite removing both EDA and literature retrieval, with \(F_1=1.00\) and plausibility (0.983). In contrast, data-driven structure discovery degraded performance. The no-literature variant, which relied on EDA/SINDy-derived formalization, reduced average plausibility to (0.700) and term-level \(F_1\) to (0.732). The strongest degradation occurred in misinformation dynamics, where plausibility dropped from (0.98) to (0.59) and term-level \(F_1\) from (1.00) to (0.50), despite good trajectory fitting. Thus, numerical fit alone did not guarantee recovery of the correct symbolic mechanism. The pure-SINDy variant showed the largest degradation. Without literature, formalization, or explicit constraints, average plausibility dropped to (0.603), term-level \(F_1\) to (0.541), and term precision to (0.382). SINDy often recovered dominant driver terms, but introduced many false-positive terms, especially in conserved or coupled equations. In SIR-type systems, recovery equations became unstable without conservation constraints; in misinformation dynamics, spurious terms remained in the trust and moderation-capacity equations. The constraints-only pretrained ablation further showed that data anchoring is useful when a familiar model must be adapted to a more specific variant. Without data, pretrained formalization stayed close to the full constraints-only system for misinformation dynamics, with plausibility (0.73) versus (0.74). However, in age-structured SIR, plausibility dropped from (0.964) to (0.744), and term recall fell to (0.571), because the model collapsed the heterogeneous system toward a simpler homogeneous SIR structure.

Table 2: Ablation study for the with-data setting, divided by experimental setting. IR: information retrieval; EX: reasoning-based extrapolation; DI: discovery.
Setting System variant Plaus. Term \(F_1\) Term P Term R Constr. \(F_1\) Mean incl. Mean TED
IR Full system 0.980 1.000 1.000 1.000
No EDA/SINDy 0.986 1.000 1.000 1.000 1.000 1.000 0.000
No literature 0.780 0.800 0.667 1.000 0.957 1.000 0.254
Pretrained formalizer 1.000 1.000 1.000 1.000 1.000 1.000 0.000
Pure SINDy 0.760 0.667 0.500 1.000 n/a 1.000 0.250
EX Full system 0.940 1.000 1.000 1.000
No EDA/SINDy 0.982 1.000 1.000 1.000 0.960 1.000 0.000
No literature 0.730 0.897 0.867 0.929 0.982 0.963 0.097
Pretrained formalizer 0.980 1.000 1.000 1.000 1.000 1.000 0.000
Pure SINDy 0.570 0.393 0.255 0.857 n/a 0.926 0.438
DI Full system 0.980 1.000 1.000 1.000
No EDA/SINDy 0.938 1.000 1.000 1.000 1.000 1.000 0.000
No literature 0.590 0.500 0.368 0.778 0.667 0.833 0.450
Pretrained formalizer 0.970 1.000 1.000 1.000 0.963 1.000 0.000
Pure SINDy 0.480 0.563 0.391 1.000 n/a 1.000 0.444

Finally, we evaluated the robustness of MEDA to corrupted or incomplete data. This analysis focused on three representative benchmark problems, one from each difficulty tier: classical SIR for IR, age-structured SIR for EX, and misinformation dynamics for DI. We considered three data-level perturbations: proportional Gaussian measurement noise, sparse sampling of the observed trajectory, and hidden-variable settings in which one state variable was removed from the observed data. The prompt-perturbation axis was not included in this analysis and is treated separately from the present robustness experiments. For the measurement-noise experiments, we used a fast-path evaluation in which the knowledge-derived problem specification was held fixed, and only the genetic search and data-fitting stages were re-run on corrupted trajectories. This isolates the robustness of the symbolic search and numerical fitting stages from stochastic variation in the LLM-based literature and formalization stages. For the hidden-variable experiments, we re-ran the full pipeline because removing a state variable changes the admissible ODE system and requires the constraints and seed equations to be re-derived.

Table 3 summarizes the robustness to proportional Gaussian measurement noise in terms of \(F_1\) under increasing noise levels. The classical SIR model retained perfect term-level recovery through 30% proportional Gaussian noise and degraded only at 40–60%, where term \(F_1\) decreased to 0.73. Importantly, this degradation reflected reduced precision rather than loss of the true mechanism: the model continued to recover all reference terms but added spurious cross-terms under high noise. The age-structured SIR system was similarly robust, with term \(F_1 \geq 0.90\) across all tested noise levels. At 30% noise, the correct term structure was recovered, although the best-fitted coefficients produced a divergent trajectory during integration; this case is therefore marked as structurally correct but numerically unstable. In contrast, misinformation dynamics showed little additional degradation with noise because its recovery was already limited in the clean condition. Its term \(F_1\) remained within a narrow range of 0.57–0.67 across all noise levels, suggesting that the bottleneck was structural identifiability rather than measurement noise.

Table 3: Robustness to proportional Gaussian measurement noise. Values report term-level \(F_1\) under increasing noise levels.
Problem 0% 5% 10% 20% 30% 40% 60%
SIR epidemic (IR) 1.00 1.00 1.00 1.00 1.00 0.73 0.73
Age-structured SIR (EX) 1.00 1.00 1.00 1.00 1.00 0.90 1.00
Misinformation dynamics (DI) 0.67 0.63 0.63 0.63 0.57 0.67 0.63

Table 4, removing the recovered compartment \(R\) from classical SIR had no effect on observed-state recovery, because \(R\) does not feed back into the dynamics of \(S\) or \(I\). Similarly, dropping \(R_O\) from age-structured SIR preserved perfect term-level recovery and high plausibility, since this variable enters only weakly through the force-of-infection normalization. In contrast, dropping the moderation-capacity variable \(C\) from misinformation dynamics reduced variable \(F_1\) to 0.80 and term \(F_1\) to 0.83. This is expected because \(C\) directly suppresses misinformation through the \(-CM\) interaction. When \(C\) is latent, the system can recover the observed misinformation-growth and trust-coupling terms, but cannot explicitly represent the missing moderation-suppression mechanism. I.e., sparse sampling had little effect in this synthetic benchmark since removing 25–75% of the time points from the noise-free trajectories left the recovered terms unchanged for both SIR systems, and misinformation dynamics fluctuated only within its baseline recovery range.

Table 4: Robustness to hidden variables. Values report performance after one state variable is removed from the observed data and the model is re-derived.
Problem Dropped state Variable \(F_1\) Term \(F_1\) Inclusion Plaus.
SIR epidemic (IR) \(R\) 1.00 1.00 1.00 1.00
Age-structured SIR (EX) \(R_O\) 1.00 1.00 1.00 0.98
Misinformation dynamics (DI) \(C\) 0.80 0.83 0.83 0.89

4 Discussion↩︎

In this study, we introduce MEDA, an agentic framework for biological ODE discovery that couples LLM-based scientific reasoning with constrained SR. The central finding is that LLM agents are most useful in this setting not as direct equation generators, but as mechanisms for translating incomplete biological knowledge into variables, constraints, candidate model structures, and critique criteria that can guide symbolic search. Across canonical retrieval tasks, reasoning-based extrapolation tasks, and discovery-oriented tasks, MEDA often recovered the correct state space and a plausible mechanistic skeleton even when the final expression was not exactly identical to the reference model (Table 1). This supports a view of automated scientific discovery in which the goal is not simply to produce a final symbolic expression, but to construct an auditable chain of mechanistic reasoning around that expression.

The results also show that equation discovery in biological systems is limited less by coefficient fitting than by structural ambiguity. In several cases, fitting data improved the recovered model. Nevertheless, the benefit of data was not monotonic. In some cases, the data-anchored mode produced trajectory-compatible but mechanistically incorrect equations, missing defining couplings while introducing spurious terms. This behavior is consistent with a broader challenge in biological modeling where finite, noisy, and partially observed trajectories can support multiple plausible dynamical explanations, and parameter or structural non-identifiability can persist even when trajectory fit appears strong [60], [61]. Thus, the relevant test for a discovered biological model is not only whether it fits observed data, but whether it recovers the mechanisms required to explain the system.

The ablation analysis clarifies which parts of the pipeline are responsible for this behavior. As shown in Table 2, the full system and the variants that retained a knowledge-guided formalizer remained near the performance ceiling, whereas data-only variants degraded sharply. Removing EDA/SINDy had little effect, and the pretrained-formalizer variant also remained strong, indicating that for named and well-studied systems, literature retrieval and pretrained biological knowledge can act as alternative sources of mechanistic prior. By contrast, the no-literature data-driven formalizer and the pure-SINDy variant produced substantially lower plausibility and term precision. This result reinforces a key point for machine learning approaches to scientific discovery: sparse regression and numerical optimization can identify candidate terms, but without an external mechanistic prior they may preserve false-positive structures that fit the data but do not express the correct biology [41], [62]. In this sense, the formalizer and constraint-generation stages are load-bearing components rather than explanatory decoration.

The robustness analysis further qualifies this conclusion. As shown in Table 3, the system was not uniformly sensitive to data corruption. For the IR and EX related tasks, term-level recovery remained high under substantial proportional measurement noise. When degradation occurred, it was mainly due to reduced precision rather than loss of the true mechanism, meaning that the correct terms were still present but accompanied by spurious additions. By contrast, the DI task did not show a strong noise-response curve because its clean-data recovery was already imperfect, suggesting that the limiting factor was structural identifiability rather than measurement noise. The hidden-variable experiments, as indicated by Table 4, show a similar pattern. Dropping terminal or weakly coupled variables, did not harm recovery, whereas removing variables in the DI task reduced both variable and term recovery. Thus, the main robustness limitation is not generic sensitivity to noisy or sparse data, but the loss of mechanistically important latent drivers and the resulting ambiguity in the admissible dynamics. From these results, one can conclude that knowledge-guided equation discovery should be evaluated not only by fit quality, but also by whether the available variables are sufficient to identify the mechanisms being modeled [60], [61].

These findings help position MEDA relative to recent work on SR and ASD, and LLM-assisted science. Classical SR and SINDy-like methods search for compact equations directly from data [32], [33], [41]. Hybrid scientific machine-learning frameworks combine mechanistic differential equations with flexible learned components, often improving predictive accuracy while preserving some physical structure [29], [63]. LLM-based equation discovery extends this direction by injecting natural-language priors or programmatic search heuristics into SR [43], [44]. MEDA differs by treating the intermediate scientific artifacts themselves as part of the discovery object. This is particularly important for biology, where prior knowledge is often qualitative, incomplete, and distributed across the literature rather than expressible as exact conservation laws or symmetries.

Several limitations remain. First, the benchmark is small relative to the diversity of biological ODE modeling. Although it spans population dynamics, epidemiology, neural excitability, ecological interactions, misinformation dynamics, and wound healing, it does not cover the full range of biochemical networks, spatial dynamics, stochastic processes, delay differential equations, or hybrid discrete-continuous models used in biology. Second, the current search grammar emphasizes polynomial ODEs. This makes the evaluation controlled, but it excludes important biological structures such as Hill kinetics, saturating functional responses, delays, thresholds, and stochastic effects. Finally, the plausibility score is expert-based and therefore necessarily subjective, even though it was averaged across five experienced biomathematicians.

Taken jointly, MEDA suggests a path toward AI systems that assist scientific modeling by making mechanistic assumptions explicit, testable, and revisable. Such systems are unlikely to replace expert modelers, but they may help accelerate the iterative process of proposing, criticizing, and refining mathematical hypotheses.

5 Methods↩︎

In this section, we outline the experimental design and evaluation metrices. The full technical description of how MEDA is structured is provided in the appendix.

5.1 Experimental design↩︎

We evaluated MEDA across three increasingly difficult settings: information retrieval, reasoning-based extrapolation, and open-ended discovery. The full descriptions of all benchmark systems, including the reference equations, variable definitions, and parameter interpretations, are provided in the Appendix.

Simply put, in the information-retrieval setting, the goal was to test whether the system could recover standard ODE models that are widely documented in the literature. We used five canonical systems: logistic population growth, Lotka–Volterra predator–prey dynamics, the classical SIR epidemic model, a fixed-threshold Allee-effect population model, and the FitzHugh–Nagumo model of neural excitability. These tasks primarily evaluate whether the agent can identify known state variables, constraints, and equation structures from background knowledge. In the reasoning-based extrapolation setting, the goal was to test whether the system could adapt familiar model families to previously unseen mechanistic variants. We therefore constructed five extensions of canonical biological models: a four-species intraguild predation system, logistic growth under two antagonistic biological pressures, an age-structured SIR model with waning immunity only in the young group, an Allee-effect model with dynamic cooperative support, and a FitzHugh–Nagumo-type model with slow adaptation. These systems are grounded in established biological mechanisms, but the exact equations were designed for this study and were not intended to be direct retrieval targets. In the discovery setting, the goal was to test whether the system could construct plausible mechanistic ODEs for less standardized phenomena. We considered two systems: misinformation dynamics with trust erosion and moderation fatigue, and chronic wound progression driven by microbial burden, inflammation, and tissue-barrier integrity. In these tasks, the reference equations serve as expert-defined mechanistic targets rather than canonical models from the literature. All tasks were evaluated in a constraints-only mode, in which no time-series data were provided, and, when applicable, in a data-anchored mode, in which simulated trajectories were supplied for fitting. Ground-truth equations were withheld from all discovery agents and were used only after model generation for quantitative evaluation.

5.2 Evaluation metrics↩︎

We evaluated MEDA at multiple levels of the discovery process: state-variable recovery, constraint recovery, term-level equation recovery, whole-expression similarity, and expert-assessed biological plausibility. All metrics were computed separately for the information-retrieval, reasoning-based extrapolation, and discovery settings. Full metric definitions and equations are provided in Appendix.

Variable recovery measures whether the system identified the correct dynamical state space. Predicted variables were matched to reference variables after semantic normalization, so that notationally different but biologically equivalent variables were treated as correct. We report variable precision, recall, and \(F_1\). Constraint performance measures whether the intermediate biological and mathematical restrictions generated by the system were correct, relevant, and specific to the task. These constraints include, for example, non-negativity, conservation of total population in closed compartmental systems, boundedness under resource limitation, and correct signs of interactions such as predation, infection, recovery, or inhibition. Generated constraints were compared with an expert-consensus reference set, and we report constraint precision, recall, \(F_1\), and accuracy. Term-level performance evaluates whether the generated ODEs recovered the correct mathematical building blocks. Each right-hand side was decomposed into additive symbolic terms after normalization of parameter names, scalar coefficients, and algebraically equivalent forms. Terms were matched only when they appeared in the correct state equation with the correct structural role. We report term precision, recall, \(F_1\), and term-level accuracy over a task-specific admissible term universe. To evaluate whole-equation structure, we also compared predicted and reference expressions as normalized expression trees. We report normalized tree edit distance (TED), where lower values indicate greater symbolic similarity, and an inclusion score, which measures how much of the reference expression appears as a correct substructure within the generated expression. The inclusion score is useful when the model recovers the main mechanism but adds extra terms or uses a slightly different symbolic organization. Finally, biological plausibility was assessed by five independent evaluators, all of whom held a PhD in mathematics and had at least ten years of professional experience. Each evaluator assigned a score between 0 and 1, considering interaction signs, satisfaction of biological and mathematical constraints, mechanistic completeness, interpretability of variables and parameters, and consistency with the qualitative behavior described in the prompt. The final plausibility score was the average of the five evaluator scores.

Declarations↩︎

Funding↩︎

No funding was received to assist with the preparation of this manuscript.

Conflicts of interest/Competing interests↩︎

The authors have no competing interests to declare that are relevant to the content of this article.

AI usage↩︎

The authors used AI models for a wide range of tasks in this study, including: ideation, code development, experiment design, experiment execution, and initial manuscript draft preparation. All AI outputs were manually checked and validated, and the authors take full responsibility for the final content.

Data availability↩︎

All data used for this study are provided in the manuscript and the appendix.

Code availability↩︎

The code is freely available in the study’s Github repository: https://github.com/kronga/MEDA

Author Contribution↩︎

David Krongauz: Methodology, Software, Formal analysis, Investigation, Data Curation, Writing - Review & Editing, Visualization.
Arad Zulti: Methodology, Software, Formal analysis, Writing - Review & Editing, Visualization.
Eran Segal: Validation, Resources, Writing - Review & Editing, Supervision.
Teddy Lazebnik: Conceptualization, Methodology, Validation, Formal analysis, Data Curation, Writing - Original Draft, Visualization, Project administration.

References↩︎

[1]
C. Lu et al., “Towards end-to-end automation of AI research,” Nature, vol. 651, no. 8107, pp. 914–919, 2026.
[2]
A. Sparkes et al., “Towards robot scientists for autonomous scientific discovery,” Automated experimentation, vol. 2, no. 1, p. 1, 2010.
[3]
D. B. Lenat^1, “Automated theory formation in mathematics,” Automated Theorem Proving: After 25 Years: After 25 Years, vol. 89, p. 287, 1984.
[4]
P. Langley, Scientific discovery: Computational explorations of the creative processes. MIT press, 1987.
[5]
S. Kramer, M. Cerrato, J. Brugger, S. Džeroski, and R. D. King, “Automated scientific discovery: From equation discovery to autonomous discovery systems,” arXiv preprint arXiv:2305.02251, 2023, doi: 10.48550/arXiv.2305.02251.
[6]
H. Xin, J. R. Kitchin, and H. J. Kulik, “Towards agentic science for advancing scientific discovery,” Nature Machine Intelligence, vol. 7, pp. 1373–1375, 2025, doi: 10.1038/s42256-025-01110-x.
[7]
A. Merchant, S. Batzner, S. S. Schoenholz, M. Aykol, G. Cheon, and E. D. Cubuk, “Scaling deep learning for materials discovery,” Nature, vol. 624, no. 7990, pp. 80–85, 2023.
[8]
Y. Zhang, S. A. Khan, A. Mahmud, et al., “Exploring the role of large language models in the scientific method: From hypothesis to discovery,” npj Artificial Intelligence, vol. 1, p. 14, 2025, doi: 10.1038/s44387-025-00019-5.
[9]
M. Faldor, J. Zhang, A. Cully, and J. Clune, “Omni-epic: Open-endedness via models of human notions of interestingness with environments programmed in code,” in International conference on learning representations, 2025, vol. 2025, pp. 85260–85385.
[10]
K. Girotra, L. Meincke, C. Terwiesch, and K. T. Ulrich, “Ideas are dimes a dozen: Large language models for idea generation in innovation,” Available at SSRN, vol. 4526071, 2023.
[11]
S. Hu, C. Lu, and J. Clune, “Automated design of agentic systems,” in International conference on learning representations, 2025, vol. 2025, pp. 21344–21377.
[12]
R. Vinuesa et al., “Decoding complexity through machine learning is redefining scientific discovery,” Communications Physics, vol. 9, no. 1, p. 168, 2026.
[13]
L. Messeri and M. Crockett, “The uncritical adoption of AI in science is alarming—we urgently need guard rails,” Nature, vol. 653, no. 8115, pp. 675–676, 2026.
[14]
A. That, “AI research assistants are changing science,” Nature, vol. 651, p. 853, 2026.
[15]
C. Lu, C. Lu, R. T. Lange, J. Foerster, J. Clune, and D. Ha, “The AI scientist: Towards fully automated open-ended scientific discovery,” arXiv preprint arXiv:2408.06292, 2024, doi: 10.48550/arXiv.2408.06292.
[16]
S. Schmidgall et al., “Agent laboratory: Using LLM agents as research assistants,” arXiv preprint arXiv:2501.04227, 2025, doi: 10.48550/arXiv.2501.04227.
[17]
C. S. Narayanaswamy, “Can we write a research paper using artificial intelligence?” Journal of Oral and Maxillofacial Surgery, vol. 81, no. 5, pp. 524–526, 2023.
[18]
Y. Song, Y. Song, T. Pfister, and J. Yoon, “PaperOrchestra: A multi-agent framework for automated AI research paper writing,” arXiv preprint arXiv:2604.05018, 2026.
[19]
P. Shojaee, N.-H. Nguyen, K. Meidani, A. B. Farimani, K. D. Doan, and C. K. Reddy, “LLM-SRBench: A new benchmark for scientific equation discovery with large language models,” arXiv preprint arXiv:2504.10415, 2025, doi: 10.48550/arXiv.2504.10415.
[20]
A. Z. Bideh, A. Georgievska, and J. Gryak, “MDBench: Benchmarking data-driven methods for model discovery,” in Proceedings of the AAAI conference on artificial intelligence, 2026, vol. 40, pp. 19746–19754.
[21]
B. R. Brum, L. Lober, I. Previdelli, and F. A. Rodrigues, “Discovering equations from data: Symbolic regression in dynamical systems,” Journal of Physics: Complexity, vol. 7, no. 1, p. 012001, 2026.
[22]
G. Son et al., “When AI co-scientists fail: SPOT—a benchmark for automated verification of scientific research,” arXiv preprint arXiv:2505.11855, 2025, doi: 10.48550/arXiv.2505.11855.
[23]
D. Kumaran et al., “Competing biases underlie overconfidence and underconfidence in LLMs,” Nature Machine Intelligence, pp. 1–14, 2026.
[24]
T. Fu, J. Conde, G. Martinez, M. Grandury, and P. Reviriego, “Multiple choice questions: Reasoning makes large language models (LLMs) more self-confident, specially when they are wrong,” IEEE Intelligent Systems, 2026.
[25]
P. Cahan and B. Treutlein, “A conversation with ChatGPT on the role of computational systems biology in stem cell research,” Stem cell reports, vol. 18, no. 1, pp. 1–2, 2023.
[26]
S. M. Ahmed, R. V. Shivnaraine, and J. C. Wu, “FDA modernization act 2.0 paves the way to computational biology and clinical trials in a dish,” Circulation, vol. 148, no. 4, pp. 309–311, 2023.
[27]
V. Chen, M. Yang, W. Cui, J. S. Kim, A. Talwalkar, and J. Ma, “Applying interpretable machine learning in computational biology—pitfalls, recommendations and opportunities for new developments,” Nature methods, vol. 21, no. 8, pp. 1454–1461, 2024.
[28]
Z. Guo et al., “Diffusion models in bioinformatics and computational biology,” Nature reviews bioengineering, vol. 2, no. 2, pp. 136–154, 2024.
[29]
S. Giampiccolo, F. Reali, A. Fochesato, G. Iacca, and L. Marchetti, “Robust parameter estimation and identifiability analysis with hybrid neural ordinary differential equations in computational biology,” NPJ Systems Biology and Applications, vol. 10, no. 1, p. 139, 2024.
[30]
C. Lüders, T. Sturm, and O. Radulescu, “ODEbase: A repository of ODE systems for systems biology,” Bioinformatics Advances, vol. 2, no. 1, p. vbac027, 2022.
[31]
L. S. Vieira and R. C. Laubenbacher, “Computational models in systems biology: Standards, dissemination, and best practices,” Current opinion in biotechnology, vol. 75, p. 102702, 2022.
[32]
N. Makke and S. Chawla, “Interpretable scientific discovery with symbolic regression: A review,” Artificial Intelligence Review, vol. 57, no. 2, 2024, doi: 10.1007/s10462-023-10622-0.
[33]
M. Schmidt and H. Lipson, “Distilling free-form natural laws from experimental data,” Science, vol. 324, no. 5923, pp. 81–85, 2009, doi: 10.1126/science.1165893.
[34]
H. Wang et al., “Scientific discovery in the age of artificial intelligence,” Nature, vol. 620, no. 7972, pp. 47–60, 2023.
[35]
U. E. Chigbu, S. O. Atiku, and C. C. Du Plessis, “The science of literature reviews: Searching, identifying, selecting, and synthesising,” Publications, vol. 11, no. 1, p. 2, 2023.
[36]
C. Scheurer and K. Reuter, “Role of the human-in-the-loop in emerging self-driving laboratories for heterogeneous catalysis,” Nature Catalysis, vol. 8, no. 1, pp. 13–19, 2025.
[37]
K. M. Kallmes, J. Thurnham, M. Sauca, R. Tarchand, K. R. Kallmes, and K. J. Holub, “Human-in-the-loop artificial intelligence system for systematic literature review: Methods and validations for the AutoLit review software,” Cochrane Evidence Synthesis and Methods, vol. 3, no. 6, p. e70059, 2025.
[38]
D. J.-L. Lee and S. Macke, “A human-in-the-loop perspective on AutoML: Milestones and the road ahead,” IEEE Data Engineering Bulletin, 2020.
[39]
P. Cardoso et al., “Automated discovery of relationships, models, and principles in ecology,” Frontiers in Ecology and Evolution, vol. 8, p. 530135, 2020, doi: 10.3389/fevo.2020.530135.
[40]
L. Simon-Keren, A. Liberzon, and T. Lazebnik, “A computational framework for physics-informed symbolic regression with straightforward integration of domain knowledge,” Scientific Reports, vol. 13, p. 1249, 2023, doi: 10.1038/s41598-023-28328-2.
[41]
S. L. Brunton, J. L. Proctor, and J. N. Kutz, “Discovering governing equations from data by sparse identification of nonlinear dynamical systems,” Proceedings of the National Academy of Sciences, vol. 113, no. 15, pp. 3932–3937, 2016, doi: 10.1073/pnas.1517384113.
[42]
J. Brence, L. Todorovski, and S. Džeroski, “Probabilistic grammars for equation discovery,” Knowledge-Based Systems, vol. 224, p. 107077, 2021, doi: 10.1016/j.knosys.2021.107077.
[43]
P. Shojaee, K. Meidani, S. Gupta, A. B. Farimani, and C. K. Reddy, LLM-SR: Scientific equation discovery via programming with large language models,” in International conference on learning representations (ICLR), 2025, [Online]. Available: https://openreview.net/forum?id=m2nmp8P5in.
[44]
B. Taskin, W. Xie, and T. Lazebnik, “Knowledge integration for physics-informed symbolic regression using pre-trained large language models,” Scientific Reports, 2026.
[45]
A. Shmuel, N. Koren, O. Glickman, and T. Lazebnik, “Interpretable knowledge distillation via symbolic regression for feedforward neural networks,” Neural Computing and Applications, vol. 38, no. 7, p. 243, 2026.
[46]
X. Zhang, L. Xu, J. Lu, Z. Zhang, and L. Shen, “Physics-knowledge-integrated neural network for quantum transport prediction of field-effect transistors,” Physical Review Applied, vol. 23, no. 3, p. 034066, 2025.
[47]
S.-M. Udrescu and M. Tegmark, “AI feynman: A physics-inspired method for symbolic regression,” Science advances, vol. 6, no. 16, p. eaay2631, 2020.
[48]
J. Kubalı́k, E. Derner, and R. Babuška, “Multi-objective symbolic regression for physics-aware dynamic modeling,” Expert Systems with Applications, vol. 182, p. 115210, 2021.
[49]
Q. Lu, J. Ren, and Z. Wang, “Using genetic programming with prior formula knowledge to solve symbolic regression problem,” Computational intelligence and neuroscience, vol. 2016, no. 1, p. 1021378, 2016.
[50]
G. Kronberger, F. O. de França, B. Burlacu, C. Haider, and M. Kommenda, “Shape-constrained symbolic regression—improving extrapolation with prior knowledge,” Evolutionary computation, vol. 30, no. 1, pp. 75–98, 2022.
[51]
C. Fox, N. D. Tran, F. N. Nacion, S. Sharlin, and T. R. Josephson, “Incorporating background knowledge in symbolic regression using a computer algebra system,” Machine Learning: Science and Technology, vol. 5, no. 2, p. 025057, 2024.
[52]
L. Kammerer, G. Kronberger, B. Burlacu, S. M. Winkler, M. Kommenda, and M. Affenzeller, “Symbolic regression by exhaustive search: Reducing the search space using syntactical constraints and efficient semantic structure deduplication,” in Genetic programming theory and practice XVII, Springer, 2020, pp. 79–99.
[53]
F. A. Rihan et al., “Delay differential equations and applications to biology,” 2021.
[54]
M. Ilea, M. Turnea, and M. Rotariu, “Ordinary differential equations with applications in molecular biology,” The Medical-Surgical Journal, vol. 116, no. 1, pp. 347–352, 2012.
[55]
P. Gennemark and D. Wedelin, “Efficient algorithms for ordinary differential equation model identification of biological systems,” IET Systems Biology, vol. 1, no. 2, pp. 120–129, 2007.
[56]
X. Wu, M. McDermott, and A. L. MacLean, “Data-driven model discovery and model selection for noisy biological systems,” PLOS Computational Biology, vol. 21, no. 1, p. e1012762, 2025, doi: 10.1371/journal.pcbi.1012762.
[57]
K. Egan, W. Li, and R. Carvalho, “Automatically discovering ordinary differential equations from data with sparse regression,” Communications Physics, vol. 7, p. 20, 2024, doi: 10.1038/s42005-023-01516-2.
[58]
Y.-X. Jiang, X. Xiong, S. Zhang, J.-X. Wang, J.-C. Li, and L. Du, “Modeling and prediction of the transmission dynamics of COVID-19 based on the SINDy-LM method,” Nonlinear Dynamics, vol. 105, no. 3, pp. 2775–2794, 2021.
[59]
S. L. Brunton, J. L. Proctor, and J. N. Kutz, “Discovering governing equations from data by sparse identification of nonlinear dynamical systems,” Proceedings of the national academy of sciences, vol. 113, no. 15, pp. 3932–3937, 2016.
[60]
R. N. Gutenkunst, J. J. Waterfall, F. P. Casey, K. S. Brown, C. R. Myers, and J. P. Sethna, “Universally sloppy parameter sensitivities in systems biology models,” PLOS Computational Biology, vol. 3, no. 10, p. e189, 2007, doi: 10.1371/journal.pcbi.0030189.
[61]
A. Raue et al., “Structural and practical identifiability analysis of partially observed dynamical models by exploiting the profile likelihood,” Bioinformatics, vol. 25, no. 15, pp. 1923–1929, 2009, doi: 10.1093/bioinformatics/btp358.
[62]
K. Champion, B. Lusch, J. N. Kutz, and S. L. Brunton, “Data-driven discovery of coordinates and governing equations,” Proceedings of the National Academy of Sciences, vol. 116, no. 45, pp. 22445–22451, 2019, doi: 10.1073/pnas.1906995116.
[63]
C. Rackauckas et al., “Universal differential equations for scientific machine learning,” arXiv preprint arXiv:2001.04385, 2020, [Online]. Available: https://arxiv.org/abs/2001.04385.