Manuscript Offprint
arXiv:2610.18551Understanding Circulant Permutation to Extend the CMinHash Estimator
Keegan Kang
Department of Mathematics and Statistics
Bucknell University
Lewisburg, PA 17837
Avery Hood
Department of Mathematics and Statistics
Bucknell University
Lewisburg, PA 17837
Benedict H.W. Wong
Institute for Infocomm Research (IR)
A*STAR
Singapore, 138632
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 , where . Let , , and , and . A common measure of similarity between these two sets is the Jaccard similarity, given by . As 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 between any two sets, and since then there has been a large body of work on estimating , 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.
| Permutation | 6 | 1 | 7 | 4 | 5 | 8 | 3 | 2 |
|---|---|---|---|---|---|---|---|---|
| Set 1 | ● | ○ | ○ | ● | ○ | ● | ○ | ● |
| Set 2 | ○ | ● | ● | ● | ○ | ○ | ● | ● |
| Draw Order | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 |
|---|---|---|---|---|---|---|---|---|
| Set 1 | ○ | ● | ○ | ● | ○ | ● | ○ | ● |
| Set 2 | ● | ● | ● | ● | ○ | ○ | ● | ○ |
Figure 1: We have , . By treating a random permutation (left) as the indices where we sample without replacement (right), , , which is just the index where the first appears.
Theorem 1. (Broder's MinHash) Suppose we have independent random permutations on . Let . Then , with .
A random permutation on can be thought of as a sequence of draws under sampling without replacement, where is the draw where the first appears in the first row, and as the draw where the first appears in the second row. Figure 1 shows an example where . Let the set , and , . Each permutation in Broder's MinHash is equivalent to a trial where a "success" is drawing an element in before an element in , and an estimator for is found by finding the probability that an element from is seen before an element in . Hence by Theorem 1, we get an estimate for by recording the proportion of "successes" for independent random permutations (trials), .
More generally, other MinHash algorithms can be represented by different sequential objects, and , and an estimator for can be found by finding the probability that elements from are seen before elements in (we give an example in Section 3).
| Permutation | 3 | 2 | 6 | 1 | 7 | 4 | 5 | 8 |
|---|---|---|---|---|---|---|---|---|
| Set 1 | ● | ○ | ○ | ● | ○ | ● | ○ | ● |
| Set 2 | ○ | ● | ● | ● | ○ | ○ | ● | ● |
| Draw Order | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 |
|---|---|---|---|---|---|---|---|---|
| Set 1 | ● | ○ | ● | ● | ○ | ○ | ○ | ● |
| Set 2 | ● | ● | ○ | ○ | ● | ● | ○ | ● |
Figure 2: The permutation in Figure 2 is shifted rightward from Figure 1 by 2 units. Then .
CMinHash extends Broder's MinHash by reducing the independent permutations needed to two independent permutations, given by , and we write this as CMinHash() following the notation in [15]. First, the indices in the sets are permuted by the random permutation . Second, the random permutation is generated, and is re-used times by shifting circulantly rightwards by 1 unit times. More formally, let denote shifting the permutation units to the right. Figure 2 gives an example of shifting the permutation in Figure 1 rightwards by 2 units. By linearity of expectations, , hence recording the proportion of “successes” under K shifts gives an estimate of J. A less compact version is on Page 13 in Appendix A.1. However, the variance of this estimate is slightly complicated, although lower than Broder’s MinHash (see Page 14 in Appendix A.2 for expression).
1.2 Our Contributions And Paper Organization
CMinHash( , ) promises a new direction to design hashing algorithms using the 2 permutations ( , ) and K circulant shifts of (saving on storage space), but having a smaller variance than K independent permutations under traditional MinHash (and similar algorithms).
While the algorithm behind CMinHash( , ) is straightforward to implement (see Algorithm 2 in Appendix A.1), the theoretical analysis of the variance forms a substantial bulk of the original paper.
Moreover, the approach the original paper adopts in terms of random permutations makes the proofs of their Lemma 2.4 (used to compute expectations under ) and Theorem 3.1 (used to compute the variance of the estimates under and ) difficult to replicate in other settings due to the random permutation paradigm and combinatorial calculations. Moreover, the result of Theorem 3.1 (variance of the CMinHash estimator) in [15] gives the variance as a combinatorial sum under constraints. Appendix A.2 notes that one equality used in their proof does not hold in general. This makes it difficult to theoretically compare the CMinHash variance against variance of other algorithms, since Theorem 3.4 and Proposition 3.6 show that the variance (given by the combinatorial sum) is only lower than Broder's MinHash estimate, and says nothing about other MinHash algorithms. The full statements of relevant lemmas, theorems, and propositions in [15] can be found in Appendix A.2.
Hence, researchers using a circulant permutation to improve other MinHash estimators would need to independently show that using a circulant permutation theoretically gives a lower variance compared to different MinHash algorithms, which is non-trivial if following similar approaches as in the original paper. Secondly, researchers may also want to compare the performance of two algorithms both using a circulant permutation framework. This is difficult to do theoretically, as the circulant permutation variance is given as a combinatorial sum under constraints if using the approach in [15].
While simulations can be run to compare the empirical performances of a proposed circulant permutation estimator against baselines and sidestep theory, there is no guarantee that a proposed estimator always has reduced variance in all simulated cases, since estimators can have different performance when datasets vary (e.g. sparsity of dataset). This leads us to give the following contributions.
Contribution One: We give a new proof of Lemma 2.4 in [15], using a different paradigm in Section 2. This allows simpler computation of expectations under the permutation . This approach can be applied to other MinHash estimators, and we give an example in Section 3.
Contribution Two: We derive a simpler expression for the variance in Theorem 3.1 in [15] under the assumption that , which is common (e.g. see [9, 12, 19]). Our result does not require the equality discussed in Appendix A.2, and is slightly stronger in this respect. This allows easier analysis and comparison of the variance under the permutations and . More specifically, this gives a simpler variance expression which is easier to analyze (and compare) with a remainder of order when , and of order when is bounded away from zero, which we explain in Section 2. We remark that this gives approximately accurate variances even for small . This approach can also be applied to other MinHash estimators to get variance expressions for the corresponding circulant permutation estimator, with an example in Section 3.
Contribution Three: We show how our approach can be used to analyze MinHash estimators based on circulant permutation, which we demonstrate on an asymmetric hashing setup with the Minner estimator. We pick the Minner estimator for two reasons: a) to show how to do variance analysis when the sets and are different, and b) how to extend the circulant permutation setup with counts, i.e. finding the expected number of elements seen in before an element in .
Overall, our paper provides a direct way to compute expectations and variance under circulant permutation, making it easier to analyze and extend MinHash estimators.
Section 2 (and A.1-A.2) give a broader overview of CMinHash. Section 3 applies our approach to the Minner estimator involving counts of events. Section 4 discusses the importance of our results.
2 CMinHash in Detail
The sets described on Page 1 can be visualized as objects in sequential order (see Figure 1). Let of , be the of and , and be the of .
Definition 1. Definition 2.1 in [15] (modified). Define the location vector , where . corresponds to the type of the object, which is a if , if or , and if .
Let which is the CMinHash estimator. We write for compactness. is due to linearity of expectations (equal probability of regardless of starting point after applying ), but computing requires knowing , as are correlated.
Definition 2. Definition 2.2 in [15]. For , let be the set . For , define
with the following constraints for all ,
The nine tuples in Definition 2 correspond to symbols at in the location vector .
Lemma 1. Lemma 2.4 in [15]. For any , with , then .
We give a simpler proof in Appendix A.3 with a pictorial intuition in Table 4, and explain where our approach differs to [15]. Following the sampling without replacement paradigm where a random permutation can be thought of as the draw order, then for a fixed , then applying means we are drawing the indices from the location vector in some random order, and we know how many of each indices there are using Definition 2. The first entry in the tuple then corresponds to what is seen when is shifted times to the right, and the second entry corresponds to what is seen when is shifted times to the right. Since a in the location vector means that the hashed values collide, then can be thought of as the probability of a sequence of draws of the nine different types of tuples where the first appears before the first for both entries of the tuple, as the random permutation is a sequence of draws without replacement. We call such a sequence of draws a success, with two examples below.
• . The first for the second entry of the tuples appeared before the first for the second entry of the tuples.
More examples are given by Table 2 and Table 3 in Appendix A.3. Hence, we just need to compute the probabilities of seeing the tuple we want before other invalid tuples, which is much simpler. The intuition behind this simplification can be seen behind this following analogy: Consider a bag with one blue marble, two red marbles, and N green marbles. The probability of drawing a blue marble before a red marble is always , regardless of N. We can do the same with and , regardless of .
Next, we compute the variance of the CMinHash( , ) estimator under K shifts adopting a different approach, which we outline here. Suppose D is large. Under the random permutation , both elements in the tuple can be thought of drawing entries without replacement.
from a population of size with three different objects . More specifically, each set can be expressed as
\left|\left|\left\{(A,B)\mid\Delta\right\}\right|=\sum_{s=1}^{D}\mathbb{1}_{\left\{(x_{s},x_{s+\Delta})=(A,B)\right\}}. \tag{1}Therefore, we can take expectations across (functions of) (1). For example,
For the sparse case, we first condition on the positions of the entries which are not . This gives an exact expression whose first term can be computed by considering when two such entries are next to each other. For the non sparse case, we use the delta method on the same exact expression. The details are in Appendix A.4.
Lemma 2. Suppose we pre-process the location vector with the random permutation . Let , and suppose . For all , if , then
If f/D is bounded away from zero, then
We prove this in Appendix A.4.
Definition 3. For , let , where .
Definition 3 accounts for the proportion of terms in the covariance where .
Theorem 2. Let . Suppose we pre-process the location vector with the random permutation , and generate an independent permutation . Let . If ,
If f/D is bounded away from zero, then
Proof. We give the proof in Appendix A.4.
The proof of Lemma 2 also gives an exact negative expression for every covariance. Hence, for , the variance under is smaller than the variance under independent permutations. If is bounded away from zero, the first-order variance reduction can be thought of as approximately scaled by . The leading variance ratio relative to MinHash is independent of when are fixed, which also verifies the Uniform Superiority (Theorem 3.4) and Consistent Improvement (Proposition 3.6) statements in [15].




