Skip to main content
Back

Northwestern Exposes a Hidden Failure Mode Quietly Breaking SINDy's Equation Discovery

A systems biology study shows that popular equation-discovery methods break down when candidate functions correlate, and that switching bases only helps if you sample data correctly.

Pro

Paper, Full Access
  • New paper shows sparse equation discovery for biology suffers severe ill-conditioning from correlated candidate functions.
  • Even 2 or 3 monomial terms can produce condition numbers large enough to destabilize recovery under noise.
  • Legendre and Chebyshev bases only help when data sampling matches their weight function.
  • Mismatched sampling can make orthogonal bases perform worse than plain monomials.
  • Benchmarks span Lotka-Volterra, chemical reaction networks, and standard systems biology models up to degree 5.
  • Full analysis available at arxiv.org/abs/2603.11330; no code release accompanies the preprint.

Data-driven equation discovery promised something remarkable: feed a machine time-series measurements of a biological system, and out pops the differential equations governing it. Methods like SINDy (Sparse Identification of Nonlinear Dynamics) have been the workhorse for this task, using sparse regression over a large library of candidate functions to pick out the few that matter. A new arxiv paper from Northwestern researchers argues that this approach has a quieter, more pervasive failure mode than the community has acknowledged, and it shows up in exactly the kind of small, correlated biological datasets people actually work with.

The paper, Ill-Conditioning in Dictionary-Based Dynamic-Equation Learning, focuses on numerical ill-conditioning: the situation where two or more candidate functions in your library look nearly identical over the sampled data, so the regression cannot tell them apart. Library-based approaches face a critical challenge when candidate functions become strongly correlated. Poor or restricted sampling, together with particular choices of candidate libraries, can produce strong multicollinearity and numerical instability, so that measurement noise may lead to widely different recovered models.

Why two terms can wreck a fit

SINDy works by writing the derivative of a state as a sparse linear combination of candidate terms like x, x^2, xy, sin(x), and so on, then solving a regression to pick the active ones. SINDy seeks weights that express dynamics as a sparse linear combination of library functions. When the columns of the measurement data or the library are statistically correlated, which is likely for large libraries, the SINDy inverse problem can quickly become ill-posed.

The community has generally treated this as a large-library problem, patched with L1 regularization or thresholding. The new analysis shows the disease is worse than that. Even combinations of just two or three monomials, evaluated on typical biological trajectories, can produce condition numbers large enough that tiny amounts of measurement noise flip which terms the regression selects. Sparse regularization helps, but strong correlations may persist, regularization may bias the recovered models, and the answer can still swing wildly with small perturbations in the data.

Condition numbers and error counts across systems biology benchmark models for polynomial degrees 2 to 5

The orthogonal-basis fix that isn't

The obvious textbook fix is to swap monomials for an orthogonal polynomial basis such as Legendre or Chebyshev, which are designed to be uncorrelated. The paper's most useful result is that this fix only works when your data sampling matches the basis. Orthogonality is defined with respect to a weight function: Legendre polynomials are orthogonal under a uniform distribution on [-1, 1], Chebyshev polynomials under an arcsine distribution.

If the trajectory data does not match that weight, the basis loses its orthogonality on your actual samples, and it can end up worse conditioned than plain monomials. The authors show this experimentally: using orthogonal features together with an appropriate sampling distribution can improve the conditioning of the feature library and enhance sparse-regression-based model discovery such as SINDy, but increased model complexity, as exemplified by chemical reaction networks, can amplify the performance degradation caused by mismatched sampling distributions.

What they tested

The analysis runs across a suite of standard systems biology benchmarks, including Lotka-Volterra population dynamics, a chemical reaction network, and models from Becker, Sneyd, Boehm, Hass, and others. For each system the authors:

  • Build candidate libraries in monomial, Legendre, and Chebyshev bases up to degree 5.
  • Sample trajectories under uniform and arcsine weighting schemes.
  • Measure log10 condition numbers of the resulting feature matrices.
  • Count how many terms sparse regression gets wrong (missing or spurious) under noise.
Probability density functions and comparative metrics across monomial, Legendre, and Chebyshev bases

The condition numbers climb by many orders of magnitude as polynomial degree increases, and the error counts track that climb. When sampling is aligned to the weight function of the chosen basis, both curves flatten, and Legendre or Chebyshev libraries recover the true dynamics far more reliably than monomials.

What this means if you use SINDy

The practical takeaways are concrete and unusually actionable for a numerical analysis paper:

  1. Check the condition number of your feature matrix before trusting a discovered model. Two seemingly innocuous terms can already blow it up.
  2. Basis choice and experimental design are coupled. Picking Legendre because a colleague recommended it, then sampling densely near a fixed point, can be worse than monomials.
  3. If you can control sampling (numerical experiments, designed perturbations, cell-culture assays), align the sampling distribution with the weight function of your basis. Uniform sampling for Legendre, arcsine for Chebyshev.
  4. If you cannot control sampling (observational time-series from a living organism), be skeptical of any single recovered model and quantify sensitivity to noise.

The work does not propose a new algorithm, and there is no accompanying repository listed in the preprint. It is a diagnostic paper, and its contribution is showing that a widely used pipeline has a failure mode that regularization alone cannot rescue. For anyone applying PySINDy or its cousins to biology, that is a useful thing to know before publishing a discovered equation as truth. Related work such as Trimmed Lasso for SINDy attacks the same multicollinearity problem from the estimator side; this paper argues the library and the sampling deserve at least as much attention.