betaFeedback

WorksComputer Science

AI-Assisted Tumor-Growth Law Discovery from Sparse Data: Refitting and LLM-Based Ranking

Abstract

Inferring tumor-growth laws from sparse, noisy observations requires more than accurate curve fitting. We study an AI-assisted workflow involving symbolic regression, mathematical admissibility checks, coefficient refitting, and large language model (LLM) ranking. Synthetic Gompertz data allow trajectory fit, forecasting, and recovery of the governing growth law to be assessed separately. A dense noiseless control recovers the generating family, but sparse noisy sampling frequently leads to alternative forms. Among retained candidates in the tested configurations, physics-informed neural network refitting often increases growth-law error, whereas classical nonlinear least squares usually reduces it. A separate exploratory analysis of archived LLM rankings shows no consistent improvement over selection by training error and identifies errors in mathematical reasoning. Plausible saturation, accurate trajectory fits, and convincing explanations can therefore coexist with incorrect growth laws. Mathematical validity and law recovery require evaluation alongside predictive performance.

Introduction

Serial measurements of tumor volume are among the simplest longitudinal data available in experimental oncology, but even these data do not determine a unique growth mechanism. Low-dimensional ordinary differential equations reduce the spatial, cellular, vascular, and microenvironmental complexity of a tumor to a state variable V(t)>0V(t)>0 and a net growth law V˙=f(V)\dot{V}=f(V). Such models are deliberately phenomenological: their value is that they provide interpretable descriptions of growth, testable saturation behavior, and extrapolations beyond the observation window. Gompertzian tumor growth has a long history [7], while logistic, Richards, von Bertalanffy, power-law, and related families encode different assumptions about early proliferation and the onset of growth limitation [1, 4, 15]. Comparative studies show that a family that describes one data set well need not be uniformly preferred across tumor systems or forecasting horizons [1, 11].

This distinction separates two inverse problems. In a fixed-law problem, the modeler selects a family and estimates its constants from measured volumes. In a law-discovery problem, the functional form of ff is itself unknown. The latter contains the former but is more weakly determined: a short noisy trajectory may constrain the visited portion of state space while leaving low-volume behavior, the carrying capacity, and the approach to equilibrium largely unobserved. Practical identifiability can therefore fail even within a prespecified sigmoid family [13, 19]; allowing the equation family to vary only widens the ambiguity. Distinct laws may interpolate the same observations and yet imply materially different doubling times, saturation levels, forecasts, or treatment conclusions [11]. A small training error is consequently evidence for local trajectory agreement, not by itself evidence that the governing rate law has been recovered.

Data-driven equation discovery offers a way to search beyond a short list of named models. Free-form symbolic regression seeks compact analytical expressions directly from measurements [16]; sparse identification selects a small set of active terms from a prescribed feature library [2]; and modern systems such as PySR combine evolutionary search, constant optimization, and an explicit accuracy–complexity tradeoff [3]. For an autonomous scalar ODE, a natural construction is to fit

Department of Mathematics, University of Oklahoma, Norman, OK, USA. E-mail addresses: [email protected] (Y. Lu), [email protected] (W. Wang). a smooth trajectory and regress estimated phase-space pairs (VV, V˙\dot{V}). Numerical differentiation of noisy measurements is ill-posed, and smoothing choices trade variance against bias [20]. Under sparse sampling, the symbolic search may therefore fit artifacts of the derivative estimate or select a law that behaves plausibly only over the narrow observed volume range. A small phase-space loss does not establish mathematical admissibility or accuracy of the candidate’s ODE trajectory.

Refitting the constants of a frozen symbolic structure provides a second test. ODE-constrained nonlinear least squares compares the trajectory generated by the candidate with the observed volumes. Physics-informed neural networks (PINNs) provide a complementary route by fitting a neural trajectory while penalizing the candidate ODE residual [12]. Their flexibility does not remove the inverse-problem difficulties: composite objectives can have imbalanced gradients, difficult loss landscapes, and optimization-dependent failure modes [6, 22]. Symbolic candidates add a further issue that is muted in standard PINN demonstrations: logarithms, fractional powers, and parameter-dependent singularities can make a candidate real-valued only on a restricted state domain. Meaningful comparison therefore requires candidate-aware parameterizations and explicit statuses for invalid domains, solver failures, stagnation, and non-convergence.

Large language models introduce a different kind of scientific prior. Recent systems use LLMs or foundation models to propose equation structures, construct feature libraries, or guide iterative symbolic search [10, 17]; recent benchmarks also emphasize the need to separate genuine equation discovery from recognition or memorization of familiar laws [18]. Here the LLM ranks accepted candidate equations; it does not generate equations, refit constants, or decide mathematical admissibility. It receives a table of candidate formulas, complexities, and training errors, together with the observations and a statement of the filters already passed. Research on LLM evaluators suggests that comparative judgments can be useful but can also depend on presentation order and other prompt features [23, 24]. We examine six archived rankings under one common prompt, compare their top choices with a training-error baseline, and assess the mathematical content of their explanations. The records permit a descriptive assessment of these choices, not an estimate of performance across models or presentation orders.

The benchmark addresses three linked questions:

  1. (Q1) Can symbolic regression recover a defensible growth-law family as measurements become sparse and noisy?

  2. (Q2) Do classical and PINN refitting improve trajectory prediction without necessarily improving recovery of the vector field?

  3. (Q3) Do the recorded LLM choices, made from formulas and training information, yield competitive hidden forecast and law-level performance?

These questions are examined in a controlled synthetic setting, where “discovery” means recovery of a known generating law from hidden synthetic truth. The controlled setting makes it possible to evaluate three objectives that would not all be observable in clinical data:

fit the observed points,  forecast the trajectory,  recover the vector field f(V)f(V).

The archived LLM input files omit the generating equation, held-out volumes, forecast errors, and vector-field errors. The saved rankings are scored against these quantities without changing any ranked expression. The original pool construction and its consequences for blinding are distinguished from the training-only numerical protocol below.

  1. An AI-assisted benchmark combines symbolic candidate generation, deterministic admissibility filtering, and classical and PINN-style constant refitting with a separate analysis of archived LLM rankings.

  1. The evaluation separates training fit, held-out forecasting, and vector-field recovery and detects plausible saturation surrogates—including log⁡(C−V)\log(C-V)-type laws—that fit observed data while retaining the wrong low-volume or law-level structure.

  1. Candidate-aware domain handling and explicit numerical statuses record unsupported domains, non-convergence, NaN losses, and unstable refits as controlled outcomes. For supported parameterized domains, smooth state maps are defined to keep PINN iterates within the candidate domain.

(4) An exploratory LLM case study evaluates six complete rankings of 145 supplied candidates. Hidden-error comparisons with a deterministic baseline and an audit of the explanations separate ranking outcomes from claims of scientific understanding or mathematical certification.

Tumor-growth laws and benchmark data

The benchmark considers autonomous scalar laws

dVdt=f(V;θ),V(0)=V0>0.(1)\frac{dV}{dt}=f(V;\theta),\qquad V(0)=V_0>0. \tag*{(1)}

The main positive-control benchmark is Gompertz growth [1, 5, 7],

fG(V)=aVlog⁡(K/V),(2)f_{\mathrm{G}}(V)=aV\log(K/V), \tag*{(2)}

with analytic solution

V(t)=Kexp⁡(log⁡(V0/K)e−at).(3)V(t)=K\exp\left(\log(V_0/K)e^{-at}\right). \tag*{(3)}

Unless otherwise stated, the synthetic Gompertz benchmark uses

V0=0.1,a=0.5,K=20.(4)V_0=0.1,\qquad a=0.5,\qquad K=20. \tag*{(4)}

Time and volume are expressed in consistent arbitrary units. For context, common reference families include logistic, Richards/generalized logistic [14], and von Bertalanffy-type [21] laws:

fL(V)=rV(1−V/K),(5)f_{\mathrm{L}}(V)=rV(1-V/K), \tag*{(5)}
fR(V)=rV(1−(V/K)ν),(6)f_{\mathrm{R}}(V)=rV\left(1-(V/K)^\nu\right), \tag*{(6)}
fB(V)=αVp−βV,0<p<1.(7)f_{\mathrm{B}}(V)=\alpha V^p-\beta V,\qquad0<p<1. \tag*{(7)}

