Manuscript Offprint
arXiv:2610.28581Birthday Estimators Are Uniformly Optimal for Renyi Entropy
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
Birthday Estimators Are Uniformly Optimal for Rényi Entropy
Maciej Skórski
October 21, 2026
Abstract
Collisions are a basic probe of unknown distributions, used for testing and for counting substructures in graphs, and they underlie Rényi entropy, a fundamental measure of uncertainty with applications in cryptography, machine learning, physics, and biology. Motivated by this, we study the natural birthday estimator. We prove Bernstein-type concentration for it and show that it is minimax optimal, uniformly and jointly in alphabet size, order, accuracy, and confidence, with no sample splitting, clipping, or median aggregation.
This, in particular, settles the sample complexity of integer-order Rényi entropy estimation up to absolute constants in all regimes, closing the gap between the best known upper and lower bounds. Our concentration bound rests on a sensitivity analysis of collision count, and the matching lower bound on a sharp analysis of detecting a hidden spike in a plateau distribution.
1.1 Background
Sample collisions are a basic tool for probing an unknown distribution. They have numerous applications, such as uniformity and closeness testing [10, 8], security of hash functions [22], counting substructures in graphs and hypergraphs [15, 25], and most notably determining Rényi entropy, a fundamental measure of uncertainty of central importance for cryptography [4, 13], machine learning [20], physics [7, 3], and biology, where it quantifies diversity [11, 17].
The order-d collision probability is the chance that d independent samples coincide,
Given this operational definition, a birthday estimator naturally comes to mind: just count coincidences in the sample, and normalize by the number of d-subsets. Since Rényi entropy is a logarithmic rescaling of , the same estimator applies [1, 19, 21].
Yet the uncertainty of this simple method is not fully understood: coincidences overlap heavily, so that many dependent events are counted. To guard against potentially heavy tails, existing general-order analyses resort to independent batches and median aggregation [19, 21], sometimes with clipping [2], rather than directly controlling the estimator. Because of these difficulties, the optimal sample size for collision and entropy estimation is not fully settled: the joint dependence on order, accuracy, confidence, and alphabet size remains open [2]. This work revisits this problem:
Does the birthday estimator concentrate sharply enough to yield optimal entropy estimation, jointly in order, accuracy, confidence, and alphabet size?
1.2 Contributions
We develop strong concentration bounds for the birthday estimator, and conclude that it gives high-confidence Rényi entropy estimation that is optimal jointly in alphabet size, integer order, accuracy, and confidence. Throughout, is a distribution on symbols, is an integer order, the accuracy, the failure probability, and ; the symbols hide absolute constants.
Strong concentration of birthday statistics. Collision counts have self-bounding properties. Through a sensitivity analysis of the suitably normalized and regularized count, we show that the number of -way coincidences among samples satisfies, for every distribution, integer and , with probability at least ,
a Bernstein-like bound around the root of its mean, with variance proxy of order and scale , obtained without sample splitting, clipping, or median aggregation (Theorem 2).
Learning Rényi entropy. Transferring this bound to the logarithmic scale, the unchanged order- estimator learns to additive accuracy with probability at least from
samples (Theorem 3), where . This guarantee is distribution-dependent.
Learning hidden spikes. Of independent interest, we study a plateau of atoms of mass in which one randomly chosen atom is raised by a relative amount , the excess being compensated by a uniform remainder. Distinguishing this from the plain plateau with error at most requires, and for suffices,
samples: the lower bound follows from an exact finite-sample mixture calculation, without Poissonization, and the upper bound from a simple max-count test (Theorem 5).
Universal minimax optimality. Choosing and turns the spike bound into an entropy lower bound that matches the upper bound. The minimax sample complexity of additive Rényi entropy estimation, the least for which some estimator is -accurate with probability on every distribution over symbols, therefore satisfies
uniformly in , , and , below small absolute constants (the nontrivial regime), with the order capped when necessary (Theorem 1).
1.3 Related Work
Sample complexity of Rényi entropy. Acharya, Orlitsky, Suresh and Tyagi [1] showed that integer orders need only samples (constants depending on ), against near-linear in for non-integer orders above one and for Shannon entropy [23, 16, 24]. The follow-up work [19] replaced the alphabet size by the scale , which we inherit; the analysis was later simplified with the theory of U-statistics and made adaptive [21]; a relative error for costs samples, with confidence boosted by a median of blocks. For entropy accuracy this is : optimal for but lossy beyond. Adibi and Krysta [2] prove ; this work replaces this product by the sum and matches it in all regimes from below.
Direct concentration inequalities. A standard route to high-confidence guarantees for U-statistics combines a variance bound with median aggregation [14], multiplying the sample size by ; another uses Hoeffding's blocking argument [12], with effective sample size . For collision counts, blocking combined with Bernstein gives for relative error , whereas our analysis gives : for uniform , the alphabet factor drops from to . General U-statistic inequalities do not directly supply our guarantees. For order two, [9] gives a multi-regime inequality with a quadratic log-confidence term; for higher orders, its moment bounds for nonnegative kernels give only constant-factor control of the -th root of the collision count, which is insufficient for small relative error, and its centered versions carry order-dependent constants that are not made explicit. We obtain direct high-confidence bounds for every integer by self-bounding concentration [6, 5, 18] of the collision count (normalized and regularized), with variance proxy and scale , and absolute constants (Theorem 2).
Lower bounds. Hidden-coordinate mixtures were used in [2] to obtain hard instances for entropy estimation, with Poissonization and truncation in the analysis. We use a different three-level family (floor, plateau, hidden spike) and compute the -divergence of the mixture exactly at fixed n; a matching test shows that the resulting bound is tight up to a constant (Theorem 5).
2 Preliminaries
We set up the notation and precisely define the notions below.
2.1 Collision probability and Rényi entropy
Write and let be the distributions on . For and an integer ,
and . Logarithms are natural. The entropy is nonincreasing in , with . By the power-mean inequality , so the distribution scale never exceeds , with equality for the uniform distribution.
2.2 The birthday estimator
are i.i.d. from , with and counts , and refer to this sample. The sample collision count is
Each indicator has expectation , hence and is unbiased for . The birthday entropy estimator is
with when .
2.3 Minimax conventions
is the least for which some estimator is -accurate with probability for every . We write if , and if both and , for an absolute constant .
2.4 Elementary inequalities
For integers we use , the identities and , the bound , and .
3 Results
We first state the minimax rate, then the concentration and estimation results behind the upper bound, and finally the hidden-spike testing result behind the lower bound.
Theorem 1 (Minimax sample complexity). There are absolute constants such that for all , integers , and , with ,
The upper bound is attained by the birthday estimator at order .
Three regimes. The rate in Theorem 1 has three regimes, depending on the term dominating in ; each is realized by a hard instance from Theorem 5. When , confidence dominates and the rate is ; the hard instance is a single heavy atom ( ). When , the order matters: the rate is , and the hard instance hides one raised atom among candidates. When , the search cost saturates at and the rate is , with candidates.
The upper bound relies on a novel concentration bound for the collision count, and its consequence for entropy.
Theorem 2 (Concentration of collision counts). For every distribution , integers and , and every , with ,
In particular, with probability at least , .
Theorem 3 (Birthday estimator). For every distribution , integer , and , a sample of size
guarantees that , where is the birthday estimator.
Corollary 4 (Sample complexity). Let be supported on symbols, let be an integer, and , and put . Use the capped order . Then satisfies with probability at least whenever
The lower bound will follow from the auxiliary testing problem illustrated in Figure 1. It is formulated with K as a free parameter, the entropy application specializes it to .
A Null distribution
B Hidden-spike alternative