Figure 3: Empirical MSE vs theoretical approximate variance in Theorem 2 of MinHash and CMinHash . The dotted lines overlap almost perfectly (up to Monte Carlo error), which shows our theoretical approximate variance matches the empirical variance.
We first construct a similar experiment to [15], generating synthetic vectors with varying , , in Figure 3, averaging over 10000 iterations, and overlaying the theoretical approximation with the empirical mean square error (MSE) of the estimates. The dotted lines overlap almost perfectly with the solid lines at and .
We do more experiments in Appendix A.5 (Figure 6) to investigate if the approximation is accurate in edge cases when . At , for , the variance approximation is slightly higher than the empirical MSE. But at for , both lines overlap each other almost perfectly. We do more experiments on the Words dataset [7] (Figure 7 in Appendix A.5), where the theoretical variance approximation and empirical MSE lines also overlap each other almost perfectly.
Hence, we believe our approximation of the theoretical variance is practical enough to do comparisons.
We argue that our approach in Lemma 2 should be how MinHash algorithms are analyzed, especially with large , as large necessitated the need of MinHash in the first place.
3 Applying the Circulant Permutation Framework To Asymmetric Hashing
A natural question to ask is if our work is generalizable to other MinHash algorithms. We show our approach can be applied to the Minner estimators [1] (asymmetric hashing), and theoretically demonstrate a circulant permutation framework with reduced variance.
The asymmetric hashing setup considers a baseline set relative to , and estimates the set overlap (which can then be used to estimate the Jaccard similarity , since ), under the assumption that the set cardinalities are all known. We give more details of the Minner estimators in Appendix B.1.
| Draw Order | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 |
|---|---|---|---|---|---|---|---|---|
| Set 1 | ○ | ● | ○ | ● | ● | ● | ○ | ● |
| Set 2 | ○ | ○ | ○ | ○ | ○ | ○ | ○ | ● |
Figure 4: We have , with , which can be thought of as the presence (or absence) of a at draw 8 for , and , which can be thought of as counting how many were seen in previous draws 1-7 for .
Theorem 3. Minner estimators (heavily modified from [1]) Suppose we have independent random permutations on , and we want to estimate the set overlap between and , where
is the baseline set. Let , and let be the count of elements in strictly less than . Then the two estimators and both have expectation a. Their variances are, respectively, and .
We remark that thinking of the random permutation as the draw order in sampling without replacement (see Figure 4) makes understanding the Minner estimators straightforward.
3.1 Applying the Circulant Permutation framework to a different setup of the location vector
Without loss of generality, consider estimating the set overlap between and , where we look at the random variable . The question we aim to resolve is: How can the circulant permutation framework be applied when we are not recording both ?
In Section 2, we introduced and , where we find the probability that an element from is seen before an element from . In the context of , we set , and , as we continue drawing if we see a or . Let of elements of in (success), of elements of in (failure), and (neutral). There are , , and . To generalize this, the constraints of the sets are now
It is clear that under one permutation, the variance of drawing an element from before is regardless of the size of . Let be the variance of 1 trial, and the variance of K independent trials (i.e. under K independent permutations). This leads to the following corollary.
Corollary 1. Suppose we pre-process the location vector with a random permutation , and let . Then for any , with ,
Let be defined as in Definition 3, and let . If , then
If is bounded away from zero, then
Proof. We substitute and in Lemma 1, Lemma 2, and Theorem 2. Since , the quantity becomes .
By the exact covariance identity (16), the variance under circulant shifts is always reduced compared to independent permutations. The size of the reduction depends on . In particular, MinHash algorithms where and are small relative to have a small variance reduction when is applied.
With respect to the Minner estimator , we can apply Corollary 1 and immediately get the theoretical approximation of the variance of by letting , .
3.2 Applying the Circulant Permutation framework to counts
Now consider estimating the set overlap between and , where we look at the random variable . The question we aim to resolve is: How can the circulant permutation framework be applied when we are recording counts of elements in before the first element in is seen?
We still construct the two sets , , but give a different meaning for elements in . Let , and with and . Then the setup becomes: “count how many elements in are seen before the first element in ”. Equivalently this would be “count how many are seen before the first is drawn” for the location vector .
From Lemma 5 in Appendix B.2, the variance of observing elements from before the first is . Let be the variance of 1 trial, and the variance of independent trials.
Lemma 3. Suppose we pre-process the location vector with a random permutation . Let the random variable seen before the first under the random permutation . Let . Then for any , with ,
If and are fixed as , then, when is even and ,
and otherwise,
If both and are bounded away from zero, then
Theorem 4. Suppose we pre-process the location vector with a random permutation . Let the random variable seen before the first under the random permutation . Let , and let be defined as in Definition 3. If and are fixed as , then
If both and are bounded away from zero, then
Proof. The proof is similar to Theorem 2, where we add up the covariance terms.
Each term within the square brackets in Theorem 4 is < 1. Hence the circulant permutation estimate gives a lower variance asymptotically. Substituting and gives the variance approximation of .
To verify the approximations, we run experiments on synthetic data at with varying values over 10000 iterations, where we similarly overlay the approximate theoretical variance when