Classical tumor-growth studies compare these and related laws, and no single law is uniformly preferred across all data sets [1, 11]. A separate illustration uses a Richards generating law to examine fitting with a misspecified Gompertz family.

Synthetic observations are generated by solving the ODE and sampling

yi=V(ti)(1+σϵi),ϵi∼N(0,1) conditioned on ϵi≥−1/σ,σ>0,(8)y_i=V(t_i)(1+\sigma\epsilon_i),\qquad\epsilon_i\sim\mathcal{N}(0,1)\ \text{conditioned on}\ \epsilon_i\geq-1/\sigma,\qquad\sigma>0, \tag*{(8)}

which guarantees nonnegative multiplicative observations; at σ=0\sigma=0, yi=V(ti)y_i=V(t_i). The principal sparse configuration uses

(ti)i=16=(0,3,6,9,12,15),(9)(t_i)_{i=1}^{6}=(0,3,6,9,12,15), \tag*{(9)}

and evaluates forecasts at six noiseless times from 15.5 through 25.5. Other noise levels and sample sizes are identified in their corresponding tables or captions, including the dense positive control with N=50N=50. The ODE solvers and filters start from the known value V0=0.1V_0=0.1. In the simulations, multiplicative noise is also applied at t=0t=0, while the fitted ODEs impose V(0)=V0V(0)=V_0. Thus the residual at the first observation includes measurement noise even for the exact generating law. Training errors are computed against all supplied observations, including this initial point. Held-out volumes and synthetic-oracle error columns are excluded from the archived LLM input files.

Near-zero behavior of the Gompertz vector field

The logarithm in (2.2) diverges as V→0+V\to0^+, but the vector field itself has a removable zero-limit:

lim⁡V→0+Vlog⁡(K/V)=0.(10)\lim_{V\to0^+}V\log(K/V)=0. \tag*{(10)}

The derivative with respect to VV is singular,

ddV[aVlog⁡(K/V)]=a(log⁡(K/V)−1),(11)\frac{d}{dV}\left[aV\log(K/V)\right]=a\left(\log(K/V)-1\right), \tag*{(11)}

which matters numerically. In PINN training, the immediate risk is that the neural surrogate evaluates the logarithm at nonpositive values, or that a candidate law has a restricted domain such as V<CV<C.

Comparison of growth curves

Figure 1. Representative trajectories with K=20K = 20 and V0=0.1V_0 = 0.1. Gompertz uses a=0.5a = 0.5; the generalized-logistic curves use ν=0.5,1,2\nu= 0.5, 1, 2 and r=0.5/νr = 0.5/\nu in the Richards convention above. Sparse uniform sampling can concentrate observations near saturation, where several laws are difficult to distinguish.

The AI-assisted discovery and refitting pipeline

The pipeline has five modules:

data ⟶\longrightarrow candidate generation ⟶\longrightarrow admissibility filtering ⟶\longrightarrow refitting ⟶\longrightarrow ranking and evaluation.

LLM ranking forms the final stage; the archived ranking case study is described in § 6.

Candidate generation by symbolic regression

The discovery route first fits a smooth surrogate V~(t)\widetilde{V}(t). It then differentiates this surrogate to obtain V~˙(t)\dot{\widetilde{V}}(t) and feeds the phase-space pairs

(V~(sq),V~˙(sq)),q=1,…,200,(12)\left(\widetilde{V}(s_q), \dot{\widetilde{V}}(s_q)\right), \qquad q = 1,\ldots,200, \tag*{(12)}

into symbolic regression. In sparse noisy data this step is fragile because numerical differentiation amplifies noise and sparse uniform samples may contain little information about the early-growth part of the vector field [20].

Unless stated otherwise, the smoothing spline has degree k=min⁡(3,N−1)k = \min(3, N - 1) and smoothing factor

S=N[0.05(max⁡iyi−min⁡iyi)]2.(13)S = N\left[0.05\left(\max_i y_i - \min_i y_i\right)\right]^2. \tag*{(13)}

It is evaluated on 200 equally spaced times over the training interval. The symbolic-regression runs use 1000 iterations, squared loss, a maximum expression size of 20, addition, subtraction, multiplication, division, exponentiation, the unary operator log, deterministic serial execution, and random seed 77. Every expression in the resulting hall of fame is passed to the subsequent filter; phase-space loss alone does not determine the final candidate. Operator complexity weights are 1 for addition and subtraction, 2 for multiplication and division, and 3 for exponentiation and logarithms. The dense noiseless control uses an interpolating quintic spline (S=0S = 0); the 30-realization sparse-search comparison also uses degree five with the smoothing factor above. The sampling-density diagnostic identifies its cubic and quintic settings separately.

Rule-based admissibility filters

A candidate fmf_m is screened before refitting. The filter returns both an accept/reject decision and a primary status.

Definition 3.1 (Candidate state domain). For a symbolic candidate fm(V;θm)f_m(V;\theta_m), its admissible state domain is

Dm(θm)={V>0:fm(V;θm)∈R and ∣fm(V;θm)∣<∞}.(14)D_m(\theta_m)=\{V>0:f_m(V;\theta_m)\in\mathbb{R}\text{ and }|f_m(V;\theta_m)|<\infty\}. \tag*{(14)}

A trajectory is domain-valid on a time interval II if V(t)∈Dm(θm)V(t)\in D_m(\theta_m) for every t∈It\in I.

The main rejection categories are

domain failure,no positive equilibrium,unstable equilibrium,negative trajectory,unsolvable ODE.(15)\begin{aligned} &\text{domain failure},\qquad\text{no positive equilibrium},\qquad\text{unstable equilibrium},\\ &\text{negative trajectory},\qquad\text{unsolvable ODE}. \tag*{(15)} \end{aligned}

PySR caps expression complexity during generation; complexity is not a post-generation filter status.

The filter checks the following conditions.

  1. Autonomy. The candidate is a function of the single PySR predictor VV, not explicit time.

  1. Domain validity. The expression must be real-valued and finite on the positive-volume interval required for numerical checks.

  1. Stable equilibrium. When saturation is expected, there must exist V⋆>0V^\star>0 such that

fm(V⋆)=0,fm′(V⋆)<0.(16)f_m(V^\star)=0,\qquad f'_m(V^\star)<0. \tag*{(16)}

The equilibrium need not lie inside the observed training-volume range. The initial condition must belong to its basin of attraction; a stable root separated from V0V_0 by another equilibrium is insufficient.

  1. Forward positivity. The ODE solution from V0V_0 must remain positive on the training and forecast interval:

min⁡0≤t≤TevalVm(t;θ)>0.(17)\min_{0\leq t\leq T_{\mathrm{eval}}}V_m(t;\theta)>0. \tag*{(17)}
  1. Solver status. NaN evaluation and failure to obtain a finite forward solution are recorded as candidate-level statuses.

For the principal numerical refitting comparisons, define

L=min⁡{V0,min⁡i:yi>0yi},U=max⁡{V0,max⁡iyi}.L=\min\left\{V_0,\min_{i:y_i>0}y_i\right\},\qquad U=\max\left\{V_0,\max_i y_i\right\}.

The expression must be real and finite on [L,U][L,U]. Equilibria are searched on [L,2U][L,2U], and the domain check also covers the interval from V0V_0 to the first equilibrium in its direction of flow. That equilibrium must be stable. Symbolic real-domain and root checks supplement numerical screening; an unresolved required check is not treated as a pass. The forward solution is checked through the fixed forecast horizon. Neither future volumes nor the generating equation enters these acceptance decisions. The same checks are applied to the original expression and to each restored refit.

The forward-positivity condition is essential. A candidate may possess a stable positive equilibrium and still be invalid from the observed initial condition. For example,

f(V)=−V(log⁡(V+5.912802)−3.3113704)−1.5374633(18)f(V)=-V\left(\log(V+5.912802)-3.3113704\right)-1.5374633 \tag*{(18)}

