A unified benchmark of supervised and retrieval-based methods for viral genomic sequence classification.

Publication date: Sep 03, 2026

The rapid growth of genomic sequencing demands fast, accurate, and scalable analysis methods. In viral genomic classification, expanding labeled reference collections can make supervised models costly to update and dependent on fixed label sets, motivating retrieval-based genomic classification as a simpler, more flexible alternative. We present a unified benchmark of supervised and retrieval-based methods for viral genomic sequence classification across three viral classification tasks: hepatitis C virus (HCV) genotyping, COVID-19 discrimination, and human papillomavirus (HPV) genotyping. We compare standard sequence encodings (one-hot, k-mers, FCGR) with dense embeddings (dna2vec, DNABERT). For each representation, we evaluate supervised classifiers (Random Forest, Decision Tree, XGBoost) and retrieval-based classification, where sequence vectors are indexed with FAISS and labels are assigned via similarity-weighted k-NN. Furthermore, we benchmark multiple FAISS index types (Flat, IVF, HNSW, IVFPQ, OPQ) to characterize accuracy-speed-memory trade-offs at scale. The results show that XGBoost and retrieval using Flat or IVF indexes achieve strong classification performance under different computational profiles. Compressed indexes such as IVFPQ and OPQ substantially reduce memory usage, although their accuracy loss depends on the dataset and representation. Overall, supervised XGBoost provides a favorable accuracy-size trade-off, while retrieval-based classification remains competitive and allows labeled reference sequences to be incorporated without retraining a global classifier. This benchmark provides practical guidance for selecting sequence representations, classifiers, and vector-search indexes under different accuracy, memory, and update requirements.

Open Access PDF

Concepts Keywords
Dnabert Benchmarking
Forest Classification Algorithms
Hot Dense retrieval
Papillomavirus Genome, Viral
Retraining Genomic image processing
Genomic sequence classification
Genomics
Genotyping
Hepacivirus
Human Papillomavirus Viruses
Humans
Random Forest
Vector search

Semantics

Type Source Name
disease MESH hepatitis C
pathway KEGG Hepatitis C
disease MESH COVID-19
disease MESH hepatitis
disease MESH image
drug DRUGBANK Diethylstilbestrol
disease MESH des
drug DRUGBANK Coenzyme M
disease MESH included
drug DRUGBANK Pentaerythritol tetranitrate
drug DRUGBANK L-Arginine
drug DRUGBANK Isoxaflutole
drug DRUGBANK 7-Methyl-Gpppa
disease MESH AAA
drug DRUGBANK S-propylamine-L-cysteine
disease MESH Face
drug DRUGBANK Aspartame
disease MESH Park
pathway REACTOME Methylation
pathway REACTOME Reproduction

Original Article

(Visited 5 times, 1 visits today)

Leave a Comment

Your email address will not be published. Required fields are marked *