Assessing the Capacity of Genomic Language Models to Generate Informative Embeddings of Viral Genome Fragments
A. Kladchenko, A. Manolov, N. S. Popov
Key points
From the paper's conclusion- We also observed the consistency of representations between forward fragments and their reverse complements.
Abstract
Genomic language models (gLMs) trained on large volumes of nucleotide sequences are becoming an alternative to classical methods in metagenomic analysis, particularly for studying genomic "dark matter". In this work, we investigate the ability of four gLMs (DNABERT-2, DNABERT-S, ViraLM, and Evo2-7B) to generate taxonomically informative vector representations of short viral genome fragments. We constructed a balanced reference dataset of viruses based on the ICTV Virus Metadata Resource and compared the representations generated by gLMs with conventional k-mer profiles and MinHash sketches using clustering and neighborhood-based metrics (adjusted Rand index (ARI), precision@k, and CROSS precision@k). On the reference dataset, three of the four gLMs outperformed the 4-mer profile in terms of ARI and precision@5 under the same evaluation protocol. The best performance was generally achieved by intermediate model layers. Conventional k-mer profiles consistently outperformed MinHash sketches. We further evaluated the methods on two viral orders (egoviruses and mriyaviruses) absent from the reference dataset, with model layers and k-mer lengths selected exclusively on the reference dataset. DNABERT-S showed the most consistently strong performance across these two orders, ranking first on mriyaviruses and second on egoviruses, while k-mer profiles with Jensen-Shannon distance remained competitive. We also observed the consistency of representations between forward fragments and their reverse complements. Overall, the best-performing gLMs surpassed conventional baselines, although their advantage depended on the dataset and evaluation metric. The consistently strong performance of DNABERT-S suggests a potential benefit of contrastive fine-tuning and indicates that larger models are not necessarily more effective for generating taxonomically informative representations.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- A comprehensive survey of genome language models in bioinformaticsBriefings in Bioinformatics · 2025
- Vir2vec: A Genome-Wide Viral EmbeddingbioRxiv · 2026
- LAMBDA: a prophage detection benchmark for genomic language models.NAR genomics and bioinformatics · 2026
- Plant Genomic Language Models: Advances and ApplicationsChinese Bulletin of Botany · 2026
- seqLens: Optimizing Language Models for Genomic PredictionsMolecular Biology and Evolution · 2026
- Predicting the evolutionary and functional landscapes of viruses with a unified nucleotide-protein language model: LucaVirusNational Science Review · 2026