has f(0)<0f(0)<0, so small initial volumes are driven downward. It has a stable positive equilibrium near saturation, but the initial condition V0=0.1V_0=0.1 lies on a forward trajectory that becomes biologically inadmissible.

ODE solution for different initial conditions

Figure 2. A candidate law can have a stable positive equilibrium and still be inadmissible from the observed initial condition. The forward-positivity filter rejects candidates that drive V(t)V(t) negative or leave the candidate’s domain on the evaluation interval.

Classical ODE-constrained nonlinear least squares

For each accepted candidate fm(V;θm)f_m(V;\theta_m), constants are refit by solving

dVdt=fm(V;θm),V(0)=V0,(19)\frac{dV}{dt}=f_m(V;\theta_m), \qquad V(0)=V_0, \tag*{(19)}

and minimizing trajectory residuals against the observed data. Writing

rm(θm)=(Vm(t1;θm)−y1,…,Vm(tN;θm)−yN)T,(20)r_m(\theta_m)=\left(V_m(t_1;\theta_m)-y_1,\ldots,V_m(t_N;\theta_m)-y_N\right)^{\mathsf{T}}, \tag*{(20)}

the objective is

Jm(θm)=12∥rm(θm)∥22,θ^mNLS=arg⁡min⁡θm∈Rpm Jm(θm).(21)J_m(\theta_m)=\frac{1}{2}\lVert r_m(\theta_m)\rVert_2^2,\qquad\widehat{\theta}_m^{\mathrm{NLS}}=\underset{\theta_m\in\mathbb{R}^{p_m}}{\arg\min}\,J_m(\theta_m). \tag*{(21)}

The implementation uses unconstrained Levenberg–Marquardt nonlinear least squares with at most 2000 residual evaluations [8, 9]. Each residual evaluation solves the ODE from the known initial volume. If integration fails or returns a nonfinite trajectory, the residual function returns a large finite vector so that invalid values do not propagate through the optimizer. The restored expression is then re-evaluated by the same admissibility checks used for the original candidate.

The symbolic structure is frozen during this refit. Constants may move, but exponents remain fixed unless explicitly included as model parameters. For example,

V2(a−bV)+c(22)V^2(a-bV)+c \tag*{(22)}

may become

V2(a^−b^V)+c^,(23)V^2(\widehat{a}-\widehat{b}V)+\widehat{c}, \tag*{(23)}

but not

V0.41(a^−b^V)+c^.(24)V^{0.41}(\widehat{a}-\widehat{b}V)+\widehat{c}. \tag*{(24)}

The latter is a different law family.

Optimizer termination and admissibility of the restored equation are distinct checks. A finite trajectory does not establish convergence of the optimizer, and unchanged constants alone do not distinguish a stationary point from stagnation. Accordingly, parameter movement is interpreted together with the optimizer’s termination status; no first-order optimality claim follows solely from a small change in constants.

Candidate-aware PINN refitting

The PINN arm fits a neural surrogate Vϕ(t)V_{\phi}(t) and candidate constants θm\theta_m by minimizing

L(ϕ,θm)=Ldata+λphysLphys,(25)\mathcal{L}(\phi,\theta_m)=\mathcal{L}_{\mathrm{data}}+\lambda_{\mathrm{phys}}\mathcal{L}_{\mathrm{phys}}, \tag*{(25)}

where

Ldata=1N∑i=1N(Vϕ(ti)−yiVscale)2(26)\mathcal{L}_{\mathrm{data}}=\frac{1}{N}\sum_{i=1}^{N}\left(\frac{V_{\phi}(t_i)-y_i}{V_{\mathrm{scale}}}\right)^2 \tag*{(26)}

and

Lphys=1Q∑q=1Q(dVϕdt(sq)−fm(Vϕ(sq);θm)Vscale/Tscale)2.(27)\mathcal{L}_{\mathrm{phys}}=\frac{1}{Q}\sum_{q=1}^{Q}\left(\frac{\frac{\mathrm{d}V_{\phi}}{\mathrm{d}t}(s_q)-f_m(V_{\phi}(s_q);\theta_m)}{V_{\mathrm{scale}}/T_{\mathrm{scale}}}\right)^2. \tag*{(27)}

The candidate right-hand side is evaluated only after the neural output has been mapped into the admissible state domain Dm(θm)D_m(\theta_m).

The candidate-aware PINN protocol specifies two hidden tanh layers of width 20. Time is normalized to [0,1][0,1], and volume and residual scales use the observed training-volume range. Unless a physics-weight comparison states otherwise, λphys=0.1\lambda_{\mathrm{phys}}=0.1. Training uses 1000 collocation times, Adam with learning rates 10−210^{-2} for network weights and 10−110^{-1} for normalized candidate constants, which are mapped back to physical constants for the ODE, 300 epochs, and gradient clipping at norm 1. The principal sparse protocol fixes the data-realization seed at 47 and the PINN initialization seeds at 43–62, giving 20 starts per candidate. The observed initial point enters the data loss; no separate hard initial-condition constraint is imposed. A retained PINN start completes this fixed training budget with finite losses, passes the restored-equation filter, and has finite solved-ODE training MSE. This numerical-success definition does not assert first-order optimality.

Let

ρ(z)=11+e−z(28)\rho(z)=\frac{1}{1+e^{-z}} \tag*{(28)}

denote the logistic map. For candidates whose only state restriction is positivity, the output map is

Vϕ(t)=ϵ0+Vscalesoftplus⁡(zϕ(t)).(29)V_{\phi}(t)=\epsilon_0+V_{\mathrm{scale}}\operatorname{softplus}(z_{\phi}(t)). \tag*{(29)}

where ϵ0=10−6Vscale\epsilon_0=10^{-6}V_{\mathrm{scale}}. For a supported bounded domain Dm(θm)=(0,Um(θm))D_m(\theta_m)=(0,U_m(\theta_m)), the output map is

Vϕ(t)=ϵl+(Um(θm)−ϵu−ϵl)ρ(zϕ(t)),(30)V_{\phi}(t)=\epsilon_l+\left(U_m(\theta_m)-\epsilon_u-\epsilon_l\right)\rho(z_{\phi}(t)), \tag*{(30)}

Proposition 3.2 (Domain preservation). If ϵl,ϵu>0\epsilon_l,\epsilon_u>0 and ϵl+ϵu<Um(θm)\epsilon_l+\epsilon_u<U_m(\theta_m), then the output map in (3.19) satisfies

ϵl<Vϕ(t)<Um(θm)−ϵu(31)\epsilon_l<V_{\phi}(t)<U_m(\theta_m)-\epsilon_u \tag*{(31)}

for every tt and every finite network output zϕ(t)z_{\phi}(t).

Proof. Since 0<ρ(z)<10<\rho(z)<1 for every z∈Rz\in\mathbb{R}, multiplication by Um(θm)−ϵu−ϵl>0U_m(\theta_m)-\epsilon_u-\epsilon_l>0 and addition of ϵl\epsilon_l give the stated bounds. □

When the upper boundary depends on a refitted constant, domain preservation requires evaluating Um(θm)U_m(\theta_m) at the current parameter values and maintaining Um(θm)>ϵl+ϵuU_m(\theta_m)>\epsilon_l+\epsilon_u. The implementation uses ϵl=10−3\epsilon_l=10^{-3} and ϵu=10−6max⁡{1,∣Um(θm)∣}\epsilon_u=10^{-6}\max\{1,\lvert U_m(\theta_m)\rvert\}, with bounds evaluated from the current physical constants. This margin prevents a floating-point sigmoid value of one from reaching a strict logarithmic domain boundary. The computational upper cap is 10610^6; an interval of width at most one or a failed bound evaluation receives a domain-failure status. For an affine logarithmic constraint with lower boundary Lm(θm)L_m(\theta_m), the lower endpoint becomes max⁡{10−3,Lm(θm)+10−6max⁡(1,∣Lm(θm)∣)}\max\{10^{-3},L_m(\theta_m)+10^{-6}\max(1,\lvert L_m(\theta_m)\rvert)\}. Multiple upper constraints are combined by their minimum and multiple lower constraints by their maximum, evaluated at the current constants.

