DNA language model of the human genome with a vocabulary learned by byte-pair encoding rather than fixed k-mers, fine-tuned for genome biology tasks.
No providers recorded yet. Browse all providers
A genome has letters but no spaces. Written English tells a tokenizer where the words end; DNA does not, so every transformer trained on sequence has to invent a notion of "word" first. The usual answer is a fixed k-mer, three to six nucleotides chopped uniformly. That choice quietly decides what the model can learn, because the human genome's composition is lopsided — A- and T-rich stretches are common while CG dinucleotides are depleted by methylation-driven mutation, so 6-mer counts in hg19 span three orders of magnitude. A model fed such an unbalanced dictionary spends its capacity learning token frequency instead of sequence context.
GROVER — Genome Rules Obtained Via Extracted Representations — takes the vocabulary itself as the thing to optimize. Melissa Sanabria, Jonas Hirsch, Pierre M. Joubert and Anna R. Poetsch at TU Dresden applied byte-pair encoding to the human genome, merging the most frequent adjacent token pairs over many cycles to produce frequency-balanced dictionaries of varying granularity, then trained a separate BERT model on each. To pick among them without biasing the result toward any particular piece of biology, they used next-k-mer prediction as an intrinsic yardstick, which is independent of vocabulary size and tokenization scheme. Accuracy peaked between 400 and 800 merge cycles, and 600 cycles became the released model.
Where DNABERT uses overlapping k-mers, Nucleotide Transformer uses mainly 6-mers, HyenaDNA replaces attention with implicit convolutions, and DNABERT-2 reaches for multi-species data, GROVER holds everything else fixed: one species, one assembly, one architecture, only the vocabulary varied. That makes it as much an experiment about what tokenization costs a DNA language model as it is a released checkpoint.
GROVER is a BERT encoder: 12 transformer blocks, hidden size 768, 12 attention heads, inputs of up to 510 tokens plus the usual CLS, PAD, UNK, SEP and MASK tokens, and about 87 million parameters — small for its class, because a 601-token vocabulary needs almost no embedding table. Pretraining used masked token prediction with cross-entropy loss over more than 5 million windows drawn from GRCh37/hg19, on clusters of A100 GPUs. It reaches 21% top-1 accuracy on masked token prediction, 75% within the top 60 candidates, and a perplexity of 72 — 12% of dictionary size, against 21–36% for the authors' matched 4-, 5- and 6-mer models. On next-6-mer prediction it reaches 2% accuracy where DNABERT-2 reaches 0.6% and fixed-k-mer models including Nucleotide Transformer stay under 0.4%. Three fine-tuning tasks follow: Prom300 promoter classification (Matthews correlation coefficient 99.6%, against 79% for the next-best model), PromScan transcription start site detection in 1 kb windows (63% against 52% for Nucleotide Transformer), and CTCF binding — distinguishing which of the roughly 85,000 CTCF motifs in hg19 are among the roughly 32,000 actually bound in HepG2 ChIP–seq (60%, against 59% for DNABERT-2).
The released checkpoint loads with two lines of Hugging Face transformers code and is
meant to be fine-tuned rather than used as-is: promoter and transcription start site
annotation, transcription factor binding prediction from motif context, the human
subset of the GUE benchmark's promoter, core promoter, transcription factor binding site
and splice site tasks, and enhancer prediction from the separate Nucleotide Transformer
downstream task suite. Because
tokenization shifts for sequences shorter than about 50 nucleotides, the authors advise
padding queries by 100 nucleotides on each side. A published Jupyter notebook tutorial
walks through configuring the model for CTCF binding prediction, and the token embeddings
serve interpretability work — asking what a genomic region looks like to the model, not
only what label it gets.
GROVER's contribution is methodological as much as practical: it demonstrates that vocabulary selection, treated as an optimization problem with a task-agnostic criterion, buys more on human-genome tasks than adding species or swapping the architecture. The model is human- and hg19-only by design, which limits cross-species transfer but keeps the learned representations traceable back to specific reference sequence, and its 510-token window covers roughly 2 kb — far short of the long-range models built for enhancer-promoter interactions. The checkpoint, tokenized genome, analysis code and tutorial are all publicly archived, and the same group has continued to use GROVER as an instrument for parsing sequence, chromatin and mutation effects.
Much of this page is generated or calculated automatically. Flag anything that looks off and we will re-run it.