Learning Where Taxonomy Runs Out: A Resolution-Adaptive, Phylogeny-Structured Interpretability Bottleneck for Strain-Level Metagenomics

When microbiome data are used to predict a disease or a metabolite profile, the microbes are almost always counted at a coarse rank — genus or family — because the fine-grained alternative produces tens of thousands of features on only a few hundred samples. This aggregation is not a benign preprocessing choice. The epidemiological record now shows it actively destroys signal: within the family Lachnospiraceae, some genera raise the risk of peptic ulcer while others in the same family protect against it, so summing their abundances cancels the effect and produces a false null (Zhenhua Dong et al.); in sepsis, genus-level association analysis could not see that Coprococcus acts through a specific metabolite until species and strain resolution were restored (Jian Zhao et al.). Meanwhile, the interpretability community has built models whose explanations are the computation itself — concept bottleneck models, additive networks, and per-sample sparse linear generators — but these have been validated almost exclusively on images and standard tabular benchmarks, with concept hierarchies invented by language models rather than supplied by nature.

This proposal argues the two problems are the same problem. Taxonomic resolution is currently a fixed preprocessing knob chosen before modeling; I propose to make it an inferred, interpretable model parameter. The vehicle is an intrinsically interpretable bottleneck whose concept layer is not a learned latent space or a GPT-generated concept list, but the phylogenetic tree itself — a hierarchy every biologist already shares — combined with strain-level features from pangenome-based profilers (PanTax; Byron J. Smith et al.). The model learns, per clade, the finest rank at which the data support separate effects, and reports cancellation — the case where siblings under one parent push the prediction in opposite directions — as an explicit, quantitative diagnostic instead of letting it silently destroy the association.

Core Claim

The claim has three parts. First, the phylogenetic tree is a natural concept hierarchy for concept bottleneck models, replacing the language-model-generated "noun/adjective" hierarchies of Ao Sun et al. and the unstructured latent axes of Sparse-NED (Deep in the Bowel) with a structure that is fixed, biologically meaningful, and free of foundation-model hallucination — directly addressing a named open problem in the concept-bottleneck literature (Eleonora Poeta et al.). Second, additive decomposition across the tree converts signal cancellation from a hidden failure mode into a measurable output: the model can tell you that the family-level effect is null because its two genera oppose each other. Third, making resolution adaptive — letting each clade select its own effective rank under a sparsity budget — is the principled answer to the dimensionality wall (roughly $10^2$–$10^3$ samples against tens of thousands of strain features) that has kept interpretable deep models at the species level at most (Deep in the Bowel; Gibson and Gerber).

The Model: A Tree-Structured, Signed Additive Bottleneck

Conceptually, the model is a concept bottleneck turned sideways. Instead of a generic encoder producing concept scores, the input features are already organized by the tree: each leaf is a strain (abundance of the strain, and optionally its accessory-gene content as resolved by multi-sample pangenome profiling), and each internal node is a taxon. The prediction is an exact additive sum over leaves,

$$\hat{y}(\mathbf{x}) \;=\; \sum_{s \in \text{leaves}} f_s\big(x_s\big),$$

where $f_s$ is a small monotone shape function of the strain's abundance or gene-content feature (a one-dimensional additive component, in the spirit of the neural additive models of Anton Frederik Thielmann et al.). Because the sum is over signed per-strain contributions, the effect of any clade $k$ is just the partial sum over its leaves, $C(k) = \sum_{s \in k} f_s(x_s)$, computable exactly at every rank simultaneously — there is no separate "genus model" and "strain model," only one model read at different depths.

The first key ingredient is resolution adaptation. Each internal node carries a gating variable that either splits (children receive separate shape functions) or merges (children share one pooled function). A sparsity penalty on the number of distinct leaf-level functions, tuned by cross-validation under a fixed compute budget, lets the tree grow fine only where the data reward it. This is the mechanism that answers the $N \ll p$ problem structurally rather than by preprocessing aggregation, and it echoes the parameter-count reduction that Dirichlet-process interaction modules achieved for dynamical models (Gibson and Gerber) — but implemented as an interpretable, feed-forward additive architecture rather than Bayesian differential-equation inference.

