dnaHNet: A Scalable and Hierarchical Foundation Model for Genomic Sequence Learning
Arnav Shah, Junzhe Li, Parsa Idehpour, Adibvafa Fallahpour, Brandon Wang, Sukjun Hwang, Bo Wang, Patrick D. Hsu, Hani Goodarzi, Albert Gu
TL;DR
We address the trade-off between fixed-tokenization efficiency and nucleotide-level biological fidelity in genomic foundation models by introducing dnaHNet, a tokenizer-free autoregressive model with differentiable dynamic chunking. The model learns to compress raw nucleotides into latent tokens through a recursive Encoder–Main Network–Decoder architecture, achieving quadratic FLOP reductions and over $3×$ faster inference than Transformer-based baselines. Pretrained on 144B nucleotides from 85,205 prokaryotic genomes (GTDB subset), it attains state-of-the-art zero-shot performance on protein variant effect prediction and gene essentiality, while automatically uncovering hierarchical biological structure such as codon triplets and functional regions. These results demonstrate scalable, interpretable genomic modeling with data-efficient training regimes that deviate from standard scaling laws, suggesting strong potential for future genome-scale design tasks and integration with protein-language models.
Abstract
Genomic foundation models have the potential to decode DNA syntax, yet face a fundamental tradeoff in their input representation. Standard fixed-vocabulary tokenizers fragment biologically meaningful motifs such as codons and regulatory elements, while nucleotide-level models preserve biological coherence but incur prohibitive computational costs for long contexts. We introduce dnaHNet, a state-of-the-art tokenizer-free autoregressive model that segments and models genomic sequences end-to-end. Using a differentiable dynamic chunking mechanism, dnaHNet compresses raw nucleotides into latent tokens adaptively, balancing compression with predictive accuracy. Pretrained on prokaryotic genomes, dnaHNet outperforms leading architectures including StripedHyena2 in scaling and efficiency. This recursive chunking yields quadratic FLOP reductions, enabling $>3 \times$ inference speedup over Transformers. On zero-shot tasks, dnaHNet achieves superior performance in predicting protein variant fitness and gene essentiality, while automatically discovering hierarchical biological structures without supervision. These results establish dnaHNet as a scalable, interpretable framework for next-generation genomic modeling.
