cs.AINov 24, 2026

Breaking the Binary-Lifting Barrier for DNA Minimizer Density: Exact Optimization of a Native 4-ary Order at (w, k) = (12, 5)

Authors: Stefan G. Creadore, Peyton Berntsen

Organizations: Independent Researcher, USA

Abstract

Minimizer schemes sample at least one kk-mer from every window of ww consecutive kk-mers via a total order ππ on ΣkΣ^k. For DNA (σ=4σ= 4), state-of-the-art lookup schemes such as GreedyMini and OptMini optimize a binary order (2k2^k ranks) and lift it to ΣkΣ^k by ranking one bit-plane primarily and breaking 2k2^k-way ties lexicographically on the other bit-plane. At (w,k)=(12,5)(w, k) = (12, 5), this projection locks sets of 3232 DNA 55-mers into contiguous blocks and restricts the active universal hitting set (UHS) prefix to 448448 of 10241024 55-mers, giving exact expected DNA density 2246214544/234≈0.13074689452246214544 / 2^{34} \approx 0.1307468945 for OptMini (k5-w12-13.txt) and 2248978620/234≈0.13090778492248978620 / 2^{34} \approx 0.1309077849 for GreedyMini (w12_k5.gm). We bypass binary lifting and optimize directly over native 44-ary permutations (∣Σk∣=1024|Σ^k| = 1024) from scratch via: (i) an exact de Bruijn endpoint transfer-matrix dynamic program over B(4,4)B(4, 4) (256256 states), (ii) a weighted set-cover ratio initializer (SetCover4) producing a compact U=314U = 314 UHS prefix, (iii) bitmask-sparse simulated annealing preserving the zero-cost ww-walk-free tail invariant, and (iv) two-pass O(N)O(N) exact best-insertion sweeps with large-neighborhood ruin-and-recreate search. The resulting explicit 44-ary order achieves exact expected DNA density 2234289615/234≈0.1300527722922234289615 / 2^{34} \approx 0.130052772292 (density factor 1.6906861.690686), cutting charged windows by 1192492911924929 contexts (−0.530890%-0.530890\% relative) below OrensteinLab/Minimizers and 1468900514689005 (−0.653141%-0.653141\%) below w12_k5.gm at 82008200-byte lookup storage (12801280 bytes bit-packed). Warm-start relaxation stalls at U=379U = 379 (0.13017287890.1301728789), whereas native 44-ary initialization breaks 32/3232/32 high-bit blocks across all 2+22+2 nucleotide partitions.

Figures & tables

Explore similar work

Nov 22, 2026

BQDNA: Multi-Head Binary Spherical Quantization for Genomic Sequence Modeling

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∼\sim100x more tokens. Our findings underscore the potential of learned vector quantization for genomic sequence representation. Code is available at https://github.com/Sophie10001b/BQDNA
Oct 13, 2026

Understanding Circulant Permutation to Extend the CMinHash Estimator

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.
Sep 30, 2025

UncertainGen: Scalable Uncertainty-Aware Representation Learning of DNA Sequences

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.