The second key ingredient is a cancellation diagnostic. For any clade $k$ with child effects $C(k_1), \dots, C(k_m)$, define

$$\kappa(k) \;=\; \frac{\sum_j |C(k_j)|}{\big|\sum_j C(k_j)\big|},$$

the ratio of the total child activity to the net clade effect. $\kappa(k) \approx 1$ means the clade acts as one coherent unit; $\kappa(k) \gg 1$ with $|C(k)| \approx 0$ means the textbook cancellation regime documented by Zhenhua Dong et al. — a null family-level association that is actually two opposing genera. No existing interpretable architecture computes or reports this quantity, because none of them represent a taxonomy.

Third, the architecture inherits and extends the anti-leakage machinery of the concept-bottleneck line. Ao Sun et al. proved that replacing a learned label head with a fixed intervention matrix prevents soft and hard information leakage, but a rigid one-to-one matrix clashes with microbial functional redundancy — unrelated strains can produce the same metabolite (Jian Zhao et al.; Gibson and Gerber). Here the head is a fixed, data-independent sparse binary matrix that maps strains to the gene families (or metabolite classes) they are annotated to carry, allowing one-to-many and many-to-one structure while remaining unlearnable — a fixed map that encodes redundancy rather than denying it. The concept-removal stress test of Ao Sun et al. — delete the concepts, watch accuracy fall — translates directly: zero out a clade's leaf functions and verify the prediction collapses proportionally, which certifies the model is using taxa, not a covert code, exactly the failure mode their fixed-matrix construction ruled out in vision.

Research Program

Three workstreams. The first builds the architecture: clr-transformed compositional inputs (following Deep in the Bowel) feeding the tree-structured additive bottleneck with split/merge gating, the fixed annotation-based head, and the $\kappa$ diagnostic as a first-class output. The second couples it to strain resolution: leaf features come from multi-sample gene-content estimation with Byron J. Smith et al. (their StrainPGC pipeline achieves a median F1 of 0.91 on the synthetic hCom2 benchmark and reduced false negatives to roughly half those of PanPhlAn, which is why I use their outputs rather than single-sample profilers) and, where classification precision dominates, pangenome-graph classification (PanTax), whose strain-level precision is reported as often double that of Centrifuge with ~0.99 AUPR on simulated communities. The third is the empirical program below, whose headline question is not just "is it accurate" but "does it recover the known opposing-taxon biology that coarse aggregation provably destroys."

Proposed Experiments

Experiment 1 (primary accuracy benchmark) uses the Franzosa et al. IBD multi-omics cohort: 220 subjects, 201 species, 8,848 metabolite clusters, with clr preprocessing, exactly the setting of Deep in the Bowel. Task: predict metabolite abundances from microbiome features. Metric: mean Pearson correlation over the top 10 best-predicted metabolites, matching the published comparison. The published numbers to beat are Sparse-NED's 0.74 against linear regression's 0.46 and CCA's 0.47; I will additionally report feature stability across data subsets, where Sparse-NED reported an index of 0.79. Because this cohort is species-level, it serves as the like-for-like architecture comparison; the strain-level question needs Experiment 2.

Experiment 2 (strain resolution) uses the Human Microbiome Project 2 collection — 1,338 longitudinal metagenomes from 106 IBD subjects, in which Byron J. Smith et al. estimated gene content for 3,511 novel strains across 443 species. Task: predict IBD status and antibiotic-use labels from strain-resolved features. No reported result found on Lacuna for phenotype-prediction accuracy on HMP2 from MIDAS v3 features, so this is genuinely unbenchmarked territory; the internal reference points are the latent-layer AUCs reported on the Franzosa cohort by Deep in the Bowel — 0.932 distinguishing Crohn's disease from healthy controls and 0.866 predicting antibiotic use — which I treat as calibration targets rather than direct comparisons, since the cohorts differ.

