Minimizer schemes sample at least one k-mer from every window of w consecutive k-mers via a total order π on Σk. For DNA (σ=4), state-of-the-art lookup schemes such as GreedyMini and OptMini optimize a binary order (2k ranks) and lift it to Σk by ranking one bit-plane primarily and breaking 2k-way ties lexicographically on the other bit-plane. At (w,k)=(12,5), this projection locks sets of 32 DNA 5-mers into contiguous blocks and restricts the active universal hitting set (UHS) prefix to 448 of 10245-mers, giving exact expected DNA density 2246214544/234≈0.1307468945 for OptMini (k5-w12-13.txt) and 2248978620/234≈0.1309077849 for GreedyMini (w12_k5.gm). We bypass binary lifting and optimize directly over native 4-ary permutations (∣Σk∣=1024) from scratch via: (i) an exact de Bruijn endpoint transfer-matrix dynamic program over B(4,4) (256 states), (ii) a weighted set-cover ratio initializer (SetCover4) producing a compact U=314 UHS prefix, (iii) bitmask-sparse simulated annealing preserving the zero-cost w-walk-free tail invariant, and (iv) two-pass O(N) exact best-insertion sweeps with large-neighborhood ruin-and-recreate search. The resulting explicit 4-ary order achieves exact expected DNA density 2234289615/234≈0.130052772292 (density factor 1.690686), cutting charged windows by 11924929 contexts (−0.530890% relative) below OrensteinLab/Minimizers and 14689005 (−0.653141%) below w12_k5.gm at 8200-byte lookup storage (1280 bytes bit-packed). Warm-start relaxation stalls at U=379 (0.1301728789), whereas native 4-ary initialization breaks 32/32 high-bit blocks across all 2+2 nucleotide partitions.
Figures & tables
Scheme / Order
Charged ( /234 )
Density d
Factor (w+1)d
Our Rel. Δ
Native 4-ary cold-start (this work)
2,234,289,615
0.1300527723
1.690686
—
Native 4-ary warm-start ( U=379 )
2,236,353,030
0.1301728789
1.692247
−0.09227%
Minimizers k5-w12-13.txt ( OptMini )
2,246,214,544
0.1307468945
1.699710
−0.530890%
10-minimizers w12_k5.gm ( GreedyMini )
2,248,978,620
0.1309077849
1.701801
−0.653141%
k_extension_k16_w12.csv ( GreedyMini )
—
0.130908
1.701804
−0.653304%
angle-based ( 10-minimizers CSV)
—
0.13622105
1.770874
−4.528138%
Table 1: Exact and table-listed expected DNA minimizer densities at (w,k)=(12,5) over Σ={A,C,G,T} . Exact values denote integer charged contexts out of 417=17,179,869,184 .
Decoding biological information from long, repetitive DNA remains challenging. Genomic language models (gLMs) often follow the conventional language-model pretrain-and-adapt paradigm. However, the lack of inherent semantic segmentation and prior rules makes hand-crafted tokenizers like k-mer and BPE suboptimal. We introduce context-aware BQVAE for scalar quantization of DNA and BQDNA, an autoregressive gLM supporting multi-head codebooks. Comprehensive experiments reveal that: (1) unique training dynamics of vector quantization in DNA space, including the importance of alignment between training corpus and downstream data. (2) superior performance of BQVAE over hand-crafted tokenizers and vanilla VQVAE. (3) remarkable cross-species generalization capability of BQDNA, which achieves state-of-the-art performance with merely 0.1B multi-species training for BQVAE and 1 epoch training on hg38 for BQDNA, outperforming gLMs pretrained with 10∼100x more tokens. Our findings underscore the potential of learned vector quantization for genomic sequence representation. Code is available at https://github.com/Sophie10001b/BQDNA
Xudong Wang, Siwei Cheng, Haozhe Hu
Institute of Digital Twin, Eastern Institute of Technology, Ningbo · University of Science and Technology of China · Shanghai Jiao Tong University
CMinHash promises a new direction for designing MinHash algorithms with reduced variance and storage space via circulant permutations. However, the original variance analysis is difficult to extend to other MinHash estimators. We present a new approach that gives explicit and easily comparable approximate variance expressions, and use it to analyze the Minner estimator. Numerical experiments show that our variance expression matches the empirical mean square error (MSE) of estimates. Our work thereby demonstrates how to apply circulant permutation to other MinHash estimators and compute their approximate variance.
Keegan Kang, Avery Hood, Benedict H. W. Wong
Department of Mathematics and Statistics Bucknell University Lewisburg, PA 17837 · Institute for Infocomm Research (I2R) A*STAR Singapore, 138632
Learning effective representations of DNA sequences is fundamental to genomic data analysis, especially in the presence of high sequence similarity and inter-species DNA sharing. Existing approaches rely on deterministic embeddings, such as k-mer statistics or representations from large language models, which fail to capture the inherent uncertainty in short and ambiguous DNA fragments. We propose UncertainGen, a lightweight probabilistic representation learning framework that embeds DNA sequences as distributions in a latent space. The learned embedding variance captures positional ambiguity, increasing for sequences compatible with multiple genomic clusters. We establish theoretical guarantees on embedding distinguishability, and show that the probabilistic formulation induces a data-adaptive metric that expands the effective representational space. We evaluate UncertainGen in the metagenomic binning task to demonstrate the practical benefits of uncertainty-aware representations. Experiments show that probabilistic embeddings consistently outperform deterministic k-mer and large genome foundation models, while remaining lightweight and efficient.
Abdulkadir Celikkanat, Andres R. Masegosa, Mads Albertsen +1