For symbolic candidates with disconnected or nested parameter-dependent domains that cannot be parameterized reliably, the PINN attempt is assigned the status unsupported candidate domain.

The classical ODE-constrained arm is evaluated independently and may still succeed.

Remark 3.3. If an invalid operation has already produced NaN inside the automatic differentiation graph, replacing the final scalar loss by a fixed constant does not restore a valid gradient; a literal constant also has zero derivative. Likewise, perturbing a candidate parameter whenever an invalid evaluation occurs changes the law during optimization, and clipping the network to the observed volume range changes the state space on which the physics residual is enforced. Accordingly, the candidate domain is enforced before fmf_m is evaluated; when such enforcement is unavailable, the attempt receives a controlled domain status.

The network prediction Vϕ(t)V_\phi(t) and the ODE solution using the refitted constants are reported separately. The principal forecast of the recovered law is obtained by solving

dVdt=fm(V;θ^mPINN),V(0)=V0.(32)\frac{dV}{dt}=f_m\left(V;\widehat{\theta}^{\mathrm{PINN}}_m\right), \qquad V(0)=V_0. \tag*{(32)}

The neural-network forecast is a separate diagnostic. The discrepancy between the two trajectories is measured by the dimensionless PINN–ODE consistency gap

GPINN−ODE=1Vscale(1J∑j=1J[Vϕ(tj)−Vm(tj;θ^mPINN)]2)1/2.(33)G_{\mathrm{PINN-ODE}}=\frac{1}{V_{\mathrm{scale}}}\left(\frac{1}{J}\sum_{j=1}^{J}\left[V_\phi(t_j)-V_m\left(t_j;\widehat{\theta}^{\mathrm{PINN}}_m\right)\right]^2\right)^{1/2}. \tag*{(33)}

Valid consistency gaps evaluate both trajectories on a common grid in physical time and volume units, then normalize by the fixed training-volume range. The grid contains 1000 equally spaced training times. A large gap indicates that the neural surrogate and restored ODE are inconsistent, but no thresholded pass/fail rule is imposed.

Post-hoc LLM ranking

The archived prompt defines a ranking and explanation task. Each input consists of the noise level, training and forecast intervals, six training observations, and a candidate table with four columns: candidate ID, fitted right-hand side, symbolic complexity, and training-trajectory MSE. The prompt states that the listed candidates have passed real-domain, positive-solution, and stable-equilibrium checks. It withholds the generating equation and parameters, future volumes, forecast errors, and law-level errors. The six input tables pool original PySR, PINN-refitted, and classical-refitted expressions; method names are omitted, but the rows are interleaved and the IDs sequential. Thus the prompt’s description of the table as randomized is not supported by the stored inputs.

These historical candidate pools were formed before the training-only filter and common-unit PINN–ODE gap described above. Their original filter used a volume bound derived from the synthetic future trajectory. Accordingly, direct withholding of the oracle columns does not establish oracle-independent pool construction. The LLM analysis is a descriptive case study conditional on these historical pools, not a blinded comparison of the corrected refitting arms. Every saved ranking is evaluated on its exact supplied expressions, without substituting a later refit or changing pool membership.

The prompt asks the evaluator to rank every candidate exactly once, applying mathematical and biological robustness first, observed-data agreement second, and parsimony and interpretability third. It cannot refit or simplify an expression, create a new law, reject an accepted law, or override a filter. This role separates the requested ranking from equation generation and numerical optimization. The saved responses are assessed for both selection outcomes and the validity of their explanations.

For synthetic data, LLM ranking performance is defined by

LLMTop1=1{LLM top-ranked candidate matches the generating family},(34)\mathrm{LLM}_{\mathrm{Top1}}=\mathbf{1}\{\text{LLM top-ranked candidate matches the generating family}\}, \tag*{(34)}

forecast regret

Regret⁡forecast=RMSE⁡forecast(LLM top choice)−min⁡mRMSE⁡forecast(m),(35)\operatorname{Regret}_{\mathrm{forecast}}=\operatorname{RMSE}_{\mathrm{forecast}}(\mathrm{LLM\ top\ choice})-\min_{m}\operatorname{RMSE}_{\mathrm{forecast}}(m), \tag*{(35)}

and law-error regret

Regret⁡f=Effull(LLM top choice)−min⁡mEffull(m),(36)\operatorname{Regret}_{f}=E_{f}^{\mathrm{full}}(\mathrm{LLM\ top\ choice})-\min_{m}E_{f}^{\mathrm{full}}(m), \tag*{(36)}

where each minimum is taken over the complete supplied candidate pool for that noise level. A regret is reported only when the corresponding oracle metric is finite for every candidate in that trial; otherwise its availability status is retained. LLMTop1 is defined only when the generating family is represented in the supplied candidate pool; otherwise the trial measures prioritization and regret but not top-one family recovery. The retrospective deterministic comparison chooses the smallest supplied training-trajectory MSE, breaking exact ties by complexity and then candidate ID. Its forecast and law errors are evaluated on the same equations and grids as the saved LLM choices. This baseline is an author-computed comparison of the archived outcomes.

Evaluation metrics

The candidate table contains both numerical metrics and status labels.

Training trajectory error.

MSE⁡train(m)=1N∑i=1N[Vm(ti;θ^m)−yi]2.(37)\operatorname{MSE}_{\mathrm{train}}(m)=\frac{1}{N}\sum_{i=1}^{N}\left[V_m(t_i;\hat{\theta}_m)-y_i\right]^2. \tag*{(37)}

For the PySR and refit-ODE rows, VmV_m is obtained by solving the candidate ODE from V0V_0. A direct PINN-network training MSE is reported separately and is never substituted for the solved-ODE value. The initial observation contributes a residual even for the generating law when noise is applied at t=0t=0, as described in § 2.

Forecast error. On a held-out time grid {τj}j=1J⊂[Ttrain,Teval]\{\tau_j\}_{j=1}^{J}\subset[T_{\mathrm{train}},T_{\mathrm{eval}}],

RMSE⁡forecast(m)=(1J∑j=1J[Vm(τj;θ^m)−Vtrue(τj)]2)1/2.(38)\operatorname{RMSE}_{\mathrm{forecast}}(m)=\left(\frac{1}{J}\sum_{j=1}^{J}\left[V_m(\tau_j;\hat{\theta}_m)-V_{\mathrm{true}}(\tau_j)\right]^2\right)^{1/2}. \tag*{(38)}

The principal forecast metric likewise uses the solved candidate ODE. Direct network forecasts are diagnostics of the neural surrogate, not forecasts of the restored governing law.

Law-level error. For synthetic Gompertz benchmarks, law recovery is measured by

Effull(m)=(∫0.120[fm(V;θ^m)−0.5Vlog⁡(20/V)]2 dV∫0.120[0.5Vlog⁡(20/V)]2 dV)1/2.(39)E_f^{\mathrm{full}}(m)=\left(\frac{\int_{0.1}^{20}\left[f_m(V;\hat{\theta}_m)-0.5V\log(20/V)\right]^2\,\mathrm{d}V}{\int_{0.1}^{20}\left[0.5V\log(20/V)\right]^2\,\mathrm{d}V}\right)^{1/2}. \tag*{(39)}

This dimensionless relative L2L^2 vector-field error is a synthetic-oracle metric for the restored candidate ODE; it is not defined for the direct network output and is never supplied to the LLM. If the candidate is not real-valued and finite on [0.1,20][0.1,20], the metric is recorded as a domain failure; the integration interval is not shortened.

Numerical statuses. Domain validity, optimizer termination, and integration outcomes accompany the error metrics. A numerical comparison requires finite values of the metric under consideration. Failure statuses include

Domain Failure,Unsupported Candidate Domain or Expression,NaN Loss,Unstable Refit,Optimizer Stagnation,Non-convergence.(40)\begin{aligned} &\text{Domain Failure},\quad\text{Unsupported Candidate Domain or Expression},\quad\text{NaN Loss},\\ &\text{Unstable Refit},\quad\text{Optimizer Stagnation},\quad\text{Non-convergence}. \tag*{(40)} \end{aligned}