Experiment 3 (cancellation recovery) is the decisive test of the core claim. Using the clade decomposition and $\kappa$, ask whether the model identifies opposing siblings inside clades that aggregate to null — the exact pattern Zhenhua Dong et al. found for Lachnospiraceae in ulcer risk (risk genera Clostridiaceae1, Butyricicoccus, Peptococcus against protective LachnospiraceaeUCG004) and whether it recovers the Coprococcus-associated protective direction reported in sepsis (OR = 0.80, 95% CI 0.68–0.94) by Jian Zhao et al.. Success is directional concordance between the model's signed clade effects and these independently published association signs, plus demonstration that the same pipeline run with forced genus-level pooling yields the null that the epidemiological literature predicts. A synthetic ground-truth version on the hCom2 community (117 strains with fully sequenced genomes) will implant known opposing strain effects within a single species and measure recovery sensitivity.

Experiment 4 (leakage and resolution honesty) runs the concept-removal stress test of Ao Sun et al.: progressively zero out top-contributing clades and require monotone accuracy collapse; models surviving removal are leaking. It also quantifies how the compositional sum-to-one constraint interacts with soft leakage through the bottleneck — a question flagged as unstudied, since leakage has only been evaluated in unconstrained real-valued or binary spaces while metagenomic data live on the simplex (Ao Sun et al.; Deep in the Bowel).

Baselines

The "do nothing" reference point is what the field actually does today: aggregate to genus, apply clr, fit LASSO or plain linear regression. It is the strongest competitor for the claim that a hierarchical architecture is needed, because if pooled LASSO matched the tree model's accuracy and stability, the whole apparatus would be unjustified. It will be run on identical data splits with the same clr preprocessing and the same nested cross-validation budget. On the Franzosa benchmark the naive end of this reference is already published: linear regression achieved a top-10-metabolite Pearson correlation of 0.46 (Deep in the Bowel). Beating this baseline means strictly higher top-10 Pearson correlation plus a stable clade decomposition; a tie in accuracy with no interpretable decomposition is a loss.

