When researchers sequence the RNA inside a piece of tumor tissue while keeping track of where each molecule came from — spatial transcriptomics — the resulting data is overwhelmingly human. Microbial RNA, when present at all, hides in the "unmapped reads" that fail to align to the human genome and are usually thrown away. Recent work showed these discarded reads can be rescued: aligning them against a handful of bacterial references revealed spatially structured microbial niches in colorectal and oral tumors that standard pipelines missed entirely (Park et al.). But that method stalls exactly where it matters most. In low-abundance tissue, per-spot microbial signal is drowned by host noise and inference collapses, and its four-reference database cannot see below species level. Meanwhile, the tools that can resolve strains — probabilistic mixture deconvolution of multi-mapping reads (Mäklin et al.) and two-stage core-allele strain identification (Zhu et al.) — only work on bulk, homogenized samples, where reads from millions of cells are pooled together.
This proposal argues the two fields are stuck on the same problem from opposite sides. In 3D medical vision, "extreme spatial class imbalance" — lesions occupying 0.085% of a CT volume — is solved by two-stage scout-and-refine systems: a cheap model discards ~83% of empty background so an expensive model spends its budget on the rare foreground (Wu et al.). Here, the rare foreground is microbial reads scattered across a tissue grid at far below the coverage any strain profiler needs. The core idea is to make the pooling geometry itself learned: a lightweight scout network, trained with imbalance-aware losses, decides which tissue spots to pool, and the pooled reads then carry enough microbial depth for strain-level mixture deconvolution. Nobody has coupled spatial selectivity to taxonomic resolution this way; Park et al. pool nothing and resolve species at best, while every strain deconvolver pools everything and keeps no coordinates.
Core Claim
Per-spot strain inference in spatial transcriptomics is statistically impossible: with microbial reads split across thousands of spots, each spot sits orders of magnitude below the ~1.5× per-lineage coverage that mixture models need (Mäklin et al.). Pooling rescues coverage but destroys spatial information and admits host-contaminated spots. The claim is that a learned, spatially selective scout defines a better point on this trade-off than either extreme — achieving strain-level identification accuracy comparable to bulk profiling while retaining coarse spatial localization of microbial hotspots, at spot budgets where uniform pooling fails or random pooling admits too much host noise.
The trade-off has a simple form. If a slice contains $N$ spots, total microbial base count $B$, and we pool a fraction $f$ of spots, the expected coverage of a lineage with genome length $G$ is roughly
$$c(f) \;=\; \frac{B \cdot q(f)}{G},$$
where $q(f)$ is the fraction of microbial bases captured by the pooled spots — near 1 for whole-slice pooling, but potentially still high for small $f$ if the scout concentrates microbial reads. The design goal is to keep $q(f)$ high while shrinking $f$: that is precisely what background-discarding scouts achieved in CT volumes, where discarding 83% of tissue still left enough lesion signal to improve accuracy and cut false positives by 23.1% (Wu et al.). Note the asymmetry that makes this harder than the CT case: the scout cannot see the target directly (microbial reads are too sparse per spot to classify spots by raw counts), so it must infer hotspots from host-transcriptome features — tissue region, inflammation signatures, necrosis — plus weak unmapped-read statistics.
Research Program
Three components will be built. First, a spatial scout: a small graph convolutional network over the Visium spot grid, taking per-spot host expression summaries and cheap unmapped-read statistics (count, GC content, alignment-free k-mer hit rates against a compressed bacterial index) and predicting a microbial-hotspot probability per spot. Training faces extreme class imbalance — in the low-abundance cohorts, well under 0.1% of spots may carry meaningful microbial signal — so the scout will use a gradient-aware cross-entropy in the spirit of GACE, which combines hard-instance mining over the most difficult voxels with dynamic class-weight equilibrium and rescued 0%-Dice tail classes in abdominal CT (Qi et al.). Standard cross-entropy on such data collapses to all-background prediction, exactly the failure mode Qi et al. documented. Second, a pool-and-deconvolve stage: pseudoalign pooled reads against lineage-clustered references and run the variational mixture inference of mSWEEP (Mäklin et al.), inheriting its empirically thresholded false-positive control for genomic cross-talk. Third, a validation harness with ground truth, since no existing spatial dataset carries strain-level labels: mock communities with known strain composition (ZymoBIOMICS-style standards, and laboratory pairs like E. coli K-12 versus O157:H7 that full-length 16S sequencing can separate (Johnson et al.)) will be spiked into host RNA and distributed over synthetic Visium grids at controlled per-spot depths, using the coverage-sweep simulation design of the Klebsiella nanopore benchmark (0.1×–5×, decoy strains at graded identity) as the protocol (Zhu et al.).
Proposed Experiments
Experiment 1 measures the pooling frontier: for every method that selects spots, plot strain identification sensitivity and abundance error against the pooled fraction $f$, from $f=1$ (whole slice) down to $f=0.01$. The headline metric is mSWEEP-style abundance error, for which the strongest existing tool reports a median error of 0.00003 on plate sweeps (versus 0.23 for BIB and 0.54 for metakallisto) and recovery of 10 co-occurring E. coli lineages down to ~1.5× coverage (Mäklin et al.); the analogous cgMSI benchmark reports >90% strain sensitivity at 1× coverage (Zhu et al.). Success means matching whole-slice sensitivity at $f \le 0.2$ while localizing hotspots. Experiment 2 measures spatial localization: Dice between the predicted hotspot map and the true spike-in map, where one to two boundary-spot errors cause volatile scores under sparsity — the metric instability documented for small 3D targets (Sun et al.; Ma and Nie), so we report both Dice and a tolerance-based hit-rate. Experiment 3 applies the full pipeline, without labels, to the Visium cohorts of Park et al. (colorectal, oral, and head and neck cancer) to test whether scout-pooling recovers strain-level structure in the low-abundance head and neck sections where their per-spot inference broke down (Park et al.); no reported result found on Lacuna for any quantitative strain-level metric on those cohorts, so this experiment is exploratory, evaluated by internal consistency (replication across adjacent sections) rather than ground truth.
Baselines
The naive reference point is per-spot reference matching: run the extended unmapped-read alignment of Park et al. — their dual human-plus-16S index and mismatch-ratio metric — independently at each spot. This is the only published method at the intersection, and the paper most direct precedent; it is the strongest competitor for spatial specificity because it makes no pooling assumption. It will be run exactly as published, on the same spike-in grids, with the same reference database expanded to strain-level entries so the comparison isolates architecture rather than reference breadth. No reported result found on Lacuna for its per-spot detection or taxonomic accuracy in numerical form; beating it means achieving non-degenerate hotspot detection (AUROC above 0.75) and any strain-level calls at all in the low-coverage regime where per-spot mismatch statistics collapse. The strongest existing method for the taxonomic question is whole-slice pooling of all unmapped reads followed by mSWEEP deconvolution (Mäklin et al.); this baseline gets maximal coverage and the best published deconvolution engine, reporting median abundance error 0.00003 on its native benchmark, so it will win any pure detection contest unless host contamination degrades it. It will be run at identical compute, reference database, and tuning budget as the proposal — the only difference is which spots feed the pool. Beating it means equal or better abundance error at a pooled fraction of 0.2 or less, plus spatial localization it cannot provide by construction. The key ablation replaces the learned scout with random spot selection at the same budget and, separately, replaces the gradient-aware loss with plain binary cross-entropy; if random selection matches the learned scout, the spatial-imbalance machinery is decorative and the contribution reduces to "pooling helps," which the whole-slice baseline already demonstrates.
Why not just…?
Why not just pool the whole slice and run mSWEEP? For presence/absence questions this is a real threat, and we will report it as a baseline rather than argue it away. It fails on two grounds where the file gives evidence. Spatially, whole-slice pooling answers "which strains are in this tissue" but not "where," and spatial structure was the entire point of the unmapped-read method — distinct niches in oral cancer that PathSeq missed (Park et al.). Statistically, pooled host-dominated spots contribute cross-hybridizing human and off-target reads that mixture models must absorb; mSWEEP's own false-positive thresholding was calibrated on culture sweeps where background was bacterial, not transcriptomic host RNA (Mäklin et al.). The frontier experiment directly tests whether host contamination erodes whole-slice accuracy as depth drops; if it does not, we will say so and rest the contribution on localization alone.
Why not just run PathSeq or the published unmapped-read method per spot? Park et al. themselves showed the failure mode: in head and neck sections with low microbial quantity, unmapped reads resembled host RNA and statistical inference broke down, and PathSeq missed spatial microbial distributions that their own method caught (Park et al.). Per-spot analysis cannot escape this by construction — it refuses the pooling that creates coverage. Our low-coverage spike-in sweep will quantify the per-spot collapse point and show where pooled inference still succeeds.
Why not just aggregate to genus level, where counts are comfortable? The biological literature rules this out as a substitute for the scientific question. Members of the same genus can be simultaneous disease culprits and protectors whose signals cancel under aggregation (Yu et al.); strains of one species elicit opposite immune cascades (Bhutta et al.); and in neonatal colonization, commensal and high-invasion-risk E. coli lineages (ST73, ST95) co-occur and are indistinguishable above strain level (Mäklin et al.). Genus-level maps are cheap and we will report them as a descriptive layer, but they cannot answer which lineages occupy which tissue niche.
Why not just maximize context — pool adaptively by training one big model on the full slice? The memory-wall evidence from 3D vision says this hits hardware ceilings fast: the large-context nnU-Net approach needed a $192 \times 224 \times 192$ patch at the limit of a 32 GB GPU and still suffered total zero-detection misses on small targets (Ma and Nie). In our setting the analogous move is whole-slice pooling, already covered above; the scout-and-pool split exists precisely because the expensive stage cannot afford to process everything.
Decisive Checks
The proposal succeeds if the frontier experiment shows a learned-scout curve dominating the random-selection and whole-slice curves in the low-coverage regime, with the ablations confirming that both the learned selection and the imbalance-aware loss contribute — mirroring how gradient-aware losses lifted 0%-Dice tail classes to 27–51% where standard losses failed (Qi et al.). It fails, informatively, if whole-slice pooling matches scout-pooling on strain accuracy at all depths: that would show host contamination is not the binding constraint in spatial data, and the honest conclusion would be a two-line result — bulk-style deconvolution works on pooled spatial reads, and localization reduces to a separate, simpler hotspot-detection problem worth studying on its own.
References
- Analysis of Unmapped RNA-seq Data from Cancer Spatial Transcriptome to Decipher Cancer Microbiome
- High-resolution sweep metagenomics using fast probabilistic inference
- cgMSI: pathogen detection within species from nanopore metagenomic sequencing data
- Glance and Focus Reinforcement for Pan-cancer Screening
- Gradient-Aware for Class-Imbalanced Semi-supervised Medical Image Segmentation
- Evaluation of 16S rRNA gene sequencing for species and strain-level microbiome analysis
- Attentionanatomy: A Unified Framework for Whole-Body Organs at Risk Segmentation Using Multiple Partially Annotated Datasets
- Exploring Large Context for Cerebral Aneurysm Segmentation
- Association between gut microbiota and peptic ulcer disease, particularly gastric ulcer and duodenal ulcer: a two-sample Mendelian randomization study
- Gut microbiota mediated T cells regulation and autoimmune diseases
- Strong pathogen competition in neonatal gut colonisation