bioRxivGenomicsPreprint
PatchDNA: A Flexible and Biologically-Informed Alternative to Tokenization for DNA
Alice Del Vecchio, Chantriolnt-Andreas KapouraniiD, Abdullah M AthariD, Agnieszka Dobrowolska, Andrew AnighoroiD, Benjamin Tenmann, Lindsay Edwards, Cristian RegepiD
Abstract
AO_SCPLOWBSTRACTC_SCPLOWDNA language models are emerging as powerful tools for representing genomic sequences, with recent progress driven by self-supervised learning. However, performance on downstream tasks is sensitive to tokenization strategies reflecting the complex encodings in DNA, where both regulatory elements and single-nucleotide changes can be functionally significant. Yet existing models are fixed to their initial tokenization strategy; single-nucleotide encodings result in long sequences that challenge transformer architectures, while fixed multi-nucleotide schemes like byte pair encoding struggle with character level modeling. Drawing inspiration from the Byte Latent Transformers combining of bytes into patches, we propose that patching provides a competitive and more efficient alternative to tokenization for DNA sequences. Furthermore, patching eliminates the need for a fixed vocabulary, which offers unique advantages to DNA. Leveraging this, we propose a biologically informed strategy, using evolutionary conservation scores as a guide for patch boundaries. By prioritizing conserved regions, our approach directs computational resources to the most functionally relevant parts of the DNA sequence. We show that models up to an order of magnitude smaller surpass current state-of-the-art performance in existing DNA benchmarks. Importantly, our approach provides the flexibility to change patching without retraining, overcoming a fundamental limitation of current tokenization methods.
- assay: DNA methylation
- assay: whole-genome sequencing
- research focus: benchmarking
- research focus: gene regulatory network inference
- research focus: variant effect prediction
- research focus: variant calling
- approach: deep learning
- approach: statistical model
- Citations
- 0
Reproducibility ledger
Nobody has reported trying to reproduce this paper yet. Did you replicate an experiment or run the code? Your report saves the next lab a week.
Sign in to file a reproducibility report.
Related papers
- Genomic Tokenizer: Toward a biology-driven tokenization in transformer models for DNA sequences
Bell Raj Eapen·bioRxiv·Apr 2, 2025
- Learning Strand-Equivariant Tokenizations of DNA with MirrorDNA
Nirjhor Datta, Swakkhar Shatabda, … M. Sohel Rahman·bioRxiv·Nov 6, 2026
- Distinguishing word identity and sequence context in DNA language models
Melissa Sanabria, Jonas Hirsch, Anna R. Poetsch·BMC BioinformaticsPeer-reviewed·Sep 13, 2024
- DNAGPT: A Generalized Pre-trained Tool for Multiple DNA Sequence Analysis Tasks
Daoan Zhang, Weitong Zhang, … Jianhua Yao·bioRxiv·Jul 11, 2023
- Carbon: Decoding the Language of Life
Loubna Ben Allal, Qiuyi Li, … Leandro von Werra·bioRxiv·May 25, 2026
- GENA-LM: A Family of Open-Source Foundational DNA Language Models for Long Sequences
Veniamin Fishman, Yuri Kuratov, … Mikhail Burtsev·Nucleic Acids ResearchPeer-reviewed·Dec 26, 2024