In natural language processing, we treat words or sub-words as the fundamental units of meaning. When researchers first applied Transformers to DNA, they followed a similar logic, grouping nucleotides into "k-mers" (overlapping strings of length $k$) or using Byte Pair Encoding (BPE) to create a vocabulary of genetic "words."
However, DNA is not human language. It lacks spaces, and its "meaning" is often determined by a single base pair change. Recent evidence suggests that the most powerful genomic foundation models (GFMs) are moving away from these aggregated "words" in favor of single-nucleotide resolution. By treating every individual A, C, G, and T as a discrete token, these models preserve the granular information necessary to understand mutations, structural folds, and regulatory boundaries.
The Tokenization Dilemma
The primary motivation for grouping nucleotides into k-mers was computational. Because standard Transformers scale quadratically with sequence length, researchers like Zhihan Zhou in the development of DNABERT-2 noted that k-mer tokenization was a necessary evil to process long genomic regions.
But this compression comes at a steep biological cost. As Eric Nguyen, Michael Poli, and colleagues argue in HyenaDNA, there is a persistent trade-off between sequence context and data resolution. When you aggregate nucleotides, you obscure fine-grained details. A single-nucleotide polymorphism (SNP)—the most common type of genetic variation—might be buried inside a k-mer token, making it invisible or fundamentally altering the "word" in a way that confuses the model.
Why Coarse Tokens Fail
Coarse tokenization schemes like BPE or fixed-length k-mers are notoriously brittle. Pablo Millán Arias and the team behind BarcodeBERT found that standard subword techniques are highly sensitive to single mutations.
Consider a "frame-shift" effect: if a model expects a sequence to be partitioned into fixed blocks, the insertion or deletion of a single base pair shifts the entire downstream partitioning. This makes biologically similar sequences look unrecognizable to the model. Zhihan Zhou points out that these shifts prevent models from learning stable, invariant genomic features. Furthermore, Aditya Malusare and Vaneet Aggarwal demonstrate in ENBED that treating nucleotides as individual tokens makes models significantly more resilient to sequencing noise and mutations.
Preserving the Grammar of Life
By shifting to single-nucleotide resolution, models can learn the "fundamental grammar" of DNA without the artifacts introduced by statistical grouping. Caleb Ellington and Dian Li show in AIDO.DNA that this resolution is essential for zero-shot variant effect prediction. If a model can "see" every base, it can precisely calculate how a single change impacts gene expression or pathogenic risk.
This granularity is equally critical for RNA. In OmniGenome, Ke Li and Heng Yang 0008 demonstrate that base-level resolution allows models to capture the precise structural constraints of RNA folding. Similarly, Zheng Wang uses single-nucleotide tokenization in Generanno to identify the exact start and stop boundaries of genes in fragmented metagenomic data—a task that is nearly impossible when nucleotides are blurred into k-mer blocks.
Architectures for High-Resolution DNA
The shift toward single-nucleotide resolution has been enabled by a new generation of efficient architectures. Because treating every base as a token results in extremely long sequences (often millions of tokens), standard Transformers are often replaced or augmented:
- Implicit Convolutions: HyenaDNA uses sub-quadratic convolutions to process up to 1 million tokens at single-nucleotide resolution.
- State Space Models: Aaron Gokaslan and Jingjing Zhai utilize the Mamba architecture in PlantCaduceus to model plant genomes at base-pair resolution, outperforming general-purpose models.
- Hybrid Models: JanusDNA by Qihao Duan combines Mamba and Attention to maintain bidirectional context while scaling to massive sequence lengths.
- Optimized Transformers: Kirill Vishniakov shows in Gene42 that with the right incremental training strategy, even dense attention models can handle 192,000 base pairs at single-nucleotide resolution.
The Future of Biological Inductive Bias
While raw resolution is powerful, the field is also exploring "biologically-informed" tokenization. Aleksandr Medvedev and Karthik Viswanathan suggest in BioFM that embedding structural annotations (like exons) directly into the tokenization process can be more effective than raw scaling.
Ultimately, the consensus across these 36 papers is clear: to understand the language of life, we must read it one letter at a time. As Kirill Vishniakov notes in Tokenization to Transfer, the choice of tokenization strategy often matters more than the scale of pretraining. By prioritizing resolution over compression, genomic models are finally beginning to capture the subtle, high-impact variations that define biology.