Language-guided domain adaptation improves protein sequence representations for antimicrobial resistance analysis
Listed in
This article is not in any list yet, why not save it to one of your lists.Abstract
Antimicrobial resistance (AMR) in bacterial pathogens complicates infectious disease management. Protein sequences encode molecular features underlying resistance functions such as antibiotic inactivation and drug efflux, providing a basis for investigating bacterial AMR. Protein language models can extract transferable representations from these sequences. However, general-purpose protein language models have limited capacity to represent AMR-associated sequences, while task-specific tools often address individual prediction problems. These limitations highlight the need for protein representations that better capture resistance-associated functions and can be reused across complementary tasks, supporting systematic AMR analysis from sequence variation to functional relationships among proteins. We developed BacLLM, a language-guided protein representation framework that integrates annotation-derived functional knowledge into protein language model representations for AMR analysis in bacterial pathogens. Through sequence enhancement, semantic enrichment of UniProt annotations, and cross-modal contrastive learning, BacLLM transfers LLM-encoded annotation priors into the sequence encoder, enabling sequence-only inference after training. Compared with baseline models, BacLLM provided more informative representations of resistance-associated sequences, achieving a mean F1 score of 0.956 across six AMR benchmarks with logistic regression, 2.7 percentage points above the strongest baseline. It also captured resistance-associated mutational signals at single-residue resolution and preserved taxonomic relationships not reflected by phenotype-based clinical groupings. Moreover, BacLLM recovered resistance-associated functional organization within a TolC-centered protein association network, prioritizing proteins with low sequence identity to TolC but predicted structural similarity to TolC. Extending the same representation framework to an intervention-oriented application, BacLLM also improved strain-level phage–host matching for phage therapy candidate prioritization. Together, these findings establish BacLLM as a reusable protein representation framework for analyzing resistance-associated sequence variation and functional organization, with applications in AMR surveillance and phage candidate prioritization.