Manuscript Offprint
arXiv:2608.27869See, Hypothesize, Validate: Multimodal Agentic Framework for Discovering Governing PDEs
Sarang Manoj Pekhale
Department of Applied Mechanics
Indian Institute of Technology Delhi, India
Rajat Sarkar
Department of Applied Mechanics
Indian Institute of Technology Delhi, India
TCS Research, India
Amartya Roy
The School of Interdisciplinary Research
Indian Institute of Technology Delhi, India
Robert Bosch GmbH, India
Souvik Chakraborty
Department of Applied Mechanics
Indian Institute of Technology Delhi, India
Yardi School of Artificial Intelligence (ScAI)
Indian Institute of Technology Delhi, India
ABSTRACT
Discovering governing partial differential equations (PDEs) from observational data remains a core challenge across the sciences. Existing sparse-regression, symbolic-regression, and LLM-based approaches can be constrained by predefined libraries, noise sensitivity, hallucination, or limited iterative refinement. We introduce MAGE (Multimodal Agentic Governing Equation Discovery), an agentic framework that organizes PDE discovery as a confidence governed hypothesis validation loop inspired by the scientific cycle of observation, hypothesis, and falsification. Four role-specialized agents collaborate: a Differential Observer computing derivatives and diagnostic visualizations; a VLM-powered Phenomenology Extractor distilling qualitative cues from multimodal diagnostics; an LLM-driven Governing Law Synthesizer proposing candidates without a predefined library; and an Equation Arbiter fitting coefficients and assigning confidence scores. Discovery iterates until the top candidate clears a user-specified threshold, providing a structured process with an explicit accept-reject protocol. On the evaluated canonical PDE suite, MAGE obtains 8/8 exact structural recovery and the lowest coefficient error among the compared methods on 7/8 systems, with improvements of up to 4 orders of magnitude and a geometric-mean improvement of approximately 3 orders of magnitude. The pipeline also recovers the expected operators in two complex geometries and, on one laboratory sensor record, selects a cubic restoring-force model with held-out . These results support further study of structured agentic reasoning for library-free governing-law discovery, while broader generalization remains to be evaluated.
Keywords Governing equation discovery · LLM agents · Multimodal reasoning · Vision-language models · Partial differential equations · Scientific machine learning.
1 Introduction
When a scientist encounters an unknown physical system, discovery often begins with observation: reading contour fields, interpreting spectral signatures, and tracing how disturbances propagate across space and time. These qualitative patterns can inform first-principles reasoning about governing partial differential equations (PDEs), but the process remains slow and expert dependent. Many complex systems across neuroscience, materials science, chemistry, and biology generate
Equal contribution
Pekhale et al.
rich observational data without a settled governing PDE. Recent advances in machine learning offer tools for extracting physical patterns from measurements and imagery and for assisting parts of the observation-to-hypothesis cycle.
Existing data driven equation discovery frameworks broadly fall into four categories: library based methods, symbolic regression, LLM based generation, and, more recently, agentic frameworks. As detailed in Related Work, each is constrained in a distinct way: fixed candidate libraries, combinatorial search over open form expressions, hallucination and prompt sensitivity, or reliance on a single general purpose model without task specialization [1–4].
Despite differences in implementation, these paradigms often emphasize a direct mapping from data to equations, with less explicit support for iterative interaction with observational evidence. We instead consider a cycle of pattern extraction, hypothesis formation, quantitative validation, and refinement. To this end, we propose MAGE, a multimodal agentic framework that operationalizes PDE discovery as a confidence governed hypothesis validation loop of four role specialized agents (Section 3), inspired by the scientific cycle of observation, hypothesis, and falsification. Discovery iterates until the top ranked candidate exceeds a user specified confidence threshold. Although the underlying LLMs and VLMs can hallucinate in isolation, conditioning successive stages on multimodal evidence and numerical feedback is intended to reduce, rather than eliminate, physically inconsistent candidates without a predefined symbolic library.
Our contributions are as follows.
• A latent variable view of agentic discovery. We cast PDE discovery as inference over a hierarchy of intermediate latent states, namely numerical diagnostics, semantic physical abstractions, a slate of candidate equations, and validation metrics. This factorization (Section 3.2) assigns each conditional factor to one role specialized agent, replacing a single broad combinatorial search with a sequence of smaller conditioned reasoning steps.
• Visual evidence as an explicit conditioning signal. Prior LLM based discovery methods condition on numerical arrays, symbol libraries, or program templates. MAGE instead renders contour, gradient, and spectral diagnostics and uses a VLM to extract qualitative regime descriptors such as advection dominance, diffusive smoothing, and nonlinear transport, which then constrain how candidate equations are proposed.
• An explicit accept reject protocol. Candidates are instantiated as executable validation programs and scored numerically against the observed data. The entire slate is rejected and regenerated when confidence falls below a user specified threshold, giving discovery a stopping criterion tied to numerical evidence rather than a fixed iteration budget.
• Evaluation across canonical, geometric, and experimental regimes. We evaluate on a canonical PDE suite, on two complex geometries, and on a laboratory sensor record. MAGE recovers exact structure on 8/8 canonical systems and attains the lowest coefficient error on 7/8, improving on the compared methods by up to four orders of magnitude.
Library Based Approaches. These methods formulate PDE discovery as sparse regression over a predefined library of candidate terms, from the seminal SINDy framework [1] to extensions improving robustness via sequential thresholding [5–7], weak-form formulations that avoid explicit differentiation [8, 9], automatic-differentiation based neural approaches [10, 11], and Bayesian uncertainty aware sparsity [12]. Their expressivity nevertheless depends on which terms are included in the predefined function space.
Symbolic Regression Methods. These methods reduce fixed-library constraints by searching over mathematical expressions. Early genetic programming approaches [2, 13, 14] evolve candidates via mutation and recombination, which can make search computationally expensive as expression complexity grows. Reinforcement learning based methods instead learn policies over expression construction for greater efficiency [15], while grammar and structure constrained models stabilize search in PDE discovery settings [16]. Symbolic regression can nevertheless remain sensitive to noise and face a rapidly growing search space in multivariate systems.
LLM Based Approaches. Recent methods leverage pretrained language models as priors over mathematical structures: LLM4ED generates candidates from symbol libraries with iterative refinement [3], LLM-SR embeds generation within programmatic templates optimized via evolutionary search [17], LLM4PD decomposes term selection and coefficient fitting via hierarchical prompting [18], and EqGPT shows lightweight models trained on curated PDE corpora can generate candidates without large foundation models [19]. Their outputs can still depend on prompting and on the implicit or explicit symbolic vocabulary available to the model.
Pekhale et al.
Agentic Frameworks. These approaches incorporate iterative reasoning and tool use into equation discovery pipelines: SR-Scientist equips a single LLM with code execution tools to iteratively propose and refine equations [4, 20, 21], while KeplerAgent leverages physics informed priors such as symmetries and conservation laws [22]. Existing demonstrations are promising, but many use a single general purpose model and have so far been evaluated mainly on algebraic or low dimensional forms rather than a broad range of complex spatiotemporal PDEs.
3 Methodology
3.1 Problem Formulation
Given field observations of an unknown field , where denotes the sensor locations and, when applicable, the temporal sampling instants at which measurements are acquired, and is the observed field response, the PDE discovery task seeks an explicit governing law of the form
parameterized by coefficients and expressed in terms of the field and its partial derivatives (spatial and temporal). We consider both time dependent and time independent systems within a single formulation. Since is drawn from a combinatorial hypothesis space and is unknown, discovery is naturally posed as a maximum likelihood estimation problem:
Direct optimization over H is computationally intractable due to the combinatorial growth of candidate operators and the continuous optimization over coefficient space. The core challenge lies in resolving this coupled symbolic parametric inference problem under combinatorial complexity while retaining sufficient expressivity to recover the underlying governing law.
3.2 Agentic Latent Variable Decomposition
To resolve the combinatorial reasoning bottleneck in Eq. (2), we reformulate PDE discovery as a structured latent variable inference problem. Rather than directly optimizing over the joint symbolic parametric space ( ), we introduce a hierarchy of intermediate latent variables that progressively transform raw field observations into validated governing law hypothesis. Specifically, we define as numerical diagnostic features extracted from the observed field, including differential signatures, spectral characteristics, and geometric contours; as semantic physical abstractions inferred from these diagnostics (e.g., advection dominance, diffusive smoothing, nonlinear transport); as a slate of candidate governing equations; as executable validation programs instantiated for each candidate; and as the resulting evaluation metrics quantifying numerical consistency with the observed data. Formally, we factorize the posterior over governing laws as:
(3)
Pekhale et al.

