ViralMultiNet: A structure-aware multimodal framework for viral protein function prediction in wastewater surveillance
Abstract
Accurate functional annotation of viral proteins is essential for genomic surveillance, yet rapid viral evolution causes "functional drift" that challenges conventional sequence-only models. These models often lack interpretability and struggle with fragmented sequences from complex environmental samples such as wastewater. We developed ViralMultiNet, a structure-aware multimodal framework that integrates multi-scale k-mer encodings (4-7-mers) with functional semantic embeddings derived from UniProt annotations. Using a curated Severe Acute Respiratory Syndrome Coronavirus 2 (SARS-CoV-2) dataset of 66,011 samples from wastewater metagenomics (NCBI SRA: SRX28474964), we implemented gated multimodal fusion and triple knowledge distillation to transfer structural insights from a teacher to a student model. Model performance was evaluated via 5-fold cross-validation and external validation on emerging variants. Training efficiency was optimized using Low-Rank Adaptation and Flash Attention. ViralMultiNet achieved robust classification performance with a macro F1 score of 0.921 ± 0.004, accuracy of 0.928 ± 0.003, and AUC of 0.983 in cross-validation. The distilled student model matched teacher performance within a negligible margin (
Fields of Study & Subjects
SARS-CoV-2 detection and testing
Machine Learning in Bioinformatics
SARS-CoV-2 and COVID-19 Research
Publication details
- Journal / source
- PLoS ONE
- Publisher
- Public Library of Science (PLoS)
- Volume
- 21
- Issue
- 6
- Pages
- e0349393–e0349393
- Publication date
- 3 June 2026
- Language
- EN