Cheat sheet

gLM cheat sheet: HyenaDNA

One reference card for HyenaDNA: architecture, tokenization, size, context, training data, what it was shown to do and what it does not do. One card in a set that covers one genomic language model at a time.

GenomicsLLMMachine Learning

Genomic language model · Cheat sheet

HyenaDNA

A million bases in one pass at single-base resolution, from a model small enough to be surprising

First public
arXiv, June 2023
Published
NeurIPS, December 2023
Lab
Stanford, Harvard, SynTensor, Mila
Architecture
Hyena, not a Transformer. Long convolutions that adapt to the input replace attention, so cost grows near linearly with length, not as its square.
Tokenization
Single nucleotide, one letter per token
Parameters
6.6M
Context
1,000,000 tokens, reached by ramping sequence length up in stages.
Training data
The human reference genome. One species.
Used for
Prediction and classification, including tasks that need long range

Headline result

State of the art on 12 of the 18 Nucleotide Transformer tasks with about 1.6M parameters, roughly 1,500x fewer than the 2.5B model it was compared against. On a separate suite, GenomicBenchmarks, up to +20 accuracy points on enhancer identification. 160x faster than a Transformer at 1M tokens.

What it does not do

Human only, and evaluated as a predictor. It trains by next-base prediction, but the paper does not test it as a sequence designer.

Commonly confused

The headline results come from a 1.6M parameter model, not the 6.6M largest checkpoint. And the 500x context claim is against standard attention only: models that skip or compress positions already reached about 100,000 bases.

Download this card PNG, 1080 x 1350, sized for a post or a slide