TL;DR
Modern time-series foundation models are great at predicting electricity grids and stock prices, but how do they fare on messy, real-world clinical data? This paper introduces MicroCastBench, a unified benchmark for forecasting gut microbiome dynamics across a wide spectrum of models—from ecological differential equations to neural processes and foundation models. The punchline: generalist foundation models trail behind, while meta-learning models dominate long-horizon forecasts and domain-specific mechanistic models win when data is scarce.
What Problem Does This Paper Address?
Most time-series benchmarks assume clean, regularly sampled data. Real-world clinical time-series—like tracking a patient's gut microbiome—are the exact opposite. They are:
- Irregularly sampled and short: Patients aren't tested on a neat daily schedule; gaps between samples range from days to months.
- Compositional: Sequencing technologies (like 16S rRNA) don't measure absolute bacterial counts, only relative ratios that sum to 100%.
- Interventional and variable: Patients receive treatments (like antibiotics) at arbitrary times, and every patient's baseline biology differs.
While microbiome forecasting is clinically important (e.g., predicting how a patient's gut will respond to treatment), it has been largely overlooked by the machine learning community. Meanwhile, existing studies rarely compare mechanistic ecological models against modern deep learning, meta-learning, or time-series foundation models (TSFMs).
Methods
The authors propose a standardized evaluation protocol and benchmark models along two axes: parameter assumptions (local per-patient fits, global shared parameters, or meta-learning) and inductive priors (mechanistic, ODE-based, data-driven, or domain-agnostic).
To handle irregular sampling fairly, they group predictions into fixed time buckets ($\Delta = 1, 7, 30$ days) rather than fixed step counts. Because standard Euclidean distance is mathematically invalid on relative ratios, they evaluate accuracy using the Aitchison distance (Euclidean distance in centered log-ratio space).
The benchmarked models include:
- Naive & Local: LastValue, MeanValue, LinearTrend, and VARIMA.
- Mechanistic: Compositional Lotka-Volterra (CLV), which adapts classic ecological differential equations to the simplex.
- Global Deep Models: GRU (RNN), PatchTST, and LatentODE.
- Meta-Learning: Conditional, Transformer, and Latent Bottlenecked Attentive Neural Processes (CNP, TNP, LBANP), which adapt to each patient's context in a single forward pass without gradient updates.
- Foundation Models: Chronos2 (zero-shot and fine-tuned).
Datasets
The authors evaluate models on two complementary datasets:
- Synthetic Cohort: Trajectories generated from generalized Lotka-Volterra (gLV) differential equations and projected onto the simplex to mimic compositionality. They sweep cohort size ($N = 10$ to $10{,}000$ patients), trajectory length ($T = 10$ to $120$ steps), and feature count ($D = 5$ to $100$ species).
- Real Clinical Cohort: Adapted from Liao et al., comprising over 10,000 longitudinal gut microbiome samples from more than 1,000 cancer patients undergoing allogeneic hematopoietic cell transplantation (allo-HCT). They retain the top-20 bacterial features plus an "other" category ($D = 21$), and also sweep $D$ from 5 to 200.
Key Insights and Ideas
- Persistence is surprisingly hard to beat at short horizons: On real clinical data, simply predicting the last observed value (LastValue) beats complex deep models at 1-day and 7-day horizons. Day-to-day microbiome variation is mostly sampling and sequencing noise, which no model can predict from history.
- Meta-learning shines at longer horizons: As the forecast horizon stretches to 30 days, persistence error grows linearly, while meta-learning models (Neural Processes) stay nearly flat and take the lead.
- Out-of-domain foundation models struggle: Generalist TSFMs (Chronos2) trail across every horizon and scaling regime—even with large cohorts—highlighting that pretraining on generic time-series doesn't easily transfer to irregular, compositional clinical data.
- A clear model-selection map: On synthetic data, mechanistic models (CLV) win when cohorts are small ($N \lesssim 30$), trajectories are short ($T \lesssim 30$), or feature counts are high ($D \gtrsim 50$). Everywhere else, meta-learning wins.
Key Results
- Synthetic Cohort (Aitchison distance, lower is better): Meta-learners lead overall, with LBANP at $0.48 \pm 0.03$ and TNP at $0.51 \pm 0.05$ (matching RNN at $0.51 \pm 0.04$), outperforming CLV ($1.22 \pm 0.08$), LastValue ($1.38 \pm 0.07$), and Chronos2 ($2.01 \pm 0.06$).
- Real Cohort:
- Short horizon ($\Delta = 1\text{d}$): VARIMA ($10.34 \pm 0.54$) and LastValue ($10.35 \pm 0.54$) win.
- Medium horizon ($\Delta = 7\text{d}$): VARIMA ($14.77 \pm 0.52$) and LastValue ($14.78 \pm 0.52$) still lead.
- Long horizon ($\Delta = 30\text{d}$): Meta-learners take over, led by CNP ($17.18 \pm 0.41$), TNP ($17.25 \pm 0.38$), and LBANP ($17.38 \pm 0.39$). Chronos2 trails at every horizon ($20.57$–$20.90$).
Limitations and Future Work
The authors note that their real-world evaluation is limited to a single clinical cohort (allo-HCT gut microbiomes) using 16S rRNA sequencing, and that they evaluate point predictions rather than full predictive distributions. Furthermore, accurate forecasting does not guarantee that a model has recovered the true underlying ecological interactions. Future work could expand the benchmark to other body sites, ecological datasets, uncertainty quantification, and domain-specific pretraining for foundation models.
Summary updated