The denominator and success criterion are stated with each summary. A finite forecast alone does not establish biological admissibility or optimizer convergence.

Experimental units and paired summaries

The independent experimental unit is a generated data realization. Candidate expressions share the observations and derivative estimates from a symbolic-regression run, and repeated PINN starts share a candidate structure. Table 1 summarizes 30 data realizations. The remaining numerical tables describe selected candidates or candidate sets within stated realizations. Repeated starts are summarized within each candidate; the representative reported by the main refitting program minimizes training MSE among retained starts. For a metric MM, the paired change for arm AA is

Table 1. Ranking instability across 30 sparse noisy Gompertz realizations. Trajectory errors use the six noisy training observations; the generating-law baseline uses the known parameters. Bracketed intervals are two-sided 95% Wilson intervals. The 24/30 comparison counts two failed candidate integrations as infinite error; the corresponding finite-only count is 22/28.

QuantityValue
TruthGompertz, a=0.5a = 0.5, K=20K = 20, V0=0.1V_0 = 0.1
Data regimeN=6N = 6, σ=0.08\sigma= 0.08, R=30R = 30
Default PySR choice is non-Gompertz29/30 = 97% [83%, 99%]
Lowest training-RMSE candidate is Gompertz3/30 = 10% [3%, 26%]
Generating law has lower training RMSE than default choice24/30 = 80% [63%, 90%]
Median training RMSE, generating law1.145
Median training RMSE, default PySR choice1.815
ΔMr,mA=M(fr,mA)−M(fr,mPySR)(41)\Delta M^{A}_{r,m}=M\left(f^{A}_{r,m}\right)-M\left(f^{\mathrm{PySR}}_{r,m}\right) \tag*{(41)}

so a negative value denotes improvement over the original PySR constants. Medians over candidate expressions describe that candidate set and are not interpreted as independent treatment effects.

Results

Dense noiseless positive control

The dense noiseless example uses

N=50,σ=0,0≤t≤14.(42)N=50,\qquad\sigma=0,\qquad0\le t\le14. \tag*{(42)}

Its PINN refit uses 500 epochs, candidate-parameter learning rate 10−510^{-5}, and initialization seed 42; other network settings agree with the main configuration. The recovered expression, rounded to the displayed precision,

V˙=V(1.50−0.500log⁡V)(43)\dot{V}=V(1.50-0.500\log V) \tag*{(43)}

is algebraically Gompertz. Indeed,

aVlog⁡(K/V)=aVlog⁡K−aVlog⁡V.(44)aV\log(K/V)=aV\log K-aV\log V. \tag*{(44)}

Matching (5.2) gives

a=0.500,alog⁡K=1.50,(45)a=0.500,\qquad a\log K=1.50, \tag*{(45)}

and therefore

log⁡K=3,K=e3≈20.09.(46)\log K=3,\qquad K=e^{3}\approx20.09. \tag*{(46)}

The expression therefore belongs to the generating Gompertz family. The rounded coefficients imply a carrying capacity close to, but not exactly equal to, the generating value K=20K=20. This realization provides a positive control for family recovery under dense noiseless sampling.

PINN-Refitted ODE vs. Original Data

Figure 3. Dense noiseless positive control with 50 observations on [0,14][0,14]. The curve is the solved PINN-refitted ODE. The rounded recovered expression V(1.50−0.500log⁡V)V(1.50-0.500\log V) is algebraically equivalent to Gompertz with a=0.5a=0.5 and K=e3≈20.09K=e^{3}\approx20.09.

Sparse symbolic search can favor plausible but incorrect laws

Under sparse noisy sampling, the default symbolic-regression choice can have an incorrect functional form. A representative surrogate, with C>1C > 1, is

fC(V)=log⁡(C−V).(47)f_C(V) = \log(C - V). \tag*{(47)}

This family has a stable equilibrium at

V⋆=C−1,(48)V^\star= C - 1, \tag*{(48)}

because log⁡(C−V⋆)=0\log(C - V^\star) = 0 and fC′(V⋆)=−1<0f_C'(V^\star) = -1 < 0. Nevertheless it is not Gompertz. It satisfies

fC(0)=log⁡C≠0,(49)f_C(0) = \log C \ne0, \tag*{(49)}

whereas Gompertz satisfies

lim⁡V→0+0.5Vlog⁡(20/V)=0.(50)\lim_{V \to0^+} 0.5V \log(20/V) = 0. \tag*{(50)}

Moreover, log⁡(C−V)\log(C - V) is monotone decreasing in VV, while the Gompertz rate is unimodal with maximum near V=K/eV = K/e. Hence a log-saturation surrogate can track the saturation phase while missing the early and intermediate growth law.

A benchmark with Gompertz truth, N=6N = 6, and 8% noise illustrates this instability. For each of 30 data seeds (47–76), PySR generates a candidate set from spline-derived phase-space data. Its default complexity-aware selection returns a non-Gompertz expression in 29 cases. This selection balances phase-space accuracy and complexity; it is not simply the expression with the smallest phase-space error.

The generating equation at its known parameters has smaller trajectory RMSE than the default PySR choice in 24 of 30 realizations, counting two failed candidate integrations as infinite error. Among the 28 finite comparisons, the count is 22. These errors are evaluated at the six noisy training observations. Selecting the smallest training-trajectory RMSE from the PySR candidate set returns a Gompertz expression in only 3 of 30 realizations. Thus neither the default symbolic score nor training-trajectory error reliably identifies the generating family in this sparse regime.

Phase-space and real-space ODE comparisons

Figure 4. A separate sparse example with N=6N = 6, σ=0.08\sigma= 0.08, data seed 47, and observations on [0,10][0, 10]. The PySR law V(0.7568282−0.037870117V)V(0.7568282 - 0.037870117V) follows the estimated phase-space relation but has a different trajectory from Gompertz truth. The blue Gompertz curve is fitted to spline-derived (V,V˙)(V, \dot{V}) pairs, not to trajectory residuals. Trajectories are displayed through t=12.5t = 12.5.

Refitting separates trajectory fit, forecast accuracy, and law recovery

The seed-45 example in Table 2 uses N=6N = 6, 20% noise, and seed 45. The candidate is a quadratic-saturation law selected from the PySR hall of fame. PINN refitting increases both training and forecast errors relative to the original constants. Classical nonlinear least squares gives the smallest training and forecast errors, but the original PySR expression has the smallest law-level error. Better trajectory prediction therefore does not imply better recovery of the vector field.

Table 2. Seed-45 summary for a structure-preserving quadratic candidate f(V)=V(0.2526−0.01562V)+2.1931f(V) = V(0.2526 - 0.01562V) + 2.1931 from a sparse noisy Gompertz benchmark (seed 45, N=6N = 6, σ=0.20\sigma= 0.20, λphys=0.1\lambda_{\mathrm{phys}} = 0.1). The PINN representative uses initialization seed 53, selected from 20 starts by training MSE. Smaller values are better. The column EffullE_f^{\mathrm{full}} denotes the full law-level error in (39).

MethodTraining MSEForecast RMSEEffullE_f^{\mathrm{full}}
PySR constants2.3022.4170.198
PINN-refit ODE4.0082.8500.261
Classical NLS ODE0.9871.8230.378

In the seed-47 example, the selected PySR expression is a linear saturation law. Both refitters increase its forecast error. The direct PINN-network forecast has smaller error than the solved PINN-refit ODE but larger error than the original PySR ODE. The neural trajectory and the trajectory generated by its fitted constants are therefore evaluated separately. Both examples retain all 20 PINN starts. Their law-error ranges are [0.261, 0.321] at seed 45 and [0.434, 0.464] at seed 47, entirely above the respective original PySR errors of 0.198 and 0.427. Thus the law-error deterioration in these two examples is not confined to the selected start. Appendix C gives the mean, standard deviation, median, interquartile range, and extrema across starts.