Figure 5: Empirical MSE vs theoretical approximate variance in Theorem 4 for count data. The dotted lines overlap almost perfectly for the last three plots.
do not go to zero with the empirical MSEs in Figure 5. Unlike Figure 3, where the approximate theoretical variance overlaps with the empirical MSE, we see that at , , we see the theoretical variance curves do not overlap the empirical MSEs. However, how good is our variance approximation for if is large, and , are small?
In Appendix B.3, we run another experiment averaged over 10000 iterations where we fix , and increase this tuple up to , with . In general, as increases, both our approximation variance ratios match the empirical MSEs. Finally, we do experiments with the Words dataset as in Section 2 (Figure 14 in Appendix B). For the word pairs we choose, both theoretical approximate variance curves overlap the empirical MSE curves perfectly, even for the HONG-KONG word pair, where is sparse.
4 Discussion and Conclusion
Each observation recorded by the circulant permutation estimator is correlated with another observation , due to the circulant shift. Thus in order to theoretically compute (or compare) the variance of such an estimate, the corresponding covariance terms need to be computed. Computing is the first hurdle in circulant permutation algorithms, yet is needed to compute the variances for such estimators.
But by viewing MinHash under the paradigm of the draw order under sampling without replacement, we simplify the proof to compute in [15] via our approach in Lemma 1. Moreover, by using indicator functions and considering exchangeability, we can further compute for counts as well (our Lemma 3), showing our approach applies beyond the original CMinHash setting.
The second hurdle with circulant permutations is finding the variance of the corresponding estimate. While Theorem 3.1 in [15] states a combinatorial expression for the variance, one equality in its proof does not hold in general (see Appendix A.2). Even apart from this point, the expression is not easily tractable, nor easy to analyze or compare against other MinHash algorithms, e.g. [15] had Theorem 3.4, Proposition 3.6, and many, many experiments in their paper just to compare CMinHash with MinHash (without even comparing against other MinHash algorithms). Researchers building on the circulant permutation framework would face similar technical difficulties when comparing variances.
Our approach suggests that exact accuracy is not needed, particularly because MinHash algorithms are used when D is large in the first place. Lemma 2 shows that by letting D be large, we can do a straightforward computation to compute approximations of the variance. We demonstrate how to compute an approximation when set sizes are sparse relative to D, and when they are non sparse. Both approximations are accurate for practical purposes, allowing theoretical comparison of variances with other MinHash algorithms in the large D scenario.
Furthermore, our approach is not limited to CMinHash and applies to other MinHash estimators based on circulant permutation. The location vector setup of can be characterized as: “stop at the , do something at a , and continue at a ”. Our proof approach in Lemma 1 can be modified to a “stop at the ” scenario, and our approach with indicator random variables in Lemma 3 can account for a wide range of do somethings, by conditioning on the element itself, providing a direct way to compute expectations and variance for such estimators.
Thus, we believe our work makes circulant permutation estimators easier to analyze and extend. While state of the art algorithms are important, it is equally important to be able to understand and extend these algorithms. We provide a clear method to compute expectations and variance, and our proof techniques can be used directly to extend circulant permutations for other MinHash algorithms.
Limitations: Generally, needs to be large for accurate approximations. Our experiments show that even (words data) gives good approximations. In practice, is much larger (e.g. ).
Acknowledgments and Disclosure of Funding
We would like to thank Bucknell's Presidential Fellow program, which paid a stipend to Avery Hood working on this paper.
References
[1] Thomas Ahle. Minner: Improved similarity estimation and recall on MinHashed databases, 2021. URL https://thomasahle.com/papers/minner.pdf. Manuscript.
[2] Thomas Dybdahl Ahle and Jakob Bæk Tejs Knudsen. Subsets and supermajorities: Optimal hashing-based set similarity search. In 2020 IEEE 61st Annual Symposium on Foundations of Computer Science, pages 728–739. IEEE, 2020. doi: 10.1109/FOCS46700.2020.00073.
[3] Andrei Z. Broder. On the resemblance and containment of documents. In Proceedings of the Conference on Compression and Complexity of Sequences, pages 21–29. IEEE, 1997. doi:10.1109/SEQUEN.1997.666900.
[4] Edith Cohen and Haim Kaplan. Summarizing data using bottom-k sketches. In Proceedings of the Twenty-Sixth Annual ACM Symposium on Principles of Distributed Computing, pages 225–234. Association for Computing Machinery, 2007. doi: 10.1145/1281100.1281133.
[5] Jianqiu Ji, Jianmin Li, Shuicheng Yan, Qi Tian, and Bo Zhang. Min-max hash for Jaccard similarity. In 2013 IEEE 13th International Conference on Data Mining, pages 301–309. IEEE, 2013. doi: 10.1109/ICDM.2013.119.
[6] Keegan Kang, Sergey Kushnarev, Wei Pin Wong, Rameshwar Pratap, Haikal Yeo, and Chen Yijia. Improving hashing algorithms for similarity search via MLE and the control variates trick. In Proceedings of the 13th Asian Conference on Machine Learning, volume 157 of Proceedings of Machine Learning Research, pages 814–829. PMLR, 2021. URL https://proceedings.mlr.press/v157/kang21a.html.
[7] Ping Li and Kenneth W. Church. Using sketches to estimate associations. In Proceedings of Human Language Technology Conference and Conference on Empirical Methods in Natural Language Processing, pages 708–715, Vancouver, British Columbia, Canada, October 2005. Association for Computational Linguistics. URL https://aclanthology.org/H05-1089/.
[8] Ping Li and Arnd Christian König. b-bit minwise hashing. In Proceedings of the 19th International Conference on World Wide Web, pages 671–680. Association for Computing Machinery, 2010. doi: 10.1145/1772690.1772759.
[9] Ping Li and Arnd Christian König. Theory and applications of b-bit minwise hashing. Communications of the ACM, 54(8):101–109, 2011. doi: 10.1145/1978542.1978566.
[10] Ping Li and Christian König. Accurate estimators for improving minwise hashing and b-bit minwise hashing. arXiv:1108.0895, Aug. 2011. Submitted 3 Aug. 2011. DOI: 10.48550/arXiv.1108.0895.
[11] Ping Li, Kenneth W. Church, and Trevor J. Hastie. Conditional random sampling: A sketch-based sampling technique for sparse data. In Advances in Neural Information Processing Systems 19, pages 873–880, 2006. URL https://proceedings.neurips.cc/paper/2006/hash/aa6b7ad9d68bf3443c35d23de844463b-Abstract.html.
[12] Ping Li, Art B. Owen, and Cun-Hui Zhang. One permutation hashing. In Advances in Neural Information Processing Systems 25, pages 3122–3130, 2012. URL https://proceedings.neurips.cc/paper_files/paper/2012/hash/eaa32c96f620053cf442ad32258076b9-Abstract.html.
[13] Ping Li, Xiaoyun Li, and Gennady Samorodnitsky. P-MinHash algorithm for continuous probability measures: Theory and application to machine learning. In Proceedings of the 31st ACM International Conference on Information & Knowledge Management, pages 1177–1187. Association for Computing Machinery, 2022. doi: 10.1145/3511808.3557413.
[14] Xiaoyun Li and Ping Li. C-OPH: Improving the accuracy of one permutation hashing (OPH) with circulant permutations. arXiv preprint arXiv:2111.09544, 2021. URL https://arxiv.org/abs/2111.09544.
[15] Xiaoyun Li and Ping Li. C-MinHash: Improving minwise hashing with circulant permutation. In Proceedings of the 39th International Conference on Machine Learning, volume 162 of Proceedings of Machine Learning Research, pages 12857–12887. PMLR, 2022. URL https://proceedings.mlr.press/v162/li22m.html.
[16] Brian D. Ondov, Todd J. Treangen, Pål Melsted, Adam B. Mallonee, Nicholas H. Bergman, Sergey Koren, and Adam M. Phillippy. Mash: Fast genome and metagenome distance estimation using MinHash. Genome Biology, 17(1):132, 2016. doi: 10.1186/s13059-016-0997-x.
[17] Mahmudur Rahman Hera and David Koslicki. Estimating similarity and distance using FracMinHash. Algorithms for Molecular Biology, 20(1):8, 2025. doi: 10.1186/s13015-025-00276-8.
[18] Anshumali Shrivastava. Optimal densification for fast and accurate minwise hashing. In Proceedings of the 34th International Conference on Machine Learning, volume 70 of Proceedings of Machine Learning Research, pages 3154–3163. PMLR, 2017. URL https://proceedings.mlr.press/v70/shrivastava17a.html.
[19] Anshumali Shrivastava and Ping Li. Densifying one permutation hashing via rotation for fast near neighbor search. In Proceedings of the 31st International Conference on Machine Learning, volume 32 of Proceedings of Machine Learning Research, pages 557–565. PMLR, 2014. URL https://proceedings.mlr.press/v32/shrivastava14.html.
[20] Tom Tseng, Laxman Dhulipala, and Julian Shun. Parallel index-based structural graph clustering and its approximation. In Proceedings of the 2021 International Conference on Management of Data, pages 1851–1864. Association for Computing Machinery, 2021. doi: 10.1145/3448016.3457278.
A Appendix: CMinHash and Alternative Proofs
A.1 The CMinHash( , ) algorithm
CMinHash( , ) is simple to implement, as it just requires a small tweak from Broder's original MinHash. We place Algorithm 1 and Algorithm 2 side by side for comparison. The pre-processing stage for CMinHash (and by extension, algorithms using circulant permutation) consists of lines 1-4 in Algorithm 2, which replaces the independent permutation within the loop (e.g. Line 6 in Algorithm 1).
Algorithm 1: Broder's MinHash
Input:
Output:
1 2 3 4 5 for to do 6 Generate permutation 7 8 9
Algorithm 2: CMinHash( , )
Input:
Output:
1 Generate permutation 2 3 4 Generate permutation 5 for to do 6 7 8
As both and are unbiased estimators of due to linearity of expectation, the main result of [15] is to show that for (always satisfied, since if , computing directly is more efficient), provided .
This is a surprising and impactful result, since K in Broder's MinHash is the number of independent permutations, while K in CMinHash( , ) is the number of circular shifts of one permutation. This means that the two independent permutations , can lead to a lower variance compared to K independent permutations, and storing these two independent permutations in memory is cheaper than storing K independent permutations. Conventional thought assumes that because the circulant shift is used for one permutation , the variance necessarily needs to be higher.
However, we have not seen many papers building on the work of [15] (e.g. using circulant permutations for other MinHash type algorithms), and we hypothesize this is due to the technical difficulty of the approaches in the paper, e.g. deriving a variance theorem equivalent to Theorem 3.1 in [15], and then showing that the theoretical variance is indeed lower than other benchmark estimates.
A.2 Lemmas, Theorems and Propositions in the CMinHash( , ) paper
We give the original lemmas, theorems and propositions used in the seminal CMinHash paper, since we refer to them in the main text, and only modify them slightly to fit our notation.
We start with the following definition.
Definition 4. Definition 2.2 in [15]
For , let be the set . For , define
with the following constraints for all ,
With this definition, [15] gave an expression for .
Theorem 5. Theorem 3.1 in [15] (as stated)
Suppose and . Then
where and
with the feasible set satisfies the constraints in Definition 4 and
The proof of this theorem can be found in [15].
Remark: During the rebuttal period of NeurIPS 2026, we wanted to further convince reviewers that our approach for the Minner estimator (Section 3) was still simpler to understand, compared to the combinatorial expression we would get, following Li's approach. We never were able to replicate Li's approach for the Minner estimator, and we thought this was because we did not understand enough combinatorics.
Since ChatGPT 5.6 SOL was released, we asked it to apply Li's approach to the Minner estimator, in order to craft a better rebuttal for reviewers. Unfortunately, SOL found an error in Theorem 3.1, invalidating their approach.
The following italics is output (slightly modified) from SOL, and the authors take full responsibility for it.
In the proof of Theorem 3.1, it is stated that is the same for all because is random. This does not hold in general. For example, take , , , . Then , and . After fixing the position of , the three possible location vectors are , and . We compute the expectation and variance by first principles. By Lemma 1,
The variance is hence
On the other hand, applying Theorem 3.1 gives .
In contrast, the approach in our paper considers every value of . To be precise, the derivation in the proof of Theorem 3.1 uses , but the variance also involves the corresponding expectations for . Even apart from this point, the variance is expressed as a combinatorial sum under several constraints, which makes it difficult to compare theoretically against the variance given by other MinHash algorithms. Moreover, the current approach taken to derive the result in Theorem 3.1 would need to be replicated for other MinHash type algorithms using circulant permutation, which is not straightforward.
In fact, in order for [15] to show that , they state and prove the following lemma and theorem.
Lemma 4. Lemma 3.3 (Strict Increment) in [15]
Let and be arbitrary and fixed. Denote as in Theorem 3.1, with as a parameter. Then for all .
Theorem 6. Theorem 3.4 (Uniform Superiority) in [15] (rephrased slightly)
For any two sets , with or , and , it holds that .
Finally, the CMinHash( , ) estimator has some nice properties, which [15] gives in the following two propositions.
Proposition 1. Proposition 3.2 (Symmetry) in [15]
Var is the same for the data pair and the data pair, for .
Proposition 2. Proposition 3.6 (Consistent Improvement) in [15]
Suppose f is fixed. In terms of a, the variance ratio is a constant for any .
Contribution Two of our paper presents an alternative approach to Theorem 3.1, giving a very accurate approximation to , which can be replicated across different MinHash type algorithms which we discuss in Section 3 and Section 4 (our Contribution 3).
Moreover, the exact covariance identity in (16) makes Theorem 3.4, Proposition 3.2, and Proposition 3.6 immediate, while the approximations avoid the constrained combinatorial sum in Theorem 3.1. We discuss this in Section 2.
A.3 A Simpler Approach to Lemma 2.4
We give a simpler approach for the following lemma.
Lemma 1. Lemma 2.4 in [15]. For any , with , then .
Before we embark on a proof, we give intuition on how we prove this lemma, which helps if we want to generalize this approach beyond MinHash.
Following the sampling without replacement paradigm where a random permutation can be thought of as the “draw order”, then for a fixed , we can imagine drawing the indices in some random order. The first entry in the tuple then corresponds to what is seen sequentially when is shifted times to the right, and the second entry corresponds to what is seen when is shifted times to the right.
For example, take , and . After applying , suppose that the location vector is . Suppose one random permutation draws the indices in the order under . Shifting this same permutation rightwards by another 4 units gives , under which the indices are drawn in the order . We take the first entry at the index drawn under and the second entry at the index 4 units to its right, returning to index 1 after index 5. Thus Draw 1 gives , Draw 2 gives , and the remaining draws follow the same order. Table 1 gives all five tuples. We bold the first in each entry.
The first in the first entry appears at Draw 3, before the first at Draw 4. The first in the second entry appears at Draw 1, before the first at Draw 5. Hence , so for this . The first occurs at different draws for the two entries.
| Draw | First entry under | Second entry under | Tuple |
|---|---|---|---|
| Draw 1 | |||
| Draw 2 | |||
| Draw 3 | |||
| Draw 4 | |||
| Draw 5 |
Table 1: Five successive tuples from one random permutation, for , and . The first entry corresponds to and the second entry to .
Each draw gives the next tuple from this same random permutation. The subscripts and in the two indicators denote the two circulant shifts. Each Example column in Tables 2 and 3 shows a sequence of tuple draws from one random permutation.
Since a in the location vector means that the hashed values collide, then means that both and must hold.
Hence, can be thought of as the probability of a sequence of draws of the nine different types of tuples where the first appears before the first in both entries of the tuple, as the random permutation is a sequence of draws without replacement. We call such a sequence of draws a success, otherwise a failure. Five examples of successes and failures are in Table 2. We bold the first which occurs.
| Example 1 | Example 2 | Example 3 | Example 4 | Example 5 | |
|---|---|---|---|---|---|
| Draw 1 | |||||
| Draw 2 | |||||
| Draw 3 | |||||
| Draw 4 |
Table 2: Five examples of sequences of draws. Each example is a vertical column.
Example 1 and Example 2 are functionally the same (and are both successes). While Example 2 has a in the second entry at Draw 3, it does not matter, because the first in the second entry was already drawn in Draw 2.
Example 3 is an example of a failure, as a appears before an in the second entry at Draw 2.
Example 4 and Example 5 are also functionally the same. We also do not worry if an appears next to an (as in Draw 4) for Example 4.
In fact, since it does not matter if a appears after an , we do not need to worry about elements appearing after the first , and hence can view our examples as in Table 3.
By treating the tuples as sampling without replacement, and computing the appropriate probability of success, we can now prove Lemma 1 easily.
Proof. Similar to Li's approach, we consider three cases, and condition on . More specifically, we distinguish cases where the success for the first entry of the tuple happens when we draw
| Example 1 | Example 2 | Example 3 | Example 4 | Example 5 | |
|---|---|---|---|---|---|
| Draw 1 | |||||
| Draw 2 | |||||
| Draw 3 | |||||
| Draw 4 |
Table 3: Five examples of sequences of draws, where we do not record the type of entry after the first is drawn. Each example is a vertical column.
(before any for the first entry), and consider the probability for a success where where the first is drawn before a for the second entry of the tuple. Table 4 gives a pictorial intuition of the five cases.
| Case 1 | Case 2a | Case 2b | Case 3a | Case 3b | |
|---|---|---|---|---|---|
| Draw | |||||
Table 4: Pictorial intuition of the five (sub)cases of successes we consider, as we condition on the first seen in the first entry of the tuple. A bold denotes the first seen for that entry. A blank entry in a tuple means it does not matter what that entry is since an was drawn before.
Case One and Case Two follow along similar lines in their proof, but Case Three is vastly simplified. For each case, we show the product of probabilities “sequentially” in our reasoning.
We remind the reader that tuples which do not affect the hash colliding are not involved in the below probability calculations. As an analogy, consider a bag with one blue marble, two red marbles, and green marbles. The probability of drawing a blue marble before a red marble is always , regardless of .
Case One: The first for the first entry of the tuple is seen at . A success for the second entry of the tuple can only happen before , hence we need the probability of seeing the first appearing before any for the second entry of the tuple. This is the product of the probabilities of i) drawing a before any invalid tuples in , and ii) drawing a before any in-valid tuples in , which is given by
Case Two: The first for the first entry of the tuple is seen at . A success is always guaranteed once is drawn, provided there are no invalid before an for the second entry of the tuple. Hence there are two possible disjoint sequences ending with that are successes.
a) A sequence where no is seen before , where we draw before invalid tuples . The probability is given by
b) A sequence where at least one is seen before . This means a must be seen before it. This is the product of the probabilities of i) first drawing before invalid tuples in , ii) next drawing before invalid tuples in , and iii) finally drawing before invalid tuples in , which is given by
Case Three: The first for the first entry of the tuple is seen at . Then a success occurs when either the first for the second entry of the tuple appears before the first , or it appears after, together with no appearing before the first for the first entry of the tuple. Hence there are two possible disjoint sequences which are successes.
a) A sequence which ends at , which means an must be seen before it. This is the product of probabilities of i) first drawing before any invalid tuples , and ii) drawing before invalid tuples in , given by
b) A sequence which ends after , which means the first for the second entry of the tuple appears after it. This is the product of probabilities of i) first drawing before invalid tuples , and ii) drawing an element in before invalid tuples in , given by
Adding (2), (3), (4), (5), (6) gives .
18
□
A.4 An Alternative Approach to Theorem 3.1
Lemma 2. Suppose we pre-process the location vector with the random permutation . Let , and suppose . For all , if , then
If f/D is bounded away from zero, then
Proof. Lemma 1 gives . Define
Thus
We first condition on the positions of the location vector whose entries are or . Let
The quantity counts the tuples for which both entries are or . There are tuples whose first entry is and whose second entry is or . To see this, each of the entries equal to or has one entry at distance before it, and of those preceding entries are also or . Therefore
Substitution of (10) into (8) gives
Conditional on the positions counted by (9), the entries equal to are placed among the positions equal to or by sampling without replacement. For a tuple counted by , the probability that both entries are is . Also, tuples go from to either or , and another tuples go from either or to . In each case, the entry which is not equals with probability . Hence
Using in (7), (12) and (13) give
The denominator in (11) is fixed once is fixed. Dividing (14) by (11) and then averaging over the positions gives
We next approximate the expectation in (16). Write , so that by (9). For each tuple , the probability that both entries are or is . Summing this probability over the possible values of gives
Suppose first that is odd or . In the sum , there are choices of for which the tuples and have one common position. The remaining choices use four distinct positions. If , sampling without replacement therefore gives
For every integer ,
Apply (19) to , use (17) for the first term, and use together with (18) for the second term. This gives
Now suppose that is even and . The tuple is accompanied by the tuple , so is even. Let . Two different pairs of these tuples have four different positions. There are choices of the first and second pair, and hence
(22)
For every even integer ,
Equations (17), (22), and (23) give
Substituting (20) and (24), with their respective bounds (21) and (25), into (15) and (16) proves the two expressions when . The two bounds hold for every because the pair count only distinguishes the case in (18) from the case in (22).
Now suppose that is bounded away from zero. Define
where the value of is from (17). Direct algebra gives
The same pair count used in (18) and (22) gives
For ,
We Taylor expansion about , take expectations, and using the fact and (28) gives
If is bounded below by a positive constant, the two expressions for the variance in (27) are . Dividing (29) by therefore gives
Combining (26) and (30) gives
Finally, substituting (31) into (15) and (16) gives the two expressions when is bounded away from zero.
Theorem 2. Let . Suppose we preprocess the location vector with the random permutation , and generate an independent permutation . Let . If ,
If is bounded away from zero, then
Proof. This follows from expanding , using covariance terms in Lemma 2. The term accounts for the proportion of covariance terms where is even and .
A.5 Additional Experiments to Verify Variance Approximation
While Figure 3 shows that our variance approximation for does match the empirical MSE even at small , we also need to understand how it behaves at edge cases (i.e. when , approaches zero). While this usually isn’t the case in practical settings, we want to investigate how well we can rely on the given approximation.
Hence, we plot pairs of , , , at and respectively. We see that at , the approximate theoretical variance lines are slightly off, but still extremely close to the empirical MSE, but at , both lines overlap each other almost perfectly. Hence, we believe our approximation of the theoretical variance is practical enough to do comparisons.