Figure 1: MAGE Framework. Four specialized agents communicate via a Shared Chat Memory. Agent 1 computes gradients and spectral features from raw data. Agent 2 uses a VLM to identify dominant physical regimes and outputs a JSON evidence report. Agent 3 conditions an LLM on this evidence to propose candidate PDEs . Agent 4 evaluates candidates symbolically; if confidence the top equation is returned, otherwise the loop restarts from Agent 1 for up to three iterations.
where marginalization is performed over all intermediate latent states. This factorization organizes symbolic regression into sequential conditional inference stages, each conditioned on upstream evidence. In practice, this recasts a broad combinatorial search as a structured sequence of smaller reasoning tasks.
We operationalize this decomposition through MAGE, an agentic hypothesis validation loop that mirrors the scientific cycle of observation, abstraction, hypothesis generation, and falsification (Fig. 1). Each factor in Eq. (3) is instantiated by a role specialized agent with a fixed input output contract and deterministic routing rules: the Differential Observer (Agent 1) extracts diagnostics from raw measurements, the Phenomenology Extractor (Agent 2) maps these into semantic physical priors, the Governing Law Synthesizer (Agent 3) proposes candidate PDEs conditioned on both, and the Equation Arbiter (Agent 4) generates validation routines and numerically adjudicates consistency (each detailed in Agent Realization below). A candidate is accepted only if it satisfies numerical validation criteria; otherwise the entire hypothesis slate is rejected and a new inference round begins. This confidence governed rejection is designed to reduce spurious structures through downstream numerical verification. The decomposition offers three practical advantages: it stages the symbolic search, enables reasoning strategies tailored to each subtask, and exposes intermediate states that make the derivation of a selected equation more inspectable.
3.3 Agent Realization
We now detail the computational realization of the latent inference stages in Eq. (3). Each stage is instantiated as a task specific agent with a structured input output interface and domain specific execution tools. Agents operate sequentially under delayed terminal feedback, where numerical validation is performed only after complete candidate synthesis and the resulting reward signal is propagated backward to guide iterative refinement.
Agent 1: Differential Observer. The Differential Observer instantiates the inference term as a deterministic, code backed transformation , which maps raw field measurements and coordinate metadata into diagnostic numerical features. Its probabilistic realization is therefore a point mass,
where denotes the Dirac delta and .
Holding this transformation deterministic removes one source of run-to-run variability, although it does not remove derivative-estimation error in noisy observations. For time dependent fields, the Observer produces eight diagnostics: contour , derivatives and , power spectra , extrema trajectories from zero crossings of , the dispersion spectrum , spectral energy evolution , and spectral entropy. For time independent fields, output adapts to sampling topology: 2D point clouds yield scatter, contour, and triangulated surface plots, while 3D fields use orthogonal projections (refer to Appendix). This separation supplies a common numerical evidence layer for downstream reasoning.
Pekhale et al.
3.3.1 Wavelet Denoising
The Differential Observer (Agent 1) uses the following noise injection and denoising procedure before constructing derivative and visual evidence from structured grid data.
For a clean structured field u and a requested noise level percent, the loader forms
where is the empirical standard deviation of the field. For complex-valued fields, the real and imaginary components are perturbed independently using their own empirical standard deviations:
For structured two-dimensional grids, the noisy field is then denoised by a two-dimensional discrete wavelet transform using the sym8 wavelet [23]. The decomposition level is
where is the maximum level allowed by the smaller grid dimension. Let
be the 2D wavelet coefficients, where is the approximation block and are horizontal, vertical, and diagonal detail blocks. The noise standard deviation is estimated from the finest diagonal detail coefficients by the median absolute deviation estimator
For each detail block , BayesShrink [24] estimates the signal standard deviation as
and uses the threshold
The detail coefficients are soft-thresholded [25],
and the denoised field is reconstructed by the inverse wavelet transform:
(13)
For complex fields, this denoising is applied separately to and and the complex field is reconstructed afterward. For unstructured point clouds and masked three-dimensional grids, noise is added but wavelet denoising is skipped because the wavelet basis assumes a structured rectangular grid.
Agent 2: Phenomenology Extractor. The Phenomenology Extractor instantiates using a vision language model (VLM) [26] that maps diagnostic visual evidence and metadata from Agent 1 into structured physical regime descriptors , realized as for fixed prompt template . This variational distribution acts as a data driven filter that concentrates probability mass on mechanistically plausible operator classes. The Extractor is prohibited from naming PDEs or generating symbolic expressions, enforced via a fixed JSON schema restricting output to structured evidence fields: variable identities, data geometry, panel level visual characteristics, transport and motion cues, structural signatures, candidate physical mechanisms (transport, dispersion, diffusion like smoothing, source sink behavior, variable coefficient effects, instability growth), and coefficient variation patterns.
Pekhale et al.
Agent 3: Governing Law Synthesizer. The Governing Law Synthesizer instantiates the conditional inference term as a large language model (LLM) that generates a slate of candidate governing equations. We define , where each is a symbolic hypothesis. Its variational realization is
where denotes a numerical subsample of the data, is the prompting template, and provides structured semantic conditioning that biases generation toward mechanistically plausible operator families. Unlike sparse regression pipelines that select terms from a predefined dictionary, the Synthesizer generates symbolic hypotheses de novo. No fixed candidate library is assumed at any stage, allowing the search to consider operator compositions and variable coefficient structures proposed by the model. Each candidate is emitted in the constrained symbolic schema
{EQ_ID, TARGET_TERM, FEATURE_TERMS, CANONICAL_PDE},
where the target term carries an implicit unit coefficient and feature terms encode differential operators, polynomial nonlinearities (e.g., , ), and, when supported by upstream evidence, coordinate dependent coefficients such as . Coefficient estimation is explicitly deferred to the Equation Arbiter.
At each iteration, the Synthesizer emits exactly ten structurally distinct candidates. To reduce premature mode collapse, no more than two may refine the previously best hypothesis, while at least four must originate from materially different structural families; this diversity constraint retains unresolved alternatives for downstream arbitration. The resulting is a mechanistically conditioned, library free hypothesis frontier structured for numerical falsification.
Agent 4: Equation Arbiter. The Equation Arbiter instantiates the terminal validation stage of Eq. (3). For each candidate and prompt template , Agent 4 (LLM) generates validation code , which estimates coefficients and residual loss,
inducing likelihood . Candidates are evaluated exactly as proposed using -normalized ordinary least squares on a deterministic 80/20 train test split, with weak form derivative estimation throughout for numerical stability (refer to Appendix). To balance fidelity and parsimony, candidate is scored by
and ranked accordingly. The top candidate is assigned confidence
Acceptance requires ; otherwise, the slate is rejected and terminal reward is propagated backward for regeneration. This falsification step provides a practical safeguard against accepting weakly supported candidates.
3.3.2 Weak-Form Formulation
Agent 4 validates each candidate PDE by converting its target term and feature terms into weak-form support integrals. For a structured grid with independent coordinates , each support is centered at and uses normalized local coordinates
where is the grid spacing and is the chosen half-width in grid cells. The compact one-dimensional test function is
and the multidimensional test function is separable:
Pekhale et al.
Derivatives of are computed analytically from the polynomial coefficients, not by finite differences.
For a derivative term with multi-index and , integration by parts gives the weak contribution used in the regression row:
(21)
The factor is the integration-by-parts sign, and combines the physical-coordinate Jacobian with the derivative scaling. The integral in Eq. (21) is evaluated by trapezoidal quadrature over the normalized support grid. If the data contain masked or invalid values (NaN), a support is used only when the integration stencil remains on valid finite data; the validator is instructed not to integrate across masked regions.
For candidate , let be its target term and be its feature terms. Each valid compact support produces one row of the regression system
(22)
so that the fitted equation is obtained from
The same valid support-row intersection and the same deterministic 80/20 train-test split are reused for all candidates. Columns of are normalized by their training-set norms; least squares is solved on the normalized system, and the coefficients are then rescaled back to physical units. If , , or is complex-valued, the same construction is carried out in complex arithmetic. Candidate ranking is based on held-out residual quality with a sparsity penalty, so the accepted equation must both predict unseen weak-form rows and remain parsimonious.
For unstructured point-cloud data, Agent 4 does not use the compact weak-form grid integral. Instead, it uses local weighted polynomial least squares over k nearest neighbors. If the polynomial degree is p in dimension d, the local monomial count is
and the neighborhood size is chosen with . Requested derivatives are read analytically from the fitted local polynomial coefficients as times the coefficient of the corresponding centered monomial.
3.4 Autonomous Hypothesis Validation Loop
The four agents operate within a closed loop refinement process driven by validation feedback from the Equation Arbiter. Following arbitration, the system selects one of three deterministic actions,
according to the confidence score returned by the Equation Arbiter. When validation fails, control first enters an inner refinement loop that routes feedback directly to the Governing Law Synthesizer. The rejected slate, associated validation scores, and validator diagnostics are appended to the interaction history, which condition the next proposal round as,
This feedback can steer generation away from previously rejected structural families while preserving diversity constraints. Validator runtime failures trigger code regeneration without altering the candidate slate. If refinement exhausts its budget, control enters an outer restart loop that re-invokes the Phenomenology Extractor to refresh the semantic prior, followed by a new synthesis round. The highest scoring candidate discovered so far is retained across restarts. Together, these nested loops implement an iterative falsification driven refinement process that encourages later proposals to be more mechanically plausible and numerically consistent. Unlike a static single-pass pipeline, symbolic generation remains conditioned on numerical validation feedback until acceptance or budget exhaustion.
Pekhale et al.
4 Results and Discussion

Figure 2: End to end flow of the multimodal agentic framework MAGE on the NLS benchmark. The user/system controller routes artifacts between specialized agents: diagnostic visual evidence from Agent 1, a JSON evidence file from Agent 2, candidate equations from Agent 3, and executable validation from Agent 4. Detailed prompts and intermediate outputs are provided; refer to Appendix.
Figure 2 illustrates this end to end observation hypothesis verification loop, where diagnostic features are extracted, physical regimes inferred, candidate equations synthesized, and numerical validation determines acceptance or rejection. The experiments below examine this workflow on canonical PDE benchmarks, two complex geometries, additive-noise perturbations, and a laboratory sensor record, together with targeted component ablations.
4.1 Canonical PDE Benchmark Suite
Table 1 combines aggregate performance with per-equation results across the evaluated canonical PDEs [5, 19]. It reports two complementary dimensions: (i) symbolic structure recovery, measured through exact recovery, structural failure, missing terms (MT), and extra terms (ET), and (ii) coefficient estimation accuracy, measured through normalized RMS coefficient error. All library based baselines are evaluated using a unified candidate library containing all ground truth terms, ensuring comparison within a shared hypothesis space.
Classical sparse regression methods (PF [5], SGA [27], WS [8], WI [28]) achieve 14.3–42.9% exact recovery in this comparison, with coefficient instability and structural failures in several nonlinear and dispersive cases; the tested physics informed and hybrid approaches (PSR [29], PR [30]) recover no exact structure here. Because the compared library based methods have access to all ground truth terms, these failures suggest that composition and estimation within the shared symbolic space remain difficult on this suite.
Pekhale et al.
| Aggregate summary | PF | SGA | WS | WI | PSR | PR | L4E | EG | MAGE | |
|---|---|---|---|---|---|---|---|---|---|---|
| Exact (‰) | 42.9 | 14.3 | 28.6 | 42.9 | 0.0 | 0.0 | 85.7 | 71.4 | 100.0 | |
| Fail (‰) | 57.1 | 85.7 | 71.4 | 57.1 | 100.0 | 100.0 | 14.3 | 28.6 | 0.0 | |
| 5.04e-2 | 4.70e-2 | 2.18e-2 | 8.90e-4 | 2.49e2 | 4.49e4 | 3.13e-2 | 6.93e-2 | 7.96e-7 | ||
| Characteristic | Spur. | High- | Unstable | Sensitive | Severe | Failed | Strong | Moderate | Best tested | |
| Per-equation results | Method | |||||||||
| Equation | Metric | PF | SGA | WS | WI | PSR | PR | L4E | EG | MAGE |
| NLS | 1.79e-4 | 1.12 | 0.788 | 1.205 | 8.10e-5 | |||||
| MT | 0 | 0 | 0 | 2 | 0 | 0 | 1 | 3 | 0 | |
| ET | 11 | 5 | 0 | 1 | 2 | 2 | 1 | 3 | 0 | |
| PDE-Divide | 1 | 2.303 | 1.24e4 | 9.09e5 | 9.31e-2 | 4.29e-2 | 2.36e-4 | |||
| MT | 0 | 0 | 2 | 2 | 1 | 2 | 0 | 0 | 0 | |
| ET | 17 | 21 | 0 | 1 | 20 | 4 | 0 | 0 | 0 | |
| KdV | 9.65e-4 | 1.76 | 1.49e-3 | 6.76e4 | 5.51e5 | 2.94e-3 | 1.75 | 4.93e-6 | ||
| MT | 0 | 0 | 1 | 0 | 0 | 2 | 0 | 2 | 0 | |
| ET | 0 | 3 | 7 | 0 | 25 | 12 | 0 | 3 | 0 | |
| KS | 6.66e-3 | 0.600314 | 1.49e1 | 4.90e6 | 2.61e-1 | 9.94e-1 | 1.73e-6 | |||
| MT | 0 | 0 | 0 | 1 | 3 | 3 | 0 | 2 | 0 | |
| ET | 0 | 1 | 1 | 0 | 20 | 10 | 0 | 3 | 0 | |
| Allen-Cahn | 6.23e-1 | 6.59e2 | 2.23e6 | 1.02e-3 | 2.48e-3 | 7.07e-7 | ||||
| MT | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | |
| ET | 1 | 2 | 0 | 2 | 5 | 11 | 0 | 0 | 0 | |
| Burgers | 1.52e-1 | 1.01e-3 | 1.06e-3 | 1.06e-3 | 1.50e3 | 1.42e6 | 2.59e-3 | 2.90e-3 | 8.02e-6 | |
| MT | 1 | 0 | 0 | 0 | 2 | 2 | 0 | 0 | 0 | |
| ET | 0 | 0 | 0 | 0 | 16 | 20 | 0 | 0 | 0 | |
| Conv.-Diffusion | 5.22e-4 | 1 | 0 | 3.54e2 | 1.67 | 1.82e-2 | 5.76e-2 | 1.75e-4 | ||
| MT | 0 | 0 | 2 | 0 | 1 | 2 | 0 | 0 | 0 | |
| ET | 0 | 2 | 0 | 0 | 18 | 1 | 0 | 0 | 0 | |
| Wave | 1.40e-3 | 1.95e-4 | 1.88e-4 | 9.09e6 | 1.42e-2 | 0 | ||||
| MT | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | |
| ET | 3 | 0 | 0 | 0 | 22 | 14 | 1 | 0 | 0 | |
Color key: spurious discovered structure (MT=0, ET>0)
structurally incorrect recovery (MT>0)
MAGE results
Table 1: Aggregate and per-equation quantitative comparison on the canonical PDE benchmarks. is the geometric mean of the eight displayed per-equation normalized RMS coefficient errors , including errors for structurally incorrect recoveries; exact zeros are replaced by for logarithmic averaging. MT and ET denote missing and extra term counts. Lower is better for all three error metrics, and bold indicates the best value in each row. PF: PDE-FIND; WS: W-SINDy; WI: Weak-Ident; PSR: PINN-SR; PR: PDE-READ; L4E: LLM4ED; EG: EqGPT.
Pekhale et al.
LLM based methods (L4E [3], EG [19]) improve structural recovery in this comparison, reaching 85.7% and 71.4% exact recovery, respectively, though residual coefficient errors remain in stiff and coupled cases. MAGE obtains 100.0% exact recovery with zero structural failures and approximately 3 orders of magnitude lower geometric-mean coefficient error on the evaluated suite. Beyond exact structural accuracy, MAGE delivers the strongest coefficient fidelity on seven of eight equations, often by substantial margins. The gains are particularly pronounced on structurally challenging systems such as KS, Allen–Cahn, and PDE-Divide, where MAGE reduces coefficient error by multiple orders of magnitude relative to the strongest competing method. The baseline failure modes are less evident in these runs, which is consistent with, but does not by itself isolate, the contribution of closed loop falsification driven refinement.
4.2 Experimental Sensor Data
The experimental case in the main paper uses the Silverbox dataset, a measured input–output record from an analog electronic circuit designed to approximate a nonlinear mechanical resonator. The acquisition and signal-generation cards were clock-synchronized, and both channels were sampled at 610.35 Hz [31]. In the dataset’s idealized physical description, the response y satisfies
so the position-dependent stiffness produces both y and restoring terms. The source also notes that the electronic circuit is close to, but not exactly equal to, this idealization. The dataset therefore tests recovery from experimental measurements with model mismatch rather than from data generated exactly by the target equation.
The official archive identifies V1 as the applied input and V2 as the measured output, and includes an additional Schroeder-phase multisine record [32]. We use that release’s Schroeder80mV record and map its channels to the main paper’s notation as and . Table 2 records the exact project-specific temporal split.
| Partition | Samples | Time (s) | Role |
|---|---|---|---|
| Estimation | 10,400 | 0.139–17.177 | Fit coefficients |
| Held-out | 120,587 | 17.179–214.747 | Rank and evaluate |
Table 2: Temporal partition of the Schroeder80mV experimental record.
Second-order finite-difference derivatives are computed separately within the two partitions so that no derivative stencil crosses the temporal boundary. Candidate coefficients are estimated only on the estimation partition using column-normalized ordinary least squares, and fitted equations are evaluated on the held-out partition without coefficient refitting. Because the same held-out partition is also used to rank candidate structures, it is a holdout for coefficient estimation but not a fully untouched final test record. This distinction scopes the experimental result and motivates future validation on an additional independent record or operating regime.
Ranking by held-out error selects the cubic model
with , NRMSE = 0.12090, and confidence = 87.91%. The closest linear alternative, , yields NRMSE = 0.12684 and confidence = 87.32%. Although the sparsity-weighted reward favors the simpler linear form, the held-out error ranking retains the cubic term. The small metric gap cautions against a broad robustness claim, but recovery of the expected nonlinearity and coefficient signs provides initial evidence that the workflow can remain useful on noisy sensor observations outside the canonical PDE suite.
4.3 Complex Geometric Domains
Several compared sparse regression and neural surrogate methods (PDE-FIND [5], SGA [27], W-SINDy [8], Weak-Ident [28], PINN-SR [29], PDE-READ [30]) are commonly formulated as ; when , that formulation has a degenerate temporal target and requires reformulation for steady-state discovery. MAGE instead operates directly on spatial contour observations. On a 2D plate and a 3D space shuttle [19] (Fig. 3), it recovers the Laplacian support with zero missing or spurious terms and low single digit coefficient error. These two cases suggest that the framework can identify steady elliptic structure from spatial observations, but they do not cover the broader range of elliptic operators or geometries.
Pekhale et al.

