dnaHNet: A Scalable and Hierarchical Foundation Model for Genomic Sequence Learning

Arnav Shah (University of Toronto), Junzhe Li, Parsa Idehpour, Adibvafa Fallahpour, Brandon Wang, Sukjun Hwang, BO Wang, Patrick Hsu, Hani Goodarzi, Albert Gu

International Conference on Machine Learning 2026 · Oral

Overview

Genomic sequence modeling presents some of the most formidable scaling challenges in machine learning today. While foundation models have revolutionized natural language processing, adapting them to biological sequences requires bridging the gap between massive context lengths and strict biological constraints. In this talk, Arnav Shah presents dnaHNet, a novel genomic sequence modeling architecture developed to outscale previous state-of-the-art models like StripedHyena2. By introducing a learned hierarchical chunking mechanism, dnaHNet resolves the tension between computational scaling and biological tokenization fidelity, achieving dramatic improvements in both compute efficiency and inference throughput.

Watch on SlidesLive

Visual summary for dnaHNet: A Scalable and Hierarchical Foundation Model for Genomic Sequence Learning by Arnav Shah, Junzhe Li, Parsa Idehpour, Adibvafa Fallahpour, Brandon Wang, Sukjun Hwang, BO Wang, Patrick Hsu, Hani Goodarzi, Albert Gu
Visual summary for dnaHNet: A Scalable and Hierarchical Foundation Model for Genomic Sequence Learning by Arnav Shah, Junzhe Li, Parsa Idehpour, Adibvafa Fallahpour, Brandon Wang, Sukjun Hwang, BO Wang, Patrick Hsu, Hani Goodarzi, Albert Gu

Key moments

  1. 0:00 Introduction to genomic sequence modeling and core bottlenecks
  2. 2:00 Biological constraints and architectural scaling baselines
  3. 4:00 Introduction to learned tokenization and the HNet model
  4. 6:00 Scaling plots, biological evals, and inference flop comparisons
  5. 8:00 Audience Q&A: Comparison with other chunking mechanisms
  6. 9:30 Audience Q&A: Future directions and integration into Evo3

dnaHNet: A Scalable and Hierarchical Foundation Model for Genomic Sequence Learning

Speakers: Arnav Shah (University of Toronto); Junzhe Li; Parsa Idehpour; Adibvafa Fallahpour; Brandon Wang; Sukjun Hwang; BO Wang; Patrick Hsu; Hani Goodarzi; Albert Gu

Conference: ICML

YouTube: https://slideslive.com/39083541

Overview

Genomic sequence modeling presents some of the most formidable scaling challenges in machine learning today. While foundation models have revolutionized natural language processing, adapting them to biological sequences requires bridging the gap between massive context lengths and strict biological constraints. In this talk, Arnav Shah presents dnaHNet, a novel genomic sequence modeling architecture developed to outscale previous state-of-the-art models like StripedHyena2. By introducing a learned hierarchical chunking mechanism, dnaHNet resolves the tension between computational scaling and biological tokenization fidelity, achieving dramatic improvements in both compute efficiency and inference throughput.

The work matters because standard tokenization techniques used in natural language processing—such as Byte-Pair Encoding (BPE) or k-mer tokenization—fundamentally compromise downstream biological evaluations, particularly in variant effect prediction where single-nucleotide mutations dictate drastic phenotypic outcomes. Prior architectures like Evo1 and StripedHyena prioritized un-tokenized nucleotide-level processing using sub-quadratic state space models and long convolutions to handle sequences ranging from millions to billions of base pairs. However, dnaHNet demonstrates that learned hierarchical compression can unlock superior scaling laws without sacrificing single-nucleotide resolution, pointing the way toward more powerful biological generation and predictive priors for future iterations like Evo3.

Background

▶ Watch: Introduction to genomic sequence modeling and core bottlenecks (0:00)