Status-gated comparisons omit rows marked as domain failures or unstable refits from accuracy summaries and count them in method-specific failure rates, even when an intermediate numerical forecast appears favorable. The single-candidate examples illustrate metric separation but do not support method-level inference.

Across the six sparse noise conditions at data seed 47 and λphys=0.1\lambda_{\mathrm{phys}} = 0.1, the initial filter retains 52 of 64 generated expressions. PINN and classical refitting retain 40 and 44 expressions, respectively. Relative to the original constants of each retained structure, PINN refitting increases EffullE_f^{\mathrm{full}} in 35 of 40 comparisons, whereas classical refitting decreases it in 36 of 44. These are descriptive, within-structure comparisons across the retained sets, not independent replicate estimates or a comparison on identical retention sets.

Refit success and physics-weight sensitivity

The refitters have distinct potential failure modes. An unchanged classical parameter vector does not by itself identify the cause of termination, whereas a PINN loss can become nonfinite when a candidate is evaluated outside its supported domain. Candidate-aware maps are designed to constrain supported domains; unsupported expressions and residual training instability remain explicit outcomes. The implementation also records unsupported parameter normalization when its one-to-one scaling of constants cannot represent a product of learned constants outside logarithms. This status occurs before optimization and is distinct from a domain violation or a refitted equilibrium that is unreachable from the initial condition.

Each candidate is classified into four cases:

CaseMeaning
Both succeedclassical and PINN refits both pass
Classical onlyclassical refit passes, PINN fails
PINN onlyPINN refit passes, classical refit fails
Neitherboth refits fail

Table 5.10.

Numerical and domain failures are recorded separately for each method. Within the classical-success category, parameter movement describes whether the returned constants changed. Within the PINN-failure category, unsupported candidate domains are separated from training instability.

Physics-weight sensitivity is summarized on the grid

λphys∈{0.1,1,10}.(51)\lambda_{\mathrm{phys}} \in\{0.1, 1, 10\}. \tag*{(51)}

Table 4 pools the selected PINN representative from each retained candidate across four noise levels at data seed 47. Each representative is selected by training MSE from the retained PINN starts. The table reports medians over these representatives, rather than over individual starts. The smallest physics weight gives the smallest median training, forecast, and law-level errors among the retained candidate sets. Increasing the physics weight does not monotonically improve forecasting. Shared data realizations, different retention rates, and selection of starts limit this comparison to a description of the retained candidate sets. At each physics weight, the 36 initially accepted expressions generate 720 configured PINN starts. The retained-start counts are 512, 559, and 537 at weights 0.1, 1, and 10. Each weight has 120 starts with unsupported parameter normalization; the remaining failures are domain violations (68, 22, and 63) or refitted equilibria outside the initial condition’s basin (20, 19, and 0).

λphys\lambda_{\mathrm{phys}}Training-trajectory MSEForecast RMSEEffullE_f^{\mathrm{full}}
0.13.88521.59390.3910
16.98763.23250.4545
109.98592.30510.4709

Table 4. Medians over selected PINN representatives for σ=5%,10%,15%,20%\sigma= 5\%, 10\%, 15\%, 20\%, N=6N = 6, and data seed 47. Each expression contributes its retained start with the smallest training MSE. The retained candidate counts are 26/44, 29/44, and 28/44 for physics weights 0.1, 1, and 10, respectively; 36 of the 44 original expressions pass the initial filter at each weight. Candidate expressions and repeated starts are not independent data realizations.

Sampling density, spline degree, and a fixed-family baseline

Table 5 compares a directly fitted Gompertz model with PINN-refitted symbolic candidates for one Gompertz data realization per regime (data seed 47). The observations span [0,15][0, 15], and forecast errors use NN noiseless times on [15.5,25.5][15.5, 25.5]. Candidate counts refer to expressions in a PySR run, not repeated data trials. The fixed-Gompertz column contains the error of one least-squares fit; the candidate column is the median error among expressions that return a finite forecast.

RegimeNNσ\sigmaFinite/totalFixed GompertzCandidate medianLower error
Sparse120.057/110.2140.3250/7
Medium200.038/110.1460.3082/8
Dense, k=3k = 3400.018/110.1120.2041/8
Dense, k=5k = 5400.014/120.1120.0784/4

Table 5. Gompertz-generated comparisons at data seed 47. The fixed-family error is from one fit; the candidate error is a median over finite PINN-refitted forecasts. “Lower error” counts candidate expressions that outperform the fixed-Gompertz fit. All rows except the last use spline degree k=3k = 3.

This diagnostic uses a single PINN start (seed 42), 500 epochs, and candidate parameter learning rate 10−510^{-5}, rather than the main refitting configuration. A finite forecast is its inclusion criterion and does not establish optimizer convergence or admissibility of the refitted expression. With a cubic smoothing spline, the median candidate forecast error exceeds the fixed-Gompertz error in all three sampling regimes. In the dense regime with a quintic spline, four expressions return finite forecasts, all with smaller errors than the fixed-family baseline. Only one of these four expressions has Gompertz form. These comparisons describe sensitivity to sampling and spline construction within the given realizations.

Figure 5 is a separate misspecification illustration. Its trajectory is generated by a Richards law with ν=2\nu= 2 and fitted with a Gompertz model. It is not the data-generating process for Table 5.

Tumor Growth Over Time, noise = 0

Figure 5. A noiseless Richards example with ν=2\nu= 2, r=0.5r = 0.5, K=20K = 20, V0=0.1V_0 = 0.1, and 12 observations on [0,11][0, 11], fitted with a Gompertz family. The forecast RMSE of 15.238 uses 200 times on [11,15][11, 15]. This illustration is distinct from the Gompertz-generated comparisons in Table 5.

LLM ranking of archived candidate sets

Records and scoring

The case study comprises six ranking reports dated 20–21 September 2026, one for each noise level σ∈{0,0.05,0.10,0.15,0.20,0.30}\sigma\in\{0, 0.05, 0.10, 0.15, 0.20, 0.30\} at data seed 47. Each pool combines original PySR, PINN-refitted, and classical-refitted expressions from the historical λphys=0.1\lambda_{\mathrm{phys}} = 0.1 runs. The pool sizes are 24, 26, 27, 20, 27, and 21, totaling 145 entries. Every response ranks all supplied IDs exactly once, with its stated top choice agreeing with rank one. The common prompt is reproduced in Appendix § 11; the original prompt, input files, and unedited ranking PDFs accompany the reproducibility archive. The records identify neither the model version nor decoding settings, so the unit of analysis is the recorded ranking rather than a specified model’s repeatable performance distribution.

All 145 visible expressions and training errors match their numerical source records. Forecast and law errors are recomputed from these exact expressions, using an independent ODE integration and quadrature calculation, with all metrics finite. Forecast discrepancies from the source records are below 2×10−92 \times10^{-9}, and law-error discrepancies are below 4×10−144 \times10^{-14}. Algebraic classification tests whether f(V)/V=A−Blog⁡Vf(V)/V = A - B \log V with constant AA and B>0B > 0; none of the 145 entries belongs to the Gompertz family. Conditional LLMTop1 family-recovery accuracy is therefore undefined for all six pools.

Top-choice performance

Table 6 compares the recorded top choices with the minimum-training-MSE baseline. All six LLM top choices correspond to classical-refitted expressions, although that provenance was omitted from the visible table. This observation describes the supplied mixed pools and does not isolate a preference for a refitting method.

σ\sigmannLLM Selected IDTrain Selected IDLLM Forecast RMSETrain Forecast RMSEEffullE_{f}^{\mathrm{full}} LLMEffullE_{f}^{\mathrm{full}} Train
0.0024C6C210.1390.1230.3300.123
0.0526C9C170.2890.5260.1770.091
0.1027C12C120.8150.8150.2350.235
0.1520C9C182.1251.2960.3460.329
0.2027C15C243.5321.5490.4000.355
0.3021C6C64.2064.2060.3970.397

Table 6. Retrospective scoring of the six archived LLM rankings. nn is the pool size; “Train” selects the smallest supplied training MSE. IDs are local to each pool. Both forecast RMSE and law error are computed on the exact historical expressions, not the later numerical refits.

