MaxGeomHash bridges MinHash and FracMinHash for scalable similarity estimation using sub-linear k-mer sketching.
Mahmudur Rahman Hera, David Koslicki, Conrado Martinez
Rutgers, The State University of New Jersey, The Pennsylvania State University, University Park; mrahmanh@andrew.cmu.edu. · The Pennsylvania State University, University Park.
Key points
From the paper's conclusion- Here, we introduce a novel sketching algorithm, MaxGeomHash, which for a specified integer parameter b ≥ 1, will produce a random sample of size b lg(n/b) + O(b) without knowing the total number of k-mers n beforehand.
Abstract
With the surge in sequencing data generated from biological studies, designing scalable computational techniques has become essential. One effective strategy to enable large-scale computation is to extract k-mers from long sequences, and summarize large k-mer sets into random samples (a.k.a. sketches). These sketches enable rapid estimation of similarity metrics such as Jaccard or cosine, and thus facilitate scalable computations. Popular sketching tools in bioinformatics range from the MinHash algorithm to generate fixed-size sketches; to FracMinHash algorithm to retain a fraction of all k-mers. Here, we introduce a novel sketching algorithm, MaxGeomHash, which for a specified integer parameter b ≥ 1, will produce a random sample of size b lg(n/b) + O(b) without knowing the total number of k-mers n beforehand. Notably, this is the first permutation-invariant and parallelizable sketching algorithm to date that can produce sublinear sketches. We also introduce a variant, α-MaxGeomHash, that produces sketches of size Θ(nα) for a given α; ∈ (0, 1). We study the algorithm's properties, analyze generated sample sizes, verify theoretical results empirically, provide a fast implementation, and investigate similarity estimate quality. With intermediate-sized samples between constant (MinHash) and linear (FracMinHash), MaxGeomHash balances efficiency (smaller samples need less processing) with accuracy (larger samples yield better estimates). On genomic datasets, we demonstrate that MaxGeomHash enables pairwise similarity estimation at a large scale, and MaxGeomHash sketches enable similarity estimation more accurately than MinHash, and more efficiently than FracMinHash.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- HyperSketch: de Bruijn graph sketching for genomic similarity estimation with Hyperdimensional ComputingbioRxiv · 2026
- Super Bloom: Fast and Precise Filter for Streaming k-Mer Queries.Journal of computational biology : a journal of computational molecular cell biology · 2026
- Batch, Prefetch, Skip, Orient, Squeeze: Faster, Smaller k-mer dictionaries via the Spectral Burrows-Wheeler transformbioRxiv · 2026
- Accelerating k-mer-based sequence filteringPeer Community Journal · 2026
- Even more space efficient genome sketching with LashbioRxiv · 2026
- AutoCSF: Provably Space-Efficient Indexing of Skewed Key-Value Workloads via Filter-Augmented Compressed Static FunctionsarXiv · 2026