GenEx: A Graph-Based Representational Paradigm for SARS-CoV-2 Variant Detection via Codon Co-occurrence Networks
Turning viral gene sequences into codon relationship maps to tell coronavirus variants apart
Older methods for distinguishing COVID-19 variants (Beta, Gamma, Delta, Omicron) treated gene sequences as flat strings and compared them letter by letter, missing complex internal relationships. The researchers built a pipeline called GenEx that splits gene sequences into codons (three-letter units) and builds a graph—a network of dots and connecting lines—showing how codons relate to their neighbors. From these graphs they extracted more than 25 structural features and trained 23 machine learning models, reaching up to 98.75% accuracy at telling the variants apart.
What they did
- Gene sequences were cut into codons, then turned into graphs two ways: LAPCG links each codon only to its immediate neighbor, while MSCG links codons that appear together across multiple distances.
- From each graph they pulled over 25 features, including basic structural measures like node count, shortest path length, and density, plus spectral (eigenvalue-based) properties.
- They used squared singular values (σ²) from singular value decomposition instead of standard eigenvalues, which made the differences between variants stand out more clearly.
- Tested across 23 machine learning models, the MSCG method performed best, hitting 98.75% accuracy while also running 1.88 times faster than the standard PMI-based approach.
- Each variant showed its own distinct graph fingerprint—for example Omicron's matching number was 18 times higher than other variants, while Delta had the most stable, consistent structure—revealing evolutionary patterns invisible to sequence-only phylogenetics.

| Aspect | Prior Work | Our Method |
|---|---|---|
| Biological unit | Nucleotide / segment | Codon |
| Representation | Sequence / static graph | Co-occurrence graph |
| Temporal modeling | No | Yes |
| Learning framework | CNN / Transformer / rules | ML on graph features |
| Explainability | Post-hoc | Intrinsic (graph-based) |
| Multi-task reuse | Limited | Yes |