Relative to the training-error baseline, the LLM choice has lower forecast error in one pool, equal error in two, and higher error in three. Its law error is equal in two pools and higher in four. Equality here uses absolute tolerance 10−810^{-8}; in both equal cases the selected IDs are identical. Forecast regret relative to the best candidate in each complete pool is positive in all six cases, ranging from 0.027 to 1.983. Law-error regret ranges from zero to 0.207 and vanishes only at σ=0.10\sigma= 0.10. Thus the archived rankings do not demonstrate added predictive or law-recovery value over minimum training error. The six noise conditions share a data seed and candidate-generation pipeline; these counts are descriptive, not independent-replicate significance tests.

Scientific explanations

The responses often favor smooth saturation behavior and penalize restricted logarithmic domains, consistent with the prompt’s robustness-first ordering. Their explanations nevertheless require mathematical verification. For example, the 20% noise response treats logarithmic singularities at particular volumes as lying within the forecast interval [15.5, 25.5], which is an interval of time. Comparing a state-domain boundary with a time horizon does not establish whether a trajectory approaches that boundary. The 5% response describes C14 as having negative low-volume growth, although its expression is a positive quadratic factor multiplied by 20.1231−V20.1231 - V, and hence is positive below that equilibrium. These errors illustrate the need to verify ranking explanations by domain analysis and numerical evaluation.

Discussion

The numerical comparisons separate three sources of uncertainty: the equation family proposed by symbolic search, the constants obtained by refitting, and the ranking of accepted candidates. These uncertainties affect different aspects of extrapolation.

First, sparse tumor-growth law discovery depends on both identifiability and optimization. When observations are concentrated near saturation, several laws produce similar trajectories but different vector fields. Derivative-based phase-space symbolic regression can rank plausible saturation surrogates above the generating law.

Second, trajectory fit is not law recovery. The log-saturation family log⁡(C−V)\log(C - V) illustrates the point: its equilibrium can be moved close to the true carrying capacity, producing good forecasts in some cases, while the family still has a parameter-dependent restricted domain that may exclude the evaluation interval, the wrong near-zero behavior, and the wrong vector-field shape. Law-level error EffullE_f^{\mathrm{full}} therefore distinguishes a curve fit from recovery of the governing equation.

Third, PINN refitting is best viewed as a regularized refit of a proposed law, not as a mechanism that rescues misspecified law families. It can improve forecast behavior for some accepted candidates, and it can fail on others when a candidate domain is unsupported or when optimization becomes unstable. These are mathematically different events from a classical no-update solution, whose interpretation also requires the optimizer’s termination status. Candidate-aware state maps constrain the region in which the physics residual is evaluated. Numerical errors must be read together with the integration and optimization outcomes, especially when a summary retains only a subset of candidate expressions or initializations.

A fixed large loss assigned after a NaN does not solve the domain problem, and ad hoc parameter perturbations change the candidate being refit. Domain constraints must enter before the symbolic right-hand side is evaluated. For simple interval domains this can be achieved by smooth output parameterizations; candidates with unsupported domains are recorded as such.

In the six archived cases, the LLM choices improve on the training-error baseline in only one forecast comparison and no law-error comparison. The volume–time confusion in one explanation also shows that a ranking rationale may be mathematically incorrect. Deterministic checks and solved-ODE evaluation remain necessary for LLM-selected equations.

The benchmark is synthetic, one-dimensional, autonomous, and focused on monotone untreated growth. Forecast and vector-field errors are available because the generating law is known; they are not directly observable in clinical data. The symbolic stage depends on spline differentiation, and its expressions are nested within a common data realization rather than independent replicates. PINN conclusions depend on initialization and optimization settings. The LLM results concern six saved responses to one prompt, with mixed-arm, nonrandomized pools and future-informed historical eligibility. They do not establish causal ranking benefits, robustness to presentation order, or performance across LLMs.

Conclusion

In this synthetic benchmark, accurate trajectory fits and forecasts can coexist with incorrect growth laws. Among retained candidates under the tested settings, PINN refitting often increases vector-field error, whereas classical nonlinear least squares usually reduces it. The archived LLM rankings show no consistent improvement over selection by training error and include mathematically incorrect explanations. The neural surrogate, the solved candidate ODE, and the recovered vector field therefore require separate evaluation. Neither low training error nor a persuasive ranking rationale certifies recovery of the governing law.

Acknowledgments

W. Wang was partially supported by the Simons Foundation Travel Support for Mathematicians (No. 0007730). The authors acknowledge use of AI tools.

Data and code availability

The supplementary reproducibility archive contains the symbolic candidate tables, refitting code and numerical records, the archived LLM prompt and input files, the six original ranking reports, and the retrospective scoring code. https://github.com/Victor230791/AI_Assisted_Tumor_Growth_Law_Discovery_Code_Base

Archived LLM ranking prompt

The following text reproduces the substantive instructions in the archived prompt, with mathematical notation typeset. The original PDF also requests export of the response as a dated PDF named after the input CSV. Its reference to a randomized table is part of the original prompt; the stored inputs use sequential IDs and interleaved method order, as described in § 3.5.

You are an independent, blinded evaluator in a symbolic tumor-growth ODE model-selection experiment. Treat this as an isolated task. Do not use previous conversations, memory, web browsing, external sources, established laws, or results from any other experiment.

The tumor volume V(t)>0V(t) > 0 is modeled by the autonomous ODE

dVdt=f(V).\frac{dV}{dt} = f(V).

The data-generating equation, its parameters, all future observations, forecast errors, and law-level errors are intentionally withheld.

Every candidate below has already passed the following deterministic requirements:

  1. the right-hand side is real and finite on the required positive-volume interval;

  2. the trajectory of their solutions with the initial condition V(0)=0.1V(0) = 0.1 remains positive and numerically solvable;

  3. the candidate has a finite positive stable equilibrium.

Rank the accepted candidates from most to least scientifically defensible for extrapolating tumor growth. Apply these criteria in order:

  1. mathematical and biological robustness, including plausible positive growth below saturation, stable saturation, and no evident fragility from a nearby singularity or restricted domain;

  2. agreement with the observed data, using only the supplied training-trajectory MSE;

  3. parsimony and interpretability, using the supplied complexity; and

  4. lower complexity when the preceding considerations are essentially tied.

Do not favor a candidate merely because it resembles a proposed or known growth law.

Do not identify the hidden generating equation, refit coefficients, simulate trajectories, calculate missing quantities, modify or simplify an expression, reject an accepted candidate, or propose a new equation. Do not infer anything from candidate IDs or row order.

Rank every candidate exactly once. Return a Markdown table with columns Rank, Candidate ID, Main strength, Main concern, and Reason for rank; then identify one top choice by candidate ID with a two-sentence explanation; then give a two- or three-sentence comparison of the candidate set. Do not output JSON, code, a response schema, or a rewritten prompt.

Randomized accepted candidate table is attached in the CSV file. Refer to the TXT file for trial information.

Candidate-table schema

The archived ranking inputs and retrospective evaluation records have the following fields. Hidden columns were absent from the supplied CSV and TXT files; historical pool eligibility was nevertheless future-informed.

FieldLLM visibilityMeaning
Trial informationVisiblenoise level and training/forecast intervals
Training observationsVisibleonly the observed training (t,V)(t, V) values
Candidate ID and expressionVisiblesequential ID and fitted right-hand side
ComplexityVisiblesymbolic complexity score
Training-trajectory MSEVisiblesolved-ODE fit to the observed sparse points
Acceptance statementVisibleshared statement that every listed candidate passed the required filters
Future volumes and forecast RMSEHiddenauthor-computed evaluation of the archived selections
EffullE_f^{\mathrm{full}} and generating-family matchHiddensynthetic-oracle evaluation fields
LLM rank and rationaleOutputrecorded ranking and scientific explanation

Variation across PINN initializations

Table 7 summarizes the same two candidates as Table 2 and Table 3, across initialization seeds 43–62. All 20 starts pass for each example. For a metric MsM_s, SD uses the population convention