Figure 3: PDE discovery in complex geometries.
| Equation | Coefficient error | Structural error (MT+ET) | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 0% | 1% | 2% | 5% | 10% | 15% | 0% | 1% | 2% | 5% | 10% | 15% | |
| NLS | 8.10e-5 | 1.2e-4 | 2.4e-4 | 1.21e-3 | 3.63e-3 | 6.34e-1 | 0 | 0 | 0 | 0 | 0 | 0 |
| PDE-Divide | 2.36e-4 | 1.71e-2 | 2.96e0 | 3.10e0 | 3.09e0 | 3.34e0 | 0 | 0 | 3 | 3 | 5 | 5 |
| KdV | 4.93e-6 | 1.0e-4 | 7.5e-4 | 7.95e-3 | 3.28e-2 | 1.44e-1 | 0 | 0 | 0 | 0 | 0 | 0 |
| KS | 1.73e-6 | 9.1e-4 | 1.75e-3 | 5.12e-3 | 1.79e-3 | 2.16e-1 | 0 | 0 | 0 | 0 | 1 | 0 |
| Burgers | 8.0e-6 | 1.46e-3 | 3.31e-3 | 1.15e-3 | 2.88e-2 | 1.35e-2 | 0 | 0 | 0 | 1 | 0 | 1 |
| Allen-Cahn | 7.07e-7 | 1.11e-3 | 2.20e-3 | 4.01e-3 | 5.84e-3 | 1.24e-2 | 0 | 0 | 0 | 0 | 0 | 0 |
| Wave | 0 | 0 | 3e-6 | 1.01e-2 | 2.07e-2 | 2.69e-2 | 0 | 0 | 0 | 0 | 0 | 2 |
| Conv.-Diff. | 1.75e-4 | 3.43e-3 | 4.56e-3 | 5.94e-2 | 2.63e-2 | 3.43e-1 | 0 | 0 | 0 | 1 | 1 | 3 |
Coefficient-error scale: ■ < 10 ■ 10–10 ■ 10–10 ■ 10–10 ■ ≥ 10
Structural error: ■ 0 ■ ≥ 1
Table 3: Noise robustness under additive Gaussian perturbations. Each cell reports the measured value, while the background encodes its severity tier. The left block gives coefficient error on a logarithmic scale; the right block gives structural error (MT+ET), which remains zero through 1% noise for all equations, with the first failure appearing for PDE-Divide at 2%.
4.4 Noise Robustness
Table 3 evaluates MAGE under increasing additive Gaussian noise, jointly tracking coefficient stability and structural recovery. Coefficient error generally increases with noise and remains comparatively small through 5–10% noise for several smooth transport/diffusion equations (KdV, Burgers, Allen-Cahn), while PDE-Divide and Conv.-Diff. degrade earlier, consistent with greater derivative-estimation sensitivity. Structural error remains zero in most tested cases until higher noise levels. This separation suggests that the validation loop can preserve structure after coefficient estimates begin to degrade, although the results are specific to the tested equations, noise model, and derivative estimator.
4.5 LLM/VLM Sensitivity Study
We evaluate sensitivity to foundation model choice by varying the VLM (Phenomenology Extractor) and LLM (Governing Law Synthesizer) on the NLS case. Table 4 summarizes the results, with full cue level rankings in the Appendix. Multiple tested backbones recover the target structure: KIMI-K2.5 [33] yields the strongest VLM score (4.8/5), while GLM-5.1 [34] gives the most reliable rank-1 recovery and highest true-term recall. This reduces concern that the reported NLS result depends on one backbone, but it does not establish model independence across other PDE families.
4.6 Ablation Study
We conduct two targeted ablations on the KS benchmark to isolate the contribution of semantic and visual evidence within the pipeline: removing the Phenomenology Extractor (Agent 2) entirely, and removing individual diagnostic panels supplied by the Differential Observer (Agent 1).
Pekhale et al.
| Axis | Best setting | Portability | Limit |
|---|---|---|---|
| VLM | KIMI-K2.5 gives the top NLS evidence score (4.8/5). | Gemma-4-31B [35] scores 4.7/5; Qwen-122B/397B [36] are competitive. | Near/sub-12B VLMs add shock, transport, or potential cues in this test. |
| LLM | GLM-5.1: rank-1 exact NLS, broadest true-term recall (9/10). | 6/8 tested LLMs recover exact NLS at rank 1. | Weaker or smaller LLMs need extra iterations or produce cluttered candidate pools here. |
| Pipeline | KIMI-K2.5 VLM + GLM-5.1 LLM is the cleanest tested pair. | Several mid/large alternatives also succeed with Agent 4 filtering. | Evidence for sub-12B backends is limited to easier tested cases. |
Table 4: LLM/VLM sensitivity analysis on the NLS benchmark: best observed configurations, portability ranges, and practical limits for the VLM and LLM components. Full cue-level rankings refer Appendix.
4.6.1 Effect of Agent 2
This ablation tests whether explicit physical interpretation, instantiated by the Phenomenology Extractor (Agent 2), contributes to recovery on the KS case. Removing this component reduces the pipeline to a data driven functional search without the structured physical abstraction stage. As shown in Table 5, the tested configuration then degrades in both structural recovery and coefficient accuracy and does not reach the acceptance threshold. The result supports a contribution from intermediate physical abstraction on KS; broader claims about its necessity require ablations across more equations and random seeds (refer to Appendix).
| Configuration | Best selected PDE | Reward | NRMSE | Confidence | Final status | |
|---|---|---|---|---|---|---|
| Agent 2 enabled | 1.000000 | 0.856864 | 0.000000 | 99.999977% | SUCCESS | |
| Agent 2 disabled | 0.252858 | 0.230022 | 0.864374 | 13.56% | EXHAUSTED |
Table 5: End-to-end ablation of Agent 2 on the zero noise KS dataset.
4.6.2 Effect of Visual Diagnostic Panels
We also probe the eight-panel diagnostic evidence produced by the Differential Observer (Agent 1) on the KS case through a leave-one-plot-out ablation, removing each diagnostic in turn while retaining the remaining seven. With the full panel, MAGE accepts the correct KS structure in the first outer iteration with 100% confidence; every single-panel removal instead exhausts the inner loop without acceptance. Removing spectral diagnostics is most damaging, lowering confidence to 6.92% ( ) and 7.16% ( ), whereas removing local geometric panels (contour, gradient, or extrema views) degrades confidence to a comparatively milder 20–55% range. This separation suggests that local panels anchor field geometry while spectral panels supply the modal evidence that fixes derivative order, with both contributing to reliable recovery (refer to Appendix).
5 Conclusion
We introduced MAGE, a multimodal agentic framework that reformulates PDE discovery as a confidence driven hypothesis validation loop with explicit separation of perception, physical abstraction, symbolic synthesis, and numerical falsification. On the evaluated cases, MAGE recovers the target structures across the canonical suite, obtains lower aggregate coefficient error than the compared baselines, identifies Laplacian support in two complex geometries, and selects the expected cubic nonlinearity from a laboratory sensor record. The sensitivity and ablation studies further suggest that the workflow can operate with several tested backbones and benefits from intermediate physical abstraction. Together, these findings provide scoped evidence for iterative agentic governing-law discovery rather than a claim of universal generalization.
Limitations While MAGE is motivated by a human cognition inspired decomposition of scientific discovery, it relies entirely on off the shelf pretrained VLM and LLM backbones without task specific fine tuning; incorporating domain adapted models within the agentic loop may improve performance. The Equation Arbiter, which performs coefficient
Pekhale et al.
estimation via executable regression scripts, remains a bottleneck under noisy observations. This is particularly evident for the PDE-divide example because of its dependence on curvature. Moreover, the experimental evaluation covers one sensor record and a single system class; numerical differentiation amplifies measurement noise, and the held-out record participates in candidate ranking. Evaluation across additional instruments, operating regimes, and genuinely untouched test records is therefore needed before drawing broad conclusions about real-world transfer.
References
[1] Steven L Brunton, Joshua L Proctor, and J Nathan Kutz. Discovering governing equations from data by sparse identification of nonlinear dynamical systems. Proceedings of the national academy of sciences, 113(15):3932–3937, 2016.
[2] Michael Schmidt and Hod Lipson. Distilling free-form natural laws from experimental data. Science, 324(5923): 81–85, 2009.
[3] Mengge Du, Yuntian Chen, Zhongzheng Wang, Longfeng Nie, and Dongxiao Zhang. Large language models for automatic equation discovery of nonlinear dynamics. Physics of Fluids, 36(9):097121, 2024.
[4] Shijie Xia, Yuhan Sun, and Pengfei Liu. SR-Scientist: Scientific equation discovery with agentic AI. In International Conference on Learning Representations, 2026.
[5] Samuel H Rudy, Steven L Brunton, Joshua L Proctor, and J Nathan Kutz. Data-driven discovery of partial differential equations. Science advances, 3(4):e1602614, 2017.
[6] Hayden Schaeffer. Learning partial differential equations via data discovery and sparse optimization. Proceedings of the Royal Society A, 473(2197):20160446, 2017.
[7] Urban Fasel, J Nathan Kutz, Bingni W Brunton, and Steven L Brunton. Ensemble-SINDy: Robust sparse model discovery in the low-data, high-noise limit, with active learning and control. Proceedings of the Royal Society A, 478(2260):20210904, 2022.
[8] Daniel A Messenger and David M Bortz. Weak sindy for partial differential equations. Journal of Computational Physics, 443:110525, 2021.
[9] Patrick A K Reinbold, Daniel R Gurevich, and Roman O Grigoriev. Using noisy or incomplete data to discover models of spatiotemporal dynamics. Physical Review E, 101(1):010203(R), 2020.
[10] Maziar Raissi, Paris Perdikaris, and George Em Karniadakis. Physics-informed neural networks: A deep learning framework for solving forward and inverse problems involving nonlinear partial differential equations. Journal of Computational Physics, 378:686–707, 2019.
[11] Gert-Jan Both, Subham Choudhury, Pierre Sens, and Remy Kusters. Deepmod: Deep learning for model discovery in noisy data. Journal of Computational Physics, 428:109985, 2021.
[12] Kalpesh Sanjay More, Tapas Tripura, Rajdip Nayek, and Souvik Chakraborty. A bayesian framework for learning governing partial differential equation from data. Physica D: Nonlinear Phenomena, 456:133927, 2023.
[13] Silviu-Marian Udrescu and Max Tegmark. AI Feynman: A physics-inspired method for symbolic regression. Science Advances, 6(16):eaay2631, 2020.
[14] Miles Cranmer. Interpretable machine learning for science with PySR and SymbolicRegression.jl, 2023.
[15] Brenden K Petersen, Mikel Landajuela, T Nathan Mundhenk, Claudio P Santiago, Soo K Kim, and Joanne T Kim. Deep symbolic regression: Recovering mathematical expressions from data via risk-seeking policy gradients. In International Conference on Learning Representations, 2021.
[16] Mengge Du, Yuntian Chen, and Dongxiao Zhang. Discover: Deep identification of symbolically concise open-form partial differential equations via enhanced reinforcement learning. Physical Review Research, 6(1):013182, 2024.
[17] Parshin Shojaee, Kazem Meidani, Shashank Gupta, Amir Barati Farimani, and Chandan K Reddy. LLM-SR: Scientific equation discovery via programming with large language models. In International Conference on Learning Representations, 2025.
[18] Xiao Luo, Changhu Wang, Yizhou Sun, and Wei Wang. How do large language models perform on PDE discovery: A coarse-to-fine perspective. In Findings of the Association for Computational Linguistics: EMNLP 2025, 2025.
[19] Hao Xu, Yuntian Chen, Rui Cao, Tianning Tang, Mengge Du, Jian Li, Adrian H Callaghan, and Dongxiao Zhang. Generative discovery of partial differential equations by learning from math handbooks. Nature Communications, 16:4551, 2025.
Pekhale et al.
[20] Qingyun Wu, Gagan Bansal, Jieyu Zhang, Yiran Wu, Beibin Li, Erkang Zhu, Li Jiang, Xiaoyun Zhang, Shaokun Zhang, Jiale Liu, Ahmed Hassan Awadallah, Ryen W White, Doug Burger, and Chi Wang. AutoGen: Enabling next-gen LLM applications via multi-agent conversation. In Conference on Language Modeling (COLM), 2024.
[21] Andres M. Bran, Sam Cox, Oliver Schilter, Carlo Baldassari, Andrew D White, and Philippe Schwaller. Augmenting large language models with chemistry tools. Nature Machine Intelligence, 6:525–535, 2024.
[22] Jianke Yang et al. Think like a scientist: Physics-guided LLM agent for equation discovery, 2026.
[23] Ingrid Daubechies. Ten Lectures on Wavelets. CBMS-NSF Regional Conference Series in Applied Mathematics. SIAM, 1992.
[24] S Grace Chang, Bin Yu, and Martin Vetterli. Adaptive wavelet thresholding for image denoising and compression. IEEE Transactions on Image Processing, 9(9):1532–1546, 2000.
[25] David L Donoho and Iain M Johnstone. Adapting to unknown smoothness via wavelet shrinkage. Journal of the American Statistical Association, 90(432):1200–1224, 1995.
[26] Haotian Liu, Chunyuan Li, Qingyang Wu, and Yong Jae Lee. Visual instruction tuning. In Advances in Neural Information Processing Systems, volume 36, 2023.
[27] Yuntian Chen, Yingtao Luo, Qiang Liu, Hao Xu, and Dongxiao Zhang. Symbolic genetic algorithm for discovering open-form partial differential equations (SGA-PDE). Physical Review Research, 4(2):023174, 2022.
[28] Mengyi Tang, Wenjing Liao, Rachel Kuske, and Sung Ha Kang. Weakident: Weak formulation for identifying differential equation using narrow-fit and trimming. Journal of Computational Physics, 483:112069, 2023.
[29] Zhao Chen, Yang Liu, and Hao Sun. Physics-informed learning of governing equations from scarce data. Nature Communications, 12(1):6136, 2021.
[30] Robert Stephany and Christopher Earls. PDE-READ: Human-readable partial differential equation discovery using deep learning. Neural Networks, 154:360–382, 2022.
[31] Torbjörn Wigren and Johan Schoukens. Three free data sets for development and benchmarking in nonlinear system identification. In 2013 European Control Conference (ECC), pages 2933–2938, Zurich, Switzerland, July 2013. doi: 10.23919/ECC.2013.6669201.
[32] Nonlinear Benchmark. Silverbox system. https://sites.google.com/view/nonlinear-benchmark/benchmarks/silverbox, 2026. Accessed July 29, 2026.
[33] Kimi Team. Kimi K2: Open agentic intelligence, 2025.
[34] GLM Team. ChatGLM: A family of large language models from GLM-130B to GLM-4 all tools, 2024.
[35] Gemma Team. Gemma 3 technical report, 2025.
[36] Qwen Team. Qwen3 technical report, 2025.
[37] NVIDIA. Llama-Nemotron: Efficient reasoning models. arXiv preprint arXiv:2505.00949, 2025.
[38] Abdelrahman Abouelenin, Atabak Ashfaq, Adam Atkinson, Hany Awadalla, Nguyen Bach, Jianmin Bao, Alon Benhaim, Martin Cai, Vishrav Chaudhary, Congcong Chen, et al. Phi-4-Mini technical report: Compact yet powerful multimodal language models via mixture-of-loras. arXiv preprint arXiv:2503.01743, 2025.
[39] DeepSeek-AI. DeepSeek-V3 technical report. arXiv preprint arXiv:2412.19437, 2024.
[40] MiniMax. MiniMax-01: Scaling foundation models with lightning attention. arXiv preprint arXiv:2501.08313, 2025.
[41] OpenAI. gpt-oss-120b & gpt-oss-20b model card. arXiv preprint arXiv:2508.10925, 2025.
[42] Binyuan Hui, Jian Yang, Zeyu Cui, Jiaxi Yang, Dayiheng Liu, Lei Zhang, Tianyu Liu, Jiajun Zhang, Bowen Yu, Keming Lu, et al. Qwen2.5-Coder technical report. arXiv preprint arXiv:2409.12186, 2024.
Pekhale et al.
Technical Appendix
A Additional details on MAGE
In this section, we provide additional details on the proposed agentic framework for equation discovery. In particular, we provide a detailed schematic along with working principle within each agent.
A.1 Detailed End-to-End Workflow of MAGE
The workflow provides a complete execution trace of the MAGE pipeline, illustrating how raw observational data are progressively transformed into validated governing equations through a structured four-agent inference loop. Unlike monolithic discovery systems that directly map measurements to symbolic outputs, MAGE explicitly decomposes discovery into sequential stages of observation, phenomenological abstraction, hypothesis generation, and numerical falsification. This decomposition mirrors the scientific reasoning process of measurement, interpretation, conjecture, and experimental validation. The pipeline begins with raw field observations supplied as structured arrays together with coordinate metadata. MAGE supports both time-dependent and time-independent settings, including structured spatiotemporal grids, irregular spatial point clouds, and complex geometric domains. These observations are routed first to the Differential Observer.
Agent 1: Differential Observer. The Differential Observer converts raw measurements into physics-aware diagnostic representations designed to expose latent structural regularities. This stage computes derivative-informed contour maps, spectral decompositions, and geometric summaries using deterministic numerical operators. For time-dependent fields, the observer generates contour visualizations, derivative fields, spectral density maps, and temporal evolution signatures. For static or geometric domains, it produces contour reconstructions, triangulated surfaces, and projection views adapted to the sampling topology. This stage performs no semantic reasoning. Its sole purpose is evidentiary transformation: converting numerical measurements into structured visual diagnostics that make transport patterns, oscillatory modes, smoothness transitions, and symmetry properties directly inspectable. The observer additionally emits metadata describing array dimensions, coordinate ranges, discretization resolution, and numerical operators used during construction. The output of Agent 1 is therefore a multimodal evidence object consisting of visual diagnostics and metadata.
Agent 2: Phenomenology Extractor. The evidence object is passed to a vision-language model tasked with identifying latent physical structure. Rather than directly predicting equations, Agent 2 performs constrained phenomenological abstraction. The system prompt enforces strict reasoning boundaries. The model is prohibited from naming PDEs or writing symbolic expressions. Instead, it must populate a structured JSON schema describing physical cues inferred from the diagnostics. The extracted evidence includes: (a) inferred dependent and independent variables, (b) data geometry and temporal structure, (c) dominant transport orientation, (d) spectral signatures, (e) smooth-versus-sharp transition behavior, (f) oscillatory or dispersive characteristics, (g) candidate mechanism classes (transport, diffusion, dispersion, instability, source-sink effects), (h) possible coefficient variation signatures. Each assertion must be explicitly grounded in specific visual panels or observable features. Ambiguity is preserved through admissible unclear entries rather than hallucinated interpretations. For a representative NLS example, the Extractor identifies nonlinear transport, oscillatory structure, and dispersive wave behavior, producing a JSON evidence file that serves as the semantic prior for symbolic synthesis. This JSON artifact forms the sole interface between perception and symbolic reasoning.
Agent 3: Governing Law Synthesizer. The structured phenomenological evidence is next provided to a large language model specialized for symbolic hypothesis generation. Conditioned on (a) the Agent 2 evidence JSON, (b) a numerical subsample of the raw data, (c) automated synthesis instructions, The Synthesizer proposes a slate of candidate governing equations. Unlike sparse-regression methods, which select terms from a fixed predefined library, the Synthesizer performs unconstrained structural generation. It may propose arbitrary derivative orders, nonlinear interaction terms, mixed operators, or variable-coefficient structures provided they remain consistent with the extracted phenomenology. Each candidate is emitted in structured canonical form specifying, (a) target derivative term, (b) candidate feature terms, (c) symbolic canonical representation. The prompt enforces diversity constraints. Candidate sets must span distinct mechanistic families rather than collapsing around local symbolic variants. In a representative workflow, Agent 3 proposes multiple nonlinear dispersive candidate equations consistent with the VLM evidence. This stage corresponds to scientific hypothesis formation.
Agent 4: Equation Arbiter. The candidate slate is then passed to the Equation Arbiter for numerical validation. For each proposed equation, the Arbiter, (a) generates executable Python validation code, (b) computes required weak-form
Pekhale et al.