Genomic sequence modeling mirrors natural language modeling in its dual objectives: encoding a robust predictive prior for fine-tuning and domain transfer, and establishing a generative prior capable of synthesizing functional biological sequences, such as de novo viral designs. However, the systems challenges in genomics are uniquely punishing. A small bacterium genome spans one million base pairs, while the human genome scales to three billion. Compounding this, the information content per token is exceptionally low due to a vocabulary restricted to just four base pairs (adenine, cytosine, guanine, thymine).

For language modeling practitioners, the immediate reflex is to apply sub-word tokenization. Yet biological reality forbids this. Single missense mutations—such as the BRCA mutations responsible for hereditary breast cancer—rely on single-nucleotide precision. Standard compression heuristics that improve training perplexity consistently degrade downstream zero-shot variant effect prediction. Consequently, the field shifted toward alternative sequence-mixing architectures. Sub-quadratic models like Mamba (state space models) and Hyena (long convolution-based models with input gating) scale with $O(\log n)$ or linear complexity relative to sequence length, outperforming traditional Transformers that suffer under quadratic scaling constraints.

Despite these advances, prior attempts at hardware-aware scaling (such as StripedHyena2, featuring 7B and 40B parameter variants) hit efficiency and architectural ceilings. Inspired by recent developments in learned tokenization—specifically Meta's Byte Latent Transformer (BLT), which uses entropy heuristics over byte-level sequences, and the HNet architecture from Gumbel Lab—the researchers set out to build a scalable, learned hierarchical compression framework tailored specifically for genomic sequences.

Key Findings

▶ Watch: Introduction to learned tokenization and the HNet model (4:00)

The primary finding of the dnaHNet work is that a hierarchically compressed architecture can radically outperform non-compressed sub-quadratic baselines on genomic scaling laws while preserving biological interpretability.

  • Compute Efficiency: At equivalent compute budgets (evaluated up to the AE19 scale), dnaHNet delivers a 4x improvement in compute efficiency compared to StripedHyena.
  • Inference Speedups: On a single NVIDIA H100 GPU, dnaHNet achieves 6x lower latency and 4x less memory consumption during inference.
  • Biological Performance: In zero-shot gene essentiality tasks—simulating gene knockouts by introducing stop codons and measuring organism survivability via log probabilities—dnaHNet substantially outperforms StripedHyena2. On variant effect prediction, it matches or slightly edges out baselines, though definitive validation at the 1B to 7B parameter scale remains a target for future work.
  • Emergent Biological Grounding: Unsupervised analysis of the learned chunking boundaries reveals that the model autonomously discovers biological syntax, naturally aligning its compression tokens with universal biological structures such as protein codons.

Technical Deep Dive

▶ Watch: Scaling plots, biological evals, and inference flop comparisons (6:00)

The architectural core of dnaHNet adapts the HNet chunking mechanism to genomic sequences, coupling it with specific hyperparameter configurations optimized for DNA.

The Chunking and Compression Mechanism

Unlike static tokenizers or entropy-threshold methods (such as those in BLT), dnaHNet learns tokenization and next-token prediction simultaneously. The pipeline operates via the following mechanics:

  1. Encoder Stage: An initial encoder layer processes the uncompressed nucleotide sequence (nucleotides-in, nucleotides-out), performing local sequence mixing and building contextual representations.
  2. Learnable Projections: Learnable projection matrices are applied to every token output by the previous layer.
  3. Cosine Dissimilarity Routing: Tokens are selectively filtered and routed to subsequent modules based on cosine dissimilarity metrics.
  4. Hierarchical Stages: The model employs a two-stage compression scheme achieving a cumulative 6x compression factor (specifically, a 3x compression layer followed by a 2x compression layer). Empirical ablations demonstrated that higher compression ratios (e.g., 4x or 9x per layer) degrade performance.

Architectural Tuning for DNA

To ensure optimal scaling, the authors introduced several key modifications:

  • Capacity Allocation: Allocating approximately double the parameter capacity into the encoder and decoder embeddings prior to the chunking operation yields superior representations.
  • Downsampling Loss: Using a much lower downsampling ratio and a reduced downsampling loss term prevents the model from over-adhering to rigid, pre-specified compression schedules, which otherwise harms optimization dynamics.
  • Complexity Tradeoffs: While HNet introduces a Transformer-like $O(n^2)$ self-attention component, the 6x hierarchical compression reduces effective sequence length quadratically ($O(n^2 / 36)$). This makes it computationally cheaper than uncompressed sub-quadratic baselines at scale while retaining global context awareness.