Table 3. Seed-47 summary for the linear candidate f(V)=3.288−0.1394Vf(V) = 3.288 - 0.1394V from seed 47, N=6N = 6, σ=0.20\sigma= 0.20, and λphys=0.1\lambda_{\mathrm{phys}} = 0.1. The PINN representative uses initialization seed 55, selected from 20 starts by training MSE. The PINN network output and the solved PINN-refit ODE are distinct objects.

MethodTraining MSEForecast RMSEEffullE_f^{\mathrm{full}}
PySR ODE13.2842.1990.427
PINN-refit ODE13.4734.2450.434
PINN network output12.8022.690–
Classical NLS ODE12.7813.5320.400
Data seedMetricMeanSDMedianIQRMinMax
45Training MSE5.7450.9195.8640.9644.0087.740
45Forecast RMSE3.1110.0963.1400.0852.8503.279
45EffullE_f^{\mathrm{full}}0.2930.0150.2960.0140.2610.321
47Training MSE13.8110.37313.7150.28413.47314.834
47Forecast RMSE4.4470.2234.4190.2064.0645.047
47EffullE_f^{\mathrm{full}}0.4430.0080.4410.0070.4340.464

Table 7. Across-start PINN-refit ODE errors for the two 20%-noise examples. Each row contains 20 valid starts; values are rounded to three decimals.

SD=(120∑s=120(Ms−M‾)2)1/2\mathrm{SD} = \left(\frac{1}{20}\sum_{s=1}^{20}(M_s-\overline{M})^2\right)^{1/2}

IQR is the difference between the empirical 75th and 25th percentiles. These are within-candidate initialization summaries, not confidence intervals over independent data sets. The numerical archive also retains every start’s status, restored expression, network metrics, and fitted-ODE metrics.

References

  1. [1]S. Benzekry, C. Lamont, A. Beheshti, A. Tracz, J. M. L. Ebos, L. Hlatky, and P. Hahnfeldt. Classical mathematical models for description and prediction of experimental tumor growth. PLoS Computational Biology, 10(8):e1003800, 2014. doi:10.1371/journal.pcbi.1003800.DOI
  2. [2]S. L. Brunton, J. L. Proctor, and J. N. Kutz. Discovering governing equations from data by sparse identification of nonlinear dynamical systems. Proceedings of the National Academy of Sciences, 113(15):3932–3937, 2016. doi:10.1073/pnas.1517384113.DOI
  3. [3]M. Cranmer. Interpretable machine learning for science with PySR and SymbolicRegression.jl. arXiv preprint arXiv:2305.01582, 2023. doi:10.48550/arXiv.2305.01582.DOI
  4. [4]P. Gerlee. The model muddle: in search of tumor growth laws. Cancer Research, 73(8):2407–2411, 2013. doi:10.1158/0008-5472.CAN-12-4355.DOI
  5. [5]B. Gompertz. On the nature of the function expressive of the law of human mortality, and on a new mode of determining the value of life contingencies. Philosophical Transactions of the Royal Society of London, 115:513–583, 1825. doi:10.1098/rstl.1825.0026.DOI
  6. [6]A. S. Krishnapriyan, A. Gholami, S. Zhe, R. M. Kirby, and M. W. Mahoney. Characterizing possible failure modes in physics-informed neural networks. Advances in Neural Information Processing Systems, 34:26548–26560, 2021.arxiv.org/abs/2109.01050
  7. [7]A. K. Laird. Dynamics of tumor growth. British Journal of Cancer, 18:490–502, 1964. doi:10.1038/bjc.1964.55.DOI
  8. [8]K. Levenberg. A method for the solution of certain non-linear problems in least squares. Quarterly of Applied Mathematics, 2(2):164–168, 1944. doi:10.1090/qam/10666.DOI
  9. [9]D. W. Marquardt. An algorithm for least-squares estimation of nonlinear parameters. Journal of the Society for Industrial and Applied Mathematics, 11(2):431–441, 1963. doi:10.1137/0111030.DOI
  10. [10]C. E. Mower and H. Bou-Ammar. Al-Khwarizmi: discovering physical laws with foundation models. arXiv preprint arXiv:2502.01702, 2025. doi:10.48550/arXiv.2502.01702.DOI
  11. [11]H. Murphy, H. Jaafari, and H. M. Dobrovolny. Differences in predictions of ODE models of tumor growth: a cautionary example. BMC Cancer, 16:163, 2016. doi:10.1186/s12885-016-2164-x.DOI
  12. [12]M. Raissi, P. Perdikaris, and G. E. 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. doi:10.1016/j.jcp.2018.10.045.DOI
  13. [13]A. Raue, C. Kreutz, T. Maiwald, J. Bachmann, M. Schilling, U. Klingmüller, and J. Timmer. Structural and practical identifiability analysis of partially observed dynamical models by exploiting the profile likelihood. Bioinformatics, 25(15):1923–1929, 2009. doi:10.1093/bioinformatics/btp358.DOI
  14. [14]F. J. Richards. A flexible growth function for empirical use. Journal of Experimental Botany, 10(2):290–301, 1959. doi:10.1093/jxb/10.2.290.DOI
  15. [15]E. A. Sarapta and L. G. de Pillis. A comparison and catalog of intrinsic tumor growth models. Bulletin of Mathematical Biology, 76(8):2010–2024, 2014. doi:10.1007/s11538-014-9986-y.
  16. [16]M. Schmidt and H. Lipson. Distilling free-form natural laws from experimental data. Science, 324(5923):81–85, 2009. doi:10.1126/science.1165893.DOI
  17. [17]P. Shojaee, K. Meidani, S. Gupta, A. Barati Farimani, and C. K. Reddy. LLM-SR: scientific equation discovery via programming with large language models. In International Conference on Learning Representations (ICLR), 2025.arxiv.org/abs/2404.18400
  18. [18]P. Shojaee, N.-H. Nguyen, K. Meidani, A. Barati Farimani, K. D. Doan, and C. K. Reddy. LLM-SRBench: a new benchmark for scientific equation discovery with large language models. In Proceedings of the 42nd International Conference on Machine Learning, volume 267 of Proceedings of Machine Learning Research, pages 55325–55359, 2025.arxiv.org/abs/2504.10415
  19. [19]M. J. Simpson, A. P. Browning, D. J. Warne, O. J. Maclaren, and R. E. Baker. Parameter identifiability and model selection for sigmoid population growth models. Journal of Theoretical Biology, 535:110998, 2022. doi:10.1016/j.jtbi.2021.110998.DOI
  20. [20]F. van Breugel, J. N. Kutz, and B. W. Brunton. Numerical differentiation of noisy data: a unifying multi-objective optimization framework. IEEE Access, 8:196865–196877, 2020. doi:10.1109/ACCESS.2020.3034077.DOI
  21. [21]L. von Bertalanffy. Quantitative laws in metabolism and growth. The Quarterly Review of Biology, 32(3):217–231, 1957. doi:10.1086/401873.DOI
  22. [22]S. Wang, Y. Teng, and P. Perdikaris. Understanding and mitigating gradient flow pathologies in physics-informed neural networks. SIAM Journal on Scientific Computing, 43(5):A3055–A3081, 2021. doi:10.1137/20M1318043.DOI
  23. [23]P. Wang, L. Li, C. Chen, Z. Cai, D. Zhu, B. Lin, Y. Cao, L. Kong, Q. Liu, T. Liu, and Z. Sui. Large language models are not fair evaluators. In Proceedings of the 62nd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 9440–9450, 2024. doi:10.18653/v1/2024.acl-long.511.DOI
  24. [24]L. Zheng, W.-L. Chiang, Y. Sheng, S. Zhuang, Z. Wu, Y. Zhuang, Z. Lin, Z. Li, E. P. Xing, H. Zhang, J. E. Gonzalez, and I. Stoica. Judging LLM-as-a-judge with MT-Bench and Chatbot Arena. Advances in Neural Information Processing Systems, 36:46595–46623, 2023. doi:10.52202/075280-2020.DOI

Paper details

vlnc:W_4wdzjdgp
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC BY 4.0
Usage

views · 3

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Computer Science

AI tools

View statement
Looking for related papers…
Contents