Understanding Circulant Permutation to Extend the CMinHash Estimator
Keegan Kang, Avery Hood, Benedict H. W. Wong
NeurIPS 2026
TL;DR. we give a different approach to CMinHash, and show how this easily extends the circulant permutation framework to other hashing algorithms
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.
Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.
Claim this paperedit · history
NeurIPS 2026
Accept (poster) · 3 reviews · OpenReview
Updated 25 Nov 2026, 03:45 UTC.
- Decision
- Accept (poster)
Read decision
Meta-review
This work improves the theoretical analysis of the CMinHash algorithm by allowing the variance estimation to be approximate. The subject deviates a little bit from NeurIPS, but still falls in the general scope. Excluding the nearly empty review by tVXS, the assessment sits exactly at the margin. Please focus on carefully addressing the comments by LU6m.
Final justification
The concern by tVXS has been resolved. All reviewers assess positively about this work.
Read meta-review
Meta-review
This work improves the theoretical analysis of the CMinHash algorithm by allowing the variance estimation to be approximate. The subject deviates a little bit from NeurIPS, but still falls in the general scope. Excluding the nearly empty review by tVXS, the assessment sits exactly at the margin. Please focus on carefully addressing the comments by LU6m.
Final justification
The concern by tVXS has been resolved. All reviewers assess positively about this work.
1 comment
- Rating
- 4/6
- Confidence
- 2/5
- Quality
- 3/4
- Clarity
- 2/4
- Significance
- 3/4
- Originality
- 3/4
- Contribution type
- theory
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
In this paper, the authors propose a new variance analysis of CMinHash algorithm which is easily comparable to approximate variance expressions and is used to analyze other types of MinHash estimators. Numerical experiments show that the new variance expressions matches empirical mean squared error of estimates.
Strengths and weaknesses
Strength:
- New analysis of CMinHash which eases the variance approximation (calculation) compared to the original work which can be used to analyze other hashing algorithms. This contributions seems to be novel and significant.
- Numerical simulations agree with the new variance approximation.
Weakness:
-
The paper is not easy to read. Among all the NeurIPS papers that were assigned to me for review, I spent the longest time for this paper and yet I did not fully understand the paper. Clarity can be improved.
-
Here is my main confusion. Following the sampling without replacement paradigm a random permutation can be thought of as a random draw order (draw 1 to ), which is perfectly clear from Fig1. and Fig. 2. Now, $\mathbb{E} (\mathbb{1}_{s} \mathbb{1}_{s+\Delta})>0 $ means that both and must hold (line 422-424). So, that means must be the tuple for permutation . Then, according to the description (starting from line 425),`` $\mathbb{E} (\mathbb{1}_{s} \mathbb{1}_{s+\Delta})>0 $ can be thought of as the probability of a sequence of draws of the nine different types of D tuples where the first appears before the first in both entries of the tuple.” These entries corresponds to fixed positions of the location vector and correct? For example, in Fig. 6, how to interpret Draw 1 for Example 1 ? Is it a random permutation (a sequence of draw orders (as per Fig 1 andFig 2.)) such that in location vector position we have and position we have ? If that is the case, each Draw in Fig. 6 is a random permutation and the success is being defined over different permutation sequences focusing on position and of the location vector? But then the quantity we are interested in, has expectation over the permutation and would mean that if we randomly pick a permutation what is the probability that we would see tuple in position and of the location vector. So that means sequence of Draws in Fig. 6 cannot be sequence of permutations. So what those Draws correspond to? This part is not clear to me even after reading the main paper and appendix A many times and that is precisely the reason why I could not properly evaluate this paper. If the authors could kindly clarify this confusion, it would help me appreciate their contribution.
-
because of the length of the supplementary material, checking all the proofs in detail was beyond time and scope.
-
There is a Big Oh notation in the variance calculation in Theorem 2. In the numerical experiments, while comparing empirical variance with the new variance results of Theorem 2, what constants (for the Big Oh notation) are used is not clear.
Questions
Please see weakness.
Limitations
Yes.
Final justification
The authors have answered my questions and I am increasing my score from 3 to 4. Having said that, I have not checked all the proofs in the supplementary material and can not confirm the accuracy of the theoretical results with absolute certainty. Since the primary contribution of this paper is "Theory", I would request AC to take that into account when making a final decision.
Formatting concerns
None.
5 comments
Rebuttal
We thank the reviewer for their detailed review. Here is our rebuttal.
- paper is not easy to read
We acknowledge this, as analyzing circulant permutation is difficult and necessarily dense. We spent time understanding the combinatorics of the original Li and Li paper, which uses an exact constrained combinatorial analysis, before deciding to write this theory paper (rather than general paper). We describe this in lines 276-281 in our main paper, and in more detail in lines 369-372 of our Appendix.
This is not an excuse since parts of our explanation can be made clearer. In particular, the relationship between one random permutation and the sequence of tuples in Figures 6 and 7 can be stated more directly (re: second question). We will correct the captions and add the toy example described below.
Moreover, we provide intuition behind our proof strategies, e.g. see lines 125-156 in the main paper, and lines 415-450 and 488-499 in our Appendix in detail, rather than diving into calculations immediately.
- here is my main confusion...
We thank the reviewer for describing your confusion, as this has helped us understand where you are coming from.
First, we apologize for the captions of Figure 6 and Figure 7. The captions say vertical row, but we meant vertical column. We will change this. The caption may have made this part more confusing, although the main confusion appears to be what each Draw represents, as the reviewer correctly understood the column of draws.
Each Example column in Figure 6 comes from one random permutation . Each Draw row is one successive tuple from that same random permutation. We explain this carefully below.
We first restate what the reviewer mentioned in the first line, so the AC and other reviewers are on the same page before giving an example of what we mean, since it is probably at least a month since anyone last looked at this paper.
Theorem 1 (lines 40-42) gives Broder's MinHash estimator as
.
Let's use the shorthand to denote this indicator function.
As the reviewer has correctly noted, each is a random permutation, and indexes the corresponding trial. Each random permutation can be seen as a draw order as in Figure 2.
We have a success when we see an before an . For example, suppose and one random permutation gives the draw order . This is a success because:
- the first draw is a
- the second draw is a
- the third draw is an
- the fourth draw is an
- the fifth draw is an .
Since we drew an at the third draw before an at the fourth draw, this is a success.
Now, Broder's MinHash is straightforward because can be written as . Each random permutation is independent of another, so there are no covariance terms.
In contrast, for the circulant permutation in lines 116-118, after applying , all indicators reuse one random permutation through circular shifts. Please see lines 54-63, as well as the display of the actual CMinHash algorithm in Appendix A.1. Thus, we have additional covariance terms to compute. We eventually need to compute for all , which in turn requires us to know , since
,
and we know that .
Using the notation in line 116, where we write
,
the variance of CMinHash is
.
Note: We are overloading the index in in this rebuttal for brevity.
As acknowledged in line 118 of the main paper, the tricky part is to find an expression for this covariance, or rather, an expression for .
The observation is to write this expression as , which is what you have noticed, and where our clarification now starts.
For the example, let . Note that we wrap around to the start of the draw order if required (see table example below).
For each Draw, the first entry is what we see under , and the second entry is what we see under . We continue down the same draw order from the same random permutation. Hence, each Draw gives one tuple with two entries.
Now, when we see an before an for both entries of the tuple sequence.
Importantly, the first in the first entry and the first in the second entry can appear in different Draws. An tuple is one way to get a success, while and can give the two s in different Draws.
Let's return to the same draw order with . The first entry is the draw order above. For the second entry, we examine what we see after we “shift right by 4”:
| Draw | First entry | Second entry after we “shift right by 4” | Tuple |
|---|---|---|---|
| 1 | |||
| 2 | |||
| 3 | |||
| 4 | |||
| 5 |
Please note that this still uses the same random permutation throughout.
In this case, because we see an before an for both entries. The first entry has its first at Draw 3 and its first at Draw 4. The second entry has its first at Draw 1 and its first at Draw 5.
It helps to think of the random permutation as comprising a draw order, but we take “two elements” at a time. The first element is "as usual, similar to Figure 2 and Broder's MinHash". The second element has an offset . A success occurs when we see an before an for both elements.
So back to Fig 6, each Example column comes from one permutation. We shift by to get the second entry of each tuple. Draw 1 is the first tuple seen, Draw 2 is the next tuple, and so on.
In Example 1, Draw 1 equal to means that the first tuple seen has in both entries.
We will add the toy example above to Appendix A.3 and correct the captions of Figures 6 and 7. Please see lines 125-139 in the main paper, followed by lines 417-439 in the Appendix. However, please note that adding in the above toy example would additionally extend the appendix (re: question below).
Please let us know if this resolves your confusion, especially when read together with lines 417-424 of the Appendix.
- Because of the length...checking proofs was beyond time and scope
We explain the reason behind the long Appendix and how our proofs can be checked.
Our sampling without replacement approach is less combinatorially intensive than Li's approach. Please see Appendix A.2, or equivalently the proofs in their paper. However, the tradeoff is a tedious but straightforward calculation, as we need to compute the relevant expectations, variances, and covariances. We work out these calculations and explicitly show each step so other people can replicate our work with different algorithms.
We describe the approach in the main paper at lines 144-156, and then in more detail in Appendix lines 488-499. Appendix lines 500-556 show each step for the original CMinHash algorithm. Lines 635-707 repeat the approach for the Minner estimator, where we apply circulant permutation to a count-based estimator (count number of before first , rather than seeing an before the first ), which is substantially different from the Broder MinHash / CMinHash setup.
We have used Mathematica to check the expansions in our Appendices. Then, the NeurIPS PAT has checked our paper (which is why we went ahead with submission). Figures 3, 5, 9, 10, and 12-17 also has the approximate theoretical variance curves match or closely overlap the empirical MSE curves. Because our estimators are unbiased, the MSE is the variance.
Hence, if the approach in lines 144-156 of the main paper and lines 488-499 of the Appendix makes sense, the remaining parts of the Appendix consist of the expectations, variances, covariances, and expansions shown step by step (which could be checked by a computer).
- There is a big O notation....what constants are used?
We want to clarify that no numerical value was assigned to the constant hidden in the big term. For every variance expression, we plot the terms before the big remainder.
For example, in Theorem 2, lines 164-166, the variance when does not tend to zero is
.
We would then plot
.
Thus, for all variance expressions, we plot the non big terms, which are our theoretical variance approximations. The remainder does not appear at all in our plots.
Based on our plots, these big terms are essentially negligible when increases. Please also see lines 150-156 and our response to point 2 for pYxU.
We acknowledge that stating that we “plot the approximate variance” may cause confusion. We will clarify this in our revised paper to ensure readers know exactly which terms are plotted.
If we have resolved your concerns (in particular what each Draw and each Example column in Figure 6 represent), please let us know, or feel free to ask if you have any further questions or comments about our paper.
We thank the authors for a detailed response. It helps me better understand the the paper now even though I was not able to check all the proofs in the lengthy appendix. I also agree with the authors that for large , the term will be negligible.
Thank you for your response. May we check that we have resolved your questions?
We have heard anecdotally on social media that a templated email from the Program Chairs has been sent out to all reviewers who have chosen the wrong Contribution Type for reviewing, to update their discussion in their review.
We are willing to answer additional questions if you have updated your review.
- Rating
- 4/6
- Confidence
- 2/5
- Quality
- 3/4
- Clarity
- 3/4
- Significance
- 3/4
- Originality
- 2/4
- Contribution type
- theory
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
There is no rejection option in the review system. I am not familiar with the research topic of the paper, but it seems that the result is reasonable and meaningful.
Strengths and weaknesses
There is no rejection option in the review system. I am not familiar with the research topic of the paper, but it seems that the result is reasonable and meaningful.
Questions
n/a
Limitations
n/a
Formatting concerns
n/a
2 comments
Rebuttal
We thank the reviewer for their review. While we understand that they are not familiar with this research topic, we use this space to highlight our originality, given the low originality score.
Li and Li introduced CMinHash and derived its exact variance as a constrained combinatorial sum. Lines 72-86 explain why that expression is difficult to analyze, compare with other MinHash variances, or reproduce for another estimator. Appendix A.2, lines 373-410, gives the exact expression and the additional lemma, theorem, and propositions used to establish its properties.
Our paper makes three new contributions.
First, we give a different proof method for the key joint expectation in Li and Li. We view a random permutation as a draw order under sampling without replacement and compute the probability that appears before in the tuples. We explain this on lines 91-93 and 125-143. The complete proof is in Appendix A.3, lines 411-481.
Second, we derive an explicit large approximation for the CMinHash variance. The resulting expression can be compared directly with variances of different MinHash estimators and makes the relationship with , , and clear. See lines 94-100 and 144-190. The full derivation is in Appendix A.4, lines 483-563.
Third, we demonstrate that our approach transfers to a different type of estimator. The Minner estimator is a count-based estimator, which requires a different definition of success and a count of how many appear before the first . Lines 191-265 derive the corresponding joint expectations and approximate variance under circulant permutation in this context, making use of our sampling without replacement viewpoint. The full derivation and experiments are in Appendix B, lines 579-731.
We remark that getting a combinatorial analysis of the count-based Minner estimator would be considered original, since the framework of Li and Li would require a new constrained combinatorial enumeration and additional propositions to compare the resultant variance. E.g. the techniques needed to be done (combinatorially) for counting number of before the first is substantially more difficult than seeing an before the first , and even then, comparisons need to be made with the variance of other estimators.
Such a combinatorial based approach would be a new theoretical result. However, we not just bypass the combinatorial calculations, but moreover give a "recipe" that allows someone to analyze the variance of circulant permutation applied to a different algorithm, at a lower technical bar than Li and Li.
Here, a lower technical bar should not be considered "bad", but rather "good", because a low technical bar means more researchers are able to understand and adopt our approach, compared to Li's combinatorial approach requiring a high technical bar.
We end this rebuttal with lines 294-297 from our main paper, which is a more technical tl;dr of our work.
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.
If we have resolved your concerns, please let us know, or feel free to ask if you have any further questions or comments about our paper.
Dear Reviewer,
If we have answered your concern about originality, may we encourage you to raise your score to signal this to the AC? Thank you!
- Rating
- 4/6
- Confidence
- 2/5
- Quality
- 3/4
- Clarity
- 2/4
- Significance
- 3/4
- Originality
- 3/4
- Contribution type
- theory
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
The paper studies the theoretical properties of the CMinHash estimator. While an exact variance expression is known in the literature, the existing analysis is difficult to extend to related MinHash estimators. To address this, the authors derive a simpler variance approximation under the large-vocabulary regime (), and demonstrate that the same analytical framework naturally extends to several other MinHash estimators.
Strengths and weaknesses
Strengths
The key insight is to interpret random permutations as sampling without replacement, leading to a significantly simpler variance analysis for CMinHash. This perspective also enables a unified comparison with other MinHash estimators and naturally extends to variants such as Minner estimator. The resulting analysis is simpler and interpretable compared to the existing analysis in the literature.
Weaknesses
- The paper would benefit from a more detailed discussion of why the theoretical analysis is practically useful. For example, the variance approximations could potentially be used to construct confidence intervals for Jaccard similarity and related quantities, which would further motivate the results.
- Since the approximation appears accurate only for relatively large vocabularies (), it would be helpful to provide rough upper bounds on the remainder terms for smaller values of .
Questions
- The presentation could be improved slightly, as some notation is difficult to follow. For example, around Line 216, the symbols and may be confused with the standard subtraction and multiplication operators.
- The assumption should be stated explicitly before the first theoretical result (Lemma 2).
Limitations
The theoretical guarantees are developed under the asymptotic large-vocabulary regime, and their applicability to moderate vocabulary sizes is not fully characterized.
Final justification
The authors have thoughtfully addressed my questions during the rebuttal phase. The paper makes a novel theoretical contribution. However, given my limited expertise in this particular area, I am not able to fully verify every step of the proofs, although the overall approach appears sound to me. Beyond this, I think the authors could improve the presentation of the work, which I believe should be relatively straightforward to address. Therefore, I will maintain my original rating of “borderline accept.”
Formatting concerns
None
3 comments
Rebuttal
We thank the reviewer for their detailed review. Here is our rebuttal.
- detailed discussion of why the theoretical analysis is practically useful
Our results allow a straightforward comparison of the theoretical variance of a circulant permutation estimator to the theoretical variance of other estimators, without needing to derive the combinatorial expression in Li and Li, as well as subsequent propositions required to analyze that estimator.
Lines 67-107 explain why the exact constrained sum in Li and Li is difficult to compare with the variance of Broder's MinHash, let alone another MinHash estimator. Lines 267-297 describe how the explicit approximation removes that obstacle. Appendix A.2, lines 373-410, gives the exact Li and Li expression and the additional results previously needed to analyze it.
However, we also demonstrate our technique works on a substantially different (count-based) estimator. Lines 191-265, and Appendix B.1-B.2 use our sampling without replacement approach to analyze the theoretical variance of the Minner estimator under circulant permutation.
We will make the discussion of usefulness more concrete in the Introduction and Discussion.
We agree that our variance approximations can be used to construct confidence intervals, and our variance approximation can also provide a plug in standard error. However, a confidence interval would additionally require a distributional approximation, which is not the scope of this paper. We will describe this as a possible application, however.
- Since the approximation appears accurate only for relatively large vocabularies ()...
We would like to clarify that our experiments (Fig 3, Fig 5) in our main paper show that our approximation is already accurate for at least , contrary to the reviewer's point. For the CMinHash approximation in Theorem 2, Figure 3 and lines 175 -190 show overlapping curves at and . For the Minner count approximation in Theorem 4, Figure 5 and lines 254-265 show overlap in curves except for the first plot. However, Appendix A.5, lines 564-577, and Appendix B.3, lines 710-731, give additional experiments showing that as increases (e.g. from to ), our approximation already overlaps the empirical variance curves.
We believe this misconception appears because we end both Appendix A and Appendix B with experiments on a real (but perhaps not as large) dataset which use , and the reviewer may have taken this to be our result. We thank the reviewer in reading through both appendices, but would like to reassure the reviewer that our approximations are accurate at small .
As we believe our reviewer may be a statistician (because of suggestions like "confidence intervals" and phrases like "practically useful"), we explain why giving rough upper bounds (or even any upper bounds) on would not help enhance our paper further. In statistics, there's the concept of: "it may be statistically significant, but not practically significant". Similar in this case, an upper bound sounds like it could be significant, unfortunately it is not practically significant (or rather, practically meaningful).
For example, in the CMinHash plots, gives an error of around an order of , and gives an error of around . Since would usually be much larger than 65536, the error would essentially be zero (up to machine precision).
While rough upper bounds may be useful for , most (maybe all non-trivial?) datasets, as acknowledged, surpass (in fact, if , computing the Jaccard similarity directly would not just be faster, but also exact).
- The symbols may be confused with the standard subtraction and multiplication operators.
We want to clarify that Li and Li originally introduced these symbols, and we continue using them, so as not to confuse readers who compare our paper with them. However, we will put a "tilde' on top of these symbols, i.e. , and , which should be a middle ground.
- The assumption should be stated
We will state this, as well as the corresponding equivalent assumption in the appendix as well.
If we have resolved your concerns, please let us know, or feel free to ask if you have any further questions or comments about our paper.
Dear Reviewer,
If we have answered all your queries, may we encourage you to state so, or raise your score to signal this to the AC? Thank you!
Response to rebuttal
Thank you for the detailed response, clarifying my confusions and providing thoughtful answers to my questions. I recommend that the authors incorporate these clarifications, where appropriate, into the revised manuscript, as they would improve the presentation and make the paper easier to understand. Overall, I will keep my score unchanged at 'Borderline Accept'.
From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.
Loading the discussion…
We thank the Area Chair for coordinating the reviews of our paper. All three reviewers rated the quality and significance of our work as good, and the two substantive reviewers rated its originality as good.
As requested by the AC, we focused especially on the concerns of LU6m in our response, while also addressing the concerns of pYxU and tVXS. Please see our rebuttals to them.
We would first like to clarify the scope of our contribution. CMinHash is the starting case for developing our approach. Our broader contribution is a sampling without replacement approach for analyzing MinHash estimators involving circulant permutation. Lines 67-107 explain why the existing analysis is difficult to use and how our approach addresses this. Lines 191-265 apply the same approach to the Minner count estimator, while lines 267-297 discuss how it can be used to study other estimators involving circulant permutation. Appendix A.2 explains the difficulty of directly using Li and Li’s exact variance expression, and the later parts of the Appendix give the full calculations for CMinHash and Minner.
The main concern shared by the two substantive reviews is clarity. LU6m also raised the length of the supplementary material. Tracking several circular shifts of one random permutation, together with the corresponding expectations and covariance terms, makes the notation and explanation dense, which is unavoidable, since this is a theory paper. Nevertheless, we agree that several parts can be explained more clearly.
In response to LU6m, we directly explain what one Draw in Figure 6 represents. We clarify that each Example column comes from one random permutation, and each Draw is one tuple obtained from that same permutation. We also provide a complete toy example showing how the tuples are obtained and how success is determined. We will correct vertical row to vertical column in the captions of Figures 6 and 7 and add this toy example to the Appendix.
In response to pYxU, we clarify that the symbols used for the different categories follow the notation introduced by Li and Li, which we retained so readers can compare the two analyses directly. We nevertheless agree that these symbols may be confused with the usual mathematical operators, and will place tildes over them to make their meaning clearer. We will also state the relevant assumption before Lemma 2 and explain exactly which terms are plotted in the numerical experiments. In particular, the plotted theoretical variance is the displayed expression with the big O remainder omitted.
The supplementary material is long because we provide the complete calculations needed to apply the approach. It explains the circulant permutation setup, Li and Li’s approach, the intuition behind our method, and a worked out calculation for CMinHash. We then describe the Minner count estimator and repeat the calculation for this substantially different estimator. Showing these steps allows other researchers to follow the approach and apply it to different estimators. We will add a clearer roadmap so readers can distinguish the main ideas from the detailed calculations.
We believe our responses and proposed revisions address the concerns raised in the reviews, especially LU6m’s main question. We hope the AC will take these clarifications into account in the final evaluation.