Figure 6: Empirical MSE vs theoretical approximate variance in Theorem 2 of MinHash and CMinHash ( ), at edge cases when f is small. At f = 2, 4, the dotted lines do not overlap perfectly, but they do at f = 6, 8.
Finally, we plot both theoretical approximations for the variance in Thereom 2 and the empirical MSE for select word pairs from the words dataset [7] in Figure 7. Here, , while the word pairs have , i.e. where and where does not tend to zero.
We average across 10,000 iterations as well. We can see that both theoretical approximations as well as the empirical MSE lines overlap perfectly.

Figure 7: Empirical MSE versus both theoretical approximate variances in Theorem 2 of MinHash and CMinHash ( , ) for selected word pairs. CMH Var (S) is the sparse case where . CMH Var (NS) is the non-sparse case where does not tend to zero. Both theoretical approximations and empirical MSE lines overlap perfectly.
B Appendix: Circulant Permutation for The Minner Estimators
This appendix covers Section 3 in more detail.
B.1 Understanding the Minner Estimators
To better understand the Minner estimators, we give the following lemma before explaining in detail.
Lemma 5. Suppose we have a random permutation on . Let , and to be the count of elements in strictly lesser than . Then , , .
| Draw Order | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 |
|---|---|---|---|---|---|---|---|---|
| Set 1 | ○ | ● | ○ | ● | ● | ● | ○ | ● |
| Set 2 | ○ | ○ | ○ | ○ | ○ | ○ | ○ | ● |
Figure 4: We have , with , which can be thought of as the presence (or absence) of a at draw 8 for , and , which can be thought of as counting how many were seen in previous draws 1-7 for .
We also replicate Figure 4 here, as viewing the random variables under the “drawing objects” from the sampling without replacement paradigm makes the proof straightforward.
Proof. Set , and , with and . Then is simply the probability of seeing an element from drawn before an element in , which is .
Now, set , and , with and . Then is the count of the number of elements in seen before the first element in .
Suppose we index each element in by , . We can write the random variable as
There are elements in , and we require the single element in to be drawn first, hence
by exchangeability. Now by linearity of expectations, .
To find , we need to find . Certainly,
Now , as this can be thought of as out of the elements in , and the two elements the elements must be drawn first. Therefore,
and
We remark that both these estimators have different performance based on the sizes of the sets . However, it is not in the scope of this paper to analyze which estimator is better given , or propose better Minner estimators. The paper focuses on extending the circulant permutation framework when counts are involved.
B.2 Proof of Lemma 3
We recall the definition of the nine sets again, but this time using our notation , and (success, failure, neutral) for generalizability.
For , let be the set . For , define
with the following constraints for all
Lemma 3. Suppose we pre-process the location vector with a random permutation . Let the random variable seen before the first under the random permutation . Let . Then for any , with ,
If and are fixed as , then, when is even and ,
and otherwise,
If both and are bounded away from zero, then
Proof. Our proof will follow a similar approach to the proof of Lemma 1 with respect to sequence of draws.
For ease of notation, we define the sets
and define the variable
For an element in , we write the random variable . Similarly, for an element in , we write . The two random variables can therefore be written as
Multiplying the two sums in (32) gives
For the first sum in (33), the equality requires the tuple , so there are choices. For any one of them, when is the first tuple among . Exchangeability of these tuples gives probability . Hence
We now evaluate the second sum in (33). As in the proof of Lemma 1, we consider four cases depending on whether is in and whether is in .
Case One: Suppose and . Let be the earliest tuple seen out of . Since both and are outside , we have
A valid sequence occurs in two disjoint ways. First, is drawn before any tuple in , and then is drawn before any tuple in . Second, is drawn before any tuple in , and then is drawn before any tuple in . Thus the probability for each ordered pair in this case is
There are
ordered pairs with , , and . Hence the contribution from Case One is
Case Two: Suppose and . Since , this means . A valid sequence must first draw before any tuple in , and then draw before any tuple in . Since only is added to , the probability for each ordered pair in this case is
There are such ordered pairs. Hence the contribution from Case Two is
Case Three: Suppose and . By the same reasoning as Case Two, , and the contribution is
Case Four: Suppose and . This case contributes zero. Since , the event requires to appear before . However, since , the event requires to appear before .
Adding (34), (35), (36), and (37), and substituting , gives
This proves the first expression in Lemma 3.
Now suppose we pre-process the location vector with the random permutation . Then we want to find the expectation of (38) with respect to . For ease of notation, let
and let denote the right hand side of (38). When ,
First suppose that and are fixed while , and that is odd or . Let
Thus is the number of tuples whose two entries are or . When , the four possible values of and their changes from (40) are
| pair | Z | |
|---|---|---|
| (1,0,0,0) | ||
| (0,1,0,0) | ||
| (0,0,1,0) | ||
| (0,0,0,1) |
(41)
The four rows in (41) are obtained by substituting , , , and into the right hand side of (38), and then subtracting (40). For example, the row is
For each , sampling without replacement gives
The same calculation as in (18), with replaced by gives
Therefore . When , the change in is zero by (40). When , it is the corresponding entry of (41). When , is bounded because and are constant. Multiplying the four entries in (41) by the four expectations in (42) and adding them gives
Now suppose that is even and . The tuple is accompanied by . Let be the number of pairs of positions for which both entries are or . When , the possible values of and their changes are
| entries in the pair | Z | |
|---|---|---|
| (2,0,0,0) | ||
| (0,1,1,0) | ||
| (0,0,0,2) | . |
(44)
For example, a pair containing and gives the two tuples and , so . Substitution into (38) gives
There are pairs of positions of the form . Sampling the two entries without replacement gives respective expectations
for , , and , respectively. The calculation in (22) with replaced by gives
Thus the cases with affect the expectation only by . Multiplying the entries in (44) by the three expectations in (45) and adding them gives
Lemma 5 gives the one shift variance
Dividing the leading term of (43) by (47) gives
while dividing (46) by (47) gives
Equations (48) and (49) give the next two expressions in Lemma 3 when and are fixed.
Finally, we now suppose that both and are bounded away from zero. We continue to use Z from (39) and F from (38). The expectation of Z is
We use to denote the probability that a sequence of draws without replacement from the location vector gives in this order, where every is , , or . For example,
For any two entries , let
Thus is the number of times occurs among the tuples .
Suppose first that is odd or . There are terms after expanding in (51). If the two starting positions are equal, there are terms, and they are nonzero only if and . If the second starting position is after the first, there are terms, and the common entry requires . If the first starting position is after the second, there are terms, and the common entry requires . The remaining terms use four distinct positions. Adding these four cases gives
(52)
Now suppose that is even and . There are terms with the same starting position. There are another terms in which , which requires and . The remaining terms have four distinct positions. Therefore
(53)
Equations (52) and (53), together with their corresponding draw probabilities, give the sixteen second moments of the four entries in (39). For example, when is odd or ,
because the second in can be the first in . When is even and ,
because and can be the two tuples formed from the same two positions.
Let . Taylor expansion of and taking expectations give
(54)
Here and denote the respective partial derivatives. Because , every denominator in (38) is at least of order . Since is bounded away from zero, the derivatives of orders two, three, and four are , , and , respectively. Expanding products of three and four sums of the form (51), and separating the common index cases in the same way as in (52) and (53), gives
It follows from (55) that the third order term in (54) is . The fourth order Taylor remainder satisfies for the same reason. Thus, up to , only and the covariance term remain in (54).
Now, we can use a computer to find (54). First, compute every covariance term as
using (50) with (52) or (53). Substitute these covariances into the second term of (54), use , and collect the terms of order . This gives
Equation (56) follows by combining (50), the respective draw probabilities, the second moments (52) and (53), and the expansion (54), and noting that .
Next, the variance in (47) satisfies
Substituting (57) and (58) into (56) gives
B.3 Additional Experiments to Verify Variance Approximation
Since the Minner estimator depends on and , we investigate edge cases when , are small relative to , as increases. All experiments are done over 1,000 iterations (an order of magnitude less than the plots in Appendix A.5, since dealing with large means more expensive permutations). We can see that the theoretical variance approximations match the empirical MSEs well, as in Figures 9-13.
In the legend of these plots, Counts MSE denotes the empirical MSE of the Minner count estimator, Counts Var denotes the theoretical variance of the Minner count estimator, CP Counts MSE denotes the empirical MSE of the count estimator with circulant permutations, CP Counts Var (S) denotes the theoretical variance approximation when , and CP Counts Var (NS) denotes the theoretical variance approximation when does not tend to zero.
Since we are looking at counts when is small, CP Counts Var (S) should be a better approximation. However, we find that both CP Counts Var (S) and CP Counts Var (NS) are equally good estimators as they are indistinguishable from each other.
Unlike the experiments in Appendix A.5, where the theoretical variance curves are almost indistinguishable from the empirical MSEs, we do not expect the count approximations here to overlap perfectly for moderate , especially when is small, given that we use a log scale for the axes in these plots. However, the approximation is still accurate for practical comparisons. In particular, Counts Var gives a useful reference for the amount of Monte Carlo discrepancy expected from 1,000 iterations.
We also plot the theoretical approximation and the empirical MSE for select word pairs from the words dataset [8] in Figure 14.

