Predicting and generating antibiotics against future pathogens with ApexOracle

Tianang Leng, Fangping Wan, Marcelo Der Torossian Torres, Cesar de la Fuente-Nunez · DOI

TL;DR

This paper introduces ApexOracle, an AI model that can predict the effectiveness of existing antibiotics and design novel ones against future, unknown pathogens. By integrating genomic and textual information about bacteria, ApexOracle offers a powerful new strategy to combat the growing threat of antimicrobial resistance.

What Problem Does This Paper Address?

Antimicrobial resistance (AMR) is a critical global health crisis, with drug-resistant infections claiming millions of lives annually. The traditional drug discovery pipeline is slow and expensive, struggling to keep pace with the emergence of new resistant strains and novel pathogens. Existing AI approaches often focus on predicting activity for known strains or specific types of molecules (like peptides), but they struggle to generalize to entirely new pathogens or to design novel drug candidates. There's a pressing need for a unified AI system that can rapidly predict antibiotic efficacy and generate new molecules tailored to specific, even unknown, bacterial threats.

Methods

ApexOracle is a multimodal deep learning architecture designed to tackle this challenge. Its core innovation lies in its ability to integrate diverse data sources:

  • Genomic Context: It uses Evo2, a DNA language model, to create numerical representations of pathogen genomes, capturing genetic hallmarks like resistance determinants.
  • Textual Context: It employs a fine-tuned Me-LLaMA model to extract semantic embeddings from textual descriptions of pathogen traits (taxonomy, morphology, resistance phenotypes, etc.).
  • Molecular Representation: A Diffusion Language Model (DLM) is used to map antibiotic structures (both small molecules and peptides) into a latent space and to generate new molecules.

These three components are fused using cross-attention mechanisms, allowing ApexOracle to understand the intricate relationships between a pathogen's genetic makeup, its characteristics, and potential drug candidates. This unified framework enables both prediction of existing drug efficacy and de novo generation of novel antibiotics. The model is trained using a combination of diffusion model objectives and multi-target regression (MTR) to learn high-quality latent embeddings that link molecular properties to specific token sequences.

Datasets

The study utilized several datasets:

  • Antimicrobial Peptide (AMP) Dataset: A combined dataset from an in-house collection and the DBAASP database, containing over 17,988 peptides, 5,632 pathogen strains, and 121,265 MIC measurements. This dataset was crucial for training the model on AMPs, including those with non-canonical modifications.
  • Small Molecule Antibiotic Dataset: A dataset of 49,331 (molecule, strain) pairs with binary classification labels for antibiotic activity against three specific bacterial strains (S. aureus, E. coli, A. baumannii).
  • Synergy Data: Curated from the DBAASP database, this dataset included 2,732 molecule synergy-strain pairs, primarily AMP-small molecule interactions.
  • Genome Data: Downloaded from the ATCC Genome Portal and NCBI, providing genomic sequences for numerous bacterial strains.
  • Strain Description Data: Collected using Qwen2.5-Max to search scientific publications for important strain traits.
  • Molecule Training Data: A diverse set of over 121.6 million unique sequences from PubChem, SmProt v2.0, UniRef, UniProt, and CycloPS.

Key Insights and Ideas

  • Multimodal Pathogen Representation is Key: The most significant insight is that combining genomic and textual information about a pathogen provides a much richer understanding than relying on molecular features alone. This allows ApexOracle to generalize to unseen pathogens.
  • Unified Prediction and Generation: Instead of separate models for predicting activity and generating molecules, ApexOracle's integrated architecture ensures that generated molecules are contextually relevant to the target pathogen.
  • Designing Novel Chemotypes: By generating molecules guided by pathogen-specific predictions, ApexOracle can create "new-to-nature" compounds that bacteria haven't encountered before, potentially circumventing existing resistance mechanisms.
  • Importance of Non-Canonical Modifications: The study highlights that many effective AMPs contain non-canonical amino acids or modifications, which traditional models often overlook. ApexOracle's DLM can handle these complexities.
  • Synergy Prediction Capability: The model can be extended to predict antibiotic synergy, offering a pathway to more potent and less resistance-prone combination therapies.

Key Results

  • Superior Activity Prediction: ApexOracle consistently outperformed state-of-the-art methods in predicting antimicrobial activity (MIC regression) across diverse bacterial species and chemical modalities, even in zero-shot settings (predicting for strains not seen during training). For instance, in strain-wise evaluation, it achieved an average R2 of 0.5793 with an ensemble.
  • Effective Generalization to Unseen Strains: The model demonstrated robust predictive power on phylogenetically distant species, with an average R2 of 0.3744 in the challenging 3-species-wise evaluation.
  • High-Quality Novel Molecule Generation: ApexOracle successfully generated de novo molecules with high predicted efficacy against priority pathogens, showing lower similarity to existing compounds than unconditionally generated molecules, indicating structural novelty.
  • Small Molecule Classification Performance: ApexOracle also excelled in classifying small molecule antibiotic activity, outperforming baselines by significant margins (e.g., 37.7% in AUPRC) even in zero-shot tests.
  • Synergy Prediction Accuracy: The model achieved a mean 3-fold strain-wise AUROC of 0.7539 and AUPRC of 0.7454 for synergy prediction.
  • Modality Ablation: Removing any single modality (genome, text, or small molecule classification task) degraded performance, confirming the synergistic contribution of each.

Limitations and Future Work

  • Data Scarcity: ApexOracle's accuracy is still bounded by the available training data. Pathogens with unique biology or resistance mechanisms not represented in the data may pose challenges.
  • Textual Embeddings Dependence: The quality of textual embeddings relies on the completeness of scientific literature; newly emerged pathogens might lack detailed annotations.
  • Limited Objective Scope: The current generation is optimized primarily for antibacterial potency. Future work could incorporate multi-objective optimization to also consider toxicity, metabolic stability, and synthetic feasibility.
  • Translation to Clinic: Practical challenges remain in translating novel molecules to clinical use, including synthetic complexity and cost. Future work could integrate retrosynthesis planning tools.
  • Real-time Data Integration: The authors suggest incorporating real-time data streams and rapid screens to continuously refine predictions.

Summary updated

BibTeX
@misc{leng2025predicting,
  author = {Tianang Leng and Fangping Wan and Marcelo Der Torossian Torres and Cesar de la Fuente-Nunez},
  title = {{Predicting and generating antibiotics against future pathogens with ApexOracle}},
  year = {2025},
  eprint = {2507.07862},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2507.07862},
}
Figure