VQDNA: Unleashing the Power of Vector Quantization for Multi-Species Genomic Sequence Modeling
Siyuan Li, Zedong Wang, Zicheng Liu, Di Wu, Cheng Tan, Jiangbin Zheng, Yufei Huang, Stan Z. Li
TL;DR
VQDNA tackles the limitation of hand-crafted genome tokenization by learning a discriminative genome vocabulary with a vector-quantized codebook (VQ-VAE) and augments it with Hierarchical Residual Quantization (HRQ) to create coarse-to-fine token representations. The approach follows a three-stage pipeline: learn the vocabulary (Stage 1), pre-train a Transformer encoder with masked modeling on tokenized genomes (Stage 2), and fine-tune on diverse downstream tasks (Stage 3). Across 32 genome datasets, VQDNA and especially HRQ achieve state-of-the-art or competitive results with fewer parameters, and analyses on SARS-CoV-2 demonstrate biologically meaningful, fine-grained pattern awareness in the learned vocabulary. The work advances cross-species genomic sequence modeling by providing a data-driven, scalable genome vocabulary that can generalize to broad genomics tasks and potentially enable generation-style applications in the future.
Abstract
Similar to natural language models, pre-trained genome language models are proposed to capture the underlying intricacies within genomes with unsupervised sequence modeling. They have become essential tools for researchers and practitioners in biology. However, the hand-crafted tokenization policies used in these models may not encode the most discriminative patterns from the limited vocabulary of genomic data. In this paper, we introduce VQDNA, a general-purpose framework that renovates genome tokenization from the perspective of genome vocabulary learning. By leveraging vector-quantized codebooks as learnable vocabulary, VQDNA can adaptively tokenize genomes into pattern-aware embeddings in an end-to-end manner. To further push its limits, we propose Hierarchical Residual Quantization (HRQ), where varying scales of codebooks are designed in a hierarchy to enrich the genome vocabulary in a coarse-to-fine manner. Extensive experiments on 32 genome datasets demonstrate VQDNA's superiority and favorable parameter efficiency compared to existing genome language models. Notably, empirical analysis of SARS-CoV-2 mutations reveals the fine-grained pattern awareness and biological significance of learned HRQ vocabulary, highlighting its untapped potential for broader applications in genomics.