Figure 9: Empirical MSE vs theoretical approximate variance in Theorem 4 at edge cases when are small respective to . We use .

Figure 10: Empirical MSE vs theoretical approximate variance in Theorem 4 at edge cases when are small respective to . We use .
Both the theoretical approximate variance curves overlaps with the empirical MSEs for all word pairs, even the HONG-KONG word pair, where is small.

Figure 11: Empirical MSE vs theoretical approximate variance in Theorem 4 at edge cases when are small respective to . We use .

Figure 12: Empirical MSE vs theoretical approximate variance in Theorem 4 at edge cases when are small respective to . We use .

Figure 13: Empirical MSE vs theoretical approximate variance in Theorem 4 at edge cases when are small respective to . We use .

Figure 14: Empirical MSE vs theoretical approximate variance in Theorem 4 for selected word pairs. Both theoretical approximations and empirical MSE lines overlap perfectly.
NeurIPS Paper Checklist
1. Claims
Question: Do the main claims made in the abstract and introduction accurately reflect the paper’s contributions and scope?
Answer: [Yes]
Justification: Our abstract claims a new approach to approximate the variance of MinHash under circulant permutations. We demonstrate this in Section 2. We also claim that we describe how to apply our approach to different MinHash estimators. We describe how to do so in Section 4 for asymmetric hashing (Minner estimator).
Guidelines:
• The answer [N/A] means that the abstract and introduction do not include the claims made in the paper.
• The abstract and/or introduction should clearly state the claims made, including the contributions made in the paper and important assumptions and limitations. A [No] or [N/A] answer to this question will not be perceived well by the reviewers.
• The claims made should match theoretical and experimental results, and reflect how much the results can be expected to generalize to other settings.
• It is fine to include aspirational goals as motivation as long as it is clear that these goals are not attained by the paper.
2. Limitations
Question: Does the paper discuss the limitations of the work performed by the authors?
Answer: [Yes]
Justification: The limitations are in the last section of the paper.
Guidelines:
• The answer [N/A] means that the paper has no limitation while the answer [No] means that the paper has limitations, but those are not discussed in the paper.
• The authors are encouraged to create a separate “Limitations” section in their paper.
• The paper should point out any strong assumptions and how robust the results are to violations of these assumptions (e.g., independence assumptions, noiseless settings, model well-specification, asymptotic approximations only holding locally). The authors should reflect on how these assumptions might be violated in practice and what the implications would be.
• The authors should reflect on the scope of the claims made, e.g., if the approach was only tested on a few datasets or with a few runs. In general, empirical results often depend on implicit assumptions, which should be articulated.
• The authors should reflect on the factors that influence the performance of the approach. For example, a facial recognition algorithm may perform poorly when image resolution is low or images are taken in low lighting. Or a speech-to-text system might not be used reliably to provide closed captions for online lectures because it fails to handle technical jargon.
• The authors should discuss the computational efficiency of the proposed algorithms and how they scale with dataset size.
• If applicable, the authors should discuss possible limitations of their approach to address problems of privacy and fairness.
• While the authors might fear that complete honesty about limitations might be used by reviewers as grounds for rejection, a worse outcome might be that reviewers discover limitations that aren’t acknowledged in the paper. The authors should use their best judgment and recognize that individual actions in favor of transparency play an important role in developing norms that preserve the integrity of the community. Reviewers will be specifically instructed to not penalize honesty concerning limitations.
3. Theory assumptions and proofs
Question: For each theoretical result, does the paper provide the full set of assumptions and a complete (and correct) proof?
Answer: [Yes]
Justification: A full and complete proof for all lemmas, theorems, and corollaries are in the appendix. The assumption that D is large is clearly stated.
Guidelines:
• The answer [N/A] means that the paper does not include theoretical results.
• All the theorems, formulas, and proofs in the paper should be numbered and cross-referenced.
• All assumptions should be clearly stated or referenced in the statement of any theorems.
• The proofs can either appear in the main paper or the supplemental material, but if they appear in the supplemental material, the authors are encouraged to provide a short proof sketch to provide intuition.
• Inversely, any informal proof provided in the core of the paper should be complemented by formal proofs provided in appendix or supplemental material.
• Theorems and Lemmas that the proof relies upon should be properly referenced.
4. Experimental result reproducibility
Question: Does the paper fully disclose all the information needed to reproduce the main experimental results of the paper to the extent that it affects the main claims and/or conclusions of the paper (regardless of whether the code and data are provided or not)?
Answer: [Yes]
Justification: Our experiments verify if our approximate variances are close to the empirical MSEs of existing estimators (CMinHash, and circulant permutation applied to the Minner estimator). We review how circulant permutations work in Appendix A1, and give the approximate variances in Theorems 2 and 4.
Guidelines:
• The answer [N/A] means that the paper does not include experiments.
• If the paper includes experiments, a [No] answer to this question will not be perceived well by the reviewers: Making the paper reproducible is important, regardless of whether the code and data are provided or not.
• If the contribution is a dataset and/or model, the authors should describe the steps taken to make their results reproducible or verifiable.
• Depending on the contribution, reproducibility can be accomplished in various ways. For example, if the contribution is a novel architecture, describing the architecture fully might suffice, or if the contribution is a specific model and empirical evaluation, it may be necessary to either make it possible for others to replicate the model with the same dataset, or provide access to the model. In general, releasing code and data is often one good way to accomplish this, but reproducibility can also be provided via detailed instructions for how to replicate the results, access to a hosted model (e.g., in the case of a large language model), releasing of a model checkpoint, or other means that are appropriate to the research performed.
• While NeurIPS does not require releasing code, the conference does require all submissions to provide some reasonable avenue for reproducibility, which may depend on the nature of the contribution. For example
(a) If the contribution is primarily a new algorithm, the paper should make it clear how to reproduce that algorithm.
(b) If the contribution is primarily a new model architecture, the paper should describe the architecture clearly and fully.
(c) If the contribution is a new model (e.g., a large language model), then there should either be a way to access this model for reproducing the results or a way to reproduce the model (e.g., with an open-source dataset or instructions for how to construct the dataset).
(d) We recognize that reproducibility may be tricky in some cases, in which case authors are welcome to describe the particular way they provide for reproducibility. In the case of closed-source models, it may be that access to the model is limited in some way (e.g., to registered users), but it should be possible for other researchers to have some path to reproducing or verifying the results.
5. Open access to data and code
Question: Does the paper provide open access to the data and code, with sufficient instructions to faithfully reproduce the main experimental results, as described in supplemental material?
Answer: [Yes]
Justification: Our data is mostly synthetic, and the words dataset is an existing dataset used by [13]. We describe our experiments clearly in Sections 2 and 3. Our experiments are mostly similar to [13], hence code is not provided.
Guidelines:
• The answer [N/A] means that paper does not include experiments requiring code.
• Please see the NeurIPS code and data submission guidelines (https://neurips.cc/public/guides/CodeSubmissionPolicy) for more details.
• While we encourage the release of code and data, we understand that this might not be possible, so [No] is an acceptable answer. Papers cannot be rejected simply for not including code, unless this is central to the contribution (e.g., for a new open-source benchmark).
• The instructions should contain the exact command and environment needed to run to reproduce the results. See the NeurIPS code and data submission guidelines (https://neurips.cc/public/guides/CodeSubmissionPolicy) for more details.
• The authors should provide instructions on data access and preparation, including how to access the raw data, preprocessed data, intermediate data, and generated data, etc.
• The authors should provide scripts to reproduce all experimental results for the new proposed method and baselines. If only a subset of experiments are reproducible, they should state which ones are omitted from the script and why.
• At submission time, to preserve anonymity, the authors should release anonymized versions (if applicable).
• Providing as much information as possible in supplemental material (appended to the paper) is recommended, but including URLs to data and code is permitted.
6. Experimental setting/details
Question: Does the paper specify all the training and test details (e.g., data splits, hyperparameters, how they were chosen, type of optimizer) necessary to understand the results?
Answer: [Yes]
Justification: Our data is mostly synthetic, and the words dataset is an existing dataset used by [13]. We describe our experiments clearly in Sections 2 and 3.
Guidelines:
• The answer [N/A] means that the paper does not include experiments.
• The experimental setting should be presented in the core of the paper to a level of detail that is necessary to appreciate the results and make sense of them.
• The full details can be provided either with the code, in appendix, or as supplemental material.
7. Experiment statistical significance
Question: Does the paper report error bars suitably and correctly defined or other appropriate information about the statistical significance of the experiments?
Answer: [N/A]
Justification: Because we are showing an approximation (which is a fixed value given , , , ) of the actual variance of estimators, no error bars are needed. We compute the respective MSEs for MinHash and Minner estimates averaged over 10,000 iterations. If our approximation was correct, the respective average of the empirical MSEs should overlap with our theoretical variance. Any confidence intervals (or error bars) around the average of the 10,000 empirical MSEs would be of the form . But if our approximate variance overlap the empirical MSEs, then the value of doesn't matter in this case (in fact, with 10,000 iterations, any would be sufficiently small to be mathematically negligible for visual comparison).
Guidelines:
• The answer [N/A] means that the paper does not include experiments.
• The authors should answer [Yes] if the results are accompanied by error bars, confidence intervals, or statistical significance tests, at least for the experiments that support the main claims of the paper.
• The factors of variability that the error bars are capturing should be clearly stated (for example, train/test split, initialization, random drawing of some parameter, or overall run with given experimental conditions).
• The method for calculating the error bars should be explained (closed form formula, call to a library function, bootstrap, etc.)
• The assumptions made should be given (e.g., Normally distributed errors).
• It should be clear whether the error bar is the standard deviation or the standard error of the mean.
• It is OK to report 1-sigma error bars, but one should state it. The authors should preferably report a 2-sigma error bar than state that they have a 96% CI, if the hypothesis of Normality of errors is not verified.
• For asymmetric distributions, the authors should be careful not to show in tables or figures symmetric error bars that would yield results that are out of range (e.g., negative error rates).
• If error bars are reported in tables or plots, the authors should explain in the text how they were calculated and reference the corresponding figures or tables in the text.
8. Experiments compute resources
Question: For each experiment, does the paper provide sufficient information on the computer resources (type of compute workers, memory, time of execution) needed to reproduce the experiments?
Answer: [No]
Justification: Our experiments mainly verify that our approximate variance matches empirical results, and no large scale compute resources are needed.
Guidelines:
• The answer [N/A] means that the paper does not include experiments.
• The paper should indicate the type of compute workers CPU or GPU, internal cluster, or cloud provider, including relevant memory and storage.
• The paper should provide the amount of compute required for each of the individual experimental runs as well as estimate the total compute.
• The paper should disclose whether the full research project required more compute than the experiments reported in the paper (e.g., preliminary or failed experiments that didn’t make it into the paper).
9. Code of ethics
Question: Does the research conducted in the paper conform, in every respect, with the NeurIPS Code of Ethics https://neurips.cc/public/EthicsGuidelines?
Answer: [Yes]
Justification: We confirm to the NeurIPS Code of Ethics.
Guidelines:
• The answer [N/A] means that the authors have not reviewed the NeurIPS Code of Ethics.
• If the authors answer [No], they should explain the special circumstances that require a deviation from the Code of Ethics.
• The authors should make sure to preserve anonymity (e.g., if there is a special consideration due to laws or regulations in their jurisdiction).
10. Broader impacts
Question: Does the paper discuss both potential positive societal impacts and negative societal impacts of the work performed?
Answer: [N/A]
Justification: This work serves to make the analysis of the variance of randomized algorithms involving circulant permutations easier.
Guidelines:
• The answer [N/A] means that there is no societal impact of the work performed.
• If the authors answer [N/A] or [No], they should explain why their work has no societal impact or why the paper does not address societal impact.
• Examples of negative societal impacts include potential malicious or unintended uses (e.g., disinformation, generating fake profiles, surveillance), fairness considerations (e.g., deployment of technologies that could make decisions that unfairly impact specific groups), privacy considerations, and security considerations.
• The conference expects that many papers will be foundational research and not tied to particular applications, let alone deployments. However, if there is a direct path to any negative applications, the authors should point it out. For example, it is legitimate to point out that an improvement in the quality of generative models could be used to generate Deepfakes for disinformation. On the other hand, it is not needed to point out that a generic algorithm for optimizing neural networks could enable people to train models that generate Deepfakes faster.
• The authors should consider possible harms that could arise when the technology is being used as intended and functioning correctly, harms that could arise when the technology is being used as intended but gives incorrect results, and harms following from (intentional or unintentional) misuse of the technology.
• If there are negative societal impacts, the authors could also discuss possible mitigation strategies (e.g., gated release of models, providing defenses in addition to attacks, mechanisms for monitoring misuse, mechanisms to monitor how a system learns from feedback over time, improving the efficiency and accessibility of ML).
11. Safeguards
Question: Does the paper describe safeguards that have been put in place for responsible release of data or models that have a high risk for misuse (e.g., pre-trained language models, image generators, or scraped datasets)?
Answer: [N/A]
Justification: This is a theoretical paper.
Guidelines:
• The answer [N/A] means that the paper poses no such risks.
• Released models that have a high risk for misuse or dual-use should be released with necessary safeguards to allow for controlled use of the model, for example by requiring that users adhere to usage guidelines or restrictions to access the model or implementing safety filters.
• Datasets that have been scraped from the Internet could pose safety risks. The authors should describe how they avoided releasing unsafe images.
• We recognize that providing effective safeguards is challenging, and many papers do not require this, but we encourage authors to take this into account and make a best faith effort.
12. Licenses for existing assets
Question: Are the creators or original owners of assets (e.g., code, data, models), used in the paper, properly credited and are the license and terms of use explicitly mentioned and properly respected?
Answer: [Yes]
Justification: We cite the algorithm given and use the Words dataset in [13]. To the best of our knowledge, the words dataset first appears in [7].
Guidelines:
• The answer [N/A] means that the paper does not use existing assets.
• The authors should cite the original paper that produced the code package or dataset.
• The authors should state which version of the asset is used and, if possible, include a URL.
• The name of the license (e.g., CC-BY 4.0) should be included for each asset.
• For scraped data from a particular source (e.g., website), the copyright and terms of service of that source should be provided.
• If assets are released, the license, copyright information, and terms of use in the package should be provided. For popular datasets, paperswithcode.com/datasets has curated licenses for some datasets. Their licensing guide can help determine the license of a dataset.
• For existing datasets that are re-packaged, both the original license and the license of the derived asset (if it has changed) should be provided.
• If this information is not available online, the authors are encouraged to reach out to the asset’s creators.
13. New assets
Question: Are new assets introduced in the paper well documented and is the documentation provided alongside the assets?
Answer: [N/A]
Justification: Our approach is theoretical.
Guidelines:
• The answer [N/A] means that the paper does not release new assets.
• Researchers should communicate the details of the dataset/code/model as part of their submissions via structured templates. This includes details about training, license, limitations, etc.
• The paper should discuss whether and how consent was obtained from people whose asset is used.
• At submission time, remember to anonymize your assets (if applicable). You can either create an anonymized URL or include an anonymized zip file.
14. Crowdsourcing and research with human subjects
Question: For crowdsourcing experiments and research with human subjects, does the paper include the full text of instructions given to participants and screenshots, if applicable, as well as details about compensation (if any)?
Answer: [N/A]
Justification: We do not use human subjects.
Guidelines:
• The answer [N/A] means that the paper does not involve crowdsourcing nor research with human subjects.
• Including this information in the supplemental material is fine, but if the main contribution of the paper involves human subjects, then as much detail as possible should be included in the main paper.
• According to the NeurIPS Code of Ethics, workers involved in data collection, curation, or other labor should be paid at least the minimum wage in the country of the data collector.
15. Institutional review board (IRB) approvals or equivalent for research with human subjects
Question: Does the paper describe potential risks incurred by study participants, whether such risks were disclosed to the subjects, and whether Institutional Review Board (IRB) approvals (or an equivalent approval/review based on the requirements of your country or institution) were obtained?
Answer: [N/A]
Justification: We do not use human subjects.
Guidelines:
• The answer [N/A] means that the paper does not involve crowdsourcing nor research with human subjects.
• Depending on the country in which research is conducted, IRB approval (or equivalent) may be required for any human subjects research. If you obtained IRB approval, you should clearly state this in the paper.
• We recognize that the procedures for this may vary significantly between institutions and locations, and we expect authors to adhere to the NeurIPS Code of Ethics and the guidelines for their institution.
• For initial submissions, do not include any information that would break anonymity (if applicable), such as the institution conducting the review.
16. Declaration of LLM usage
Question: Does the paper describe the usage of LLMs if it is an important, original, or non-standard component of the core methods in this research? Note that if the LLM is used only for writing, editing, or formatting purposes and does not impact the core methodology, scientific rigor, or originality of the research, declaration is not required.
Answer: [Yes]
Justification: Originally, we did not use an LLM for our research (apart from formatting, phrasing, etc). However, during our rebuttal period (also mentioned on Page 13), we asked 5.6 SOL for a combinatorial implementation of Minner, in order to better craft a rebuttal for our reviewers. It turned out that Li and Li's variance proof for CMinHash had a slight error. We included the counter example in the paper.
Guidelines:
• The answer [N/A] means that the core method development in this research does not involve LLMs as any important, original, or non-standard components.
• Please refer to our LLM policy in the NeurIPS handbook for what should or should not be described.