cs.LGOct 20, 2026

Recommending Bacterial Cultivation Conditions from 16S rRNA

Authors: Juntang Wang, Hao Wu, Yihan Wang, Runkun Guo, Shixin Xu, Dongmian Zou

Organizations: Harvard University USA · Duke Kunshan University China · Duke University USA · Boston University USA

Abstract

Recommending bacterial cultivation conditions from sequence data is a challenging structured problem characterized by missing standardized benchmarks and limited use of sequence structure. To address this, we introduce DSNI, a benchmark of 65,023 bacterial strains with phylogeny-aware splits, pairing 16S rRNA sequences with four cultivation conditions (media, temperature, pH, oxygen). Exploiting the mosaic structure of 16S rRNA, where hypervariable regions support discrimination and conserved regions support primer design, we propose a Variability-Gated Encoder that learns position-dependent importance weights conditioned on biological features (region type, position, and local complexity). The gating module adds minimal overhead (1,280 parameters, <1%) while providing an explicit inductive bias valuable in low-data regimes. Experiments demonstrate that the learnable gate improves flat Transformers by 4.7% in joint accuracy and complements RNABERT, yielding 44.2% exact-match joint accuracy. The model also recovers 90.2% of ground-truth cultivation protocols within its top-25 recommendations, narrowing the exhaustive search space by approximately 60 times.

Figures & tables

Appendix figures & tables15 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. A Boltzmann-machine-enhanced Transformer For DNA Sequence Classification

    Mar 27, 2026Zhixuan Cao, Yishu Xu, Xuang WUTransformerTransformer Attention

  2. HyperTaxa: Multiscale Genome Representations for Generalized Microbial Taxonomic Inference

    Oct 19, 2026Akash Rao, Sushim Gupta, Vishalini Ramnath +2BioinformaticsRepresentation Learning

  3. Continuous Diffusion Transformers for Designing Synthetic Regulatory Elements

    Mar 11, 2026Jonathan Liu, Kia GhodsMolecular GenerationDiffusion Transformer