Predicting the Evolutionary and Functional Landscapes of Viruses with a Unified Nucleotide-Protein Language Model: LucaVirus

Yuanfei Pan, Yong He, Y Liu, Yong-Tao Shan, Shuning Liu, Xue Liu, Xiaoyun Pan, Yinqi Bai, Zan Xu, Zheng Wang, Jieping Ye, Edward C. Holmes, Bo Li, Yao-Qing Chen, Zhaorong Li, Mǎng ShībioRxiv 2025

TL;DR

Researchers have developed LucaVirus, a novel AI model that understands both viral DNA/RNA and protein sequences. This unified approach allows it to predict viral evolution, function, and even identify potential antibody targets with remarkable efficiency, outperforming existing models on several key virology tasks.

What Problem Does This Paper Address?

The vast and rapidly expanding diversity of viruses presents a major challenge for biological research and public health. Viruses evolve at an incredibly fast pace, leading to high sequence divergence that makes it difficult for traditional bioinformatics tools to identify them, understand their functions, or predict their behavior. Existing AI models, often trained on cellular organisms, struggle with the unique characteristics of viral genomes and the inherent biosecurity concerns that have led to the exclusion of viral data from many training sets. This leaves a critical gap in our ability to effectively analyze viral data for discovery, functional annotation, and pandemic preparedness.

Methods

LucaVirus is built upon a unified, multi-modal foundation model architecture. It leverages a Transformer encoder-only structure, initialized with weights from a general biological foundation model (LucaOne) and then transfer-learned on a massive, curated viral dataset. Key methodological aspects include:

  • Multi-modal Input: The model accepts both nucleotide (DNA/RNA) and amino acid (protein) sequences, allowing it to capture a richer set of biological signals.
  • Semi-supervised Pre-training: Instead of standard masked language modeling, LucaVirus uses a multi-task semi-supervised objective that explicitly enforces sequence-function associations.
  • Large Context Window: A context window of 3072 tokens enables the model to capture long-range dependencies crucial for understanding viral genomes.
  • Downstream Task Specialization: The pre-trained embeddings are used with lightweight, task-specific downstream models for various virology applications, minimizing trainable parameters and computational cost.
  • LMAlign: A novel sequence embedding-based alignment algorithm was developed, leveraging LucaVirus representations to improve detection of remote protein homology.

Datasets

  • Training Data: The core training dataset is OpenVirus, a newly constructed corpus comprising 15.7 million viral sequences (10.4 million nucleotide and 5.2 million protein), totaling 25.4 billion tokens. This dataset is significantly larger than existing repositories and includes a substantial number of previously uncatalogued viral taxa.
  • Evaluation Datasets: The paper utilizes various benchmark datasets for evaluating downstream tasks, including:
  • General biological benchmarks originally developed for the LucaOne model.
  • "Dark matter" datasets of divergent viral proteins, including sequences from wetland sediments not present in the OpenVirus corpus.
  • UniProtKB-derived data for enzyme commission (EC) number prediction.
  • Structure-based datasets for functional annotation.
  • Deep mutational scanning (DMS) data for SARS-CoV-2 RBD binding affinity, Enterovirus A fitness, and Influenza A HA immune escape.
  • ProteinGym benchmark for zero-shot protein fitness prediction.
  • CoV-AbDab coronavirus antibody database and simulated antibody discovery pipelines for antibody-antigen interaction modeling.

Key Insights and Ideas

  • Domain Specialization Matters: A model specifically trained on viral data (LucaVirus) can outperform generalist models, even those with significantly more parameters, by capturing unique viral genomic and evolutionary characteristics.
  • Nucleotide and Protein Synergy: Combining nucleotide and protein sequence information is crucial for a comprehensive understanding of viral biology, revealing relationships that are missed by unimodal models.
  • Decoding Viral "Dark Matter": LucaVirus excels at identifying highly divergent viruses and their hallmark proteins, which are often missed by traditional homology-based methods.
  • Beyond Sequence Homology: The model's learned embeddings capture deep evolutionary signals and contextual information, enabling it to infer function and relationships even when sequence identity is very low.
  • Efficiency and Scalability: LucaVirus achieves high performance with significantly fewer parameters and faster inference times compared to many existing models, making it practical for large-scale applications.

Key Results

  • Hallmark Protein Discovery: LucaVirus achieved 100% recall and accuracy in identifying RdRP and 99.86% for capsids on a challenging "dark matter" dataset, significantly outperforming ESM2-3B and structure/sequence-based methods. It also demonstrated high efficiency, with a 3.4-fold reduction in computational cost compared to ESM2-3B.
  • Functional Annotation: LucaVirus expanded annotation coverage for viral proteins to 46.4% on a difficult dataset, outperforming ESM2-3B. It also successfully identified and experimentally validated two novel viral proteases from genomic "dark matter."
  • Viral Evolvability Prediction: The model achieved state-of-the-art performance in predicting SARS-CoV-2 RBD binding affinity (Spearman correlation of 0.93), outperforming generalist models and demonstrating robust cross-modal consistency (nucleotide and protein inputs).
  • Antibody-Antigen Interaction: LucaVirus achieved 93% accuracy on the CoV-AbDab database and 84.6-89.8% accuracy on real-world antibody data, outperforming protein language models and structure-based methods. It also showed impressive cross-modal flexibility, working with CDS sequences and entire genomes.
  • Efficiency: LucaVirus achieved comparable or superior performance to leading models with one-third the parameters.

Limitations and Future Work

  • Dual-Use Potential: The model's predictive capabilities raise biosecurity concerns. Safeguards like an encoder-only architecture (preventing de novo generation), structured access controls, and data desensitization protocols are in place.
  • Experimental Validation: While some candidate proteases were validated, the majority of computational predictions require further experimental verification.
  • Training Data Bias: Performance is limited by the OpenVirus training corpus. Viral families from under-sampled environments may yield lower-confidence predictions, necessitating periodic retraining.
  • Fitness Landscape Complexity: Accuracy in fitness landscape prediction may decrease in regions of high epistatic complexity with sparse training data.
  • Antibody Prediction Nuances: Performance may be limited for underrepresented antibody classes and does not account for post-translational modifications or glycan shielding.
  • Future Work: The authors suggest expanding training data, architectural modifications, and integrating structural, host, and ecological information to further enhance LucaVirus's capabilities. They envision a pipeline for continuous viral monitoring, prediction, and experimental prioritization for pandemic preparedness.

Summary updated

BibTeX
@misc{pan2025predicting,
  author = {Yuanfei Pan and Yong He and Y Liu and Yong-Tao Shan and Shuning Liu and Xue Liu and Xiaoyun Pan and Yinqi Bai and Zan Xu and Zheng Wang and Jieping Ye and Edward C. Holmes and Bo Li and Yao-Qing Chen and Zhaorong Li and Mǎng Shī and Yao-Qing Chen and Zhao-Rong Li and Mang Shi},
  title = {{Predicting the Evolutionary and Functional Landscapes of Viruses with a Unified Nucleotide-Protein Language Model: LucaVirus}},
  year = {2025},
  doi = {10.1101/2025.06.14.659722},
  howpublished = {bioRxiv},
}
Figure