The strongest existing method is Sparse-NED, the constrained non-negative sparse encoder-decoder of Deep in the Bowel, which reported 0.74 on the top-10-metabolite Pearson metric, a feature-stability index of 0.79, and latent-layer AUCs of 0.932 (Crohn's vs. healthy) and 0.866 (antibiotic use). It is the closest prior work — an intrinsically interpretable, non-negative, sparse bottleneck applied to microbiome-metabolite prediction — and the comparison will be run on the same cohort, same features, same clr pipeline, and the same hyperparameter search budget, with my model's width restricted to Sparse-NED's parameter count to prevent a capacity win from masquerading as an architecture win. Beating it requires exceeding 0.74 on the identical metric while additionally producing rank-resolved clade effects that Sparse-NED's flat latent layer (its axes are unsupervised nodes like "V61") cannot express. Note one structural difference: Sparse-NED's non-negativity constraint rules out negative coefficients, which is exactly what makes it unable to represent opposing siblings; my model allows signed leaf effects with non-negativity only on the annotation matrix, and I will report whether this signedness costs accuracy.

Two further comparisons complete the picture. An XGBoost model with post-hoc SHAP values is included as the black-box accuracy ceiling, run with the same tuning budget; the file gives no reported microbiome XGBoost number, so no quoted target exists, and NATT's tabular results (within 0.4% of XGBoost on standard benchmarks) are only indirect evidence that the gap should be small (Anton Frederik Thielmann et al.). Finally, the key ablation isolates the proposal's central ingredient: the identical architecture with the tree constraint removed, i.e., a flat sparse additive model over the same strain-level features with free (untreeded) feature grouping, plus a second ablation with the tree fixed at full strain resolution and no split/merge gating. If the flat model matches the tree model's accuracy but cannot reproduce the Experiment 3 cancellation recoveries, the hierarchy is doing its claimed job; if the fully-resolved ungated model matches both, the adaptive-resolution mechanism is not needed and I will say so.

Why not just…?

Why not just run LASSO or linear regression directly on strain-level tables? Linear models are already intrinsically interpretable, and the sample sizes are small. The file's evidence is blunt on the accuracy cost: on the exact Franzosa benchmark, linear regression managed a top-10-metabolite Pearson correlation of only 0.46 and CCA only 0.47, against 0.74 for the constrained architecture (Deep in the Bowel); on MNIST binary classification, traditional LASSO collapsed to 58.2% accuracy where sample-adaptive sparse linear models reached 99.4% (Yuya Yoshikawa et al.); and LASSO's feature selection is unstable across data subsets, whereas the constrained bottleneck held a stability index of 0.79. Still, this is a real threat at small $N$, which is why the flat sparse linear ablation over identical strain features is in the plan: if a well-tuned strain-level LASSO ties the tree model, the honest conclusion is that the tree's value lies only in the cancellation diagnostic, and the experiments are constructed to detect exactly that outcome.

Why not just train XGBoost and explain it with SHAP? This maximizes predictive power and lets a mature tool do the interpreting. Two costs are documented. Faithfulness: post-hoc surrogates sit at an unverified remove from the model's actual computation and smooth over exactly the non-linear, compositional interactions that matter here (Anton Frederik Thielmann et al.) — and cancellation is precisely a phenomenon a smoothing explainer will average away. Cost: explanations computed after the fact run 270–430 times slower at inference than architectures whose forward pass is the explanation (Yuya Yoshikawa et al.). The fair version of this objection is included as the black-box baseline; if XGBoost wins on accuracy, the proposal's fallback claim is the Experiment 3 test — whether SHAP on the same model reproduces the known opposing-sibling structure at the correct resolution, which I expect it to obscure because a genus-level SHAP summary is the cancellation failure in explainer form.

Why not just aggregate to genus or family and keep the statistics simple? Because aggregation is the failure mode this proposal targets, not a neutral simplification. Zhenhua Dong et al. showed family-level pooling in Lachnospiraceae cancels risk and protective genera into a null; Jian Zhao et al. showed genus-level analysis missed the Coprococcus mechanism in sepsis; and strain-level effects on host immunity and probiotic safety are documented to reverse within a single species (Bhutta et al.; Hu et al.). Experiment 3 makes this falsifiable rather than rhetorical: forced genus-level pooling is a condition of the experiment, and the model wins only if the fine resolution recovers biology that pooling demonstrably hides.

Why not just use PanTax or StrainPGC and stop at strain cataloging? These tools solve a different problem — resolving which strains and genes are present (PanTax; Byron J. Smith et al.) — and neither links resolution to host phenotype. This proposal consumes their outputs as leaf features; it does not compete with them, and it cannot work without them, since a bottleneck over blurred strains inherits the blur. The complementary limitation I take on directly is their stopping point: abundance and gene catalogues become predictions and signed biological explanations.

Decisive Checks

The proposal stands or falls on four numbers. First, exceed 0.74 top-10-metabolite Pearson correlation on the Franzosa IBD cohort, beating Deep in the Bowel on its own benchmark with the tree constraint held at equal parameter budget. Second, achieve directional concordance with the published opposing-taxon associations of Zhenhua Dong et al. and Jian Zhao et al. in Experiment 3, with forced genus pooling reproducing the predicted nulls. Third, pass the clade-removal leakage stress test adapted from Ao Sun et al.. Fourth, show the resolution-adaptive tree beats both its flat ablation and its ungated full-resolution ablation on the stability metric (reference: 0.79 reported by Sparse-NED). If the first and fourth fail while a strain-level LASSO ties, the honest residual contribution is the $\kappa$ cancellation diagnostic — a measurement the field currently lacks at any resolution.