Figure 1: The “plateau” null and the “spiked” alternative : one random plateau atom gains mass; both the gain magnitude and its unknown location add to the testing difficulty.
Theorem 5 (Distinguishing a hidden spike). Let , and let be a plateau of size with ; call the floor. Let (see Figure 1).
• Null (plateau). The distribution puts mass 1/K on each atom of S and spreads the remaining mass uniformly over the floor. The sample law is .
- Alternative (plateau with a hidden spike). For , raises the mass of atom by the factor , lowering the mass uniformly over the floor in compensation. The spike location is sampled uniformly from and is unknown, so the sample law is .
Let . Every test with and requires
Conversely, let and let be the number of samples equal to . The test has both errors at most once
Hence for the least sample size of a -test is .
4 Proofs
4.1 Birthday Estimation: High Confidence by Self-Bounding
We first control collisions on their natural root scale, and then pass to Rényi entropy. The observations are independent; neither the symbol counts nor the collision indicators need to be independent.
A moment bound
Lemma 6 (Sub-gamma moment bound). Let with and , and let . Suppose
Then, for every ,
Proof. Write the right-hand side as . Then (since ) and . Taking in the MGF bound gives
Since for , taking expectations and -th roots gives .
Remark 7. The lemma lets us center the concentration at the mean. Since , for , and the extra term is of order , constant in our application ( , ). Standard moment inequalities do not give this directly: Minkowski's inequality with leaves , which forces and turn our term into .
Sensitivity of collision counts. Throughout this section is fixed, and , since for we have and Theorem 2 is trivial. We write for the raw collision count and put , so that . It suffices to show, with the relative accuracy for the root,
as verified at the end of this section. We will prove the concentration for the smoothed quantity
The smoothing changes the root by at most 4; below we absorb this deterministic error into the allowed relative error. We now compute the deletion sensitivity with respect to the i-th sample:
because deleting an observation from the cell of with frequency removes collisions, leaving ; otherwise it removes zero.
The next step is to handle two regimes: if (low count), then . For high-count when by the inequality valid for we have . Thus,
We now bound the local sensitivity of . Put . Using and , we get
where . Therefore
We obtain that the total sensitivity equals exactly
because every collision will be counted d times towards removals.
Define by deleting observation , and . Now transfer these bounds to . By the concavity of -th root,
and thus we can bound total sensitivity of F
The local sensitivity of F is bounded by:
Concentration bounds. Set and . The preceding bounds give
Since , also , so is -self-bounding. By the upper-MGF and lower-tail bounds in [5, Theorem 1], writing , we have
In particular, is upper sub-gamma with variance proxy and scale ; its lower tail is sub-Gaussian with the same variance proxy. Consequently, for every ,
We now transfer these guarantees from the smoothed objective F to the actual collision statistic C. To this end, we apply Theorem 6 with
where . We obtain
By this and Jensen's inequality
Thus
Combining this with sub-gamma concentration and , for every ,
This proves Theorem 2.
Sufficient sample size. Let . By the transfer bound, with probability at least ,
Since , we have . The right-hand side is at most as soon as
and because . Then , hence
This proves Theorem 3.
Lemma 8 (Entropy order cap). For a distribution on at most k symbols and integers ,
Proof. Monotonicity of Rényi entropy gives . Also implies . Thus .
Proof of Theorem 4. If , there is no order bias. Otherwise and Theorem 8 gives . Apply Theorem 3 at order with accuracy , and use . If the cap does not bind, , so . If it binds, and , giving the same conclusion. Here , , and absorb the rounding terms. The stated sample bound follows.
4.2 Learning Spiked Plateaus
The following calculations prove Theorem 5 for the family illustrated in Figure 1.
Testing difficulty. A test with small error requires separation between the two sample laws. For distributions we use .
Lemma 9 ( testing bound). Let be distributions and an event with and . Then
Proof. By Cauchy-Schwarz, .
The hard family. Choose with , put , and assume and . The null has a plateau on and a uniform floor on its complement:
For , raise atom by and remove that mass uniformly from the floor:
Intuition. With samples, the count of an atom with mass fluctuates by about around its mean ; a spike at with relative increase moves the mean by ; this change is above the fluctuation when , even if the spike location is known. Error probability requires the shift to exceed standard deviations, and the union bound over the candidate locations raises this to . This gives, for
The test. The single-sample likelihood ratio is
For a fixed spike, only the boosted atom mass and the floor (outside) contribute:
where we utilised and . By independence of the observations:
For a random spike, is first sampled uniformly from , and then all observations are drawn from ; thus is a mixture of product measures. Writing , expansion of the squared mixture likelihood and independence give
Since , write , where
The first term contributes when the spikes coincide; the second is the mass deficit outside . Put and . Separating the diagonal terms from the off-diagonal terms yields, for every ,
(4)
Distinguishing alternative from null. Assume and put . For a test between and with both errors at most , the testing lemma requires
For the confidence cost, the bracket in (4) is at most , so
For the random spike, suppose instead that . Since and , (4) gives
a contradiction. Hence . Combining the confidence and search bounds gives the necessary sample size
This proves the lower bound in Theorem 5, with no restriction on .
For the converse, let , let be the sample count of , and (reject) if . Under , each , so the multiplicative Chernoff bound and a union bound give . Under , , so , and the same bound holds for by averaging over . Both errors are at most if , which matches (5). This completes the proof of Theorem 5.
4.3 Rényi Entropy Lower Bounds
We apply the hidden-spike testing bound to entropy estimation, using the same plateau family.
Corollary 10 (Rényi entropy lower bound). Let be an integer, , , and . Every estimator that is -accurate with confidence over the k-symbol simplex requires
From estimation to testing.
Lemma 11. If is -accurate with confidence and for all , then Theorem 9 applies to , , with (accuracy gives and for every , hence by averaging).
Parameters. Let , , and . Choose
Then , , and , so the family is valid. Also .
Entropy. We show for every (a gap would not suffice: the test needs more than ). Put and . Since and , we have . By region,
By the mean value theorem, the last term is at most , so
Since , with , , and ,
because . Hence
Lower bound
Proof of Theorem 10. The entropy argument gives for every . Thus accuracy yields a test between the null and the mixture with both errors at most , and Theorem 5 applies. Substituting gives
Finally, and . The additive is absorbed by , giving the stated bound.
Proof of Theorem 1. Theorem 4 gives the upper bound with the stated capped estimator. For , , so Theorem 10 gives the matching lower bound throughout the stated parameter range.
5 Discussion
We settled the sample complexity of Rényi entropy estimation for integer orders with direct birthday estimators, using two new ingredients.
The first is a direct concentration bound for the collision count (Theorem 2). The usual routes to high confidence, median aggregation over blocks and blocking arguments, multiply the whole base sample size by ; blocking also loses the birthday scale. Our bound has a Bernstein-type tail, so that confidence impacts the sample size additively in the entropy guarantee (Theorem 3). It uses only the deletion sensitivity of the count, and may extend to other statistics built from coincidences.
The second is on testing spiked plateaus: a uniform floor, a plateau, and one hidden spike. This family complexity is determined up to constants (Theorem 5), and tuning the plateau size and the boost gives matching lower bounds in all three regimes of the entropy rate. It differs from analogous constructions in prior work, and may be of independent interest wherever a relative change of a heavy atom must be detected among many candidates.
A natural direction for future work is high-confidence and adaptive Rényi entropy estimation: estimators that attain the instance-dependent rate in terms of with failure probability , without prior knowledge of the distribution, together with matching lower bounds.
AI use disclosure
An AI assistant (Claude, Anthropic) was used to support literature search and help polish an early version of the text. The author takes responsibility for all content.
References
[1] Jayadev Acharya, Alon Orlitsky, Ananda Theertha Suresh, and Himanshu Tyagi. Estimating Renyi Entropy of Discrete Distributions. IEEE Transactions on Information Theory, 63(1):38–56, January 2017.
[2] Arman Adibi and Piotr Krysta. Tight Sample Bounds for Renyi and Min-Entropy Estimation, August 2026. Version Number: 1.
[3] Christian Beck and Friedrich Schögl. Thermodynamics of Chaotic Systems: An Introduction. Cambridge University Press, 1 edition, July 1993.
[4] C.H. Bennett, G. Brassard, C. Crepeau, and U.M. Maurer. Generalized privacy amplification. IEEE Transactions on Information Theory, 41(6):1915–1923, November 1995.
[5] Stephane Boucheron, Gabor Lugosi, and Pascal Massart. On concentration of self-bounding functions. Electronic Journal of Probability, 14(none):1884–1899, January 2009.
[6] Stéphane Boucheron, Gábor Lugosi, and Pascal Massart. A sharp concentration inequality with applications. Random Structures and Algorithms, 16(3):277–292, May 2000.
[7] Tiff Brydges, Andreas Elben, Petar Jurcevic, Benoît Vermersch, Christine Maier, Ben P. Lanyon, Peter Zoller, Rainer Blatt, and Christian F. Roos. Probing Rényi entanglement entropy via randomized measurements. Science, 364(6437):260–263, April 2019.
[8] Ilias Diakonikolas, Themis Gouleakis, John Peebles, and Eric Price. Collision-Based Testers are Optimal for Uniformity and Closeness. Chicago Journal of Theoretical Computer Science, 25(1):1–21, 2019.
[9] Evarist Giné, Rafał Latała, and Joel Zinn. Exponential and Moment Inequalities for U-Statistics. In Evarist Giné, David M. Mason, and Jon A. Wellner, editors, High Dimensional Probability II, pages 13–38. Birkhäuser Boston, Boston, MA, 2000.
[10] Oded Goldreich and Dana Ron. On Testing Expansion in Bounded-Degree Graphs. In Oded Goldreich, editor, Studies in Complexity and Cryptography. Miscellanea on the Interplay between Randomness and Computation, volume 6650 of Lecture Notes in Computer Science, pages 68–75. Springer Berlin Heidelberg, Berlin, Heidelberg, 2011.
[11] M. O. Hill. Diversity and Evenness: A Unifying Notation and Its Consequences. Ecology, 54(2):427–432, March 1973.
[12] Wassily Hoeffding. Probability Inequalities for Sums of Bounded Random Variables. Journal of the American Statistical Association, 58(301):13–30, March 1963.
[13] Johan HÅstad, Russell Impagliazzo, Leonid A. Levin, and Michael Luby. A Pseudorandom Generator from any One-way Function. SIAM Journal on Computing, 28(4):1364–1396, January 1999.
[14] Mark R. Jerrum, Leslie G. Valiant, and Vijay V. Vazirani. Random generation of combinatorial structures from a uniform distribution. Theoretical Computer Science, 43:169–188, 1986.
[15] Madhav Jha, C. Seshadhri, and Ali Pinar. A space efficient streaming algorithm for triangle counting using the birthday paradox. In Proceedings of the 19th ACM SIGKDD international conference on Knowledge discovery and data mining, pages 589–597, Chicago Illinois USA, August 2013. ACM.
[16] Jiantao Jiao, Kartik Venkat, Yanjun Han, and Tsachy Weissman. Minimax Estimation of Functionals of Discrete Distributions. IEEE Transactions on Information Theory, 61(5):2835–2885, May 2015.
[17] Lou Jost. Entropy and diversity. Oikos, 113(2):363–375, May 2006.
[18] Andreas Maurer. Concentration inequalities for functions of independent variables. Random Structures & Algorithms, 29(2):121–138, September 2006.
[19] Maciej Obremski and Maciej Skorski. Renyi Entropy Estimation Revisited. LIPIcs, Volume 81, APPROX/RANDOM 2017, 81:20:1–20:15, 2017. Artwork Size: 15 pages, 604813 bytes ISBN: 9783959770446 Medium: application/pdf.
[20] Jose C. Principe. Information Theoretic Learning: Renyi's Entropy and Kernel Perspectives. Information Science and Statistics. Springer New York, New York, NY, 2010.
[21] Maciej Skorski. Towards More Efficient Rényi Entropy Estimation. Entropy, 25(2):185, January 2023.
[22] Kazuhiro Suzuki, Dongvu Tonien, Kaoru Kurosawa, and Koji Toyota. Birthday Paradox for Multi-collisions. In Min Surp Rhee, Byoungcheon Lee, David Hutchison, Takeo Kanade, Josef Kittler, Jon M. Kleinberg, Friedemann Mattern, John C. Mitchell, Moni Naor, Oscar Nierstrasz, C. Pandu Rangan, Bernhard Steffen, Madhu Sudan, Demetri Terzopoulos, Dough Tygar, Moshe Y. Vardi, and Gerhard Weikum, editors, Information Security and Cryptology – ICISC 2006, volume 4296 of Lecture Notes in Computer Science, pages 29–40. Springer Berlin Heidelberg, Berlin, Heidelberg, 2006.
[23] Gregory Valiant and Paul Valiant. Estimating the unseen: an n/log(n)-sample estimator for entropy and support size, shown optimal via new CLTs. In Proceedings of the forty-third annual ACM symposium on Theory of computing, pages 685–694, San Jose California USA, June 2011. ACM.
[24] Yihong Wu and Pengkun Yang. Minimax Rates of Entropy Estimation on Large Alphabets via Best Polynomial Approximation. IEEE Transactions on Information Theory, 62(6):3702–3720, June 2016.
[25] Yangxinyu Xie and Bhaswar B. Bhattacharya. Joint Poisson convergence of monochromatic hyperedges in multiplex hypergraphs. Advances in Applied Mathematics, 181:103151, December 2026.