All models

ViTax

Virus taxonomy classifier that fine-tunes the HyenaDNA genomic model to embed viral DNA sequences.

Molecules, proteins and genomics · 253 operations Checked

100%

Showing the top corner; full diagram not loaded yetShowing a small copy; full diagram not loaded yetLarge diagram, not loaded yet

Open SVG

Loading diagram (16 KB)

Open in a new tab

Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.

At a glance

Parameters
3.3M
Operations
253
Framework
PyTorch
Recurrent
No
Published
2025, Briefings in Bioinformatics 26(1) bbaf041
Cited by
6 (as of 27 October 2026)
Authors
YuShuang He, Feng Zhou, JiaXing Bai and others
Checked
Passed: the trace was replayed operation by operation and matched the model's own output for this input.

Files

The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.

Details
Stable ID
m21358
Graph hash
97fc4d75270a8361cefb58dea1d3925458eadad85e405dcc2879d87d37374a66
Skeleton hash
a72746bd73fbf3106d1177bb5174b92fe282fb3feff174b44ca9ace9c3652c78
Architecture hash
f18e8724a17313e8915c675e6a57fd6769021f3856da98458faa6615b339cc08
Diagram SHA-256
954c3a36c323257474a1db4d5007b48d4ad265f2e7de971a430ed0fed95c2e83
TorchLens version
2.36.0
Renderer
graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
Check
Forward pass replayed in PyTorch

What it is

ViTax is a tool for classifying viral DNA sequences into the virus taxonomy. It is built on HyenaDNA, a large language foundation model for long-range genomic sequences at single nucleotide resolution, which the authors fine-tune to capture the characteristics of viruses. HyenaDNA's core computing module is the Hyena operator, composed of implicit long convolutions and element-wise gating, which the paper describes as an alternative to the attention mechanism in Transformer models.

Training uses supervised prototypical contrastive learning to address the highly imbalanced distributions across taxonomic clades. A prototype is the centroid of the cluster formed by sequence fragments within each genus. Each embedding is compared with all prototypes to calculate the loss, a modification of ProtoNCE that reduces the impact of outlier sequences such as mutated gene fragments.

At prediction time a taxonomy belief tree, built with K-means clustering and the Lowest Common Ancestor approach, assigns a sequence to the lowest taxonomy clade with confidence. Sequences from novel and unexplored genera can be assigned to a higher level of known taxonomy. The paper's RefSeq dataset comprises 3,979 genomes belonging to 631 genera.

Key idea. ViTax fine-tunes the HyenaDNA genomic foundation model with supervised prototypical contrastive learning and classifies viruses through a taxonomy belief tree built on the Lowest Common Ancestor algorithm.

  • ViTax
  • virus taxonomy
  • viral taxonomy classification
  • genomic foundation model
  • prototypical contrastive learning
  • taxonomy belief tree
  • hierarchical classification
  • open-set classification
  • metagenomics

AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.

Cite the paper

@article{He_2024, title={ViTax: adaptive hierarchical viral taxonomy classification with a taxonomy belief tree on a foundation model}, volume={26}, ISSN={1477-4054}, url={http://dx.doi.org/10.1093/bib/bbaf041}, DOI={10.1093/bib/bbaf041}, number={1}, journal={Briefings in Bioinformatics}, publisher={Oxford University Press (OUP)}, author={He, YuShuang and Zhou, Feng and Bai, JiaXing and Gao, YiChun and Huang, Xiaobing and Wang, Ying}, year={2024}, month=Nov }