Experimental Setup & Results

▶ Watch: Audience Q&A: Comparison with other chunking mechanisms (8:00)

The evaluation benchmarked dnaHNet against established genomic baselines, primarily StripedHyena and StripedHyena2, across compute efficiency, theoretical and wall-clock inference metrics, and biological downstream tasks.

  • Hardware Stack: Experiments were conducted on single and multi-GPU setups, with wall-clock latency and memory evaluations benchmarked on a single NVIDIA H100 GPU.
  • Scaling Behavior: Scaling plots demonstrate that dnaHNet's performance curve outpaces StripedHyena by a factor of 4x at the AE19 compute scale. Because the scaling rate is steeper, the efficiency gap widens further as compute budgets increase.
  • Theoretical vs. Realized Flops: Although theoretical FLOP calculations highlight the advantages of $O(n^2 / 36)$ effective complexity over million-base-pair contexts, wall-clock measurements on the H100 validate these gains, showing a 6x latency reduction and 4x memory reduction.
  • Downstream Biological Evals:
  • Gene Essentiality: Zero-shot evaluation measuring the log-probability impact of inserted stop codons showed clear superiority over StripedHyena2 in predicting organism survivability.
  • Variant Effect Prediction: Results on single missense mutations showed marginal improvements, though the authors note that definitive conclusions require scaling models to the 1B–7B parameter range.

Practical Implications

▶ Watch: Audience Q&A: Future directions and integration into Evo3 (9:30)

For infrastructure teams, model builders, and biological research groups, dnaHNet offers a compelling blueprint for scaling genomic foundation models without hitting the memory walls typical of ultra-long context Transformers.

  • Inference Viability: The 4x memory reduction and 6x latency speedup on H100 hardware make deploying genomic foundation models vastly more practical for clinical and research laboratories lacking multi-node supercomputing clusters.
  • The Tokenization Debate: The work provides strong empirical evidence that learned hierarchical compression circumvents the false dichotomy between biological fidelity (nucleotide-level resolution) and computational efficiency (tokenization).
  • Limitations: Training extreme-scale variants (1B to 7B parameters) remains constrained by academic compute budgets (such as the speaker's two-GPU setup). Furthermore, scaling to massive eukaryotic genomes requires distributed infrastructure coordination, which is currently underway as part of the Evo3 development initiative at the Arc Institute.

Key Takeaways

  • Learned Hierarchical Compression: dnaHNet replaces static heuristics (like BPE or entropy thresholds) with a simultaneous, learnable chunking mechanism tailored for biological sequences.
  • Superior Scaling Efficiency: Achieves a 4x compute efficiency improvement over StripedHyena at comparable scales, alongside 6x lower latency and 4x lower memory consumption on an NVIDIA H100.
  • Preserving Biological Fidelity: Maintains single-nucleotide resolution necessary for sensitive downstream tasks like variant effect prediction and gene essentiality scoring.
  • Emergent Codon Awareness: Unsupervised inspection reveals that the model's compression boundaries naturally align with biological syntax, such as protein codons and functional genomic regions.
  • Path to Next-Gen Architectures: The framework serves as the architectural foundation for upcoming scaled deployments, including integration into the Evo3 model at the Arc Institute for eukaryotic genome modeling.

About the Speaker(s)

  • Arnav Shah (University of Toronto): Second-year undergraduate student at University of Toronto presenting on dnaHNet, a genomic sequence modeling architecture.

Co-authors: Junzhe Li, Parsa Idehpour, Adibvafa Fallahpour, Brandon Wang, Sukjun Hwang, BO Wang, Patrick Hsu, Hani Goodarzi, Albert Gu.

Reviews

→ Top-rated talks at International Conference on Machine Learning 2026

All talks from International Conference on Machine Learning 2026