Sparse equation discovery fits a differential equation to time-series data by choosing a few terms from a large menu of candidates (constants, linear terms, products, sines) and setting every other coefficient to exactly zero. The resulting equations are short enough to read. Clinical researchers now use this to model disease, for example Alzheimer's biomarker trajectories. Clinical cohorts, however, are badly unbalanced. In a typical longitudinal Alzheimer's dataset there are roughly thirteen non-Hispanic White participants for every Hispanic participant. When one sparse fit is run on the pooled data, a term that matters only in the small group adds almost nothing to the overall loss, and the sparsity step deletes it. Running the fit separately in the small group gives the opposite problem: with few, noisy trajectories, the estimated time derivatives are poor, so the fit either invents spurious terms or loses real ones. In both cases a missing term cannot be read as biology. It may mean "absent," or it may mean "not enough data to tell."
This note proposes a way to discover equations across unbalanced cohorts that returns one of three labels for every candidate term in every group: present, absent at a stated effect size, or undetermined for lack of power. The mechanism has two parts. First, each group's equation is written as a shared structure plus sparse group-specific deviations. Second, the statistical-genetics idea of using pooled evidence as side information to raise the power of subgroup tests is carried over to term selection, with error thresholds set separately for each group according to that group's own derivative noise. The deliverable is a sparse equation together with a power map saying where the minority-group equation is actually known.
Core Claim
Existing sparse discovery pipelines treat "coefficient set to zero" as a finding. Under cohort imbalance that reading is statistically wrong, because the smallest coefficient a group can detect depends on its sample size, its visit density and its derivative noise. We claim that a method which (i) borrows the shared structure from the large group, (ii) tests group-specific deviations using pooled evidence as auxiliary weights, and (iii) reports a per-group minimum detectable coefficient will recover minority-specific terms at controlled false-discovery rates where pooled, stratified and simply reweighted fits cannot. We also claim it will correctly decline to call terms absent when the data cannot support that call.
Where the Pieces Come From
On the equation-discovery side, three papers supply the setting and show the gap. Data-driven causal model discovery and personalized prediction in Alzheimer's disease used Lasso pruning to find a four-variable ODE (amyloid, tau, hippocampal volume, cognition) on ADNI. It reported 95.1% individual cognitive-trajectory accuracy against 63.4% for sigmoid fitting. It also states that its cohort is homogeneous and highly educated, and it prunes on a single pooled fit, so it never asks whether a term exists only in a subgroup. ODE Discovery for Longitudinal Heterogeneous Treatment Effects Inference (INSITE) learns one population ODE structure by thresholded regression and then calibrates individual coefficients. Its heterogeneity is therefore parametric only, and it was tested on synthetic pharmacology data with no group imbalance. Both papers motivate this proposal. We keep their two-stage "shared then specific" logic but let the structure itself, not just the rates, differ by group.
Two papers constrain the design. A Bayesian Framework for learning governing Partial Differential Equation from Data shows that deterministic thresholding reaches false-positive rates as high as 85% on the chaotic Kuramoto–Sivashinsky equation under 5% noise, while a spike-and-slab prior (a probability spike at zero mixed with a broad Gaussian) reached 0%. This tells us that a single global threshold is the wrong tool when noise differs across groups, and that a Bayesian hierarchical model is the natural competitor. Data-driven discovery of the heat equation in an induction machine via sparse regression shows that Sparse Group Lasso can recover the same equation structure across two operating regimes. That is a proof of concept that structure can be shared across conditions while coefficients shift, and it supplies the grouped-penalty machinery we reuse.
On the power side, two papers supply the borrowing technique. Heterogeneous associations between interleukin-6 receptor variants and phenotypes across ancestries and implications for therapy (hetFDR) uses the pooled mean effect as auxiliary information to weight p-values for ancestry-heterogeneity tests. On about 440k European and 106k African ancestry veterans it found 29 heterogeneous traits at 10% false-discovery rate. Leveraging the local genetic structure for trans-ancestry association mapping (LOG-TRAM) borrows strength from UK Biobank into Biobank Japan only in genomic blocks where the two populations' structures agree, which raised effective sample size by 49% on average. Both methods work on static regression summaries. Neither has anything like time derivatives or a candidate-term menu, and carrying them over is the technical contribution here. Finally, Genetic Association Analyses of Longitudinal Cognitive Changes Related to Alzheimer's Disease in Diverse Populations found different loci associated with the rate of cognitive decline in each group (CR1 in non-Hispanic Whites, NCK2 in African Americans, EED in Hispanics). It used a mixed-effects Tobit model, a regression that handles scores stuck at the scale's ceiling. This is the empirical reason to expect structural, and not only parametric, differences between groups. It also supplies the real cohort and the ceiling-effect constraint.
Research Program
We model the derivative of the state in subject $i$ belonging to group $k$ as
$$\dot{x}_i = \Theta(x_i)\,(\xi + \delta_k) + \varepsilon_i, \qquad \varepsilon_i \sim \mathcal{N}(0, \sigma_k^2),$$
where $\Theta$ is the candidate-term matrix, $\xi$ is the shared sparse coefficient vector, $\delta_k$ is a sparse deviation for group $k$, and $\sigma_k$ is group $k$'s residual noise. The noise level is estimated separately per group because it is driven by that group's visit spacing and measurement noise through numerical differentiation. The largest group is the reference, so its deviation is zero.
Estimation uses data splitting. On one half of each group's subjects we fit $\xi$ and the $\delta_k$ jointly with a penalty that is lighter on $\xi$ and heavier on each $\delta_k$, weighting each group's squared error by $1/\sigma_k^2$. On the other half we refit the selected terms by ordinary least squares within each group and compute two p-values for each term $j$ and group $k$: one for presence ($\xi_j + \delta_{kj} = 0$) and one for difference from the reference ($\delta_{kj} = 0$). The difference p-values are then weighted hetFDR-style, using the held-out pooled evidence for term $j$ as the auxiliary covariate, and false-discovery rate is controlled over all term–group pairs.
The third output is the power map. For each term that is not called present, we compute the minimum detectable coefficient
$$c^{\min}_{kj} = \frac{\sigma_k\,(z_{1-\alpha/2} + z_{1-\beta})}{\sqrt{n_k\, s^2_{kj}}},$$
where $n_k$ is the number of derivative samples in group $k$, $s^2_{kj}$ is the variance of term $j$'s column in group $k$ after projecting out the other active terms, and $z$ are normal quantiles for significance level $\alpha$ and power $1-\beta$. This is the standard least-squares standard error scaled by the power requirement. An equivalence test then labels term $j$ as "absent" in group $k$ only when its confidence interval lies inside a pre-declared negligible band. Otherwise the term is labeled "undetermined." The projection in $s^2_{kj}$ is essential: collinear candidate terms, the failure mode the induction-machine paper addressed with grouped penalties, inflate $c^{\min}$, and the map shows this honestly.
For bounded clinical scores such as the Mini-Mental State Examination (MMSE, 0–30), we follow the Tobit insight from the NACC study. Derivative samples whose surrounding visits sit at the ceiling are treated as censored and excluded from the difference tests. We report how many samples this removes per group, since ceiling censoring may itself fall unevenly across groups.
Baselines
The naive reference point is pooled sparse regression with one global threshold: the Lasso pruning of the ADNI ODE paper and the thresholded first stage of INSITE, applied to the combined cohort. This is what practitioners do today. It is run with its threshold tuned by cross-validation on pooled held-out derivative error, and we expect it to erase minority-specific terms at high imbalance ratios.
The second baseline is stratified discovery: the same algorithm fit independently in each group, with each group's threshold tuned by its own cross-validation. This is the dynamical analogue of the ancestry-stratified analysis in A genome-wide association study identifies only two ancestry specific variants associated with spontaneous preterm birth, which found only two loci and neither replicated.
The third is group-reweighted pooled regression, in which each group's loss is scaled so every group contributes equally. This is the cheapest fix for erasure and the one most likely to embarrass the proposal.
The strongest existing method is a hierarchical extension of the spike-and-slab approach in A Bayesian Framework for learning governing Partial Differential Equation from Data. Each group gets its own inclusion probability per term, tied to a shared prior, and inference is by mean-field variational Bayes. It is the strongest competitor because it already controls false positives under noise (0% false-positive rate up to 5% noise on its single-population PDE benchmarks) and borrows strength through the prior. Terms are selected at posterior inclusion probability above 0.5.
Two ablations isolate the key ingredients. The first removes the auxiliary weighting, using unweighted false-discovery control over the deviation tests. The second replaces the per-group noise estimates $\sigma_k$ with a single pooled noise estimate.
All methods share the same candidate-term menu, the same derivative estimator, the same data, and an equal budget of hyperparameter configurations searched on the same validation split. Beating a baseline means higher minority-group term recall at equal or lower realized false-discovery rate, averaged over the imbalance grid, with the "absent" labels of our method having an error rate below the nominal level. On prediction, INSITE reports a normalized RMSE of 0.79 against 0.92 for the Counterfactual Recurrent Network on six-step-ahead Cancer PKPD prediction (ODE Discovery for Longitudinal Heterogeneous Treatment Effects Inference). We will reproduce that single-group figure before introducing groups. For term recovery under group imbalance, no reported result was found on Lacuna for any method.
Why not just…?
Why not just fit each group separately? Stratification removes cross-group contamination but throws away the shared structure. In the small group, that means estimating every term, including the ones common to all groups, from noisy derivatives. The Bayesian PDE paper's 85% false-positive figure for thresholded fits under noise, and the preterm-birth study's unreplicated stratified hits, both predict that the minority fit will be unstable. Our experiments measure this directly as the minority group's false-discovery rate on shared terms, which borrowing should drive down.
Why not just reweight the minority group in the pooled fit? This is the real threat. Equal group weighting makes a minority-only term matter to the loss, so erasure could largely disappear. What reweighting does not do is account for the minority group's higher derivative noise: upweighting noisy samples under a single threshold should inflate false positives in that group. Nor does it produce any statement about terms it fails to find. If, on the synthetic grid, reweighting matches our method's recall and realized false-discovery rate, we will concede that the selection machinery adds nothing. In that case the contribution narrows to the power map and three-way labels, which can sit on top of the reweighted fit, and we will report it that way.
Why not just use a hierarchical spike-and-slab model? A hierarchical prior is a principled way to borrow strength and may match our recall. Two concerns follow from its setup. Mean-field posteriors are known to be overconfident, and posterior inclusion probabilities are not calibrated false-discovery statements when group sizes differ by an order of magnitude. Also, a low inclusion probability does not distinguish "absent" from "uninformative data." We will check the calibration of its inclusion probabilities against simulated truth in each group. If they are calibrated, the power map can be computed from its posterior widths instead, and we will say so.
Proposed Experiments
The primary testbed is semi-synthetic with known ground truth. We take three systems whose structure the file documents: the four-variable Alzheimer's ODE form from the ADNI paper, the Cancer PKPD simulator from INSITE, and Lorenz or Burgers from the evolving-systems benchmark of Discover governing differential equations from evolving systems. For each, we generate a reference group from the base system and minority groups that differ by one added term, one removed term, or only a coefficient shift. Group size ratios cover 1:1, the roughly 6:1 and 13:1 ratios of the NACC groups (15,112, 2,392 and 1,159), and the 43:1 ratio between the European and South Asian shares of the UCLA ATLAS cohort (The UCLA ATLAS Community Health Initiative: promoting precision health research in a diverse biobank). We cross these ratios with visits per subject (3 to 20) and measurement noise (0 to 5%), and let visit density differ between groups to mimic unequal clinical follow-up. Metrics are per-group term recall, realized false-discovery rate, coefficient error on shared and deviating terms, and the error rate of "absent" labels.
The decisive check is the coefficient-shift-only condition. A method that invents structural differences where only rates differ is useless for the biological question. Here our method should declare no structural deviations at the nominal false-discovery rate while still flagging the shift through coefficients. A second decisive check sweeps the minority effect size across the predicted $c^{\min}_{kj}$: empirical detection probability should cross the target power close to that value. If it does not, the power map is not trustworthy and the proposal fails on its central claim.
The real-data study uses NACC longitudinal MMSE for the three ancestry groups analyzed in the Tobit study. The candidate menu contains polynomial terms in the cognitive score and interactions with carrier status for the loci that study reported as rate-associated (CR1, NCK2, EED), with ceiling-censored samples handled as described above. No ground truth exists here, so success is judged three ways. First, held-out trajectory error per group should be no worse than the pooled fit. Second, the recovered deviation terms should agree in direction with the Tobit rate associations. Third, the power map should show which apparent group differences the current sample sizes can and cannot support. We expect the Hispanic group to be undetermined on most interaction terms, and we will report that as a result rather than treating it as a failure.
References
- Data-driven causal model discovery and personalized prediction in Alzheimer's disease
- ODE Discovery for Longitudinal Heterogeneous Treatment Effects Inference
- A Bayesian framework for learning governing partial differential equation from data
- Data-driven discovery of the heat equation in an induction machine via sparse regression
- Heterogeneous associations between interleukin-6 receptor variants and phenotypes across ancestries and implications for therapy
- Leveraging the local genetic structure for trans-ancestry association mapping
- Genetic Association Analyses of Longitudinal Cognitive Changes Related to Alzheimer’s Disease in Diverse Populations
- A genome-wide association study identifies only two ancestry specific variants associated with spontaneous preterm birth
- Discover governing differential equations from evolving systems
- The UCLA ATLAS Community Health Initiative: Promoting precision health research in a diverse biobank