Figure A.1: Detailed schematic outlining the working principle of MAGE, the proposed agentic framework for equation discovery.
derivatives, (c) constructs regression targets and feature matrices, (d) estimates coefficients using least-squares regression, (e) evaluates predictive fidelity on held-out data, (f) computes sparsity-aware confidence scores. The Arbiter operates under strict execution constraints. Candidate equations are evaluated exactly as proposed; structural rewriting, term pruning, or symbolic correction are prohibited. The arbitrar validates using the metric detailed in the main text.
Closed-loop refinement. If no candidate satisfies the confidence threshold, rejection triggers backward propagation of the terminal reward signal. The system then enters an iterative refinement loop. There are two loops, Inner refinement loop. Agent 3 receives validator feedback and regenerates a new candidate slate while avoiding previously falsified structural families. Outer restart loop. If repeated synthesis attempts fail, the pipeline restarts from Agent 1, forcing a fresh observational interpretation through Agent 2. As illustrated in Figure A.1, MAGE permits up to three inner-loop refinements and three outer-loop restarts. This dual-loop structure is critical. It prevents symbolic search collapse while allowing the system to revise both hypotheses and physical interpretations.
Decision protocol. The workflow terminates in one of two states: (a) SUCCESS: a candidate exceeds the confidence threshold and is accepted as the discovered governing equation; (b) EXHAUSTED: all refinement budgets are consumed without numerical validation. The accepted output consists of (a) final governing equation, (b) fitted coefficients, (c) confidence score.
A.2 Compute Resources and API-Based Inference
A primary advantage of the proposed agentic framework is its minimal reliance on local hardware. All experiments were conducted on a standard workstation (6 CPU cores, 32 GB RAM). This local environment was dedicated exclusively to lightweight orchestration tasks: data loading, workflow management, output parsing, validation script execution, and figure generation. Notably, model inference did not necessitate local GPU acceleration or high-performance computing (HPC) clusters. By offloading computationally intensive workloads to remote API endpoints, the framework maintains a negligible local footprint and remains highly accessible to researchers utilizing standard desktop computers.
For inference, the framework leveraged NVIDIA-hosted serverless endpoints via NVIDIA Build/NIM (https://build.nvidia.com/explore/discover), which provides scalable APIs for deployable foundation models. Specifically, the visual reasoning components were driven by moonshotai/kimi-k2.5 [33], while language-based reasoning, PDE discovery, and validation tasks utilized z-ai/glm-5.1 [34]—models explicitly optimized for agentic workflows, coding, and
Pekhale et al.
long-horizon reasoning. Consequently, the local computational pipeline is streamlined entirely to multi-agent prompting, candidate equation formulation, local code execution for validation, and the routing of self-correction loops. This design choice underscores the framework's accessibility and scalability, enabling researchers to perform state-of-the-art PDE discovery without the need for specialized hardware or extensive local computational resources.
B Additional Experimental Analysis
B.1 Configuration of Library-Based Methods
For all library-based discovery methods evaluated in Table 1 (specifically PDE-FIND, SGA, W-SINDy, Weak-Ident, PINN-SR, and PDE-READ), we employed a consistent, over-complete candidate library to ensure a rigorous comparison. This predefined symbolic library, , contains the functional forms from which the sparse regression algorithms must select the governing terms:
"Predefined_Symbolic_Library": ["u", "ux", "uxx", "uxxt", "uxt", "ux^2", "uxxxx", "(uux)x", "uxxtt", "(u^4)xx", "u^2", "uxxx", "u^3", "x", "(1/u)xx", "(u^-2ux)x", "uxxxxx", "sqrt(u)", "sin(u)", "cos(u)", "sinh(u)", "BiLaplace(u)", "Laplace(u)", "x^2", "exp(x)", "sint", "sinx", "(uxx+ux/x)^2", "x^4", "sqrt(x)", "t", "(uux)t", "(uux)xx", "(u^3)xx", "(u(u^2)xx)xx", "|u|^2u", i, "u_x/x", "uu_x", "uu_xx", "uu_xxx", "uu_xxxx", "u^2u_x", "u^2u_xx", "u^2u_xxx", "u^2u_xxxx", "u^3u_x", "u^3u_xx", "u^3u_xxx", "u^3u_xxxx"]
B.2 Extended VLM–LLM Component Ablation on NLS
This section provides the detailed results underlying the main-text VLM–LLM sensitivity analysis. While the main text reports the key conclusions across foundation-model choices, here we present the full cue-level evidence rankings, candidate-pool audits, and model-wise recovery statistics used to support those findings. In general, the VLM–LLM pathway is sequential: the VLM first converts the contour and spectral diagnostics into phenomenological evidence, and the LLM then turns that evidence into a finite set of candidate PDEs for validation. A final coefficient-error heatmap therefore collapses two distinct questions. We instead audit the NLS case component-wise in Tables B.1 and B.2. The target equation is equivalently written by several validators as .
Scoring rubric. The VLM score uses five one-point cues: correct variables/grid, smooth localized breathing, dispersive evidence, periodic spectral redistribution, and absence of misleading shock, transport, or variable-coefficient cues. Deductions reflect missing or misleading evidence. For LLMs, true-term candidates contain both and under an equivalent NLS target; overcomplete candidates also include extra symbolic operators, even when fitted near zero.
Typography key. Bold marks strong or clean evidence and exact rank-1 recovery; roman type marks useful but mixed results; and italic marks weak, misleading, or heavily overcomplete results.
VLM evidence ranking. Among the visual evidence models, KIMI-K2.5 gives the richest NLS description: it captures localized breathing, closed extrema trajectories, linear branches, reversible spectral exchange, entropy oscillations, and the absence of shocks. Gemma-4-31B is slightly less detailed but cleaner, because it avoids the mild time-varying-coupling cue present in KIMI-K2.5. The Qwen VLMs are also strong, but both introduce plausible-looking potential or variable-coefficient interpretations that are not part of the constant-coefficient focusing NLS. The Nemotron and Phi-4 models illustrate why the evidence stage matters: false shock, smoothing, or steady-transport cues can seed downstream PDE candidates with advection, damping, trap, or higher order terms even when the data are generated by a smooth dispersive balance.
LLM candidate-set behavior. Conditioned on the same KIMI-K2.5 visual evidence, every tested LLM eventually places an exact NLS form at rank 1. The meaningful distinction is therefore not the final coefficient error, which is near zero for all accepted runs, but the parsimony of the final candidate set. DeepSeek-Flash, DeepSeek-Pro, and Minimax recover the correct equation in one outer iteration while keeping the overcomplete alternatives relatively simple. GLM-5.1, GPT-OSS, and KIMI-Thinking achieve broader true-term recall, but most of those true-term candidates also carry extra operators, indicating a less selective search prior. Qwen-Coder reaches the exact equation only after a second iteration and retains a high-scoring quintic surrogate, while Nemotron-3-Super has a clean best candidate but a candidate pool dominated by wrong-target alternatives. This ablation supports the component interpretation of MAGE: VLM quality controls whether the search prior is physically well-posed, and LLM quality controls whether the final symbolic pool is parsimonious rather than merely accurate after coefficient fitting.
Pekhale et al.
Panel A: VLM evidence quality for NLS
| VLM evidence source | Rank | Score | Correct NLS cues recovered | Misleading cues | Component interpretation |
|---|---|---|---|---|---|
| KIMI-K2.5 | 1 | 4.8/5 | Breathing bound-state pattern, closed peak tracks, linear branches, reversible spectral exchange, entropy oscillations, and no shocks. | Mild time-varying-coupling cue. | Richest evidence for smooth conservative NLS dynamics, with a small overinterpretation risk. |
| Gemma-4-31B | 2 | 4.7/5 | Smooth symmetric peaks, closed tracks, tight dispersion, periodic and entropy. | None material. | Cleanest evidence for a smooth dispersive breather. |
| Qwen-3.5-397B | 3 | 4.5/5 | Localized breathing, low- spectral modulation, periodic entropy, explicit “nonlinear balance” cue. | Hints at localized/variable dynamics and clipping. | Strong NLS description; slight risk of trap/potential terms. |
| Qwen-3.5-122B | 4 | 4.0/5 | High-amplitude temporal events, diagonal dispersion branches, low- energy bursts, entropy inversely tied to coherent states. | Suggests potential wells and time-dependent forcing. | Good phenomenology, slightly less parsimonious than Qwen-397B. |
| Nemotron-Nano-12B-VL [37] | 5 | 3.0/5 | Recognizes cross-shaped dispersion and periodic spectral entropy. | Missing a global mechanism summary; emphasizes transient/phase-velocity cues. | Useful spectral evidence but incomplete as a synthesis prior. |
| Nemotron-3-Nano-Omni | 6 | 2.5/5 | Correct axes, symmetry, and entropy oscillations. | False sharp/shock cue and only medium confidence dispersion. | Mixed evidence; shock language is inconsistent with smooth NLS dynamics. |
| Microsoft Phi-4 Multimodal [38] | 7 | 1.5/5 | Identifies variables and spectral panels. | Calls the field steady/sharp, flags shocks, and adds smoothing/transport cues. | Weakest evidence JSON for NLS; would push the LLM toward non-NLS mechanisms. |
Table B.1: Component-wise NLS ablation: VLM evidence quality.
B.3 Extended Ablation on Agent 2: Phenomenology Extractor
This section provides detailed results supporting the main-text ablation of the Phenomenology Extractor. While the main text highlights the central role of Agent 2 in enabling structured physical abstraction, here we present the full numerical traces, candidate evolution patterns, and failure trajectories observed when this agent is removed. This ablation evaluates the contribution of Agent 2, the Contour Plot Analyzer, in the proposed agentic PDE discovery system. We compare two runs on the same zero-noise Kuramoto–Sivashinsky (KS) dataset: one with Agent 2 enabled and one with Agent 2 disabled. The dataset is a one-dimensional spatio-temporal field, , sampled on a structured grid with , , , and ; the observed field range is [-3.02248, 3.02248]. The target governing equation, under the sign convention used by the data and validator, is the KS balance
The ablation shows that Agent 2 is not a cosmetic visualization module. It materially changes the hypothesis-generation stage by translating visual and spectral signatures into a better constrained candidate PDE class. With Agent 2, the system recovers the correct KS equation in the first outer iteration with , NRMSE = 0.000000, Reward = 0.856864, and Confidence = 99.999977%. Without Agent 2, the system exhausts its inner loop and selects a low-confidence wave-like surrogate,
with , NRMSE = 0.864374, Reward = 0.230022, and Confidence = 13.56%. Thus, enabling Agent 2 improves the selected reward by approximately 3.7×, increases confidence by about 86.4 percentage points, and changes the final verdict from REJECT_PDE to ACCEPT_PDE.
B.3.1 Run-Level Outcomes
Table B.3 gives the final best equation from each response log. The with-Agent-2 system consistently identifies the KS equation with coefficients extremely close to the expected unit values, up to the sign convention used by the validator. For example, the first successful run returns
Pekhale et al.
Panel B: LLM final-candidate audit with fixed KIMI-K2.5 VLM evidence
| LLM | Iter. | Best PDE | True-term candidates | Overcomplete among true-term candidates | Dominant spurious terms or residual risk |
|---|---|---|---|---|---|
| DeepSeek-V4-Flash [39] | 1 | Exact | 5/10 | 4/5 | Rank-1 exact; extras add , , or with near-zero coefficients. |
| DeepSeek-V4-Pro | 1 | Exact | 4/10 | 3/4 | Rank-1 exact; extras include , , and . |
| GLM-5.1 | 1 | Exact | 9/10 | 8/9 | Rank-1 exact, but the pool is broad: , , , , , , , and derivative-NLS variants remain. |
| Minimax-M2.7 [40] | 1 | Exact | 6/10 | 4/6 | Two clean equivalent forms; extras add , , , or . |
| GPT-OSS [41] | 1 | Exact | 8/10 | 6/8 | Broad true-term recall, but many overcomplete variants: , , , , , and . |
| Nemotron-3-Super | 1 | Exact | 2/10 | 0/2 | Parsimonious best candidate, but most alternatives use wrong targets such as , , or . |
| Qwen-Coder [42] | 2 | Exact | 6/10 | 5/6 | Needs a second iteration; rank-2 is a high-scoring quintic surrogate missing the cubic term, and true-term variants add , , , , or . |
| KIMI-Thinking | 3 | Exact | 9/10 | 8/9 | Highest true-term recall but weakest parsimony: nonlocal, trap, damping, variable-dispersion, quintic, convective, third-order, and CGLE variants remain in the final candidate pool. |
Table B.2: Component-wise NLS ablation: final LLM candidate audit using fixed KIMI-K2.5 visual evidence.
| Variant | Run | Confidence | Final best PDE | |
|---|---|---|---|---|
| With Agent 2 | 1 | 0.999880 | 98.90 | |
| With Agent 2 | 2 | 0.999056 | 96.93 | |
| With Agent 2 | 3 | 1.000000 | 100.00 | |
| With Agent 2 | 4 | 1.000000 | 100.00 | |
| With Agent 2 | 5 | 0.999999 | 99.90 | |
| Without Agent 2 | 1 | 0.252858 | 13.56 | |
| Without Agent 2 | 2 | 0.251817 | 13.50 | |
| Without Agent 2 | 3 | 0.272681 | 14.72 | |
| Without Agent 2 | 4 | 0.336176 | 18.52 | |
| Without Agent 2 | 5 | 0.251277 | 13.47 |
Table B.3: Run-level final outcomes from the KS ablation logs.
which is numerically indistinguishable from original equation at the level of model structure and coefficient scale. The remaining successful runs similarly recover coefficients near 1 in the all-terms-on-left convention or near -1 in the right-hand-side convention.
B.3.2 Failure Mode Without Agent 2
When Agent 2 is disabled, the discovery process begins without the visual mechanism evidence. The initial candidate set is dominated by KdV-like, Burgers-like, and wave-like templates, including , , and . Crucially, the correct first-order-in-time KS structure containing both and together with is absent. Although appears in the disabled run, it is repeatedly attached to second-order time models such as , rather than to the correct first-order evolution equation.
This candidate-class misspecification is visible in the validation results. In the first disabled iteration, the selected model is , with only and Confidence = 12.01%. The best first-order-in-time alternatives perform even worse: for example, has near-zero reward and zero confidence because it lacks the stabilizing fourth-order term. Subsequent retry iterations do not correct the structural error. The final disabled
Pekhale et al.
iteration still ranks second-time-derivative models above the first-order KS-like candidates, and the selected final model remains a low-confidence surrogate, .
The important point is that the disabled system does not fail because the weak-form validator cannot fit derivatives on this dataset. It fails because the candidate generator is not guided toward the correct mechanistic combination of terms. Increasing the number of weak-form supports and retrying candidate generation does not overcome the absence of the key visual prior. The search continues to prefer low-order wave-like explanations because these offer weak partial correlations with the data, even though they do not represent the KS dynamics.
B.3.3 Interpretation
The comparison isolates a central benefit of Agent 2: it converts qualitative field morphology into a structured inductive bias over the PDE library. In the KS case, the raw dynamics contain multiple potentially misleading signatures. The diagonal space-time structures can suggest advection or dispersive waves; the oscillatory field can suggest KdV-type dynamics; and low-order temporal correlations can produce spurious candidates with small but nonzero validation scores. Agent 2 resolves this ambiguity by combining several pieces of evidence: nonlinear steepening in derivative panels, bounded high-wavenumber activity, early spectral broadening, and later entropy saturation. The resulting hypothesis is not merely “include nonlinear and derivative terms”; it is the specific KS balance of nonlinear advection, second-order instability, and fourth-order stabilization.
This also explains the large performance gap. With Agent 2, the correct equation appears in the candidate set before validation, and the weak-form regression only needs to estimate coefficients and rank candidates. Without Agent 2, validation is forced to choose among misspecified candidates. Under such a candidate set, even a reliable validator can only reject or select a poor approximation. Therefore, Agent 2 improves both discovery accuracy and search efficiency: the enabled run terminates successfully in one outer iteration, while the disabled run exhausts its retry budget without reaching the acceptance threshold.
This ablation demonstrates that the Contour Plot Analyser is a necessary component of the agentic PDE discovery system for the KS dataset. It provides mechanistic information that is not captured by scalar metadata alone and steers the discoverer toward the correct first-order-in-time hyperviscous Burgers/KS candidate. Removing Agent 2 causes the system to miss the defining KS term combination, drift toward low-confidence wave-like surrogates, and ultimately reject the discovery. The result supports the broader design principle of the proposed system: visual and spectral reasoning should be treated as an active part of scientific hypothesis generation, not merely as post-hoc interpretability.
For methodological transparency, this is an end-to-end ablation of the agentic pipeline rather than a fixed-validator-only comparison. The validator scripts generated during the two runs use the same weak-form validation philosophy but differ in details such as support placement and candidate lists. This makes the result conservative in the intended sense: the observed failure without Agent 2 is not a small coefficient-estimation discrepancy, but a structural failure to propose the correct PDE class. A fixed-validator replication over identical candidate libraries would be a useful additional diagnostic, but the present evidence already shows that Agent 2 is responsible for introducing the correct KS hypothesis into the discovery process.
B.4 Finite-Difference Versus Weak-Form Validation
This section provides detailed evidence supporting the main-text design choice of weak-form validation. While MAGE can in principle operate with either finite-difference or weak-form derivative estimation within the Equation Arbiter, the results reported here quantify why weak-form validation is preferred, particularly under noisy observations where numerical differentiation stability becomes critical for reliable coefficient estimation and structural acceptance.
We consider the nonlinear Schrodinger (NLS) equation at five additive-noise levels: 0%, 1%, 2%, 5%, and 10%. The two variants differ only in how the candidate equations are evaluated from the observed field: the finite-difference (FD) variant fits pointwise differential identities using numerically differentiated data, whereas the weak-form (WF) variant fits integrated identities against compactly supported test functions.
All runs operate on the same space-time grid geometry, with , uniform spacing and , spatial domain , and temporal domain . The target equation identified by the clean FD run and by the weak-form runs is the focusing cubic NLS written in evolution form,
Equivalently, this is up to the sign convention used in the response logs.
Pekhale et al.
| Noise FD verdict | FD | FD reward | FD conf. WF verdict | WF | WF reward | WF conf. | |
|---|---|---|---|---|---|---|---|
| 0% | Accept | 0.999940 | 0.909637 | 99.31 Accept | 1.000000 | 0.909691 | 100.00 |
| 1% | Reject | 0.439340 | 0.399663 | 25.12 Accept | 0.999836 | 0.909542 | 98.72 |
| 2% | Reject | 0.668092 | 0.572464 | 42.39 Accept | 0.999909 | 0.856786 | 99.05 |
| 5% | Reject | -0.087811 | -0.071951 | 51.61 Accept | 0.999990 | 0.909681 | 99.68 |
| 10% | Reject | 0.527865 | 0.452308 | 31.29 Accept | 0.999945 | 0.909641 | 99.26 |
| Mean - | 0.5095 | 0.4524 | 49.94 - | 0.9999 | 0.8991 | 99.34 | |
Table B.4: Final validation metrics reported by the agentic discovery logs. The acceptance threshold is 80% confidence. FD reaches the threshold only for the clean 0% case, while WF succeeds at every noise level.
| Noise | FD final best PDE | WF final best PDE |
|---|---|---|
| 0% | ||
| 1% | ||
| 2% | ||
| 5% | ||
| 10% |
Table B.5: Final best PDEs from the response logs. The WF equations remain close to the target NLS form in Eq. (B.3). FD recovers the correct NLS equation in the clean case, but drifts to non-NLS structures when noise is present.
B.4.1 Main Quantitative Result
Table B.4 summarizes the final validation outcome at each noise level. The contrast is unambiguous: the weak-form variant accepts the correct NLS model at all five noise levels, while the finite-difference variant accepts the correct NLS model only in the clean 0% case and fails at every nonzero noise level. Averaged over the five runs, WF achieves 99.34% confidence, a mean reward of 0.8991, and a mean test of 0.9999, whereas FD achieves 49.94% confidence, a mean reward of 0.4524, and a mean test of 0.5095. The minimum WF confidence is 98.72%, still far above the acceptance threshold. In contrast, once any additive noise is introduced, the maximum FD confidence over the nonzero-noise runs is only 51.61%.
The most important qualitative difference is also visible in the accepted equations themselves. The WF model remains in the cubic-NLS family throughout the full noise sweep, with coefficients close to . In contrast, the FD model is structurally fragile with respect to noise. At 0% noise, FD finds and accepts the correct two-term NLS equation with high confidence. Once noise is introduced, however, FD often changes the target from to and selects wave-like or stiff-wave equations, including artificial potentials, fourth derivatives, and high-order nonlinear terms. This is not a small coefficient perturbation; it is a change in the identified physical model class.
B.4.2 Why Weak-Form Validation Remains Stable?
The superior robustness of weak-form (WF) validation arises from replacing pointwise derivative matching with integral identities. After multiplying a candidate PDE by a smooth test function and integrating over local space–time supports, derivatives are transferred from the noisy field onto the known test function via integration by parts. For the NLS target, this yields the schematic relation
which can be evaluated in a form where differentiation acts on rather than directly on noisy samples of . This simultaneously suppresses high-frequency perturbations through local averaging, reduces sensitivity to discretization noise, and preserves the linear regression structure required for coefficient fitting.
Pekhale et al.

Local extrema trajectory scattered plot (zero-crossings of Spatial Rate of Change of u (finite_diff))
k-u Spectrum: Heatmap
Temporal Rate of Change of u : Contour Plot (finite_diff)
Spatial Spectrum (E(k))
Wavenumber k (rad / unit x)
Spectral Entropy H(t)
Figure B.1: Agent 1 diagnostic output for the KS dataset. Eight deterministic panels form the evidence object passed to Agent 2. Top: (1) field contour ; (2) spatial derivative ; (3) temporal derivative ; (4) spatial spectrum at five snapshots showing the active band and high-wavenumber rolloff. Bottom: (5) local-extrema trajectories; (6) dispersion spectrum; (7) spectral energy evolution ; (8) normalized spectral entropy , saturating near .
| Noise | Rel. err. | Rel. err. | Extra selected term | ||
|---|---|---|---|---|---|
| 0% | 0.500000i | 0.000 | 1.000000i | 0.000 | none |
| 1% | -1.409e-3 + 0.498327i | 0.437 | -5.71e-4 + 1.000553i | 0.079 | none |
| 2% | -8.381e-3 + 0.503541i | 1.820 | -1.953e-3 + 1.000706i | 0.208 | |
| 5% | -1.14e-4 + 0.500661i | 0.134 | 1.55e-4 + 0.999476i | 0.055 | none |
| 10% | 5.60e-5 + 0.498982i | 0.204 | -8.70e-5 + 0.997236i | 0.277 | none |
Table B.6: Weak-form coefficient stability relative to and . Relative errors are reported in percent.
This mathematical smoothing mechanism directly explains the empirical trends observed in Tables B.4 and B.6. Despite evaluating candidate libraries containing linear Schrödinger, quintic NLS, drift-augmented variants, and higher-order dispersive alternatives, WF consistently ranks the sparse cubic NLS as the accepted model. Even when noise perturbs the first-pass estimate, refinement remains localized within the correct equation family rather than drifting toward spurious operator classes. At 2% noise, for example, the initial cubic fit is rejected at 77.63% confidence due to coefficient bias, but refinement recovers and , raising confidence to 99.05%.
Table B.6 further quantifies this stability. Across all tested noise levels, the average relative error is only 0.52% for the dispersive coefficient and 0.12% for the nonlinear coefficient . The largest deviation occurs at 2% noise, where the accepted model includes a negligible correction of magnitude . This term is best interpreted as a noise-absorbing residual rather than a structural alteration, as the dominant coefficients remain quantitatively aligned with Eq. (B.3).
These results show that WF stability is not merely reflected in high confidence scores. It preserves both the sparse governing structure and physically correct coefficient scales under perturbation, explaining why weak-form validation is the default choice in MAGE.
B.4.3 Why Finite Differences Fail Under Noise
The saved logs expose a direct numerical reason for the FD degradation. The field amplitude changes only mildly as the nominal noise level increases, but the finite-difference derivative ranges expand rapidly, especially in time. Table B.7 reports the metadata ranges from the FD response logs. From 0% to 10% noise, the maximum field magnitude increases by only about 3%, whereas the maximum absolute temporal derivative increases from approximately 4.99 to 79.33, a factor of 15.9. The maximum absolute spatial derivative increases from approximately 9.27 to 23.14, a factor of 2.5.
This behavior is expected from pointwise differentiation. If additive noise of scale is present in , a th-order derivative estimate amplifies the noise with a grid-spacing-dependent factor that grows like or , up to constants determined by the stencil. Consequently, the regression target and the candidate library columns become
Pekhale et al.
| Noise | range | range | range | ||
|---|---|---|---|---|---|
| 0% | [0.01599, 4.00729] | [-9.265, 9.265] | 9.27 | [-4.994, 4.993] | 4.99 |
| 1% | [0.00991, 4.01648] | [-9.556, 9.791] | 9.79 | [-6.865, 7.452] | 7.45 |
| 2% | [0.00300, 4.01147] | [-10.26, 10.24] | 10.26 | [-12.72, 15.44] | 15.44 |
| 5% | [0.00039, 4.09216] | [-11.71, 13.26] | 13.26 | [-37.24, 35.81] | 37.24 |
| 10% | [0.00030, 4.12026] | [-23.14, 16.21] | 23.14 | [-77.46, 79.33] | 79.33 |
Table B.7: Noise amplification in finite-difference derivative panels. Even moderate additive noise produces large derivative excursions, particularly for .
| Removed evidence | Rounds | Status | Confidence | Best validated PDE |
|---|---|---|---|---|
| None (full panel) | 1 | Success | 100.00% | |
| contour | 3 | Exhausted | 55.26% | |
| entropy | 3 | Exhausted | 49.88% | |
| spectrum | 3 | Exhausted | 52.27% | |
| Extrema trajectories | 3 | Exhausted | 45.96% | |
| contour | 3 | Exhausted | 46.77% | |
| evolution | 3 | Exhausted | 7.16% | |
| spectrum | 3 | Exhausted | 6.92% | |
| contour | 3 | Exhausted | 20.05% |
Table B.8: Single-diagnostic removal ablation of the Agent 1 visual evidence panel for KS discovery. Only the complete eight-plot panel produced an accepted PDE; every ablated run exhausted the inner loop after three synthesizer rounds.
contaminated by high-variance errors. In this setting the FD agent can still recognize NLS-like structure visually, but the subsequent validation step is forced to explain derivative artifacts. This explains the observed drift toward second-time-derivative wave equations, fourth-order spatial derivatives, external potentials such as or , and high-order nonlinear terms. These terms improve noisy pointwise residuals but are inconsistent with the underlying physics and fail the confidence threshold.
The clean FD run is especially informative in the opposite direction: when derivative estimates are not contaminated by injected noise, the FD validator can recover the correct two-term NLS equation with 99.31% confidence. The subsequent collapse at 1%–10% noise therefore isolates the failure mode to noise amplification in the derivative-based validation stage, rather than to an inability of the agentic system to propose the NLS family. Under nonzero noise, this sensitivity becomes a structural-identification failure rather than merely a coefficient-estimation error.
B.5 Ablation Study on Agent 1 Outputs
We next evaluate how the deterministic visual diagnostics produced by Agent 1 contribute to KS discovery. The full evidence panel contains eight complementary views of the same one-dimensional spatiotemporal field: the primary contour plot , spatial derivative contour , temporal derivative contour , spatial spectrum , local-extrema trajectories, the spectrum, spectral energy evolution , and normalized spectral entropy . Figure B.1 shows all eight panels as produced by Agent 1 on the KS dataset. For each ablation, one plot was removed while the other seven were retained.
As summarized in Table B.8, the full panel produced the accepted KS equation
with , reward 0.8569, and confidence 100.00%. In contrast, every single-diagnostic removal run failed to meet the 80% acceptance threshold and exhausted the inner loop. With all plots retained, the Governing Law Synthesizer generated one candidate set and the validator accepted a KS-consistent candidate in the same outer iteration. Each ablated condition required three synthesizer rounds, two rejection-router interventions, and ended with INNER_LOOP_EXHAUSTED.
Mechanistic effect of the full Agent 1 panel. With all Agent 1 outputs present, the evidence extractor identifies smooth low-wavenumber initial structure, nonlinear steepening in , energy transfer from low to higher wavenumbers, persistent organization near , an active spectral band extending to about , entropy growth followed by saturation near , and bounded oscillatory dynamics. These cues jointly support the KS balance of nonlinear
Pekhale et al.
advection , destabilizing second derivative , and stabilizing fourth-order dissipation . In the first synthesizer response, this evidence yields a candidate library spanning nonlinear, second-order, higher-order, and mixed derivative terms, and the KS-consistent candidate
appears immediately. The single-diagnostic ablations then reveal which information each panel contributes, and they cleanly separate two roles: local plots anchor field geometry, while spectral plots supply the global modal evidence that pins down derivative orders.
Role of the local panels. The local diagnostics, the primary contour , the gradient and rate panels and , and the extrema trajectories, encode the field's geometry and propagation. Removing strips away amplitude, phase organization, and coherent space-time morphology, so the remaining cues are no longer anchored to the actual field and the search drifts toward regularized-wave models involving . Removing hides the direct map of gradient sharpening that must be balanced against the stabilizing term; without it, steepening can be misread as higher-order dispersion, and the search favors or over the coupled structure. Removing weakens the visual constraint that the dynamics are first-order in time, so KS-like candidates surface only after corrective rounds and the run exhausts before validation. Finally, removing extrema trajectories eliminates path-level evidence of amplitude-dependent propagation, merging, and splitting, leaving the search with insufficient support for the nonlinear transport term and admitting reaction-augmented Burgers/KdV variants as plausible competitors. Across this group, confidence degrades but stays in the 20–55% range (Table B.8), reflecting partial loss of geometric grounding rather than collapse of mechanistic identification.
Role of the spectral panels. The four spectral diagnostics, , , the spectrum, and , play complementary and non-redundant roles, and together they carry the heaviest mechanistic load. exposes the active spatial scales and the high-wavenumber rolloff that signals small-scale stabilization rather than mere dispersion or diffusion; removing it collapses final confidence to 6.92%. adds the temporal cascade, showing when low-wavenumber energy broadens into higher modes and then saturates, and removing it drops confidence to 7.16% and lets the dynamics be misread as generic transport, shock-like steepening, or reaction-diffusion behaviour. The spectrum supplies the frequency-wavenumber constraint that separates first-order dissipative KS dynamics from regularized wave models; without it, broadband activity is again confused with mixed space-time wave regularization that favours . The entropy compresses the modal distribution into a single bounded-saturation signal, distinguishing chaotic dissipation from periodic or reversible motion, and its removal nudges the search toward second-order-in-time or regularized-wave candidates. As Table B.8 shows, the 6.92% and 7.16% outcomes are far below the 45–55% range seen for the local panels, which directly identifies the spectral views as the most discriminative evidence for the fourth-order stabilizing term.
Why spectral plots are central to Agent 1. The asymmetry between the two groups explains why we incorporate spectral plots in Agent 1 by default. KdV/Kawahara, Burgers, and BBM candidates can each explain isolated local cues such as oscillations, steepening, or apparent wave regularization, but only the joint spectral signature, simultaneous nonlinear steepening, broadband transfer, bounded entropy saturation, and high-wavenumber suppression, is consistent with the KS balance. Local panels are necessary to anchor the geometry; spectral panels are necessary to suppress these false positives and to identify the correct derivative orders. The correct KS candidate is therefore generated and accepted in the first outer iteration only when the full Agent 1 panel, including all four spectral views, is available.
C Running Example of Multimodal Evidence Construction
The user supplies a loaded structured-grid payload, and the system-prompted DIFFERENTIAL OBSERVER returns diagnostic visual evidence for downstream agents.
USER
Begin deterministic visualisation panel generation from the currently loaded DATA_PAYLOAD for Partial Differential Equation Discovery (PDE).


AGENT 1: DIFFERENTIAL OBSERVER
Analyze this panel of figures for Partial Differential Equation (PDE) discovery and extract qualitative dynamical evidence. DATA_FORMAT=xt_grid
- DATASET METADATA -
Pekhale et al.
Structured grid summary
format : xt_grid field type : complex - panel shows |u| u shape : (Nx=512, Nt=501) x uniform : True | dx : 0.01953 t uniform : True | dt : 0.006283 Independent Variables : x range : [-5, 4.98047] t range : [0, 3.14159] Dependent Variable : u range : [0.0159882, 4.0073]
Derived Quantities :
All quantities below : derived from u(x,t)
Derivative panels
Spatial Rate of Change of u range : [-9.265, 9.265] spatial method : finite_diff Temporal Rate of Change of u range : [-4.996, 4.994] temporal method : finite_diff
Local extrema
method : zero-crossings of Spatial Rate of Change of u [finite_diff]
Spectral panels
E(k) - spatial spectrum
k range : [0.6283, 160.2] rad/unit-x Nk bins : 255 k_nyq : 160.8 rad/unit-x k-omega dispersion
k axis displayed : up to 20.36 rad/unit-x omega displayed : up to 125 rad/unit-t omega_nyq : 500 rad/unit-t E(k,t) - spectral energy evolution
k range : [0.6283, 160.2] rad/unit-x H(t) - spectral entropy
Nk bins : 255 (log(Nk) = 5.5413) normalization : H divided by log(Nk), so H in [0, 1]
Pipeline disclosures
FFT windowing : none detrending : none DC bin : excluded from display only (computation unchanged) power floor : -40 dB (display only, applied to k-omega and E(k,t) panels) colormaps : diverging for signed real fields; sequential for magnitudes and log-power
- END METADATA -
Pekhale et al.
AGENT GENERATED OUTPUT
vlm_evidence_panel_nls.png

Visual evidence panel returned by the DIFFERENTIAL OBSERVER for downstream agents.
The metadata above is used alongside the panel to produce visual diagnostics for downstream agents.
USER

Pass the AGENT 1 output panel vlm_evidence_panel_nls.png, together with the structured-grid metadata above, to AGENT 2. Use the following system message for the next agent:
System message. You are a vision-language analyst for PDE discovery. You must not name specific PDEs or write equations. Extract only evidence and basic measurements from the multi-panel figure produced by AGENT 1.
Infer the independent variables from axis labels and metadata; do not invent axes; if an axis is absent, mark its fields as not_applicable; use unclear only when an existing axis cannot be resolved. Output only valid JSON. Use unclear rather than guessing, and ground every evidence field in the figure or metadata panel.
• variables_summary: list PDE independent variables, dependent variables, derived axes such as frequency or energy, and a short note explaining the classification without introducing new variables.
• data_characterization: report field dimensionality, whether time is present, sampling type (structured_grid, unstructured_points, mesh_with_connectivity, particle_trajectories, sensor_network, sliced_projection, mixed, or unclear), and figure/metadata evidence for that choice.
• axis_and_scaling: record detected units, linear/log/other scales, whether normalization is detected, and a one-sentence note.
• data_reliability: for each variable, give its raw name, role guess, uniformity, domain bounds, spacing if available, grounded evidence, possible failure modes, colorbar presence, and whether clipping is suspected.
• panels: for each panel in left-to-right, top-to-bottom order, give plot type, raw axis labels, color-axis range, visual character (intensity distribution, orientation, sharpness, evolution trend, symmetry, spectral falloff, active-band evolution, mode structure, and conjugate-axis concentration), a 1–2 sentence grounded comment, and confidence.
• salient_observations: provide 8–14 concrete visual facts; mechanism words such as advection, diffusion, dispersion, reaction, source, or sink are allowed, but specific PDE names and equations are not.
• geometry_and_motion: summarize dominant motion direction, feature tracks with approximate slopes and track shapes, width trend, and amplitude trend.
• structure_signatures: describe smooth/sharp structure, discontinuities, oscillations, multi-feature interactions, and symmetry, with evidence references to observations or panel comments.
• mechanismPossibilities: list plausible labels such as transport, dispersion, smoothing, spreading, source-sink, oscillatory, variable-coefficient, coordinate-dependent, anisotropic, conservative-flux, instability-growth, saturation-limiting, or mixed, each with evidence and confidence.
• coefficient_variation_signatures: separately record position-dependent dynamics, time-dependent dynamics, and other evidence for variable coefficients, omitting unsupported entries.
• disambiguation_requests: request 3–6 additional views computable from the same data; include time-series diagnostics when time is present, otherwise spatial diagnostics.
Input from previous turn. The attached vlm_evidence_panel_nls.png contains , spatial and temporal derivative panels, extrema tracks, spatial spectra, a diagnostic, spectral-energy evolution, and normalized spectral entropy.
Pekhale et al.

AGENT 2: PHENOMENOLOGY EXTRACTOR
RESPONSE
• Variables. The independent variables are x and t; the dependent field is the displayed magnitude . Derived axes and quantities include , , spatial and temporal rates of change, , , and normalized entropy .
• Data characterization. The data are a two-dimensional structured x-t grid with time present. Metadata report , , , , uniform spatial and temporal sampling, and a complex field visualized through .
• Reliability. Colorbars are present and no clipping is suspected. The plotted field range is approximately [0, 4.05], while metadata report . Spatial and temporal derivative ranges are symmetric and bounded.
• Panel evidence. The panel shows two localized, high-amplitude events centered at , near and , with bilateral spatial symmetry. Spatial derivatives form antisymmetric dipoles around the center; temporal derivatives form oscillatory quadrupole patterns. Extrema tracks remain fixed in space, with maxima near and minima near .
• Spectral evidence. Spatial modal power decays steeply with wavenumber, indicating a smooth field. The panel shows strong energy near and diagonal branches with approximate slope . Spectral energy periodically concentrates at low during high-amplitude phases and redistributes to higher modes during collapse phases.
• Salient observations. The field has periodic recurrence with , stationary spatial features, no visible shocks or discontinuities, reversible scale exchange, steep high-k decay, and an entropy signal oscillating between roughly 0.05 and 0.35.
• Geometry and structure. Dominant motion direction is none; feature tracks are stationary; width is approximately constant; amplitude is oscillatory. The structure is smooth, globally oscillatory, bilaterally symmetric about x = 0, and temporally periodic.
• Mechanism possibilities. The evidence supports oscillatory, dispersive, nonlinear energy-transfer, and conservative-flux mechanisms. There is no grounded evidence for shocks, monotone transport, or irreversible smoothing.
• Disambiguation requests. Useful same-data diagnostics include phase portraits at selected spatial points, time series at x = 0 and x = 1, spatial slices at peak and trough times, complex phase heatmaps, integrated energy , and group-velocity estimates from spectral tracks.
USER

Pass AGENT 2's VLM_EVIDENCE_JSON and the NUMERIC_SUBSAMPLE from the loaded DATA_PAYLOAD to AGENT 3. Use the following system message:
System message. You are a PDE discovery scientist. Propose exactly 10 candidate PDEs that could plausibly generate the observed data. Do not assume the dataset identity.
• Inputs. Use VLM_EVIDENCE_JSON as structured plot evidence and NUMERIC_SUBSAMPLE as sampled values of u and its available independent variables.
• Variable inference. Determine independent variables from the numeric subsample keys or columns first; use visual evidence only if needed. Never invent a missing coordinate.
• Candidate structure. Each PDE must have exactly one physically plausible TARGET_TERM on the LHS with implicit coefficient 1. FEATURE_TERMS must contain only RHS expressions.
• Allowed coefficients. RHS terms may later receive constant coefficients C0, C1, ..., direct variable factors such as *x, inverse factors such as 1/x, or other independent-variable functions only when supported by evidence.
• Syntax. Use derivatives only with respect to detected variables and encode them as u_<independent_variables>; use * for multiplication and ** for powers. Do not use markdown fences, LaTeX, prose, unsupported terms, or terms that contradict the evidence.
• Search discipline. Silently extract 3–6 mechanism hypotheses from the evidence, map each to plausible PDE families, and cover the strongest supported families with parsimonious equations that the next agent can validate.
• Revision rule. If prior rounds exist, revise using previous proposals and validator feedback. Never copy a previous candidate list verbatim; reuse a candidate only when the evidence still strongly supports it.
• Output contract. Return only valid JSON with one key, CANDIDATE_PDES. Each entry must include EQ_ID, TARGET_TERM, FEATURE_TERMS, and CANONICAL_PDE. The target term must not appear in FEATURE_TERMS, and feature terms must not include coefficient placeholders, labels, prefixes, explanations, or prose.

AGENT 3: GOVERNING LAW SYNTHESIZER
RESPONSE
According to my analysis, these are the 10 candidate equations for validation. Format: Target is the left-hand-side term, Features are the right-hand-side regression terms, and PDE is the full candidate form.
Pekhale et al.
• Equation 1. Target: iu_t; Features: [u_xx, |u|**2u]; PDE: iu_t = C0u_xx + C1*|u|**2*u.
• Equation 2. Target: iu_t; Features: [u_xx, |u|**4u]; PDE: iu_t = C0u_xx + C1*|u|**4*u.
• Equation 3. Target: iu_t; Features: [u_xx, |u|**2u, |u|**4u]; PDE: iu_t = C0u_xx + C1|u|**2u + C2|u|**4*u.
• Equation 4. Target: iu_t; Features: [u_xx, |u|**2u, u]; PDE: iu_t = C0u_xx + C1*|u|**2u + C2u.
• Equation 5. Target: iu_t; Features: [u_xx, |u|**2u, u_xxxx]; PDE: iu_t = C0u_xx + C1*|u|**2u + C2u_xxxx.
• Equation 6. Target: iu_t; Features: [u_xx, |u|**2u, x**2u]; PDE: iu_t = C0u_xx + C1|u|2u + C2x2*u.
• Equation 7. Target: iu_t; Features: [u_xx, |u|**2u, (|u|**2)_xu]; PDE: iu_t = C0u_xx + C1|u|**2u + C2(|u|**2)_x*u.
• Equation 8. Target: iu_t; Features: [u_xx, |u|**2u, |u|**2u_xx]; PDE: iu_t = C0u_xx + C1|u|**2u + C2|u|**2*u_xx.
• Equation 9. Target: iu_t; Features: [u_xx, |u|**2u, |u|**2u_x]; PDE: iu_t = C0u_xx + C1|u|**2u + C2|u|**2*u_x.
• Equation 10. Target: iu_t; Features: [u_xx, |u|**2u, xu]; PDE: iu_t = C0u_xx + C1|u|**2u + C2x*u.
USER

Pass AGENT 2's evidence, the 10 AGENT 3 candidates, and the saved DATA_PAYLOAD paths to AGENT 4. Use the following system message:
System message. You are a PDE validation and coefficient-fitting scientist. Return one complete executable Python script that validates all 10 candidates, fits coefficients on TRAIN only, evaluates on Test only, ranks the candidates, saves results, and prints the final verdict.
• Inputs. Use VLM_EVIDENCE_JSON, PDE_CANDIDATES with exactly 10 entries (EQ_ID, TARGET_TERM, FEATURE_TERMS, CANONICAL_PDE), the saved DATA_PAYLOAD paths, and the data description.
• No structural edits. For each candidate, TARGET_TERM defines y and FEATURE_TERMS define columns exactly. Do not add, remove, replace, simplify, prune, merge, reorder, factorize, expand, or algebraically rewrite terms. Use CANONICAL_PDE only for reporting.
• Variable and derivative scope. Infer available variables only from DATA_PAYLOAD. Never differentiate with respect to a missing variable, and compute only derivatives required by each candidate.
• Structured-grid method. For xt_grid, xy_grid, xyz_grid, structured_3D_grid, or masked structured grids, use weak-form validation as the primary method, not pointwise finite differences. For time-independent grids, use only the available spatial coordinates and do not invent or .
• Weak test functions. Use separable compact tests with ; in higher dimensions use products over axes. Define normalized support coordinates , physical coordinates , and . Compute test derivatives analytically with numpy.polynomial.polynomial.polyder.
• Integration-by-parts rule. For a derivative term , build the weak contribution as . Use trapezoidal integration over normalized supports and omit missing axes.
• Invalid data and support rows. If u contains NaNs, use a finite-value mask. A support is valid only if all cells in it are finite, or if the code uses mathematically consistent masked quadrature. Choose support counts and half-widths from grid size, valid-mask density, and term count, and justify that choice in one code comment.
• Point-cloud fallback. For xy_points or xyz_points, use kNN plus local weighted polynomial least squares: choose degree at least the derivative order, use enough neighbors for the monomial basis, extract derivatives from polynomial coefficients, and adjust k or degree if ill-conditioned.
• Regression system. For each candidate independently, build from the weak target term and from one column per RHS feature. All candidates must use the global intersection of valid rows. Create one deterministic 80/20 split with random seed 0 and reuse it for every candidate.
• Fitting and metrics. Normalize each column by its train L2 norm, fit by least squares, recover physical coefficients, and evaluate only on Test. Preserve complex dtype and use magnitude-based residual energy. Compute , , confidence = , and reward = .
Pekhale et al.
• Ranking and files. Rank by decreasing held-out reward. Accept only if BEST_CONFIDENCE > 80. Do not generate synthetic data; raise a clear error if required arrays are missing or incompatible. Save the ranked CSV and the script itself as pde_validation_code.py.
• Output contract. Return only one fenced Python code block. The code must define CONFIG, load the payload, parse candidates exactly, infer dataset type, construct valid rows, split once, fit and test each candidate, print a ranked table, and finally print BEST_R2, BEST_REWARD, BEST_NRMSE, BEST_CONFIDENCE, BEST_PDE, and either VERDICT=ACCEPT_PDE or VERDICT=REJECT_PDE.

AGENT 4: EQUATION ARBITER
RESPONSE
Agent 4 returns pde_validation_code.py, an executable weak-form validation script. It treats the 10 candidates only as neutral Equation 1–Equation 10 labels, without using the ID names to hint at any known PDE family. The script loads u.npy, x.npy, and t.npy; preserves complex dtype; constructs compact supports over the structured x-t grid; evaluates weak-form integrals for i*u_t, u_xx, u_xxxx, algebraic nonlinearities, potential terms, and derivative-nonlinear terms; reuses one deterministic train/test split; fits each candidate by complex least squares; and saves a ranked CSV. The final printed contract includes the best residual metrics, fitted PDE, and accept/reject verdict.
• Validation geometry. Because the payload is an xt_grid, the Arbiter uses compact weak-form supports rather than pointwise finite differences as the primary validation method. It sets , places support centers, and uses support half-widths , , large enough for stable trapezoidal integration while still giving many more rows than candidate terms.
• Weak-form construction. Derivatives are moved onto analytic test-function derivatives by integration by parts: iu_t -iu , u_xx u , and u_xxxx u . Algebraic terms such as , xu, and x**2*u are integrated directly against . Mixed derivative-nonlinear terms are computed only when required by a candidate.
• Fair ranking protocol. All candidate systems use the same global valid-support intersection, giving 150/150 valid rows. The Arbiter then applies one deterministic split (120 train, 30 test, ), normalizes each train column by its norm, fits complex least squares, evaluates only on held-out rows, and ranks by held-out reward with a sparsity penalty.
• Decision rule. The leading two-term candidate attains , NRMSE = 0.000000, reward 0.909691, and confidence 100.00%. Extra-term variants fit the same structure but are penalized by parsimony, while the quintic-only alternative falls to 52.15% confidence. Since the best confidence exceeds 80%, the Arbiter emits VERDICT=ACCEPT_PDE.

CODE EXECUTOR EXECUTION OUTPUT
Loading data...
u shape=(512, 501), dtype=complex128
dx=0.01953, dt=0.006283
Supports: 15x10=150, valid supports: 150/150
Train=120, Test=30, t_split=2.5133
Rank 1: Equation 1
i*u_t = (-0.500000+0.000000j)*u_xx
- (-1.000000+0.000000j)|u|**2u
Reward=0.909691, NRMSE=0.000000, Confidence=100.00
BEST_R2=1.000000
BEST_REWARD=0.909691
BEST_NRMSE=0.000000
BEST_CONFIDENCE=100.00
BEST_PDE:
i*u_t = (-0.500000+0.000000j)*u_xx
- (-1.000000+0.000000j)|u|**2u
VERDICT=ACCEPT_PDE
TERMINATE
SUCCESS in outer iteration 1
Final discovery summary.
Status: Success; best confidence: 100.00%; threshold: 80.0%.
Best PDE:
i*u_t = (-0.500000+0.000000j)*u_xx
- (-1.000000+0.000000j)|u|**2u