arXiv:2610.18551stat.MLOct 2026

Manuscript Offprint

arXiv:2610.18551

Understanding Circulant Permutation to Extend the CMinHash Estimator

Keegan Kang, Avery Hood, Benedict H. W. Wong

Keegan Kang

Department of Mathematics and Statistics

Bucknell University

Lewisburg, PA 17837

kk054@bucknell.edu

Avery Hood

Department of Mathematics and Statistics

Bucknell University

Lewisburg, PA 17837

AveryHood1013@gmail.com

Benedict H.W. Wong

Institute for Infocomm Research (I2^{2}R)

A*STAR

Singapore, 138632

Benedict_Wong@a-star.edu.sg

Abstract

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.

1 Introduction

Consider two unweighted sets S1,S2⊆Ω\mathcal{S}_1, \mathcal{S}_2 \subseteq \Omega, where Ω={1,2,…,D}\Omega = \{1, 2, \dots, D\}. Let ∣S1∣=f1|\mathcal{S}_1| = f_1, ∣S2∣=f2|\mathcal{S}_2| = f_2, and a=∣S1∩S2∣a = |\mathcal{S}_1 \cap \mathcal{S}_2|, and f=∣S1∪S2∣f = |\mathcal{S}_1 \cup \mathcal{S}_2|. A common measure of similarity between these two sets is the Jaccard similarity, given by J=∣S1∩S2∣∣S1∪S2∣=af1+f2−aJ = \frac{|\mathcal{S}_1 \cap \mathcal{S}_2|}{|\mathcal{S}_1 \cup \mathcal{S}_2|} = \frac{a}{f_1 + f_2 - a}. As DD is usually large, directly computing the pairwise similarity between these sets is not computationally feasible, and the task is to instead estimate the Jaccard similarity of these sets via hashing algorithms. Measuring this similarity is useful in many applications, even in non statistical (or computer science) disciplines [16, 17, 20]. The traditional MinHash algorithm [3] uses random permutations to estimate JJ between any two sets, and since then there has been a large body of work on estimating JJ, which we divide into three categories.

New MinHash Approaches: These are examples of MinHash algorithms that describe a novel (at the time) approach to MinHash. For example, k-min sketches / Conditional Random Sampling records more information with one random permutation [4, 11], b-bit minwise hashing which stores the last b bits of information [8, 9], MinMaxHash uses the “other end” of the random permutation [5], One Permutation Hashing uses just one permutation [12, 18, 19], the Minner estimator and records more data for asymmetric hashing [1]. These contributions usually involve some kind of trade-off (e.g. data is required to be sparse for a better estimate, or greater computational time for reduced storage space), i.e. these methods do not work uniformly well for all datasets.

“Framework” that complements existing MinHash methods: These are techniques that can be applied to an existing algorithm to always improve its performance. The technique of control variates and maximum likelihood estimation can be applied to MinHash (and other similar algorithms) to

40th Conference on Neural Information Processing Systems (NeurIPS 2026).

always reduce their variance [6, 10], while CMinHash shows that “circulantly” moving rightwards across a permutation always reduces variance of estimates [14, 15].

Theoretical work which gives insight on the structure of MinHash: For example, [2] gives a concise theorem on query time, space usage, and update time of similarity search algorithms, [13] explains how to construct a MinHash type estimator across continuous probability distributions.

Our work belongs to the last two categories, where we re-examine the approach taken in the CMinHash paper [15], and propose a way to extend circulant permutations to other MinHash estimators.

Permutation61745832
Set 1●○○●○●○●
Set 2○●●●○○●●
Draw Order12345678
Set 1○●○●○●○●
Set 2●●●●○○●○

Figure 1: We have ∣S1∣=4|\mathcal{S}_1| = 4, ∣S2∣=5|\mathcal{S}_2| = 5. By treating a random permutation (left) as the indices where we sample without replacement (right), min⁡{π(S1)}=2\min\{\pi(\mathcal{S}_1)\} = 2, min⁡{π(S2)}=1\min\{\pi(\mathcal{S}_2)\} = 1, which is just the index where the first ∙\bullet appears.