Summary
A histogram with one pseudocount per cell gives a log-free bound for expected forward KL loss over Hölder densities, including densities that vanish. A separate finite mixture gives the corresponding log-free bound for the block redundancy used by Polyanskiy and Wu. For the catalog's 1-Lipschitz class on $[0,1]$, normalization forces a lower bound of $1/2$ and the sharp rate is $n^{-2/3}$.
Approach
The forward KL chain rule across a partition separates a deterministic approximation error from the risk of estimating the discrete cell probabilities. A one-sided bound on the density ratio controls the first error even in a cell with tiny true mass. Smoothing the empirical counts controls the second error. To identify exactly when the slower rate occurs, compare the geometric lower envelope from normalization with a hypercube of local bumps placed where a reference density is zero.
Claims
Throughout, $\mathcal F_{\beta,L,d}$ is the class of nonnegative, normalized densities on $[0,1]^d$ satisfying $|f(x)-f(y)|\le L\|x-y\|_2^\beta$, for fixed $d\ge1$, $0<\beta\le1$, and $L>0$. Estimators can output any jointly measurable probability density. Let $R_n(\beta,L,d)$ denote the minimax expected $D(f\|\widehat f)$ in nats.
- [proved] An add-one histogram on $m^d$ equal cubes has worst-case expected KL risk at most $$
Ld^{\beta/2}m^{-\beta}+\ln\frac{n+m^d}{n+1}.
$$ Consequently $R_n(\beta,L,d)=O(n^{-\beta/(\beta+d)})$ without a positive floor assumption. This answers the upper-bound question in Polyanskiy and Wu [1, Eq. (32.57)].
- [proved] Let $L_\star=(\int_{[0,1]^d}\|x\|_2^\beta\,dx)^{-1}$. The exact minimax rates are $$
R_n(\beta,L,d)\asymp
\begin{cases}
n^{-2\beta/(2\beta+d)},&0<L\le L_\star,\\
n^{-\beta/(\beta+d)},&L>L_\star .
\end{cases}
$$ In particular the catalog's class, with $\beta=L=d=1$, satisfies $R_n(1,1,1)\le (7/6)n^{-2/3}$ for $n\ge2$ and has a matching lower bound in order. It satisfies the stated $O(n^{-1/2})$ target.
- [proved] For every fixed $\beta,L,d$ as above, there are joint densities $q_n$ and a constant $C$ such that every $f\in\mathcal F_{\beta,L,d}$ satisfies $$
\sup_{x^n\in[0,1]^{dn}}\ln\frac{\prod_{j=1}^n f(x_j)}{q_n(x^n)}
\le C n^{d/(\beta+d)}.
$$ This implies the same upper bound for minimax block KL redundancy and the capacity of the $n$-sample statistical experiment.
Details
1. The histogram bound for forward KL
Partition the cube into $k$ Borel cells $B$ of positive volume, with a fixed convention on boundaries. Put $p_B=\int_B f$ and $\bar f_B=p_B/|B|$. Let $N_B$ count the observations in $B$ and set $\widehat p_B=(N_B+1)/(n+k)$, with $\widehat f(x)=\widehat p_B/|B|$ on $B$. This estimator is jointly measurable and integrates to one for every sample. If a sample is specified outside the cube, any outside observation can be assigned to the first bin to preserve normalization. Write $\bar f$ for the density whose value on each bin is $\bar f_B$. Splitting the logarithm within occupied cells gives the exact identity $$
D(f\|\widehat f)=D(f\|\bar f)+D(p\|\widehat p).
\tag{1}
$$ If $p_B=0$, then $f=0$ almost everywhere in $B$ and there is no contribution there to the forward-log expression. This expression agrees with the catalog's nonnegative integrand after integration, since each of the densities integrates to one.
In a cell of oscillation $\omega_B=\sup_B f-\inf_B f$ with $p_B>0$, use $f/\bar f_B\le 1+\omega_B/\bar f_B$ to obtain $$
\int_B f\ln(f/\bar f_B)
\le |B|\bar f_B\ln(1+\omega_B/\bar f_B)
\le |B|\omega_B.
\tag{2}
$$ The same bound holds for zero-mass cells. In particular the denominator $\bar f_B$ in the pointwise ratio cancels after integration. For $m^d$ equal cubes, $\omega_B\le L(\sqrt d/m)^\beta$.
For each $p_B>0$, $N_B$ is binomial with parameters $n,p_B$. The discrete add-one risk bound is classical (see [4, Eq. (1.4)]). The identity $$
\mathbb E[(N_B+1)^{-1}]
=\int_0^1(1-p_B+p_B t)^n\,dt
=\frac{1-(1-p_B)^{n+1}}{(n+1)p_B}
$$ and concavity of $\ln$ give $$
\mathbb E D(p\|\widehat p)
=\sum_{B:p_B>0}p_B\,\mathbb E\ln\frac{(n+k)p_B}{N_B+1}
\le\ln\frac{n+k}{n+1}\le\frac{k-1}{n+1}.
\tag{3}
$$ Equations (1)–(3) prove the finite-sample bound. Taking $m=\lceil n^{1/(\beta+d)}\rceil$ gives Claim 1. The construction uses the fact that the estimator need only be a density. Its piecewise constant output need not belong to the Hölder class.
2. The normalization threshold and the matching rates
Lower envelope. Write $A(x)=\int_{[0,1]^d}\|x-y\|_2^\beta\,dy$ and $A_\star=A(0)$. Integrating the Hölder condition gives $f(x)\ge 1-LA(x)$. The maximum of $A$ is attained at the corners. Indeed, after fixing all but one integration coordinate of $y$, the one-coordinate integral has the form $$
F_c(t)=\int_0^t(s^2+c)^{\beta/2}\,ds+
\int_0^{1-t}(s^2+c)^{\beta/2}\,ds,\qquad 0\le c\le d-1 .
$$ This is symmetric about $1/2$ and nonincreasing on $[0,1/2]$, by differentiation. Moving each coordinate of $x$ to a nearest endpoint can only increase $A(x)$.
More quantitatively there is $b>0$ depending on $\beta,d$ such that $A_\star-A(x)\ge b\,r(x)$, where $r(x)=\max_i\min(x_i,1-x_i)$ is the distance to a nearest corner in maximum norm. To see this, for $t\in[0,1/4]$ the derivative $-F_c'(t)$ is at least $$
b_0=\min_{0\le c\le d-1}
\left[(9/16+c)^{\beta/2}-(1/16+c)^{\beta/2}\right]>0.
$$ Move a coordinate attaining $r(x)$ first. Its increase in $A$ is at least $b_0\min(r(x),1/4)\ge b_0r(x)/2$. Moving the other coordinates preserves the inequality.
Thus $L<L_\star=1/A_\star$ gives a uniform positive floor. At $L=L_\star$ the common lower envelope is at least a constant times $r(x)$. The critical class really allows a zero, since $x\mapsto L_\star\|x\|_2^\beta$ integrates to one and has Hölder constant at most $L_\star$. This uses $|u^\beta-v^\beta|\le|u-v|^\beta$ for $u,v\ge0$.
Faster upper bound. In every positive-mass cell, $\ln t\le t-1$ and the cell mean identity yield $$
\int_B f\ln(f/\bar f_B)
\le\bar f_B^{-1}\int_B (f-\bar f_B)^2 .
\tag{4}
$$ When $L<L_\star$, use the positive floor in (4) and the oscillation bound on equal cubes to get total approximation error $O(m^{-2\beta})$. For $L=L_\star$ and $d\ge2$, the inverse lower envelope is integrable: the volume of $\{r(x)<s\}$ is $(2s)^d$ for $0<s<1/2$, so $\int 1/r(x)\,dx<\infty$. For each cell Jensen's inequality gives $|B|/\bar f_B\le\int_B 1/f$. Equation (4) and the oscillation bound then give $O(m^{-2\beta})$ again.
At the critical radius in $d=1$, use $2m$ intervals obtained by partitioning $[0,1/2]$ at $x_j=j^2/(2m^2)$ for $0\le j\le m$ and reflecting. The endpoint cells contribute a total $O(m^{-2(\beta+1)})$ by (2). An interior bin on the left of length $h_j=x_j-x_{j-1}\le j/m^2$ has mean at least a constant times $x_{j-1}$. By (4) its error is bounded by a constant times $h_j^{2\beta+1}/x_{j-1}\le 8j^{2\beta-1}/m^{4\beta}$ for $j\ge2$. The sum is $O(m^{-2\beta})$ since $\beta>0$. Reflection gives the same bound on the right. In all these cases, take $m=\lceil n^{1/(2\beta+d)}\rceil$ and use (3).
For the exact catalog class, integration gives $$
f(x)\ge1-\frac{x^2+(1-x)^2}{2}\ge\tfrac12 .
$$ For equal intervals of length $h=1/k$, the identity for the within-bin variance gives $$
\int_B(f-\bar f_B)^2
=\frac1{2h}\int_B\int_B(f(x)-f(y))^2\,dx\,dy
\le \frac{h^3}{12}.
$$ Equations (1), (3) and (4) give risk at most $1/(6k^2)+(k-1)/(n+1)$. With $k=\lceil n^{1/3}\rceil$ this is at most $(7/6)n^{-2/3}$.
Lower bounds. The same testing argument gives both rates. Use the squared Hellinger loss $H^2(f,g)=\int(\sqrt f-\sqrt g)^2\le D(f\|g)$. The inequality follows, for example, by integrating $\ln u\le u-1$ at $u=\sqrt{g/f}$ on $\{f>0\}$.
Take a reference density $g$ with Hölder seminorm strictly less than $L$, and a subcube of side $s>0$ on which it is constant. Below, the two choices of $g$ give a constant value of either $1$ or $0$. Subdivide the subcube into $M=m^d$ cells of side $h=s/m$. In each cell put two candidate nonnegative bumps with disjoint supports strictly inside the cell, one to be selected. They are translated copies of $$
\eta\,h^\beta\,(1/8-\|(x-z)/h\|_2)_+^\beta ,
$$ with centers $z$ separated by $h/2$ in the first coordinate and at least $h/4$ from the cell boundary. Each bump has Hölder seminorm at most $\eta$ and mass $\mu=b_1\eta h^{\beta+d}$, where $b_1=\int_{\mathbb R^d}(1/8-\|u\|_2)_+^\beta\,du>0$. For each binary vector $\sigma\in\{0,1\}^M$ define $f_\sigma$ as $(1-M\mu)g$ plus all the bumps selected by $\sigma$. The mass of the selected bumps is $M\mu$ independent of $\sigma$. Their sum equals their pointwise maximum because the supports are disjoint. The maximum of functions with Hölder constant $\eta$ still has constant at most $\eta$. Choosing $\eta$ small enough that $M\mu\le1/2$ for all $m$ and $[g]_\beta+\eta\le L$ makes all $f_\sigma$ members of the class.
For a given cell, the restriction of $f_\sigma$ is one of two fixed functions depending only on that cell's bit. Let $a_h$ be the squared Hellinger distance between these restrictions. For an arbitrary estimator, decode each bit by choosing the nearer square-root density in $L^2$ on that cell. The triangle inequality shows that a wrong bit costs at least $a_h/4$ in squared Hellinger loss on that cell. Two distributions differing in one bit have one-sample squared Hellinger distance exactly $a_h$, since they agree outside that cell. For $n$ samples their total variation is at most $\sqrt{na_h}$, by Hellinger tensorization and $\mathrm{TV}\le H$. If $na_h\le1/4$, every test between a pair of neighbors has average error at least $1/4$ with equal prior weights. Average this pairwise bound over the other bits to get expected Hellinger loss at least $Ma_h/16$ under the uniform prior. The minimax KL risk is at least this large.
- For every $L>0$, take $g=1$, $s=1$, and also choose $\eta\le1/2$. On each cell the densities are between $1/2$ and $2$. The two squared root differences integrate to an amount comparable to the squared $L^2$ difference, which is proportional to $h^{2\beta+d}$ by dilation and disjointness. Hence $a_h\asymp h^{2\beta+d}$. Taking $m=\lceil K n^{1/(2\beta+d)}\rceil$ for large enough fixed $K$ yields $na_h\le1/4$ and $Ma_h\gtrsim n^{-2\beta/(2\beta+d)}$.
- If $L>L_\star$, take $g$ proportional to $(\|x\|_2^\beta-\rho^\beta)_+$ for small fixed $\rho>0$. Its normalizing multiplier tends to $L_\star$ as $\rho\downarrow0$ by dominated convergence, and bounds its Hölder seminorm. Choose $\rho$ so that the multiplier is less than $L$ and choose a positive-side-length subcube inside its zero region. In each cell the two densities then have disjoint supports, so $a_h=2\mu$. Taking $m=\lceil K n^{1/(\beta+d)}\rceil$ gives the slower lower bound $Ma_h\gtrsim n^{-\beta/(\beta+d)}$.
This proves Claim 2, including the transition at equality.
3. Block redundancy from a one-sided density cover
Quantize the values of each $f$ at the grid $\{0,1/m,\ldots,1\}^d$ in steps of $m^{-\beta}$. The values are uniformly bounded by $1+L d^{\beta/2}$ by integration of the Hölder condition. Along edges of a spanning tree of the grid graph, adjacent quantized integers differ by at most $\lceil L\rceil+1$. Hence the number of quantization patterns is at most $$
O(m^\beta+1)(2\lceil L\rceil+3)^{(m+1)^d-1}.
$$ From each nonempty pattern choose a representative $f_i$ in the class. Two functions with the same pattern differ by at most $\delta=(1+2L d^{\beta/2})\,m^{-\beta}$ in sup norm, by comparison with a grid point within Euclidean distance $\sqrt d/m$.
Replace each representative by the density $g_i=(f_i+\delta)/(1+\delta)$. For every $f$ with that pattern, $g_i\ge f/(1+\delta)$ pointwise. Let $q_n$ be the equal mixture of the $g_i^{\otimes n}$ over the $T$ representatives. It dominates $f^{\otimes n}$ pointwise up to the factor $T(1+\delta)^n$. The log ratio is therefore at most $\ln T+n\ln(1+\delta)=O(m^d+nm^{-\beta})$. Taking $m=\lceil n^{1/(\beta+d)}\rceil$ proves the bound. Integrating proves the block redundancy upper bound. For any prior on densities, averaging $D(f^{\otimes n}\|q_n)$ gives $I(F;X^n)+D(P_{X^n}\|q_n)$ by the divergence chain rule, so the claimed capacity bound follows too.
Verification
The proof does not use simulations. The expected loss in Claim 1 is the forward KL loss and the estimator outputs a density for every sample, as in the catalog. At a zero-mass cell, the positive estimate is paid for through the normalization of all the estimated masses in (1) and (3). In the lower bound, the choice of a reference density with an open zero region requires $L>L_\star$. The explicit estimate at $\beta=L=d=1$ proves the frozen rate proposition in ordinary mathematics. The supplementary Lean file below checks the positive floor of the frozen class using its existing upper-bound certificate applied to $2-f$. The rate proof awaits formalization and independent review.
I checked the problem file, the frozen definition and its certificate. There were no earlier attempts on this entry at the start of this work. For priority, I checked the author-posted text of Polyanskiy and Wu [1], Yang and Barron [2], and searched for “minimax KL Hölder density estimation logarithmic gap histogram,” “Polyanskiy Wu 32.57 errata,” and later resolutions using smoothed histograms. Their Chapter 32 uses a Hellinger-cover conversion to obtain the bound with a logarithm. I also checked the scope of the more recent expected-KL upper bound in [3], which assumes a positive lower bound on a torus class. I did not find the log-free result for the class with an open zero region or the boundary-radius classification in the sources checked. The bounded-away-from-zero rate and the general testing methods are classical.
To check the floor, run from the repository root after building the certificate module.
cd lean
lake env lean ../attempts/nonparametric-holder-kl-risk-log-gap/lean/NormalizationFloor.lean
Dead ends
In one dimension at the critical radius, inserting the linear lower envelope into (4) with equal-width bins gives a harmonic sum and an $O(m^{-2\beta}\ln m)$ approximation bound. The graded partition uses shorter bins near the two endpoints and removes that logarithm.
References
- [1] Y. Polyanskiy and Y. Wu, Information Theory: From Coding to Learning, Cambridge University Press, 2025. Author-posted prepublication text, Sec. 32.4, Eq. (32.57).
- [2] Y. Yang and A. Barron, “Information-theoretic determination of minimax rates of convergence,” Ann. Statist., vol. 27, no. 5, pp. 1564–1599, 1999. Author copy.
- [3] B. Miyatake, Approximation Families and the Statistical Efficiency of Denoising Score Matching, Cor. 4.4. arXiv:2610.36205.
- [4] J. Mourtada, “Estimation of discrete distributions in relative entropy, and the deviations of the missing mass,” Math. Stat. Learn., vol. 9, pp. 69–144, 2026. Publisher copy.
Source: attempts/nonparametric-holder-kl-risk-log-gap/2026-12-01-codex-smoothed-histograms.md