| Method | Best Model(s) | Accuracy | Runtime (s) |
|---|---|---|---|
| PMI baseline | CatBoost | 96.25% | 272.3 |
| LAPCG | LightGBM, Grad. Boost | 96.25% | 196.2 |
| MSCG | MLP, Bagging Classifier | 98.75% | 144.6 |
![Fig. 3: Parallel-coordinate comparison of ten structural graph features across four SARS-CoV-2 variants of concern (Beta, Oct 2020; Gamma, Nov 2020; Delta, Apr 2021; Omicron, Nov 2021). Each polyline represents one variant; color encodes variant class. The ten axes correspond to: second eigenvalue (sev), average shortest path length (aspl), Wiener index (wi), top eigenvalue (tev), radius (r), graph energy (ge), diameter (d), average clustering coefficient (aclu), average closeness centrality (aclo), and transitivity (t). All values are min–max normalised to [0,1]. Omicron consistently occupies the highest band across spectral and centrality axes (ge, aclu, aclo), while Delta remains near the minimum on most features, highlighting a sharp structural divergence between these two variants.](https://media.metallab.ai/papers/2608.18238/f2.png)
| Method | Type | Task | Accuracy (reported) | Whole Genome | Reference |
|---|---|---|---|---|---|
| GENSCAN | Ab initio HMM | Gene annotation | ∼70 - 80% (protein-level) | ✓ | [2] |
| GeneMark-ES/ET | Ab initio (self-train) | Gene annotation | 35.7 – 75.8% (nucleotide) | ✓ | [10] |
| SNAP | Ab initio HMM | Gene annotation | 77 - 80% (nucleotide) | ✓ | [9] |
| GlimmerHMM | Ab initio HMM | Gene annotation | ∼9 – 43% (some datasets) | ✓ | [11] |
| MAKER2 | Annotation pipeline | Gene annotation | 68.60% (nucleotide) | ✓ | [8] |
| AUGUSTUS | Ab initio + evidence | Gene annotation | 82–92% (gene-level) | ✓ | [14] |
| BRAKER2 | Hybrid (RNA-seq + HMM) | Gene annotation | >AUGUSTUS (+2–3%) | ✓ | [7] |
| Helixer (DL) | Deep learning | Gene annotation | 86.8% (reported) | ✓ | [15] |
| k-mer + SVM | Traditional ML | Variant classification | ∼92.01% | ✓ | Various |
| CNN-LSTM | Deep learning | Variant classification | ∼95–97% | Partial | Various |
| GenEx LAPCG (Ours) | Graph + ML (O(n)) | Variant classification | 96.25% | ✓ | This work |
| GenEx MSCG (Ours) | Graph + ML (multi-scale) | Variant classification | 98.75% | ✓ | This work |
![Fig. 4: Hierarchical Clustering of SARS-CoV-2 Variants by Graph Features. The ten features in x-axis correspond to: second eigenvalue (sev), average shortest path length (aspl), Wiener index (wi), top eigenvalue (tev), radius (r), graph energy (ge), diameter (d), average clustering coefficient (aclu), average closeness centrality (aclo), and transitivity (t). All values are min–max normalised to [0,1]. Omicron consistently occupies the highest band across spectral and centrality axes (ge, aclu, aclo), while Delta remains near the minimum on most features, highlighting a sharp structural divergence between these two variants.](https://media.metallab.ai/papers/2608.18238/f3.png)
Why it matters
This approach can classify large-scale viral genome data quickly without needing a reference sequence or alignment step, making it practical for near real-time surveillance of new variants as they emerge. It also offers a framework that could extend beyond COVID-19 to other viruses and organisms, adding a structural lens to genomic analysis.
Terms in this paper
- Codon · a set of three nucleotide letters that encodes one amino acid
- PMI (Pointwise Mutual Information) · a measure of how much more often two items appear together than expected by chance
- Singular Value Decomposition (SVD) · a mathematical technique that breaks a matrix into components to reveal its core structure
- ANOVA · a statistical test for whether differences between group averages are significant
- Matching number · the size of the largest set of non-overlapping connections in a graph
Original abstract (English)
Genomic analysis on viruses such as SARS-CoV-2 variants: Beta, Gamma, Delta, and Omicron is heavily dominated by classical bioinformatics methods, including Sequence Alignment, Phylogenetic Analysis, and Mutation Frequency Statistics. These approaches use pairwise codon or nucleotide distance matrices to analyze gene sequences, treating them as linear strings rather than capturing their complex contextual interdependencies. We proposed GenEx, a pip
Read on arXivLatest papers
- FinRCA-Bench: Benchmarking Evidence Retrieval and Reasoning for Financial AI SystemsAI often names the right cause of a financial mismatch without ever finding the proof for it
- Looped Language Models Improve Compositional Tool CallingAI models that rethink their own answers multiple times get better at chaining tools together
- FACET: Preserving Source Intent and Executable State in Terminal Task SynthesisFACET builds internally consistent terminal-task 'exam sets' to train command-line AI agents
- FM-Bench: A Benchmark for Long-Horizon Management with Competing AgentsHanding an AI a football club to run for 20 years reveals that winning comes from management habits, not raw model power
- Bridging Search and CRM: Productionizing AI Product Research Agents for Customer Re-EngagementAI agents win back window-shopping customers by chasing them down on WhatsApp
- Adversarial Review: Structured Disagreement for Grounded Agentic Code ReviewFor AI code review, one reviewer plus one critic beats piling on more agents
- Alignment Is All You Need: Instruction-Free Training for General Audio-Language ModelsA frozen language model plus one lightweight connector is enough to build a capable audio-understanding AI
- Which Negatives Matter? Ask Your Text Encoder: Adaptive Similarity Margins for Dense-Caption RetrievalAn image-to-long-caption search AI kept thinking it had already solved the problem, so it never learned to tell near-identical captions apart
Latest from METAL LAB
- NVIDIA's 300 Verified Skills Lift Correctness by 41 Points
- Wave your hand at a webcam, hear a theremin: browser instrument released
- Meta AI launches desktop app for Mac, can read an entire app window
- Factory Commits $100M to Partner Network, Pushes to Scale Software Factories
- SpaceX approached Cognition for acquisition four days after closing Cursor deal
Figures: Arefin Amin et al., arXiv:2608.18238, CC BY 4.0