Research / Microbial community function

A model predicted community butyrate at held-out R² 0.860, then fell to R² −0.748 on communities larger than any it was trained on.

Preregistered study, not peer reviewed
Question
Can how much butyrate a defined microbial community produces be predicted from which species it contains?
Result
On 518 measured community compositions from Clark et al. 2021, gradient boosting over 25 species-presence indicators reached held-out R² 0.860 (MAE 4.24 mM) under composition-grouped cross-validation, against a replicate-noise ceiling of 0.985. It beat the butyrate-producer-count baseline by 0.720 R² in 10 of 10 repeats, with a permuted-target control at −0.004. Trained on communities of at most 7 species and tested on 10 or more, the same approach gave R² −0.748, worse than predicting the mean. Seven of the eight preregistered magnitude predictions missed, in both directions. Overall verdict: mixed.
Boundary
One published dataset, one 25-species pool, in vitro, endpoint measurements from a single laboratory. The unit is the composition, not the replicate. The outcome is butyrate, a metabolic function. Richness alone predicted essentially nothing (R² 0.004), so the result rests on species identity. Nothing here is peer reviewed and no public reproduction package exists yet.
Who did what
The measurements, the dataset and its own butyrate model are Clark et al.’s, published under CC BY. OMEGA froze the design, the arms, the exclusions and the controls before any model was fitted, then built and evaluated this model and reported against that freeze. The analysis code was written in OMEGA with AI research agents under human direction.
Evidence

What was measured, and over what

Clark et al. assembled defined communities from a 25-species synthetic human-gut pool and measured butyrate. This study re-used their published measurements and never read their own model-prediction columns as features.

  • 2,333 measured replicate rows available.
  • 344 rows under 27 alias labels excluded, declared before fitting: their species membership is not spelled out and cannot be expanded into a feature vector.
  • 1,989 rows over 518 unique compositions analysed. No row was dropped for a missing outcome.
  • The unit of analysis is the composition, not the replicate row (521 of 545 compositions were measured more than once, up to 24 times), so the target is the mean measured butyrate per composition and n = 518. Row-level evaluation would be pseudo-replication.
  • Richness 1 to 19 species; composition-mean butyrate 0.00 to 58.16 mM.
  • Replicate noise sets a ceiling. Within-composition variance 14.13 mM² against 242.35 mM² between composition means, so no model can exceed R² 0.985 on composition means. Every figure below is bounded by it.

Every arm that was run

5-fold cross-validation repeated 10 times, grouped so that one composition can never fall in both training and test. All six arms, the thresholds and the fold schedule were fixed before fitting.

ArmFeaturesHeld-out R²sdMAE (mM)
Permuted target (negative control)25 binary−0.00430.007713.60
Richness only1+0.00410.005613.39
Butyrate-producer count1+0.14050.002812.23
Ridge25 binary+0.80280.00225.41
Random forest25 binary+0.85290.00764.27
Gradient boosting25 binary+0.86040.00494.24

Best model minus best baseline: +0.7198 R² (sd 0.0065, range +0.7103 to +0.7308), with the model ahead in 10 of 10 repeats. The producer set is the authors’ own annotation, not an OMEGA inference.

Controls, all declared in advance: the permuted-target arm stayed at −0.0043; the biological floor passed at +0.1405; no arm exceeded the 0.985 noise ceiling; the arms differ from one another. Both gates were qualified on synthetic pass and fail inputs before the freeze and branch in code ahead of the model budget.

The eight preregistered predictions, and the seven that missed

The verdict dimensions matched the frozen rule. The magnitude predictions did not: 7 of 8 missed, and only the negative control landed in its predicted range. They are published in full because they were frozen, not because they were right.

CellPredictedObservedOutcome
Permuted target≈0 ±0.05−0.0043In range
Richness only0.05 to 0.30+0.0041Missed, below
Producer count0.30 to 0.55+0.1405Missed, below
Ridge0.50 to 0.70+0.8028Missed, above
Random forest0.50 to 0.72+0.8529Missed, above
Gradient boosting0.50 to 0.72+0.8604Missed, above
Model minus baseline+0.05 to +0.30+0.7198Missed, above
Richness extrapolation0.0 to 0.35−0.748Missed, far below

The errors run in both directions and share one cause: coarse summaries were expected to carry most of the signal, with species identity adding a modest increment. The opposite holds. Had only the verdict been reported, this would have read as a clean confirmation of a well-understood system.

Where the model stops working

The informative failure. Trained on compositions of at most 7 species (n = 270) and tested on compositions of 10 or more (n = 248), ridge gave R² −0.748 and MAE 19.60 mM, worse than predicting the training mean; the producer-count baseline gave −0.138. Inside the range it was trained on, the model interpolates well. Outside it, it fails.

This arm was marked exploratory in the frozen design and licenses no verdict of its own. It is the limitation that matters most for anyone who would use a model like this to choose which communities to build, because the useful direction is usually from small screens towards larger communities.

What this does not establish

Scoped to this pairing of dataset and method, not to either half.

  • Butyrate is a metabolic function, not an invasion outcome. No link between the two was tested here and none is asserted. This study says nothing about whether a community resists an invading organism, and nothing about any animal or production setting.
  • That composition predicts butyrate is Clark et al.’s result, not OMEGA’s. Their own predictions ship inside the dataset analysed here. What this demonstrates is that OMEGA can construct and honestly evaluate such a model; it discovers nothing new about gut-community biology.
  • No validated biological predictor is established. Held-out evaluation within one sampled design space is not independent biological validation, and no prospective experiment was run.
  • In vitro, endpoint, single-laboratory, one 25-species pool. Nothing transfers to another pool, another medium, an animal or a farm.
  • The fold counts, the seed, the model hyperparameters, the thresholds and the richness split are authored values, set before the run. Nothing derived from them is a measured biological quantity.
  • Trusted base: the authors’ own instrumentation and their species annotations, which were not re-derived from the world; and a single-annotator species-name mapping.
  • A second arm of this work, on a different published dataset with invasion as the outcome, remained a prototype: its predictive performance was not established and its reproduction gate failed, so it is not reported here.

Reproduction, and what is not yet public

The source measurements are public: Clark et al. 2021, Nature Communications 12:3254, doi 10.1038/s41467-021-22938-y, under CC BY. No data is redistributed here.

The analysis itself is not public yet. The design, the arms, the exclusions, the controls and the authored values were frozen in a local git repository at commit 54ebfd0 before any model was fitted; the script ran once at its frozen SHA-256 83e22816…3c69b0 and was verified unchanged afterwards; the run is deterministic at seed 20261114 and CPU-only. Four departures from the frozen design are recorded, two of them defects of OMEGA’s own.

The notebook accompanying this work has not been executed. Its code was run as extracted cells, and the notebook itself was never run through Jupyter, so it carries no stored outputs. A public reproduction package has not been released, and until one is, nobody outside OMEGA can re-run this.

Have a question like this?