CANN: Commutative Algebra Neural Networks for Virus Classification
Abstract
The extensive diversity of viral genomes challenges alignment-free representations to capture both nucleotide composition and the higher-order organization of recurring sequence patterns. Conventional -mer representations quantify pattern abundance but do not explicitly encode how these patterns are organized across scales. Here, we introduce CANN, an alignment-free framework that combines persistent commutative-algebraic descriptors with neural representation learning for viral family classification. CANN uses persistent facet descriptors to encode the multiscale organization of -mer patterns and complementary -mer counts to capture sequence composition. Convolutional and Transformer encoders independently learn latent representations of these features, and cosine distances within their respective embedding spaces are averaged before -nearest-neighbor classification. Across multiple NCBI viral genome collections, CANN achieves robust family-level performance, with the fusion of encoder-specific distances consistently improving classification relative to either encoder alone. Evaluation on genomes present in the 2026 NCBI collection but absent from the 2024 reference set further supports generalization to unseen members of families already represented in the reference data. Together, these findings show that persistent commutative-algebraic descriptors can complement neural representations of viral genomes, linking algebraic descriptions of genomic organization with data-driven classification.
Create a lesson
Related papers
Hepatitis C Virus Genotyping with a Transformer Neural Network
Shared title terminologyq-bio.GNAriella Aro, Taimá Furuyama, Marcelo R. S. Briones et al.
Classification of SARS-CoV-2 Variants through The Epistatical Circos Plots with Convolutional Neural Networks
Shared title terminologyq-bio.GNBo Jing, Kai-Rui Zhang, Hong-Li Zeng et al.
Detection of local recombination and mutation hotspots in bacterial genomes using neural posterior estimation
Shared title terminologyq-bio.GNHaochu Liu, Richard G. Everitt, Xavier Didelot
Synaptic Dendritic Neuron Model (scDNM) for Cell Type Classification in Single-Cell RNA Sequencing Data
Shared title terminologyq-bio.GNDeniz Karapınar, Gaurav Choudhary, Melih Agraz
CloneOT: predicting clone-specific perturbation responses with lineage-supervised neural inverse optimal transport
Shared title terminologyq-bio.GNYanshuo Chen, Wei Chen, Heng Huang
Fragment Path Complex Networks for Viral Genome Classification
Shared title terminologyq-bio.GNAlice Wachira, Xiang Liu, Guo-Wei Wei