Which Derivative Source for SINDy on Noisy Lorenz-63? A Small CPU Replication Comparing Finite Differences, Smoothing, TV and the Weak Form Beryl-17H Stemma seed corpus https://github.com/mihir-chauhan/research-harness-papers/tree/main/papers/sindy-derivative-estimation-noise-lorenz Abstract—Sparse identification of nonlinear dynamics Index Terms—equation discovery, SINDy, STLSQ, numerical (SINDy) needs time derivatives that noisy measurements do differentiation, weak form, Lorenz-63, noise robustness not provide. This paper is a small replication, on simulated Lorenz-63, of the known advantage of the weak (integral) form I. Introduction over pointwise differentiation under noise; it claims no gap in the literature and no new method. Five derivative sources Sparse regression on a library of candidate terms is (finite differences, Savitzky–Golay, a smoothing spline, total- a popular route to recovering governing equations from variation (TV) regularised differentiation, and a weak form) data. SINDy [1] regresses the time derivative of the state share one degree-2 library and one sequentially thresholded on a library and promotes sparsity with sequentially least squares (STLSQ) back end at six noise levels (0–10% of the signal standard deviation). A first protocol (20 trajectories thresholded least squares; PDE-FIND [2] extended the per level, oracle tuning on five trajectories) is reported as idea to partial differential equations. The derivative is not exploratory, because the tie rule of its tuner was changed after measured, so it has to be estimated from noisy samples, the first test results were seen. A protocol with wider grids, and the quality of that estimate often decides whether the the same samples for all five methods and the tuning rule fixed correct terms are found. Toolboxes such as PySINDy [3] beforehand was then evaluated on 100 fresh trajectories per level, with oracle tuning and with a noise-blind selector, using therefore expose several differentiators, and the weak or exact paired tests with Holm correction; the Welch tests of the integral formulation [4]–[7] sidesteps differentiation alto- first version were not appropriate, and the exact paired test gether by integrating the dynamics against test functions. of the first version’s 2% comparison (1.00 against 0.80) gives The ODE Weak SINDy paper [5] compares the weak p = 0.125 before correction. The hypothesis that the weak form form with standard SINDy and reports that it is more recovers the exact support more often than every baseline from 1% noise is refuted in the exploratory set and under oracle robust to noise, including on Lorenz-63. This paper is tuning and not supported under noise-blind selection. Under a small replication of that effect, not a new method oracle tuning its lead is significant after correction against FD and not a gap-filling study. With the same library, the at 5% (0.49 against 0.02) and against SG, spline and TV at 10% same STLSQ solver, the same data and the same tuning (0.12 against at most 0.01), but at 1% it is below FD (0.96 protocol, how do finite differences, Savitzky–Golay [8], a against 0.98); under noise-blind selection it has the highest rate at every level from 1% but significantly so in one of 16 smoothing spline, TV-regularised differentiation [9] and comparisons. The weak form’s mean coefficient error is lower the weak form compare in the rate of exact support than all four baselines, with adjusted p < 0.05, at 0% and recovery and in coefficient error on Lorenz-63 [10] as the 10% noise in all three evaluations, but under oracle tuning it noise grows from 0 to 10%? is higher than all four baselines at 1 and 2%. The hypothesis We registered five hypotheses before the runs (Sec. IV). that smoothing lowers the error of finite differences is refuted under oracle tuning and, by a single non-significant cell (TV A first protocol (20 trajectories per level) is kept as at 5%), under noise-blind selection, and the hypothesis that all exploratory, because the tie rule of its tuner was changed systems are exact at 0% noise is not supported (FD at 0.99, TV after the first test results were seen. After the first at 0.98). The ordering of the methods below 5% noise depends round of review, the protocol was frozen (wider grids, on the selection protocol. One simulated system, one sampling the same samples for all methods, the tuning rule fixed interval, CPU. in advance, plus a noise-blind selector) and evaluated on Beryl-17H is the codename of an autonomous study, not a person. 100 fresh trajectories per level with exact paired tests and Produced by the Stemma autonomous AI research pipeline; the topic a Holm correction. The outcome is mostly negative: H1 was chosen to cover the field. Every reported number comes from logged runs in the linked repository and every reference was checked (the weak form beats every derivative-based method in against arXiv, Crossref, DataCite or OpenAlex. support rate from 1% noise) is refuted in the exploratory set and under oracle tuning and not supported under is the practical difficulty of noisy differentiation is stressed noise-blind selection; H2 (every smoother has a lower in the differentiation literature [13]. What this study adds coefficient error than finite differences) is refuted under is a re-measurement of the weak-form advantage at small oracle tuning and, by a single non-significant cell, under scale, with four classical differentiators behind one STLSQ noise-blind selection; H3 (all systems are exact at zero back end and one tuning protocol, and with exact paired noise) was supported in the exploratory set and is not inference on a frozen protocol (Sec. IV). Our weak form is supported in the confirmatory set; H4 (too narrow a test- far simpler than WSINDy (one test-function family, fixed function window loses the advantage) is partly supported width, no reweighting), so the results do not bear on that in the exploratory set, since the width matters but in the algorithm as published. opposite direction; H5 (a library on the smoothed state improves support recovery) is not supported. What the III. Method study contributes is limited: (i) a re-measurement of the Model and library. For a state x(t) ∈ R3 with ẋ = weak-form advantage at small scale, with the failures split Θ(x)Ξ, Θ(x) = [1, x, y, z, x2 , xy, xz, y 2 , yz, z 2 ] and Ξ ∈ into false positives and negatives, a frozen protocol, paired R10×3 has 7 nonzero entries for Lorenz-63 (ẋ = σ(y − x), exact inference and a noise-blind selector next to oracle ẏ = x(ρ − z) − y, ż = xy − βz; σ = 10, ρ = 28, β = 8/3). tuning; (ii) a record that the ordering of the methods Given noisy samples x̃i = x(ti ) + εi , every method builds below 5% noise depends on the selection protocol (tie rule, a regression problem (A, B) with A ∈ Rm×10 , B ∈ Rm×3 grid, oracle against noise-blind), and that the Welch tests and solves minΞ ∥AΞ − B∥2F under a sparsity constraint. of the first version overstated the support-rate lead at STLSQ. Columns of A are normalised to unit norm. 2% noise; (iii) exploratory width, exponent and library- Start from the least-squares solution; repeat 10 times: set state ablations. Scale is small: one simulated system, 100 entries with |ξjk | < λ (in original coefficient units) to zero trajectories per cell in the confirmatory set, reimplemented and refit each equation k by least squares on its surviving methods, CPU. columns. Derivative-based systems (reimplemented): A = Θ(x̃) II. Related Work on the raw noisy state, B = x, ḃ the first and last 5% of SINDy and relatives. SINDy [1] and its PDE counter- samples removed. The derivative estimators are: (i) FD- part PDE-FIND [2] use sparse regression over a candidate STLSQ, second-order differences x ḃi = (x̃i+1 − x̃i−1 )/2∆t library. SINDy-PI [11] targets implicit dynamics with a (one-sided second-order at the ends); (ii) SG-STLSQ, the parallel formulation reported to be robust to noise, and derivative of the local cubic polynomial fitted in a window Ensemble-SINDy [12] bags models for the low-data, high- of w samples [8]; (iii) Spline-STLSQ, the P derivative2 of noise regime; neither is evaluated here. PySINDy [3] pack- theR cubic smoothing spline s = arg min s i (x̃i − s(ti )) + ages these methods with several differentiation options. µ s′′ (t)2 dt with penalty µ; (iv) TV-STLSQ, Chartrand’s Numerical differentiation of noisy data. Savitzky–Golay regularised differentiation [9]: u = arg minu α TV(u) + 2 ∥Au − (x̃ − x̃0 )∥ with A the trapezoid cumulative 1 2 local polynomial fitting [8] and TV-regularised differenti- ation [9], which allows non-smooth derivatives, are the integral, solved by 20 lagged-diffusivity Newton iterations classical smoothing differentiators. van Breugel et al. [13] (ϵ = 1 × 10−6 ). cast the choice of method and parameters as a multi- Weak-form STLSQ (method). For compactly supported objective optimisation and stress that parameter selection ϕk (t) = (1 − s2 )p , s = (t − ck )/(w/2), on K = 200 is the practical difficulty. equispaced window centres ck (windows fully inside the Weak and integral formulations. Schaeffer and Mc- record; in the frozen protocol of Sec. IV the record is Calla [4] identify dynamics from integral terms, Reinbold first trimmed by 5% at each end, like the derivative-based et al. [7] use a weak form to discover models from noisy systems, so that all five systems use the same samples, and incomplete spatiotemporal data, and Weak SINDy whereas the first protocol used the whole record for the integrates the dynamics against test functions so that weak form), integration by parts with ϕk = 0 at the pointwise derivative approximations are replaced by linear window ends gives transformations of the data, for ordinary [5] and partial [6] Z Z Z  differential equations. The ODE paper [5] is the direct ϕk ẋ dt = − ϕ̇k x dt ≈ ϕk Θ(x) dt Ξ, (1) precedent of this study: it reports that the weak form P P improves on standard SINDy by orders of magnitude and so Akj = i wi ϕk (ti )Θj (x̃i ) and Bk· = − i wi ϕ̇k (ti )x̃i identifies the correct terms in both small- and large-noise with trapezoid weights wi ; p = 3 and the width w is regimes. tuned. No derivative of the data is taken, but the library Scope. This paper is a small replication, not a new is still evaluated on noisy states (errors-in-variables bias method and not a gap-filling study. Its main result, that remains). the weak form is more robust to noise than pointwise Noise-blind selection. Besides oracle tuning (Sec. IV), differentiation, is the central result of Messenger and the frozen protocol has a selector that uses no ground Bortz [5] on the same system, and that parameter selection truth, no noise level and no tuning trajectories: on the trajectory being fitted, the record (after the 5% trim) w = 11 at five of six levels; λ = 0.6 in 20 of the 30 cells is cut into 5 contiguous time blocks; for each candidate of Table II). In five cells (FD at 5%; FD, SG, spline and (smoothing parameter, threshold) the model is fitted on TV at 10%) no configuration recovered the support of any the regression rows outside the block (with a buffer so tuning trajectory, and λ was selected by the median error that no row shares data with the validation windows) and alone. All systems share the same data, metric code and scored on the block by the same integral residual for every defaults; no baseline received other settings. derivative source: the weak-form residual ∥ΘV Ξ − GV ∥2F Revision of the tie rule. The first version of the tuner on 100 fixed test windows (width 1.0, p = 3, centres in resolved ties by grid order, i.e. by the smallest threshold. the block) of the noisy data. The candidate score is the Ties decided λ in 19 of the 30 cells, and an audit showed pooled residual over the blocks, normalised by ∥GV ∥2F ; that the conclusions below 5% noise and for FD at 5% among the candidates within one standard error (over depended on this arbitrary choice. The rule was replaced blocks) of the best score, the selector takes the one with by the largest-threshold rule above (same tuning seeds and the fewest nonzero coefficients on the full trajectory, then grids, no test data, smoothing parameters unchanged), and the lowest score, then the largest threshold. The rule was the main runs, the width sweep and the exponent ablation fixed before the fresh test trajectories were generated, after were run again. The new rule was adopted after the first a development comparison with the plain best-score rule test results were known, so it is not pre-registered; Table II on the tuning trajectories only (method/blind_dev.py). lists both sets of thresholds, Table XII reports every Metrics. With Ξ̂ the STLSQ output: support_exact= system at every threshold with both choices marked, and ⊮[supp Ξ̂ = supp Ξ] over all 30 entries; coef_err= ∥Ξ̂ − the first-version runs stay in the registry as superseded. Ξ∥F /∥Ξ∥F ; coef_err_oracle is the same after refitting What a tie is. A diagnostic on the tuning seeds least squares on the true support with the same (A, B), (method/tie_check.py, one run per noise level) compared which isolates the quality of the regression problem from the models of the tied configurations. In 17 of the 19 tie the selection step; false positives (FP) and false negatives cells they are identical on all five trajectories. In the other (FN) are the numbers of spurious and missed entries. two the tied thresholds agree only in rate and median: for FD at 5% (0.05 and 0.1), the cell on which the H2 verdict IV. Experimental Setup turns, the models differ on 3 of the 5 trajectories, and for Data. All data are simulated. Lorenz-63 is integrated spline at 10% (0.4 and 0.6) on 1 of 5. In both, the selected with DOP853 (rtol and atol 1 × 10−12 ) from (−8, 7, 27) + threshold also has the lower mean tuning error, and a tie- N (0, I) after a 5-time-unit burn-in, then sampled for 10 break by mean error would select the same configuration time units at ∆t = 0.01 (1001 samples). Gaussian noise in all 30 cells; the FD threshold at 5% is nonetheless a with standard deviation equal to a fraction of the per- choice between different models made on five trajectories. component standard deviation of the clean signal is added Frozen protocol (confirmatory). The tuner code, the at levels 0, 0.5, 1, 2, 5, 10%. Each seed gives a new initial grids, the weak-form trimming, the noise-blind selec- condition and noise draw; every system sees the same tor and the test statistics were fixed and commit- trajectories per level. Two sets of test seeds are used. ted before any run on seeds 100–199; the tie rule is Seeds 0–19 (20 per level; 6 levels × 5 systems × 20 seeds the one of the first protocol, unchanged (highest rate, = 600 main runs) were evaluated with the first protocol then lowest median error, then the largest threshold). below, which is kept as exploratory. Seeds 100–199 (100 Differences from the first protocol: (i) the grids were fresh trajectories per level) were generated only after the widened, because the first protocol selected grid edges frozen protocol below had been committed, and are the in most cells: λ ∈ {0.05, 0.1, 0.2, 0.4, 0.6, 0.8, 1.0}; SG confirmatory set: 3000 runs with oracle tuning and 3000 window ∈ {5, 7, 9, 11, 21, 41, 81, 161} with polynomial or- runs with noise-blind selection. der 3 or 5 (windows longer than the order); spline First protocol: tuning (exploratory). For each system µ ∈ {10−13 , . . . , 10−3 } in decades; TV α unchanged; and noise level, the smoothing parameter and the STLSQ weak width ∈ {0.10, 0.15, 0.20, 0.3, 0.6, 1, 1.5, 2.5, 4.0} time threshold λ are chosen by grid search on 5 separate units, with the record trimmed by 5% at each end like the trajectories (seeds 1000–1004): highest exact-support rate, derivative-based systems (the first protocol gave the weak then lowest median coefficient error, then the largest form the whole record); (ii) 100 instead of 20 trials per threshold. A tie in the tuner is therefore equality of the cell; (iii) a noise-blind selector (Sec. III) is evaluated on support rate and of the median error on the five trajecto- the same trajectories next to the oracle tuning; (iv) paired ries; it does not require identical models. The grids are: exact inference with a multiplicity correction (below). The λ ∈ {0.05, 0.1, 0.2, 0.4, 0.6}; SG w ∈ {11, 21, 41, 81, 161}; oracle tuning of the frozen protocol runs on the same spline µ ∈ {10−9 , . . . , 10−3 } (7 values); TV α ∈ five tuning trajectories (Table I lists the selected values). {10−5 , . . . , 10−1 }; weak w ∈ {0.3, 0.6, 1, 1.5, 2.5} time Selected values are interior in all but three respects: the units. Tuning uses the ground-truth coefficients (oracle- spline penalty is at the smallest value of the grid at 0% assisted, equal for all systems), so absolute rates are noise, the TV threshold is at the largest value at 0% noise optimistic. Selected values often lie on a grid edge (SG (where the threshold is tied over the whole grid), and the TABLE I for the support rate and the coefficient error, and each Oracle tuning of the frozen protocol (selected threshold λ; for SG smoother against FD (18 tests, H2). H1 (H2) is refuted window and order, spline µ, TV α and weak width w in the same cell). if, at some level from 1% and against some baseline (for some smoother), the weak form’s rate is not higher (the Noise FD SG Spline TV Weak smoother’s mean error is not lower) in the point estimate; 0% 0.8 0.8, 7, 5 0.8, 1 × 10 −13 −3 1.0, 1 × 10 0.8, 2.50 it is supported only if all comparisons point the stated way 0.5% 0.8 0.8, 11, 5 0.8, 1 × 10−8 0.8, 1 × 10−3 0.8, 0.60 with adjusted p < 0.05; in between it is not supported. 1% 0.6 0.8, 11, 5 0.8, 1 × 10−7 0.8, 1 × 10−3 0.8, 0.60 2% 0.4 0.4, 11, 5 0.4, 1 × 10−7 0.4, 1 × 10−3 0.8, 0.60 Compute. Apple M1 Pro CPU, 2 threads per run, 5% 0.1 0.4, 9, 3 0.4, 1 × 10−5 0.4, 1 × 10−2 0.8, 0.30 several runs in parallel; every run takes seconds, and the 10% 0.6 0.2, 11, 3 0.6, 1 × 10−6 0.2, 1 × 10−2 0.8, 0.30 largest cost is the noise-blind selection with TV differen- tiation. The registry holds 7685 current runs: 600 main, TABLE II 600 threshold-grid, 200 width, 60 exponent and 80 library- Tuned threshold λ (in parentheses the value under the first tie rule state runs of the first protocol; 3000 oracle-tuned and 3000 where it differs) of the first protocol. noise-blind confirmatory runs; the paired-inference, tuned- configuration, smoke-test and tie-diagnostic runs; among Noise FD SG Spline TV Weak 8786 logged runs, the others being superseded (the first- 0% 0.6 (0.05) 0.6 (0.05) 0.6 (0.05) 0.6 (0.05) 0.6 (0.05) version runs and one earlier tie diagnostic). 0.5% 0.6 (0.10) 0.6 (0.10) 0.6 (0.10) 0.6 (0.10) 0.6 (0.05) 1% 0.6 (0.20) 0.6 (0.20) 0.6 (0.20) 0.6 (0.20) 0.6 (0.10) V. Results 2% 0.4 0.4 0.4 0.4 0.6 (0.20) 5% 0.1 (0.05) 0.4 0.4 0.4 0.6 Confirmatory results. Table III and Fig. 1 give the frozen 10% 0.6 (0.40) 0.2 0.6 (0.40) 0.2 0.6 protocol on the 100 fresh trajectories per level, with oracle tuning on the five tuning trajectories. All tests are paired and Holm-adjusted (Sec. IV); Table IV lists the adjusted SG order 5, the largest order tried, is selected at four of p-values and Table V the paired differences with 95% the six levels, so higher orders were not tried. The first intervals. A ∗ marks an adjusted p < 0.05 and ‡ a cell protocol’s tie history and the tie diagnostic below concern in which the baseline has the better mean. the first protocol only; they were not repeated for the H1 (weak form has a higher support rate than every frozen grids. A first pass of the frozen tuner, whose lower baseline at every level from 1%): refuted. At 1% the grid edges (spline at 0%, weak form at 5 and 10%) were weak form is at 0.96 and FD at 0.98, and at 2% it is selected, was widened once more before the freeze, on the at 0.82 against 0.85 for spline and 0.83 for TV, so it is tuning seeds only (results/logs/dev/). not above every baseline at either level (Table IIIa); none Hypotheses and tests (wording of proposal.md, written of the differences at 1 and 2% is significant (all adjusted before the runs). H1: at every noise level ≥ 1% the p ≥ 0.34 at 1% and p = 1.00 at 2%, Table IVa). At 5% weak form has a higher exact-support rate than every the weak form is at 0.49 against 0.02 for FD and 0.27– derivative-based baseline. H2: SG, spline and TV each 0.32 for SG, spline and TV; the lead is significant after the have a lower mean coefficient error than FD at noise correction against FD only (adjusted p = 4.3×10−12 ), and ≥ 1%; refuted if any smoother is not lower at some not against SG, spline and TV (adjusted 0.096, 0.203 and level. H3: at 0% noise all five systems recover the support 0.450; unadjusted 0.005, 0.012 and 0.030). At 10% the in all seeds. H4: the weak-form advantage depends on weak form is at 0.12 against at most 0.01, significantly the test-function width, and too narrow a window loses against SG, spline and TV (adjusted p = 0.011 for each) the advantage (descriptive width sweep at 2% noise). but not FD (0.065), and every system fails in most H5: evaluating the library on the smoothed state (SG, trajectories. At 0.5% the weak form is above FD (1.00 spline) instead of the raw noisy state improves support against 0.90, adjusted p = 0.039); the FD threshold of recovery at 2% noise (descriptive). The registered test that cell was chosen on five trajectories and was not varied was Welch’s t-test; after the first round of review it is in the confirmatory runs. The significant win over all four replaced everywhere by paired tests, since all systems baselines that H1 requires holds at no level from 1%. see the same trajectories (analysis/paired_stats.py, one Where the failures come from. Table VI separates registered run per comparison and level): the exact two- spurious terms (FP) from missed terms (FN). At 5% the sided McNemar test on the discordant trajectories for baselines mostly add terms (0.80–2.30 FP against 0.07– the support rate, a paired sign-flip randomisation test 0.44 FN per trial), whereas the weak form has 0.14 FP of the mean difference (20000 random sign vectors) for and 0.42 FN. At 2% the weak form has the fewest FP the coefficient error, and 95% paired-bootstrap intervals (0.04) and the most FN (0.20 against 0.06–0.14). (10000 resamples of the trajectories) for the differences, H2 (each smoother has a lower mean coefficient error reported as weak form minus baseline. p-values are Holm- than FD from 1%): refuted. At 1% the means of SG, adjusted within families: the weak form against each of spline and TV are all above FD’s (0.0152, 0.0130 and the four baselines at the six levels (24 tests) separately 0.0180 against 0.0092; none significant after correction), TABLE III Confirmatory results (frozen protocol, oracle tuning; the 3000 runs of group confirm, 100 fresh trajectories per cell): (a) exact-support rate, (b) mean and (c) median relative coefficient error, (d) mean coefficient error when the regression is restricted to the true support (isolates the regression problem from support selection). (a) exact-support rate (b) mean coefficient error System 0% 0.5% 1% 2% 5% 10% System 0% 0.5% 1% 2% 5% 10% FD 0.99 0.90 0.98 0.78 0.02 0.01 FD 0.0073 0.0309 0.0092 0.0229 0.0923 0.1803 SG 1.00 0.99 0.86 0.81 0.27 0.00 SG 1.4 × 10−6 0.0336 0.0152 0.0586 0.1237 0.1534 Spline 1.00 0.99 0.87 0.85 0.29 0.00 Spline 1.3 × 10−5 0.0336 0.0130 0.0439 0.0716 0.1909 TV 0.98 0.99 0.91 0.83 0.32 0.00 TV 0.0572 0.0116 0.0180 0.0104 0.1179 0.1600 Weak 1.00 1.00 0.96 0.82 0.49 0.12 Weak 1.7 × 10−8 8.5 × 10−4 0.0295 0.0621 0.0450 0.0864 (c) median coefficient error (d) mean coefficient error on the true support System 0% 0.5% 1% 2% 5% 10% System 0% 0.5% 1% 2% 5% 10% FD 0.0066 0.0068 0.0074 0.0121 0.0413 0.1263 FD 0.0065 0.0067 0.0075 0.0108 0.0330 0.0993 SG 1.4 × 10−6 8.5 × 10−4 0.0022 0.0062 0.0469 0.1135 SG 1.4 × 10−6 9.2 × 10−4 0.0020 0.0053 0.0283 0.0962 Spline 1.3 × 10−5 8.6 × 10−4 0.0022 0.0058 0.0540 0.1230 Spline 1.3 × 10−5 9.3 × 10−4 0.0021 0.0055 0.0459 0.0955 TV 0.0025 0.0023 0.0020 0.0040 0.0427 0.1147 TV 0.0024 0.0023 0.0022 0.0040 0.0308 0.0961 Weak 5.6 × 10−9 7.9 × 10−4 0.0017 0.0036 0.0276 0.0932 Weak 1.7 × 10−8 8.5 × 10−4 0.0017 0.0035 0.0078 0.0170 exact support rate median coef. error 1.0 FD 10−2 SG 0.5 Spline 10−5 TV Weak 10−8 0.0 0% 0.5% 1% 2% 5% 10% 0% 0.5% 1% 2% 5% 10% noise level (% of signal std) noise level (% of signal std) Fig. 1. Confirmatory set: exact-support rate (95% Wilson intervals) and median coefficient error (interquartile range) versus noise level, oracle tuning, 100 trajectories per level. TABLE IV FD at more than two of the four levels. Confirmatory set, Holm-adjusted p-values of the paired tests (exact McNemar for the support rate in (a), paired sign-flip randomisation H3 (all systems exact at 0% noise): not supported. SG, for the mean error in (b) and (c)); ∗ : adjusted p < 0.05; ‡ : the spline and the weak form recover the support in all 100 baseline (in (c): the smoother) has the better mean. trajectories at 0%, but FD is at 0.99 and TV at 0.98. In the first protocol (seeds 0–19) every system recovered System 0% 0.5% 1% 2% 5% 10% every support at 0%. (a) support rate, weak form vs. FD 1.000 0.039∗ 1.000‡ 1.000 4.3 × 10−12 ∗ 0.065 Coefficient error. The weak form has the lowest mean SG 1.000 1.000 0.340 1.000 0.096 0.011∗ Spline 1.000 1.000 0.687 1.000‡ 0.203 0.011∗ coefficient error at 0, 0.5, 5 and 10% (Table IIIb), but not TV 1.000 1.000 1.000 1.000‡ 0.450 0.011∗ at 1% (0.0295 against 0.0092–0.0180 for the baselines) (b) coefficient error, weak form vs. and not at 2% (0.0621 against 0.0104–0.0586); at those FD 0.001∗ 0.001∗ 1.000‡ 1.000‡ 1.000 0.001∗ two levels the weak form is above all four baselines in SG 0.001∗ 1.000 1.000‡ 1.000‡ 0.096 0.001∗ Spline 0.001∗ 1.000 1.000‡ 0.220‡ 0.007∗ 0.001∗ the mean, with no difference significant after correction TV 0.001∗ 0.001∗ 1.000‡ 0.115‡ 0.276 0.001∗ (smallest adjusted p = 0.115). The paired differences are (c) coefficient error, smoother vs. FD significant (adjusted p < 0.05) against all four baselines SG 0.001∗ 1.000‡ 1.000‡ 1.000‡ 0.001∗‡ 1.000 only at 0% and 10%; against FD and TV also at 0.5%, Spline 0.001∗ 1.000‡ 1.000‡ 1.000‡ 1.000 1.000‡ TV 1.000‡ 0.001∗ 1.000‡ 0.001∗ 0.003∗‡ 1.000 against spline also at 5% (Table IVb), and at 5% the interval against FD includes zero (Table Vb). On the true support the weak form has the lowest mean error at every level from 1% (0.0017, 0.0035, 0.0078 and 0.0170 at 1, 2, which already refutes H2 as registered. At 2% TV is 5 and 10%; the best baseline has 0.0020, 0.0040, 0.0283 significantly below FD (adjusted p = 0.001) and SG and and 0.0955; Table IIId), which is consistent with the weak spline are above; at 5% SG and TV are significantly above form’s disadvantage at 1 and 2% arising in the selection FD (adjusted p = 0.001 and 0.003) and spline is below, step rather than in the regression problem; this was not not significantly; at 10% SG and TV are below and spline tested separately. The weak form’s median error is the above, none significant (Table IVc). No smoother is below lowest at every level from 1% (Table IIIc; at 5% 0.0276 TABLE V Confirmatory set, paired differences weak form minus baseline with 95% paired-bootstrap intervals: (a) exact-support rate (positive favours the weak form), (b) mean coefficient error (negative favours the weak form). (a) support rate Noise FD SG Spline TV 0% 0.01 [0.00, 0.03] 0.00 [0.00, 0.00] 0.00 [0.00, 0.00] 0.02 [0.00, 0.05] 0.5% 0.10 [0.04, 0.16] 0.01 [0.00, 0.03] 0.01 [0.00, 0.03] 0.01 [0.00, 0.03] 1% −0.02 [−0.07, 0.03] 0.10 [0.03, 0.18] 0.09 [0.01, 0.17] 0.05 [−0.01, 0.12] 2% 0.04 [−0.06, 0.14] 0.01 [−0.09, 0.11] −0.03 [−0.12, 0.06] −0.01 [−0.10, 0.08] 5% 0.47 [0.37, 0.57] 0.22 [0.08, 0.36] 0.20 [0.06, 0.34] 0.17 [0.03, 0.31] 10% 0.11 [0.05, 0.18] 0.12 [0.06, 0.19] 0.12 [0.06, 0.19] 0.12 [0.06, 0.19] (b) mean coefficient error Noise FD SG Spline TV 0% −0.0073 [−0.0089, −0.0065] −1.4 × 10−6 [−1.5 × 10−6 , −1.4 × 10−6 ] −1.3 × 10−5 [−1.3 × 10−5 , −1.3 × 10−5 ] −0.0572 [−0.1608, −0.0025] 0.5% −0.0300 [−0.0666, −0.0099] −0.0327 [−0.0981, 2.1 × 10−5 ] −0.0327 [−0.0981, 2.2 × 10−5 ] −0.0108 [−0.0295, −0.0013] 1% 0.0204 [−0.0075, 0.0728] 0.0143 [−0.0135, 0.0639] 0.0165 [−0.0134, 0.0707] 0.0115 [−0.0085, 0.0462] 2% 0.0391 [−0.0090, 0.1283] 0.0034 [−0.0067, 0.0123] 0.0182 [0.0026, 0.0429] 0.0516 [0.0038, 0.1405] 5% −0.0473 [−0.1486, 0.0072] −0.0787 [−0.2132, −0.0061] −0.0266 [−0.0479, −0.0107] −0.0729 [−0.2038, −0.0026] 10% −0.0939 [−0.1258, −0.0676] −0.0671 [−0.1283, −0.0320] −0.1045 [−0.1444, −0.0725] −0.0736 [−0.1430, −0.0339] TABLE VI two protocols were not compared by a test. Confirmatory set: mean false positives / false negatives per trial (30 coefficients, 7 nonzero). What survives the three evaluations. In the exploratory set (first protocol, seeds 0–19), the confirmatory set with Noise FD SG Spline TV Weak oracle tuning and the confirmatory set with noise-blind 0% 0.00/0.01 0.00/0.00 0.00/0.00 0.02/0.05 0.00/0.00 selection, the weak form has a lower mean coefficient 0.5% 0.04/0.11 0.03/0.03 0.03/0.03 0.02/0.01 0.00/0.00 error than all four baselines, with adjusted p < 0.05, at 1% 0.00/0.02 0.02/0.14 0.01/0.13 0.03/0.09 0.01/0.07 2% 0.11/0.14 0.24/0.09 0.20/0.06 0.15/0.06 0.04/0.20 10% noise and at 0% noise (Tables IVb, XIb and VIIIb). 5% 2.30/0.07 0.81/0.44 0.80/0.27 0.82/0.35 0.14/0.42 No comparison of the support rate is significant after 10% 1.14/1.08 2.28/0.58 1.19/1.14 2.28/0.56 0.56/0.79 correction in all three: the weak form is above FD at 5% in all three (by 0.65, 0.47 and 0.15), significantly in the first two (adjusted 0.006 and 4.3 × 10−12 ) and not under against 0.0427 for the best baseline). noise-blind selection (0.908). Noise-blind selection. Table VII repeats the comparison with the selector of Sec. III, which uses no ground truth Exploratory results (first protocol, seeds 0–19). Table X and no tuning trajectories, on the same 100 trajectories per and Table XI are the first version’s results re-tested with level; Table VIII gives the adjusted tests and Table IX the the paired tests; they are exploratory because the tie rule median selected threshold. The ordering depends on the of the tuner was changed after the first test results were selection protocol. The weak form has the highest support seen (Sec. IV). H1 is refuted in this set: at 1% the weak rate at every level from 1% (1.00, 0.93, 0.40 and 0.10), form, SG, spline and TV all recover every support, so but the lead is significant after correction in one of the 16 there is nothing to test; at 2% the weak form is at 1.00 comparisons from 1%: against FD at 2% (0.67; adjusted against 0.80–0.90 with 4 discordant trajectories against p = 2.1 × 10−5 ). At 5% the unadjusted p against FD, SG, FD and spline, all in favour of the weak form (exact spline and TV are 0.053, 0.049, 0.111 and 0.253, all non- p = 0.125 unadjusted, adjusted 1.000); the first version’s significant after correction (adjusted 0.880 and above), and Welch test reported this difference as significant. At 5% at 10% the adjusted p is 0.270 against each baseline. The the weak form is at 0.65 against 0.00–0.40, significantly mean error of the weak form is the lowest at 0, 1 and 10% against FD after correction (adjusted p = 0.006) and not and significantly below all four baselines at those three against SG, spline and TV (adjusted 0.849, 0.517, 1.000); levels, but it is above SG, spline and TV at 0.5% and at 10% no difference is significant. H2 is refuted: at 5% above all four baselines at 2%, and at 5% it is close to all three smoothers have a higher mean error than FD, SG’s (0.0821 against 0.0816; Table VIIIb). H2 is refuted significantly for SG and spline (adjusted p = 0.001 and here too, but by a single cell: the three smoothers are 0.020); this verdict depends on the FD threshold of that below FD in all cells from 1% except TV at 5% (0.1240 cell: at the first-version value λ = 0.05 the FD error at against 0.1161, adjusted p = 1.00), and their differences 5% is 0.1354, above the means of all three smoothers at from FD are significant at 1% (all three) and at 2% (SG their tuned thresholds (Sec. VI). H3 is supported (all five and TV) but at neither 5 nor 10%. The oracle tuning is systems recover every support at 0 and 0.5%). The weak not an upper bound for the noise-blind selection: at 2% form has the lowest mean coefficient error at every level, the weak form is at 0.93 with noise-blind selection and significantly against all four baselines at 0% and 10% only. 0.82 with oracle tuning, and FD at 0.67 and 0.78; these What the results do not show. The ordering of the TABLE VII Noise-blind selection on the confirmatory trajectories (3000 runs of group confirm_blind): (a) exact-support rate, (b) mean coefficient error, (c) median coefficient error, (d) mean coefficient error on the true support. (a) exact-support rate (b) mean coefficient error System 0% 0.5% 1% 2% 5% 10% System 0% 0.5% 1% 2% 5% 10% FD 0.99 0.99 0.99 0.67 0.25 0.01 FD 0.0066 0.0218 0.0224 0.0437 0.1161 0.1823 SG 1.00 1.00 0.99 0.89 0.25 0.01 SG 1.4 × 10−6 0.0010 0.0023 0.0327 0.0816 0.1441 Spline 1.00 1.00 0.99 0.82 0.28 0.01 Spline 1.3 × 10−5 1.0 × 10−3 0.0024 0.0436 0.0981 0.1549 TV 1.00 0.99 0.99 0.86 0.31 0.01 TV 0.0025 0.0054 0.0027 0.0313 0.1240 0.1494 Weak 1.00 0.99 1.00 0.93 0.40 0.10 Weak 4.2 × 10−7 0.0162 0.0018 0.0563 0.0821 0.0902 (c) median coefficient error (d) mean coefficient error on the true support System 0% 0.5% 1% 2% 5% 10% System 0% 0.5% 1% 2% 5% 10% FD 0.0066 0.0066 0.0074 0.0118 0.0892 0.1206 FD 0.0065 0.0067 0.0075 0.0108 0.0330 0.0993 SG 1.4 × 10−6 8.9 × 10−4 0.0019 0.0058 0.0865 0.1209 SG 1.4 × 10−6 0.0010 0.0023 0.0057 0.0279 0.1037 Spline 1.3 × 10−5 8.4 × 10−4 0.0020 0.0062 0.0858 0.1180 Spline 1.3 × 10−5 1.0 × 10−3 0.0024 0.0061 0.0303 0.0986 TV 0.0025 0.0023 0.0023 0.0045 0.0824 0.1203 TV 0.0025 0.0024 0.0026 0.0043 0.0264 0.1030 Weak 3.6 × 10−8 7.6 × 10−4 0.0014 0.0031 0.0841 0.0947 Weak 4.2 × 10−7 9.5 × 10−4 0.0018 0.0040 0.0106 0.0202 TABLE VIII tuning (oracle or noise-blind) is part of what is being Noise-blind selection, Holm-adjusted p-values of the paired tests; compared. marks as in Table IV. VI. Ablations and Analysis System 0% 0.5% 1% 2% 5% 10% Scope of this section. Everything below (threshold grid, (a) support rate, weak form vs. FD 1.000 1.000 1.000 2.1 × 10−5 ∗ 0.908 0.270 width sweep, exponent, library state) is exploratory: first SG 1.000 1.000‡ 1.000 1.000 0.880 0.270 protocol, seeds 0–19, 20 trajectories per cell, as in the Spline 1.000 1.000‡ 1.000 0.365 1.000 0.270 TV 1.000 1.000 1.000 1.000 1.000 0.270 first version of this study; none of it was repeated on the (b) coefficient error, weak form vs. confirmatory set. FD 0.001∗ 0.001∗ 0.001∗ 1.000‡ 0.168 0.001∗ Threshold and tie rule. One run per system, level SG 0.001∗ 1.000‡ 0.014∗ 1.000‡ 1.000‡ 0.001∗ and seed builds the regression problem once and applies Spline 0.001∗ 1.000‡ 0.004∗ 1.000‡ 0.508 0.001∗ TV 0.001∗ 1.000‡ 0.001∗ 1.000‡ 1.000 0.001∗ STLSQ with each threshold of the grid (Tables XII and XIII); the shaded cells reproduce the main runs (c) coefficient error, smoother vs. FD SG 0.001∗ 0.001∗ 0.001∗ 0.001∗ 1.000 0.239 exactly. (i) Up to 1% noise the derivative source makes Spline 0.001∗ 0.001∗ 0.001∗ 1.000 0.543 1.000 no difference to support recovery at λ = 0.4 (every TV 0.001∗ 0.001∗ 0.001∗ 0.001∗ 1.000‡ 0.376 system recovers every support, Table XII) and almost none at λ = 0.6 (only FD at 1% drops, to 0.95). At 1% TABLE IX smaller thresholds lower the rate of every system, down Noise-blind selection: median selected STLSQ threshold per system to 0.15–0.30 at λ = 0.05. The thresholds tied at these and noise level. levels returned identical models on the tuning trajectories Noise FD SG Spline TV Weak (Sec. IV), so at 0.5 and 1% the first tie rule produced the 0% 0.80 0.80 0.80 1.00 0.80 underlined rates of 0.75–0.90, with the weak form below 0.5% 0.60 0.80 0.80 0.80 0.80 the baselines, and the revised rule 0.95–1.00 for all. Neither 1% 0.60 0.60 0.60 0.60 0.80 2% 0.20 0.40 0.40 0.40 0.60 ordering reflects the derivative source. (ii) At 2% only the 5% 0.60 0.60 0.60 0.60 0.60 weak form improves up to λ = 0.6 (1.00); the baselines 10% 0.30 0.60 0.40 0.40 0.60 reach 0.80–0.90 at λ = 0.4 and do not improve at 0.6. At equal thresholds the weak form is at least as good as every baseline for λ ≥ 0.2 at 2% and for λ ≥ 0.4 at 5%, systems below 5% noise is not resolved: in the exploratory but not in every cell below (at 5% and λ = 0.2 it is at set it reversed with the tie rule of the tuner, and in the 0.10 against 0.05–0.15). (iii) At 5% the best cell of each confirmatory set it differs between oracle tuning and noise- baseline over the whole grid (FD 0.25, SG 0.25, spline blind selection. Even at 100 trajectories per cell, support- 0.20, TV 0.40) stays below the weak form’s 0.65, so the rate differences of this size are not resolved after correction weak form’s higher rate at 5% does not depend on how the (for example the weak form against SG, spline and TV baselines’ thresholds are selected within this grid (against at 5% under oracle tuning, 0.22, 0.20 and 0.17, with TV the paired exact test gives an unadjusted p = 0.180); adjusted p between 0.096 and 0.450). The p-values are at 10% no cell exceeds 0.10. exact or randomisation tests of paired outcomes, Holm- Test-function width (H4). Table XIV and Fig. 2 vary adjusted within families of 24 and 18 comparisons; the the width of the weak-form test functions. At 2% noise, TABLE X Exploratory results (first protocol, seeds 0–19; the 600 main runs, 20 seeds per cell): (a) exact-support rate, (b) mean and (c) median relative coefficient error, (d) mean coefficient error when the regression is restricted to the true support. (a) exact-support rate (b) mean coefficient error System 0% 0.5% 1% 2% 5% 10% System 0% 0.5% 1% 2% 5% 10% FD 1.00 1.00 0.95 0.80 0.00 0.00 FD 0.0065 0.0068 0.0118 0.0201 0.0469 0.3013 SG 1.00 1.00 1.00 0.90 0.25 0.00 SG 0.0033 0.0037 0.0046 0.0126 0.0772 0.1721 Spline 1.00 1.00 1.00 0.80 0.20 0.00 Spline 1.5 × 10−5 8.9 × 10−4 0.0021 0.0150 0.0636 0.2485 TV 1.00 1.00 1.00 0.85 0.40 0.00 TV 0.0025 0.0022 0.0020 0.0095 0.0536 0.1473 Weak 1.00 1.00 1.00 1.00 0.65 0.10 Weak 1.0 × 10−8 8.6 × 10−4 0.0017 0.0035 0.0337 0.0941 (c) median coefficient error (d) mean coefficient error on the true support System 0% 0.5% 1% 2% 5% 10% System 0% 0.5% 1% 2% 5% 10% FD 0.0065 0.0071 0.0081 0.0129 0.0456 0.1337 FD 0.0065 0.0068 0.0078 0.0114 0.0351 0.1052 SG 0.0034 0.0038 0.0046 0.0084 0.0739 0.1271 SG 0.0033 0.0037 0.0046 0.0082 0.0655 0.0988 Spline 1.5 × 10−5 7.7 × 10−4 0.0019 0.0067 0.0571 0.1269 Spline 1.5 × 10−5 8.9 × 10−4 0.0021 0.0058 0.0472 0.0987 TV 0.0025 0.0021 0.0016 0.0046 0.0470 0.1224 TV 0.0025 0.0022 0.0020 0.0040 0.0324 0.0993 Weak 1.1 × 10−8 6.7 × 10−4 0.0014 0.0027 0.0129 0.1094 Weak 1.0 × 10−8 8.6 × 10−4 0.0017 0.0035 0.0094 0.0403 TABLE XI 2, 3, 4, 6 (60 runs beyond the main setting p = 3) all give Exploratory set, Holm-adjusted p-values of the paired tests; marks a support rate of 1.00, with mean coefficient errors of as in Table IV. 0.0039, 0.0035, 0.0033 and 0.0031 (differences not tested): System 0% 0.5% 1% 2% 5% 10% no detectable effect on support recovery in this range. (a) support rate, weak form vs. Library on the smoothed state (H5). With the library FD 1.000 1.000 1.000 1.000 0.006∗ 1.000 evaluated on the smoothed state instead of the noisy SG 1.000 1.000 1.000 1.000 0.849 1.000 Spline 1.000 1.000 1.000 1.000 0.517 1.000 measurements (SG and spline, Table XV), H5, registered TV 1.000 1.000 1.000 1.000 1.000 1.000 for support recovery at 2%, is not supported: the rate (b) coefficient error, weak form vs. goes from 0.90 to 0.85 for SG and from 0.80 to 0.85 for FD 0.001∗ 0.001∗ 0.001∗ 0.001∗ 0.623 0.003∗ SG 0.001∗ 0.001∗ 0.001∗ 0.002∗ 0.007∗ 0.008∗ spline, and does not change at 5%. The coefficient error is Spline 0.001∗ 1.000 0.914 0.004∗ 0.074 0.004∗ lower with the smoothed library in all four cells (at 5%, TV 0.001∗ 0.001∗ 1.000 0.074 0.517 0.010∗ SG 0.0772 to 0.0339 and spline 0.0636 to 0.0387); no test (c) coefficient error, smoother vs. FD was run on this difference. SG 0.001∗ 0.001∗ 0.001∗ 0.001∗ 0.001∗‡ 0.495 Spline 0.001∗ 0.001∗ 0.001∗ 0.001∗ 0.020∗‡ 0.751 TV 0.001∗ 0.001∗ 0.001∗ 0.001∗ 0.751‡ 0.321 VII. Limitations All data are simulated. The study has one dynamical system (Lorenz-63), one sampling interval (∆t = 0.01), 2% noise 5% noise one trajectory length (10 time units), one library (degree- support rate 1 2 polynomials, which contains the true model) and one noise model (i.i.d. Gaussian with a level known to the 0 oracle tuner). The confirmatory set has 100 trajectories 0.3 0.6 1.0 1.5 2.5 4.0 per cell, so support-rate differences of the size seen here test-function width (time units) (Table Va) are still not resolved after the Holm correction (Sec. V); the exploratory set has 20 per cell. All five Fig. 2. Weak-form exact-support rate versus test-function width. methods are reimplemented in numpy. The frozen grids were widened so that the selected values are interior, with three exceptions (spline penalty and TV threshold at 0% the level registered for H4, the support rate is 1.00, 1.00 noise, and SG order 5, the largest order tried, at four and 1.00 for widths 0.3, 0.6 and 1.0 and falls to 0.60, 0.35 levels), so higher SG orders may change the ranking; and 0.15 at 1.5, 2.5 and 4.0, below the baselines’ 0.80–0.90. the grids of the exploratory set selected edge values in At 5% (added to the registered sweep) the rate is 0.65 at most cells. Five tuning trajectories still determine the 0.3 and 0.65 at 0.6, 0.45 at 1.0 and at most 0.10 beyond. oracle thresholds of the frozen protocol (for the weak H4 is partly supported: the width matters strongly, but form λ = 0.8 at every level), and the tie diagnostic was not in the registered direction, since the narrowest window not repeated for the frozen grids. The noise-blind selector tested keeps the rate and the wide ones lose it. Windows is one design (blocked cross-validation on one integral- narrower than 0.3 were not tested, and no experiment residual criterion with a one-standard-error rule); other isolates why wide windows fail. criteria, such as information criteria, were not tried, and Test-function exponent. At 2% noise the exponents p = the two rules of the selector were compared on the tuning TABLE XII Exact-support rate on the 20 test seeds for every STLSQ threshold λ of the tuning grid (smoothing parameters as tuned). Shaded: tuned threshold (the main runs). Underlined: threshold selected by the first tie rule. Diagnostic only: these cells use the test seeds. 0% noise 0.5% noise 1% noise λ 0.05 0.1 0.2 0.4 0.6 0.05 0.1 0.2 0.4 0.6 0.05 0.1 0.2 0.4 0.6 FD 0.95 1.00 1.00 1.00 1.00 0.45 0.90 1.00 1.00 1.00 0.15 0.40 0.85 1.00 0.95 SG 0.95 1.00 1.00 1.00 1.00 0.35 0.85 1.00 1.00 1.00 0.30 0.50 0.85 1.00 1.00 Spline 1.00 1.00 1.00 1.00 1.00 0.45 0.85 1.00 1.00 1.00 0.25 0.60 0.85 1.00 1.00 TV 1.00 1.00 1.00 1.00 1.00 0.55 0.90 1.00 1.00 1.00 0.30 0.45 0.85 1.00 1.00 Weak 1.00 1.00 1.00 1.00 1.00 0.75 0.90 1.00 1.00 1.00 0.25 0.75 0.90 1.00 1.00 2% noise 5% noise 10% noise λ 0.05 0.1 0.2 0.4 0.6 0.05 0.1 0.2 0.4 0.6 0.05 0.1 0.2 0.4 0.6 FD 0.05 0.25 0.60 0.80 0.70 0.00 0.00 0.05 0.15 0.25 0.00 0.00 0.00 0.00 0.00 SG 0.00 0.20 0.55 0.90 0.70 0.00 0.00 0.15 0.25 0.05 0.00 0.00 0.00 0.00 0.00 Spline 0.00 0.15 0.55 0.80 0.80 0.00 0.00 0.10 0.20 0.20 0.00 0.00 0.00 0.00 0.00 TV 0.10 0.25 0.45 0.85 0.85 0.00 0.00 0.15 0.40 0.20 0.00 0.00 0.00 0.00 0.00 Weak 0.00 0.15 0.75 0.90 1.00 0.00 0.00 0.10 0.55 0.65 0.00 0.00 0.00 0.05 0.10 TABLE XIII TABLE XV Mean coefficient error on the 20 test seeds at 5% noise for every Library on the raw versus the smoothed state. threshold of the grid; marks as in Table XII. System Library state supp. 2% err 2% supp. 5% err 5% 5% noise SG raw 0.90 0.0126 0.25 0.0772 λ 0.05 0.1 0.2 0.4 0.6 SG smoothed 0.85 0.0051 0.25 0.0339 Spline raw 0.80 0.0150 0.20 0.0636 FD 0.1354 0.0469 0.0489 0.0603 0.0711 Spline smoothed 0.85 0.0097 0.20 0.0387 SG 0.1455 0.0766 0.0745 0.0772 0.1092 Spline 0.1046 0.0597 0.0595 0.0636 0.0793 TV 0.1195 0.0462 0.0470 0.0536 0.0686 Weak 0.0486 0.0211 0.0235 0.0198 0.0337 method in exact-support rate from 1% noise (refuted in TABLE XIV the exploratory set and under oracle tuning, not supported Weak-form width sweep at 2% (left three columns) and 5% (right under noise-blind selection) or that every smoother lowers † three) noise; tuned width (main runs). the coefficient error of finite differences (refuted under oracle tuning and, by one non-significant cell, under noise- Width supp. coef.err FP/FN supp. coef.err FP/FN blind selection), and the claim that all systems are exact 0.3 1.00 0.0029 0.00/0.00 0.65 0.0276 0.25/0.20 0.6† 1.00 0.0035 0.00/0.00 0.65 0.0337 0.20/0.25 at zero noise is not supported on the confirmatory set. On 1.0 1.00 0.0058 0.00/0.00 0.45 0.1339 0.40/0.45 the 100 fresh trajectories per level with oracle tuning, the 1.5 0.60 0.0290 0.30/0.10 0.10 0.0915 0.70/0.75 weak form’s support-rate lead is significant after Holm cor- 2.5 0.35 0.0956 0.45/0.70 0.10 0.2379 0.90/1.25 4.0 0.15 0.2117 1.60/1.10 0.00 0.4187 2.90/1.10 rection against FD at 5% (0.49 against 0.02) and against SG, spline and TV at 10% (0.12 against at most 0.01), while at 1% it is below FD; under noise-blind selection it trajectories before the freeze, using their ground truth. has the highest rate at every level from 1% but the lead is The oracle tuning of the first protocol had its tie rule significant in one of 16 comparisons. Its mean coefficient changed after the first test results were seen, so that error is lower than all four baselines, significantly, at 0% protocol is exploratory. The weak form uses one test- and 10% noise in all three evaluations, but higher than function family and window count; other weak-SINDy all four at 1 and 2% under oracle tuning, although on variants, ensembles and implicit forms were not compared. the true support its error is the lowest from 1%. The The tuning-instability effect was not characterised across exact paired test also removes the significance that the independent tuning sets, sampling rates or systems. A Welch test gave to the first version’s 2% comparison full study would add systems, sampling rates and noise (exact p = 0.125 before correction). The ordering of the models. methods below 5% noise follows the selection protocol (tie rule, grid, oracle against noise-blind). These conclusions VIII. Conclusion hold for one simulated system, one sampling interval and This replication, on simulated noisy Lorenz-63 with a one noise model; the tuning-instability effect was not fixed library and STLSQ, does not support the registered characterised across independent tuning sets, sampling claims that the weak form beats every derivative-based intervals or systems. References [1] S. L. Brunton, J. L. Proctor, and J. N. Kutz, “Discovering governing equations from data: Sparse identification of nonlinear dynamical systems,” arXiv preprint arXiv:1509.03580, 2015. [Online]. Available: https://arxiv.org/abs/1509.03580 [2] S. H. Rudy, S. L. Brunton, J. L. Proctor, and J. N. Kutz, “Data-driven discovery of partial differential equations,” arXiv preprint arXiv:1609.06401, 2016. [Online]. Available: https://arxiv.org/abs/1609.06401 [3] B. M. de Silva, K. Champion, M. Quade, J.-C. Loiseau, J. N. Kutz, and S. L. Brunton, “PySINDy: A Python package for the Sparse Identification of Nonlinear Dynamics from Data,” arXiv preprint arXiv:2004.08424, 2020. [Online]. Available: https://arxiv.org/abs/2004.08424 [4] H. Schaeffer and S. G. McCalla, “Sparse model selection via integral terms,” Physical Review E, 2017. [Online]. Available: https://doi.org/10.1103/PhysRevE.96.023302 [5] D. A. Messenger and D. M. Bortz, “Weak SINDy: Galerkin- Based Data-Driven Model Selection,” Multiscale Modeling & Simulation, 2021. [Online]. Available: https://doi.org/10.1137/ 20M1343166 [6] ——, “Weak SINDy For Partial Differential Equations,” arXiv preprint arXiv:2007.02848, 2020. [Online]. Available: https://arxiv.org/abs/2007.02848 [7] P. A. K. Reinbold, D. R. Gurevich, and R. O. Grigoriev, “Using noisy or incomplete data to discover models of spatiotemporal dynamics,” Physical Review E, 2020. [Online]. Available: https://doi.org/10.1103/PhysRevE.101.010203 [8] A. Savitzky and M. J. E. Golay, “Smoothing and Differentiation of Data by Simplified Least Squares Procedures.” Analytical Chemistry, 1964. [Online]. Available: https://doi.org/10.1021/ ac60214a047 [9] R. Chartrand, “Numerical Differentiation of Noisy, Nonsmooth Data,” ISRN Applied Mathematics, 2011. [Online]. Available: https://doi.org/10.5402/2011/164564 [10] E. N. Lorenz, “Deterministic Nonperiodic Flow,” Journal of the Atmospheric Sciences, 1963. [Online]. Available: https: //doi.org/10.1175/1520-0469(1963)020<0130:DNF>2.0.CO;2 [11] K. Kaheman, J. N. Kutz, and S. L. Brunton, “SINDy-PI: A Robust Algorithm for Parallel Implicit Sparse Identification of Nonlinear Dynamics,” arXiv preprint arXiv:2004.02322, 2020. [Online]. Available: https://arxiv.org/abs/2004.02322 [12] U. Fasel, J. N. Kutz, B. W. Brunton, and S. L. Brunton, “Ensemble-SINDy: Robust sparse model discovery in the low-data, high-noise limit, with active learning and control,” arXiv preprint arXiv:2111.10992, 2021. [Online]. Available: https://arxiv.org/abs/2111.10992 [13] F. van Breugel, J. N. Kutz, and B. W. Brunton, “Numerical differentiation of noisy data: A unifying multi-objective optimization framework,” arXiv preprint arXiv:2009.01911, 2020. [Online]. Available: https://arxiv.org/abs/2009.01911