HGDNA: Overlapping k-mer Tokenization for Efficient Autoregressive Genomic Language Models

Xudong Wang, Siwei Cheng, Haozhe Hu
11/22/2026
cs.CLcs.AI

Official code: Sophie10001b/HGDNA (0 stars, Python, last commit 2025-04-29).

Abstract

The domain of genomic language models (gLMs) has advanced rapidly, with models pretrained on diverse multi-species genomic corpora demonstrating their remarkable capabilities. While the effect of simple nucleotide-level tokenization on long-context modeling is well established, overlapping k-mer tokenization remains underexplored in causal pretraining, despite its rich neighborhood information.

Show full abstract

Here, we thoroughly revisit overlapping tokenization and introduce HGDNA, a hybrid linear-attention gLM with causal language modeling (CLM) pretraining and a shared token-prediction interface for downstream adaptation, using a species-classification auxiliary task and shared class tokens. HGDNA delivers competitive performance across sequence classification and frozen-embedding evaluations, supporting both short-range and long-range tasks with 30M parameters and 19B pretraining tokens. Code is available at https://github.com/Sophie10001b/HGDNA

View on arXivView PDF

Code Implementations(1)

Sophie10001b/HGDNAOfficial100%
00Python, ShellApr 28, 20251 years ago

Similar Papers

Cite this paper

@article{wang2026hgdna,
  title  = {HGDNA: Overlapping k-mer Tokenization for Efficient Autoregressive Genomic Language Models},
  author = {Xudong Wang and Siwei Cheng and Haozhe Hu},
  year   = {2026},
  eprint = {2611.29400},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2611.29400v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2611.29400.svg)](https://codeofpaper.com/paper/2611.29400)

Discussion