BacLLM folds UniProt annotation knowledge into a protein language model, so sequence-only input can call resistance genes and rank phage candidates
BacLLM injects semantic representations of UniProt annotations, encoded by a large language model, into an ESM-2 sequence encoder through cross-modal contrastive learning, so inference reads amino acid sequences alone. Across six resistance-prediction benchmarks, BacLLM (4B) beat Ankh, ESM-2, ProteinBERT and ProTrek in mean F1 under both logistic regression and an RBF-kernel support vector machine; on the SHV-1 β-lactamase P0AD64 it recovered six of eight experimentally supported resistance-attenuating sites among the top 65 ranked positions, while ESM-2 recovered none. The text branch is removed after training, so these gains come from sequence input, not annotation input.