Minimax Estimation of Functionals of Discrete Distributions

Jiantao Jiao, Kartik Venkat, Yanjun Han, Tsachy Weissman

I Introduction and main results

Given nn independent samples from an unknown discrete probability distribution P=(p1,p2,…,pS)P=(p_{1},p_{2},\ldots,p_{S}), with unknown support size SS, consider the problem of estimating a functional of the distribution of the form:

which plays significant roles in information theory . Another information theoretic quantity which is closely related to the entropy is the mutual information, which for discrete random variables can be defined as

where PX,PY,PXYP_{X},P_{Y},P_{XY} denote, respectively, the distributions of random variables XX, YY, and the pair (X,Y)(X,Y).

We are also interested in the family of information measures Fα(P)F_{\alpha}(P):

The significance of functional Fα(P)F_{\alpha}(P) can be seen via the connection Hα(P)=ln⁡Fα(P)1−αH_{\alpha}(P)=\frac{\ln F_{\alpha}(P)}{1-\alpha}, where Hα(P)H_{\alpha}(P) is the Rényi entropy , emerging in answering fundamental questions in information theory ,. The functional 1−F2(P)1-F_{2}(P) is also called Gini impurity, which is widely used in machine learning .

Over the years, the use of information theoretic measures, especially entropy and mutual information, has extended far beyond the information theory community, and is deeply imbued in fundamental concepts from various disciplines. In statistics, one of the popular criteria for objective Bayesian modeling is to design a prior on the parameter to maximize the mutual information between the parameter and the observations. In machine learning, the so-called infomax criterion states that the function that maps a set of input values to a set of output values should be chosen or learned so as to maximize the mutual information between the input and output, subject to a set of specified constraints. This principle has been widely adopted in practice, for example, in decision tree based algorithms in machine learning such as C4.5 , one tries to select the feature at each step of tree splitting to maximize the mutual information (called information gain principle ) between the output and the feature conditioned on previous chosen features. Other measures in feature selection have been proposed, such as the Gini impurity (used in CART ), variance reduction , and many of them can be incorporated as special cases of what we study in this paper. We emphasize that in some applications, mutual information arises naturally as the only answer, for example, the well known Chow–Liu algorithm for learning tree graphical models relies on estimation of the mutual information, which is a natural consequence of maximum likelihood estimation. Recently, it was shown that mutual information is the unique measure of relevance for inference in the presence of side information to satisfy a natural data processing property.

We also mention genetics , image processing , computer vision , secrecy , ecology , and physics as fields in which information theoretic measures are widely used. There are some other functionals that can be loosely categorized as information theoretic measures, such as the association measures quantifying certain dependency relations of random variables , and divergence measures .

In most applications, the underlying distribution is unknown, so we cannot compute these information theoretic measures exactly. Hence, in nearly every problem that uses information theoretic measures, we need to estimate these quantities from the data, which is what we study in this paper. Our contributions are threefold. (i) We show that when the number of observations nn is comparable to the parameter dimension (a relevant regime in the “big data” era), the prevailing approaches (such as plug-in of the maximum likelihood estimator) can be highly sub-optimal. (ii) We propose new and computationally efficient algorithms that are essentially optimal in terms of the worst case squared error risk. That is, we both characterize the fundamental limits on estimation performance, and propose practical algorithms that essentially achieve them. Our results establish that for such functional estimation scenarios, replacing the plug-in (maximum likelihood) estimator by our practical and essentially minimax optimal estimators yields an effective enlargement of the sample size from nn to nln⁡nn\ln n, which can make a significant difference in practice. (iii) We demonstrate the efficacy of our schemes by a comparison with existing procedures in the literature, as well as illustrate performance boosts over traditional schemes on both real and simulated data.

Notation: We use the notation aγ≲bγa_{\gamma}\lesssim b_{\gamma} to denote that there exists a universal constant CC such that sup⁡γaγbγ≤C\sup_{\gamma}\frac{a_{\gamma}}{b_{\gamma}}\leq C. Notation aγ≍bγa_{\gamma}\asymp b_{\gamma} is equivalent to aγ≲bγa_{\gamma}\lesssim b_{\gamma} and bγ≲aγb_{\gamma}\lesssim a_{\gamma}. Notation aγ≫bγa_{\gamma}\gg b_{\gamma} means that lim inf⁡γaγbγ=∞\liminf_{\gamma}\frac{a_{\gamma}}{b_{\gamma}}=\infty, and aγ≪bγa_{\gamma}\ll b_{\gamma} is equivalent to bγ≫aγb_{\gamma}\gg a_{\gamma}. The sequences aγ,bγa_{\gamma},b_{\gamma} are non-negative.

Our main goal in this work is to present a general approach to the construction of minimax rate-optimal estimators for functionals of the form (1) under L2L_{2} loss. To illustrate our approach, we describe and analyze explicit constructions for the specific cases of entropy H(P)H(P) and Fα(P)F_{\alpha}(P), from which the construction for any other functional of the form (1) will be clear. Our estimators for each of these two functionals are agnostic with respect to the support size SS, and achieve the minimax L2L_{2} rates (i.e. the performance of our approaches when we do not know the support size SS does not degrade compared with the case where the support size SS is known).

Our approach is to tackle the estimation problem separately for the cases of “small pp” and “large pp” in H(P)H(P) and Fα(P)F_{\alpha}(P) estimation, corresponding to treating regions where the functional is nonsmooth and smooth in different ways. As we describe in detail in the sections to follow, where we give a full account of our estimators, in the nonsmooth region, we rely on the best polynomial approximation of the function ff, by employing an unbiased estimator for this approximation. The best polynomial approximation for a function f(x)f(x) on domain AA with order no more than KK is defined as

where polyK\mathsf{poly}_{K} is the collection of polynomials with order at most KK on AA. The part pertaining to the smooth region is estimated by a bias-corrected maximum likelihood estimator. We apply this procedure coordinate-wise based on the empirical distribution of each observed symbol, and finally sum the respective estimates.

We now look at the specific cases of entropy and Fα(P)F_{\alpha}(P) separately. For the entropy, after we obtain the empirical distribution PnP_{n}, for each coordinate Pn(i)P_{n}(i), if Pn(i)≪ln⁡n/nP_{n}(i)\ll\ln n/n, we (i) compute the best polynomial approximation for −piln⁡pi-p_{i}\ln p_{i} in the regime 0≤pi≪ln⁡n/n0\leq p_{i}\ll\ln n/n, (ii) use the unbiased estimators for integer powers pikp_{i}^{k} to estimate the corresponding terms in the polynomial approximation for −piln⁡pi-p_{i}\ln p_{i} up to order Kn∼ln⁡nK_{n}\sim\ln n, and (iii) use that polynomial as an estimate for −piln⁡pi-p_{i}\ln p_{i}. If Pn(i)≫ln⁡n/nP_{n}(i)\gg\ln n/n, we use the estimator −Pn(i)ln⁡Pn(i)+12n-P_{n}(i)\ln P_{n}(i)+\frac{1}{2n} to estimate −piln⁡pi-p_{i}\ln p_{i}. Then, we add the estimators corresponding to each coordinate. Our estimator for Fα(P)F_{\alpha}(P) is very similar to that of entropy, with the only difference that we conduct polynomial approximation for xαx^{\alpha} with order Kn∼ln⁡nK_{n}\sim\ln n, and use the estimator (1+α(1−α)2nPn(i))Pnα(i)\left(1+\frac{\alpha(1-\alpha)}{2nP_{n}(i)}\right)P_{n}^{\alpha}(i) when Pn(i)≫ln⁡n/nP_{n}(i)\gg\ln n/n.

We remark that our estimator is both conceptually and algorithmically simple, with complexity linear in the number of samples nn. Indeed, the only non-trivial computation required is the best polynomial approximation for functions, which is data independent and can be done offline before obtaining any samples from the experiment. Moreover, the coefficients of the best polynomial approximation of different orders can be preprocessed and stored in advance in the implementation of our approach. We demonstrate in Section V that the best polynomial approximation step can be performed efficiently using modern machinery from approximation theory and numerical analysis.

I-B Main results

Simple as our estimators are to describe and implement, they can be shown to be near “optimal” in the strong sense we now describe. We adopt the conventional statistical decision theoretic framework . Regarding the task of estimating functional F(P)F(P), the L2L_{2} risk of an arbitrary estimator F^\hat{F} is defined as

where the expectation is taken with respect to the distribution PP that generates the observations used by F^\hat{F}. Apparently, the L2L_{2} risk is a function of both the unknown distribution PP and the estimator F^\hat{F}, and our goal is to minimize this risk. Since PP is unknown, we cannot directly minimize it, but if we want to do well no matter what the true distribution PP is, we may want to adopt the minimax criterion , and try to minimize the maximum risk

where MS\mathcal{M}_{S} denotes the set of all discrete distributions with support size SS. The estimator that minimizes the maximum risk above is called the minimax estimator, and the corresponding risk is called the minimax risk. The exact computation of the minimax risk and the minimax estimator for general F(P)F(P) seems intractable. Although the maximum risk in (7) is a convex function of F^\hat{F} (supremum of convex functions is convex), minimizing this function involves computation of the objective function via sup⁡P∈MS\sup_{P\in\mathcal{M}_{S}}, which is a non-convex optimization problem. Moreover, even if we can compute it exactly, the minimax estimator will surely depend on the support size SS, which is unknown to the statistician in many applications.

Hence, we slightly relax the requirement, and seek minimax rate-optimal estimators F^∗\hat{F}^{*} with maximum (worst-case) risk equal to the minimax risk up to a multiplicative constant. In other words, we want to design estimator F^∗\hat{F}^{*} such that there exist two universal positive constants 0<C1≤C2<∞0<C_{1}\leq C_{2}<\infty that do not depend on the problem configuration (such as the support size SS and sample size nn), for which

As it turns out, it is possible to construct estimators F^∗\hat{F}^{*} for a wide class of functionals, which do not rely on the knowledge of support size SS. A brief description of the constructions is given in Section I-A. We find it intriguing that our estimators, which are minimax rate-optimal, are intimately connected to the problem of best (minimax) polynomial approximation, which is a convex optimization problem. In some sense, we have transformed the difficult-to-solve minimax and convex problem of minimizing the maximum risk in (7) into another efficently solvable minimax and convex problem of minimizing the maximum deviation of a polynomial from a given function, which turns out to have been studied extensively in approximation theory for more than a century.

To ease the presentation, we consider the “Poissonized” observation model [22, Pg. 508], since we can show that the minimax risks under the Multinomial model and Poisson model are essentially the same (cf. Lemma 16). Moreover, adopting the Poisson model significantly reduces the length of the proofs, and we emphasize that similar analysis can also go through for Multinomial settings, with more nuanced analysis. In the Poisson setting, we first draw a Poisson random number N∼Poi(n)N\sim\mathsf{Poi}(n), and then conduct the sampling NN times. Consequently, the observed number of occurrences of each symbol are independent [23, Thm. 5.6].

We have the following characterization of the minimax risk for entropy estimation.

Suppose n≳Sln⁡Sn\gtrsim\frac{S}{\ln S}. Then the minimax risk of estimating entropy H(P)H(P) satisfies

Our estimator achieves this bound without knowledge of the support size SS under the Poisson model.

The following is an immediate consequence of Theorem 1.

For our entropy estimator, the maximum L2L_{2} risk vanishes provided n≫Sln⁡Sn\gg\frac{S}{\ln S}. Moreover, if n≲Sln⁡Sn\lesssim\frac{S}{\ln S}, then the maximum risk of any estimator for entropy is bounded from zero.

It was first shown in that one must have n≫Sln⁡Sn\gg\frac{S}{\ln S} for consistently estimating the entropy. However, the entropy estimators based on linear programming proposed in Valiant and Valiant have not been shown to achieve the minimax risk. Another estimator proposed by Valiant and Valiant has only been shown to achieve the minimax risk in the restrictive regime of Sln⁡S≲n≲S1.03ln⁡S\frac{S}{\ln S}\lesssim n\lesssim\frac{S^{1.03}}{\ln S}. Wu and Yang independently applied the idea of best polynomial approximation to entropy estimation, and obtained its minimax L2L_{2} rates. The minimax lower bound part of Theorem 1 follows from Wu and Yang . We also remark that, unlike the estimator we propose, the estimator in Wu and Yang relies on knowledge of the support size SS, which generally may not be known.

For the functional Fα(P),0<α<1F_{\alpha}(P),0<\alpha<1, we have the following.

Suppose n≳S1/αln⁡Sn\gtrsim\frac{S^{1/\alpha}}{\ln S} when we estimate Fα(P),0<α<1F_{\alpha}(P),0<\alpha<1. Then we have the following characterizations of the minimax risk.

0<α≤1/20<\alpha\leq 1/2. If we also have ln⁡n≲ln⁡S\ln n\lesssim\ln S, then

Our estimators F^α\hat{F}_{\alpha} achieve this bound without knowledge of the support size SS under the Poisson model.

One immediate corollary of Theorem 2 is the following.

For our estimators of FαF_{\alpha}, the maximum L2L_{2} risk vanishes provided n≫S1/αln⁡S,0<α<1n\gg\frac{S^{1/\alpha}}{\ln S},0<\alpha<1. Moreover, if n≲S1/αln⁡Sn\lesssim\frac{S^{1/\alpha}}{\ln S}, then the maximum risk of any estimator for FαF_{\alpha} is bounded from zero.

The minimax lower bound we present in Theorem 2In a previous version of the manuscript, there is a ln⁡S\sqrt{\ln S} gap between our minimax lower bound and the achievability in Theorem 2. Partially inspired by Wu and Yang , we modified the proof by using an argument similar to that in the lower bound proof of , thereby closing the gap. significantly improves on Paninski’s lower bound in , which states that if n≲S1/α−1n\lesssim S^{1/\alpha-1}, then the maximum L2L_{2} risk of any estimator for Fα(P),0<α<1F_{\alpha}(P),0<\alpha<1, is bounded from zero.

The next two theorems correspond to estimation of Fα(P)F_{\alpha}(P), α>1\alpha>1.

Suppose 1<α<321<\alpha<\frac{3}{2}. Under the Poissonized model, our estimator F^α\hat{F}_{\alpha} satisfies

In other words, our estimator F^α,1<α<3/2\hat{F}_{\alpha},1<\alpha<3/2 achieves an L2L_{2} convergence rate of (nln⁡n)−2(α−1)(n\ln n)^{-2(\alpha-1)} regardless of the support size. This also turns out to be the minimax rate, as shown by the following result.

Suppose 1<α<321<\alpha<\frac{3}{2}. There exists a universal constant c0>0c_{0}>0 such that if S=c0nln⁡nS=c_{0}n\ln n then

where the infimum is taken over all possible estimators F^\hat{F}.

Table I summarizes the minimax L2L_{2} rates and the L2L_{2} convergence rates of the MLE in estimating Fα(P),α>0F_{\alpha}(P),\alpha>0 and H(P)H(P). When the L2L_{2} rates have two terms, the first and second terms represent respectively the contributions of the bias and the variance. When there is a single term, only the dominant term is retained. Conditions for these results are presented in parentheses.

From a sample complexity perspective (i.e. how should the number of samples nn scale with the support size SS to achieve consistent estimation), Table I implies the results in Table II.

Our work (including the companion paper ) is the first to obtain the minimax rates, minimax rate-optimal estimators, and the maximum risk of MLE for estimating Fα(P),0<α<3/2F_{\alpha}(P),0<\alpha<3/2, and entropy H(P)H(P) in the most comprehensive regime of (S,n)(S,n) pairs. Evident from Table I is the fact that the MLE cannot achieve the minimax rates for estimation of H(P)H(P), and Fα(P)F_{\alpha}(P) when 0<α<3/20<\alpha<3/2. In these cases, our estimators have performance with nn samples essentially the same as the MLE with nln⁡nn\ln n samples, and it is the best possible. In other words, the minimax rate-optimal schemes enlarge the “effective sample size” from nn to nln⁡nn\ln n. Furthermore, all the improvements we have are in the bias, which is the dominating factor in the risk. This observation suggests a simple way to obtain the minimax L2L_{2} rates from the L2L_{2} rates of the MLE. One need merely find the bias term in the expression of MLE L2L_{2} rates, and replace the term nn by nln⁡nn\ln n. This simple rule is intimately connected to the rationale behind the construction and analysis of our estimators, on which we elaborate in Section II.

We also note that Table II is a “lossy compression” of Table I. Indeed, it did not reflect the important improvement of our estimator over the MLE in estimating Fα(P),1<α<3/2F_{\alpha}(P),1<\alpha<3/2. However, it is more transparent about the increase of difficulty in estimation when we decrease α\alpha. Indeed, when α→0+\alpha\to 0^{+}, the sample complexity in estimating Fα(P)F_{\alpha}(P), S1/α/ln⁡SS^{1/\alpha}/\ln S becomes super-polynomial in SS, which implies that the problem has become extremely challenging. Indeed, the limiting case of α=0\alpha=0 corresponds to estimating the support size of a discrete distribution, which has long been known impossible to do consistently without additional assumptions .

I-C Discussion of main results

Within the scope of estimating entropy of discrete distributions from i.i.d. samples, the reader should be aware of different problem formulations, so as not to be confused by seemingly contradictory results. The problem we consider in this paper is to estimate the entropy H(P)H(P) for all possible distributions PP supported on SS elements, a setting for which we obtain Theorem 1. However, one may impose some additional structure on the distribution PP, and thus restrict attention to smaller uncertainty sets of distributions. One may expect different answers depending on the size and nature of the uncertainty sets. One of the popular alternative settings is to assume that the distribution PP comes from a uniform distribution with unknown support size SS. Note that it is a great simplification of the problem, indeed, there is only one parameter SS to estimate. Correspondingly, we only need n≫Sn\gg\sqrt{S} samples to consistently estimate the support size, and the entropy under this setting , which is much smaller than the required n≫Sln⁡Sn\gg\frac{S}{\ln S} samples in our setting, cf. Theorem 1.

Some readers may be concerned that the minimax decision theoretic framework we adopt is too pessimistic. In some sense, it characterizes the worst-case performance over all possible distributions P∈MSP\in\mathcal{M}_{S}, and it would be disappointing if our estimator fails to behave reasonably for distributions lying in a strict subset of MS\mathcal{M}_{S} not including the worst case distribution. Regarding this question, Brown argued that the minimax idea has been an essential foundation for advances in many areas of statistical research, including general asymptotic theory and methodology, hierarchical models, robust estimation, optimal design, and nonparametric function analysis. Second, the statistics community in general uses the adaptive estimation framework to alleviate the pessimism of minimaxity . Specifically, one specifies a nested sequence of subsets of MS\mathcal{M}_{S}, and tries to construct an estimator that achieves simultaneously the minimax rates over each of the subsets without knowing the subset to which the active parameter PP actually belongs. It was shown recently in another related paper that along the nested subsets MS(H)={P:H(P)≤H,P∈MS}\mathcal{M}_{S}(H)=\{P:H(P)\leq H,P\in\mathcal{M}_{S}\}, our estimator (without knowing HH nor SS) simultaneously achieves the minimax rates over P∈MS(H)P\in\mathcal{M}_{S}(H) for all H≤ln⁡SH\leq\ln S. Most surprisingly, the maximum risk of our estimator over MS(H)\mathcal{M}_{S}(H) for every SS and HH with nn samples is still essentially that of the MLE with nln⁡nn\ln n samples, further reinforcing the effectiveness of our estimator.

It is instructive to consider our results in the context of the intriguing connections and differences between three important problems in information theory: entropy estimation, estimating a discrete distribution under relative entropy loss, and minimax redundancy in compressing i.i.d. sources. Table III summarizes the known results.

Table III conveys several important messages. First, in the asymptotic regime, there is a logarithmic factor between the redundancy of the compression and distribution estimation problems. Indeed, since compression requires use of a coding distribution QQ that does not depend on the data, the redundancy of compression will definitely be larger than the risk under relative entropy in estimating the distribution. However, in the large alphabet setting, the problems are equally difficult - the phase transition of vanishing risk for both compression and distribution estimation happen when nn is linear in the support size SS.

Second, the large alphabet setting shows that estimation of entropy is considerably easier than both estimating the corresponding distribution, and compression. It is somewhat surprising and enlightening, since there has been a well-received tradition to apply data compression techniques to estimate entropy, even beyond the information theory community, e.g. , whereas one of the implications of Table III is that the approach of entropy estimation via compression can be highly sub-optimal.

If we plot the phase transitions of ln⁡n/ln⁡S\ln n/\ln S for estimating Fα(P)F_{\alpha}(P) using Fα(Pn)F_{\alpha}(P_{n}) with respect to α\alpha, we obtain Figure 1.

consistent estimationnot achievable(Theorem 2)1012α<spanclass="katex−display"><spanclass="katex"><spanclass="katex−mathml"><mathxmlns="http://www.w3.org/1998/Math/MathML"display="block"><semantics><mrow><mfrac><mrow><mi>ln</mi><mo>⁡</mo><mi>n</mi></mrow><mrow><mi>ln</mi><mo>⁡</mo><mi>S</mi></mrow></mfrac></mrow><annotationencoding="application/x−tex">ln⁡nln⁡S</annotation></semantics></math></span><spanclass="katex−html"aria−hidden="true"><spanclass="base"><spanclass="strut"style="height:2.0574em;vertical−align:−0.686em;"></span><spanclass="mord"><spanclass="mopennulldelimiter"></span><spanclass="mfrac"><spanclass="vlist−tvlist−t2"><spanclass="vlist−r"><spanclass="vlist"style="height:1.3714em;"><spanstyle="top:−2.314em;"><spanclass="pstrut"style="height:3em;"></span><spanclass="mord"><spanclass="mop">ln</span><spanclass="mspace"style="margin−right:0.1667em;"></span><spanclass="mordmathnormal"style="margin−right:0.0576em;">S</span></span></span><spanstyle="top:−3.23em;"><spanclass="pstrut"style="height:3em;"></span><spanclass="frac−line"style="border−bottom−width:0.04em;"></span></span><spanstyle="top:−3.677em;"><spanclass="pstrut"style="height:3em;"></span><spanclass="mord"><spanclass="mop">ln</span><spanclass="mspace"style="margin−right:0.1667em;"></span><spanclass="mordmathnormal">n</span></span></span></span><spanclass="vlist−s">​</span></span><spanclass="vlist−r"><spanclass="vlist"style="height:0.686em;"><span></span></span></span></span></span><spanclass="mclosenulldelimiter"></span></span></span></span></span></span>1/α\alpha<span class="katex-display"><span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML" display="block"><semantics><mrow><mfrac><mrow><mi>ln</mi><mo>⁡</mo><mi>n</mi></mrow><mrow><mi>ln</mi><mo>⁡</mo><mi>S</mi></mrow></mfrac></mrow><annotation encoding="application/x-tex">\frac{\ln n}{\ln S}</annotation></semantics></math></span><span class="katex-html" aria-hidden="true"><span class="base"><span class="strut" style="height:2.0574em;vertical-align:-0.686em;"></span><span class="mord"><span class="mopen nulldelimiter"></span><span class="mfrac"><span class="vlist-t vlist-t2"><span class="vlist-r"><span class="vlist" style="height:1.3714em;"><span style="top:-2.314em;"><span class="pstrut" style="height:3em;"></span><span class="mord"><span class="mop">ln</span><span class="mspace" style="margin-right:0.1667em;"></span><span class="mord mathnormal" style="margin-right:0.0576em;">S</span></span></span><span style="top:-3.23em;"><span class="pstrut" style="height:3em;"></span><span class="frac-line" style="border-bottom-width:0.04em;"></span></span><span style="top:-3.677em;"><span class="pstrut" style="height:3em;"></span><span class="mord"><span class="mop">ln</span><span class="mspace" style="margin-right:0.1667em;"></span><span class="mord mathnormal">n</span></span></span></span><span class="vlist-s">​</span></span><span class="vlist-r"><span class="vlist" style="height:0.686em;"><span></span></span></span></span></span><span class="mclose nulldelimiter"></span></span></span></span></span></span>1/\alphaconsistent estimationachievable via both MLEand our scheme(resp. , Theorem 2,3) We observe a sharp phase transition at α=1\alpha=1, as the sample size requirement shifts from n≫S1α/ln⁡Sn\gg S^{\frac{1}{\alpha}}/\ln S to n≫1n\gg 1, depending on whether α\alpha is in the left or right neighborhood of 1, respectively. Hence, α=1\alpha=1 is a critical point in that consistent estimation requires a number of measurements super-linear or constant in the size of the alphabet according to whether α<1\alpha<1 or α>1\alpha>1.

Combining Table III and Figure 1 leads to the interesting observation that, in high dimensional asymptotics, estimating a functional of a distribution could be easier (e.g. H(P),Fα(P),α>1H(P),F_{\alpha}(P),\alpha>1) or harder (e.g. Fα(P),0<α<1F_{\alpha}(P),0<\alpha<1) than estimating the distribution itself. This observation taps into another interesting interpretation of the functional Fα(P)F_{\alpha}(P). In information theory, the random variable ı(X)=ln⁡1P(X)\imath(X)=\ln\frac{1}{P(X)} is known as the information density, and plays important roles in characterizing higher order fundamental limits of coding problems . The functional Fα(P)F_{\alpha}(P) can be interpreted as the moment generating function for random variable ı(X)\imath(X) as

It is shown in Valiant and Valiant that the distribution of ı(X)\imath(X) can be estimated using n≫S/ln⁡Sn\gg S/\ln S samples. Since moment generating functions can determine the distribution under some conditions, it is indeed plausible to see that the problem of estimating Fα(P)F_{\alpha}(P), or the moment generating function of ı(X)\imath(X), is either easier or harder than estimating the distribution of ı(X)\imath(X) itself for various values of α\alpha.

For any α∈(1,3/2)\alpha\in(1,3/2) and any δ>0,ϵ∈(0,1)\delta>0,\epsilon\in(0,1), there exists a constant c=cα(δ,ϵ)>0c=c_{\alpha}(\delta,\epsilon)>0 such that,

where F^α\hat{F}_{\alpha} is the estimator from Theorem 3.

In words, with high probability (ln⁡F^α)/(1−α)(\ln\hat{F}_{\alpha})/(1-\alpha) is close to the Rényi entropy provided n≳S/ln⁡Sn\gtrsim S/\ln S. In contrast, the MLE requires n≳Sn\gtrsim S samples for estimating Hα(P),1<α<32H_{\alpha}(P),1<\alpha<\frac{3}{2}, as is implied by the following theorem.

For any α∈(1,3/2)\alpha\in(1,3/2) and any constant c>0c>0, there exist some δ=δα(c)>0\delta=\delta_{\alpha}(c)>0 such that the MLE Hα(Pn)H_{\alpha}(P_{n}) satisfies

To conclude this discussion, we conjecture that plugging in our minimax rate-optimal estimators for Fα(P)F_{\alpha}(P) into the definition of Hα(P)H_{\alpha}(P) results in minimax rate-optimal estimators for Hα(P)H_{\alpha}(P) for all α>0\alpha>0.

II Motivation, methodology, and related work

Existing theory proves inadequate for addressing the problem of estimating functionals of probability distributions. A natural estimator for functionals of the form (1) is the maximum likelihood estimator (MLE), or plug-in estimator, which simply evaluates F(Pn)F({P}_{n}), where Pn{P}_{n} is the empirical distribution of the data. How well does the MLE perform? Interestingly, if f∈C1(0,1]f\in C^{1}(0,1] and we focus on nn i.i.d. observations from a distribution with support size SS, then the problem of estimating F(P)F(P) becomes a classical problem when SS is fixed, and the number of observations n→∞n\to\infty. This maximum likelihood estimator is asymptotically efficient [48, Thm. 8.11, Lemma 8.14] in the sense of the Hájek convolution theorem and the Hájek–Le Cam local asymptotic minimax theorem . It is therefore not surprising to encounter the following quote from the introduction of Wyner and Foster who considered entropy estimation:

“The plug-in estimate is universal and optimal not only for finite alphabet i.i.d. sources but also for finite alphabet, finite memory sources. On the other hand, practically as well as theoretically, these problems are of little interest. ”

In light of this, is it fair to say that the entropy estimation problem is solved in the finite alphabet setting? It was observed in Paninski that the maximum of Var(−ln⁡P(X))\mathsf{Var}(-\ln P(X)) over distributions with support size SS is of order (ln⁡S)2(\ln S)^{2} (a tight bound is also given by Lemma 15 in the appendix). Since classical asymptotics (with the Delta method [48, Chap. 3]) show that

a naive interpretation of (17) might be that it suffices to take n≫(ln⁡S)2n\gg(\ln S)^{2} samples to guarantee the consistency of H(Pn)H(P_{n}). Such an interpretation could however be very misleading. It was already observed in Paninski that if n≲S1−δ,δ>0n\lesssim S^{1-\delta},\delta>0, then the maximum L2L_{2} risk of any entropy estimator would be unbounded as SS grows.

This apparent discrepancy shows that (17) is not valid when SS might be growing with nn, and it is of utmost importance to obtain risk bounds for estimators of entropy and other functionals of distributions in the latter regime. Indeed, in the modern era of high dimensional statistics, we often encounter situations where the support size is comparable to, or much larger than the number of observations. For example, half of the words in the collected works by Shakespeare appeared only once .

It was shown in the companion paper that for n≳Sn\gtrsim S, the maximum risk of the MLE H(Pn)H(P_{n}) can be written as

The fact that the bias dominates the risk in entropy estimation in the large alphabet setting has been known, see . However, a general recipe to overcome the bias has defied many attempts. We briefly review some of the approaches in the literature.

One of the earliest investigations on reducing the bias of MLE in entropy estimation is due to Miller , who showed that, for any fixed distribution PP supported on SS elements, for each symbol i,1≤i≤Si,1\leq i\leq S, we have

Another popular approach in estimating entropy is based on using the Dirichlet prior smoothing. Dirichlet smoothing may carry two different meanings in terms of entropy estimation:

One first obtain a Bayes estimate for the discrete distribution PP, which we denote by P^B\hat{P}_{B}, and then plugs it in the entropy functional to obtain the entropy estimate H(P^B)H(\hat{P}_{B}).

It was shown in that both approaches require at least n≫Sn\gg S to be consistent.

The jackknife is another popular technique in reducing the bias. However, it was shown by Paninski that the jackknifed MLE also requires n≫Sn\gg S samples to consistently estimate entropy.

Given the fact that n≫Sln⁡Sn\gg\frac{S}{\ln S} is both necessary and sufficient, the approaches mentioned above are far from optimal. We note that the problem of estimating entropy of discrete distributions from i.i.d. observations on large alphabets has been investigated in various disciplines by many authors, with many approaches difficult to analyze theoretically. Among them we mention the Miller–Madow bias-corrected estimator and its variants , the jackknified estimator , the shrinkage estimator , the Bayes estimator under various priors , the coverage adjusted estimator , the Best Upper Bound (BUB) estimator , the B-Splines estimator , and etc.

In what follows, we explain in detail our step by step approach to this problem, and arrive at minimax rate-optimal estimators for the entire range of functional estimation problems considered.

II-B How did we come up with our scheme?

Existing literature implied that it is possible to come up with consistent entropy estimators that require sublinear n≪Sn\ll S samples. The earliest indication to this effect appeared in Paninski , but only an existential proof based on the Stone–Weierstrass theorem was provided. It was therefore a breakthrough when Valiant and Valiant introduced the first explicit entropy estimator requiring a sublinear number of samples. They showed that n≫S/ln⁡Sn\gg S/\ln S samples are both necessary and sufficient to consistently estimate the entropy of a discrete distribution. However, the entropy estimators based on linear programming proposed in Valiant and Valiant have not been shown to achieve the minimax rate. Another estimator proposed by Valiant and Valiant has only been shown to achieve the minimax rate in the restrictive regime of Sln⁡S≲n≲S1.03ln⁡S\frac{S}{\ln S}\lesssim n\lesssim\frac{S^{1.03}}{\ln S}. Moreover, the scheme of can only be applied to functionals that are Lipschitz continuous with respect to a Wasserstein metric, which can be roughly understood as those functionals that are equally “smooth” or “smoother” than entropy. Notably, this does not include the functional Fα,α<1F_{\alpha},\alpha<1 and other interesting nonsmooth functionals of distributions. Also, it is not clear whether these techniques generally lead to minimax rate-optimal estimators. Readers are referred to Valiant’s thesis for more details.

Conceivably, there is a fundamental connection between the smoothness of a functional, and the hardness of estimating it. The ideal solution to this problem would be systematic and capture this trade-off for nearly every functional. Such a comprehensive view of functional estimation has yet to be realized. George Pólya commented that “the more general problem may be easier to solve than the special problem”. This motivated our present work, in which we provide a general framework and procedure for minimax estimation of functionals with non-asymptotic performance guarantees. To make things transparent, let us now start from scratch and demonstrate how our solution has a natural construction.

Suppose we would like to propose a general method to construct minimax rate-optimal estimators for functionals of the form (1). What are the prerequisites that any method must satisfy? Based on our analysis above, the following criteria appear natural:

Asymptotic efficiency. As modern asymptotic statistics tells us, if the function f(p)f(p) in (1) is differentiable on (0,1](0,1], then the MLE F(Pn)F(P_{n}) is asymptotically efficient. In other words, no matter how we adjust the MLE in finite sample settings, we have to ensure that when the number of samples nn go to infinity while SS remains fixed, our estimator is very similar to the MLE.

Bias reduction. As our analysis of MLE indicates, the MLE usually has large bias and small variance in high dimensions. Hence, the general method has to reduce bias in finite samples.

Let us attempt to understand an estimator’s bias more carefully. In the simplest setting, consider a Binomial random variable X∼B(n,p)X\sim\mathsf{B}(n,p), and suppose we wish to estimate the scalar f(p)f(p) based on XX. Denote by g(X)g(X) an arbitrary estimator for f(p)f(p). The bias of g(X)g(X) can be written as

One may initially be tempted to use the Taylor series to approximate f(p)f(p). However, a more careful inspection indicates that the Taylor polynomial is inappropriate for approximating general continuous functions. Even setting aside questions of convergence, Taylor polynomials are not defined for functions that are not infinitely differentiable. Even for functions that are analytic (such as ex,x∈e^{x},x\in), one can show that truncating the Taylor series up to order nn results in maximum error ∼1(n+1)!\sim\frac{1}{(n+1)!} on $,butthereexistsapolynomialwithorder, but there exists a polynomial with ordernwhosemaximumapproximationerrorisasymptoticallywhose maximum approximation error is asymptotically\frac{1}{2^{n}(n+1)!},whichisthesocalledbestapproximationpolynomial.Thebestpolynomialapproximationistargetedatcomputingthepolynomialthatminimizesthemaximumdeviationofthepolynomialfromthefunction, which is the so called best approximation polynomial. The best polynomial approximation is targeted at computing the polynomial that minimizes the maximum deviation of the polynomial from the functionf(p)$. It is known that for any continuous function on a compact interval, there exists a unique best approximation polynomial for any order. Adopting this rationale, we may try to solve the following problem:

where we seek g∗g^{*} minimizing the maximum value of ∣Biasp(g(X))∣|\mathsf{Bias}_{p}(g(X))|. It gives us the best uniform control of the bias since we do not know pp a priori.

Applying advanced tools from approximation theory, Paninski tried the idea mentioned above, which unfortunately did not result in improved estimators. It turns out that this idea, while improving significantly in the bias, results in a blowing up of the variance term. Indeed, the squared bias of the estimator designed above can be shown to be S2/n4S^{2}/n^{4}. Taking n≫Sn\gg\sqrt{S}, the bias term will vanish, but the variance term will diverge, because Paninski already showed that if n≲S1−δn\lesssim S^{1-\delta}, for any δ>0\delta>0, the maximum L2L_{2} risk of any estimators for entropy will be bounded from zero.

In fact, there is a simpler way to understand why the global scale polynomial approximation idea of the form (22) does not work. It is destined to fail because it violates the first prerequisite of any general method to improve MLE in functional estimation. Indeed, this scheme does not behave like the MLE even if n≫Sn\gg S.

This observation leads us to combine some core ideas that finally constitute our scheme. First, one needs to use approximation theory to reduce bias. Second, one cannot do approximation on a global scale (such as p∈p\in), but can only approximate the function f(p)f(p) locally. Fortunately, the measure concentration phenomenon allows us to do approximation locally. For example, upon observing p^=X/n,X∼B(n,p)\hat{p}=X/n,X\sim\mathsf{B}(n,p), we have Var(p^)=p(1−p)n\mathsf{Var}(\hat{p})=\frac{p(1-p)}{n}, which vanishes as n→∞n\to\infty. Finally, where should we approximate? Intuitively, the bias is mainly due to the set of points where the function f(p)f(p) changes abruptly. For f(p)=−pln⁡pf(p)=-p\ln p or pα,α>0p^{\alpha},\alpha>0, the most “nonsmooth” point is p=0p=0.

To sum up, we need to approximate locally around the “nonsmooth” points to reduce bias. Natural as this statement may seem, there are some parameters to be carefully specified. For this subsection we only consider f(p)=−pln⁡pf(p)=-p\ln p or pα,α>0p^{\alpha},\alpha>0. We detail the construction of our scheme by posing the following natural questions:

If we approximate function f(p)f(p) in interval [0,Δn][0,\Delta_{n}], how should we choose Δn\Delta_{n}?

If we use a polynomial with order KnK_{n} to approximate f(p)f(p) in [0,Δn][0,\Delta_{n}], how should we choose KnK_{n}? What should we do after obtaining the polynomial?

What should we do in interval p∈[Δn,1]p\in[\Delta_{n},1]?

Let us now answer these questions in the order in which they were asked. The value Δn\Delta_{n} should always be chosen to be the smallest number such that we can localize the parameter pp. In other words, suppose we observe X∼B(n,p)X\sim\mathsf{B}(n,p). Then, Δn\Delta_{n} should be chosen to ensure that if X/n≤cΔnX/n\leq c\Delta_{n}, c>0c>0 is a constant, then p∈[0,Δn]p\in[0,\Delta_{n}] with high probability. Similarly, if X/n≥CΔnX/n\geq C\Delta_{n}, C>0C>0 is a constant, then p∈[Δn,1]p\in[\Delta_{n},1] with high probability. It turns out that Δn≍ln⁡nn\Delta_{n}\asymp\frac{\ln n}{n} fulfills this goal (cf. Lemma 21).

Regarding the second question, the value KnK_{n} should always be chosen to be the largest number such that the increased variance does not exceed the bias. Indeed, if we use order nn approximation, then we essentially go back to the idea (22) that increases the variance too much such that the resulting estimator does not have vanishing risk. It turns out for H(P)H(P) and Fα(P)F_{\alpha}(P), Kn≍ln⁡nK_{n}\asymp\ln n is the correct order for which we need to conduct the best polynomial approximation. Suppose we have obtained the best polynomial approximation of order KnK_{n} for function f(p)f(p) over regime [0,Δn][0,\Delta_{n}]. Noting that any polynomial of order no more than nn can be estimated without bias using the estimator in (21), we use the corresponding unbiased estimator to estimate this KnK_{n}-order polynomial, thereby ensuring that the bias of this estimator when p∈[0,Δn]p\in[0,\Delta_{n}] is exactly the polynomial approximation error in approximating f(p)f(p) over [0,Δn][0,\Delta_{n}].

The third question refers to the scheme in the “smooth” regime. Interestingly, it was already observed in 1969 by Carlton that Miller’s bias correction formula (19) should only be applied when pi≫1np_{i}\gg\frac{1}{n}. In other words, Miller’s formula (19) is relatively accurate when pi≫1np_{i}\gg\frac{1}{n}. In our case, since we have already chosen Δn≍ln⁡nn\Delta_{n}\asymp\frac{\ln n}{n}, in the smooth regime we have pi≳ln⁡nnp_{i}\gtrsim\frac{\ln n}{n}. We use the first order bias-correction in this regime inspired by Miller, whose rationale is the following.

For Binomial random variable X∼B(n,p)X\sim\mathsf{B}(n,p), denote the empirical frequency by p^=Xn\hat{p}=\frac{X}{n}. Then it follows from Taylor’s theorem that

where f′′(p)f^{\prime\prime}(p) is the second derivative of f(p)f(p). We define the first order bias-corrected estimator of f(p^)f(\hat{p}) by

Taking f(p)=−pln⁡pf(p)=-p\ln p, fc(p^)=−p^ln⁡p^+1−p^2nf^{c}(\hat{p})=-\hat{p}\ln\hat{p}+\frac{1-\hat{p}}{2n}, which is exactly the Miller–Madow bias corrected entropy estimator. Taking f(p)=pαf(p)=p^{\alpha}, we have the corresponding bias corrected estimator

Figure 2 demonstrates the estimators for H(P)H(P) and Fα(P)F_{\alpha}(P) pictorially, where p^i=Pn(i)\hat{p}_{i}=P_{n}(i) is the empirical frequency of ii-th symbol. An important observation is that our estimator naturally satisfies the first prerequisite of any improved method for functional estimation as discussed above. Indeed, as n→∞n\to\infty, all the observations will fall in the “smooth” regime, and in the smooth regime our estimators are very similar to the MLE, which naturally implies that they are also asymptotically efficient in the sense of Hájek and Le Cam .

We conclude this subsection by comparing any minimax rate-optimal estimator with our estimator. If we consider entropy, Theorem 1 demonstrates that when nn is not too large, the risk is dominated by the first term S2(nln⁡n)2\frac{S^{2}}{(n\ln n)^{2}}, which corresponds to the squared bias of our estimator in the “nonsmooth” regime. Further, it is shown in Wu and Yang that in the worst case, the risk contributed by the “nonsmooth” regime (i.e. [0,ln⁡nn][0,\frac{\ln n}{n}]) is at least of order S2(nln⁡n)2\frac{S^{2}}{(n\ln n)^{2}}. These observations together imply that the gist of any successful scheme should contribute squared bias nearly S2(nln⁡n)2\frac{S^{2}}{(n\ln n)^{2}}. However, the bias always corresponds to a polynomial approximation error, and in the interval [0,ln⁡nn][0,\frac{\ln n}{n}], it roughly corresponds to a polynomial with order ln⁡n\ln n. The squared bias S2(nln⁡n)2\frac{S^{2}}{(n\ln n)^{2}} corresponds to a polynomial whose error in approximating f(p)=−pln⁡pf(p)=-p\ln p in [0,ln⁡nn][0,\frac{\ln n}{n}] is nearly the same as the best approximation polynomial with order ln⁡n\ln n. The theory of strong uniqueness in approximation theory states that any polynomial whose approximation property is close to the best approximation must be close to the best approximation polynomial. Thus, we conclude that any successful scheme must inherently conduct near-best polynomial approximation in the “nonsmooth” regime, which is what we do in our scheme. Similar arguments also explain Fα(P)F_{\alpha}(P) and Theorem 2, 3, and 4.

II-C Related work

The problem of estimating functionals of parameters is one that has been studied extensively in such fields as statistics, information theory, computer science, physics, neuroscience, psychology, and ecology, to name a few. Different communities have focused on different aspects of this general problem, and some seemingly different problems can be recast as functional estimation ones. Below we review some of the core ideas in various communities.

In light of these shortcomings, there seems to be a perception that estimation under finite sample optimality criteria is not amenable to a general mathematical theory . Classical asymptotic theory is usually the refuge. The beautiful theory of Hájek and Le Cam showed that, under mild conditions, there exist systematic methods to construct an asymptotically efficient estimator θ^n\hat{\theta}_{n} for the finite dimensional parameter θ\theta, where if φ(θ)\varphi(\theta) is differentiable at θ\theta, φ(θ^n)\varphi(\hat{\theta}_{n}) is also asymptotically efficient for estimating φ(θ)\varphi(\theta) [48, Lemma 8.14]. Furthermore, it is also known that if the functional is non-differentiable, then it is nearly impossible to get an elegant mathematical theory .

The question of estimating functionals of finite dimensional parameters being satisfactorily answered under classical asymptotics, functional estimation in various nonparametric settings has been a strong area of focus since. There are several profound contributions in this area, of which we only mention a few. The most developed theory deals with linear functionals, for example, see . Another well studied situation deals with the case of “smooth” functionals, see , among others. Estimation of non-smooth functionals is an extremely difficult problem, and is still largely open . In particular, the problem of estimating differential entropy ∫−fln⁡f\int-f\ln f, where ff is a density, remains fertile ground for research, cf. . Similar situations are also true for estimating the entropy of a discrete distribution supported on a countably infinite alphabet, cf. .

II-C2 Information theory

In the information theory community, following the seminal work of Shannon , the focus has been on estimating entropy rates of general stationary ergodic processes with fixed (usually small) support (alphabet) sizes. Outside of the favored binary alphabet, printed English contributed the other interesting example of support size 2727 (including the “space”). Cover and King gave an overview of the entropy rate estimation literature until 1978. Soon after the appearance of universal data compression algorithms proposed by Ziv and Lempel , the information theory community started applying these ideas in entropy rate estimation, e.g. Wyner and Ziv , and Kontoyiannis et al. . Verdú provides an overview of universal estimation of information measures until 2005. Jiao et al. constructed a general framework for applying data compression algorithms to establish near-optimal estimators for information rates, with a focus on directed information.

II-C3 Computer science, physics, neuroscience, psychology, ecology, etc

Much of the efforts in computer science, physics, neuroscience, psychology, ecology, and related fields have focused on some special functionals of particular interest. For example, the problem of estimating Shannon entropy H(P)H(P) from a finite alphabet source with i.i.d. observations has been investigated extensively. Section II-A and II-B summarize some of the efforts.

II-C4 Modern era: high dimensions and non-asymptotics

The current era of “big data” abounds with applications in which we no longer operate in the asymptotic regime of large sample sizes. This sample scarcity regime necessitates going beyond classical asymptotic analysis and considering finitely many samples in high dimensions. Indeed, the recent successes of finite-blocklength analysis in information theory , and compressed sensing in statistics have demonstrated the benefit of carefully analyzing practical sample sizes. There are also ample recent examples in statistics approaching classical questions from a high dimensional perspective, cf. . The machine learning community has the tradition of favoring non-asymptotic analysis, and usually pose the question of the sample complexity for achieving ϵ\epsilon accuracy with 1−δ1-\delta probability, cf. . The information theoretic counterpart of high dimensional statistics might be the large alphabet setting, with exciting recent advances (cf. ).

With the above as context, our work revisits the framework of functional estimation for finite dimensional models, with a focus on high dimensional and non-asymptotic analysis.

II-D General methodology for functional estimation

We begin by reviewing the existing general approaches to estimation. Maximum likelihood is the most widely used statistical estimation technique, which emerged in modern form 90 years ago in a series of remarkable papers by Fisher . As evidence of its ubiquity, the Google Scholar search query “Maximum Likelihood Estimation” yields approximately 2,570,0002,570,000 articles, patents and books. Indeed, in his response to Berkson in 1980, Efron explains the popularity of maximum likelihood:

“The appeal of maximum likelihood stems from its universal applicability, good mathematical properties, by which I refer to the standard asymptotic and exponential family results, and generally good track record as a tool in applied statistics, a record accumulated over fifty years of heavy usage. ”

Over the years, the following folk theorem seems to have been tacitly accepted by applied scientists:

For a finite dimensional parametric estimation problem, it is “good” to employ the MLE.

From the perspective of mathematical statistics, however, maximum likelihood is by no means sacrosanct. As early as in 1930, in his letters to Fisher, Hotelling raised the possibility of the MLE performing poorly . Subsequently, various examples showing that the performance of the MLE can be significantly improved upon have been proposed in the literature, cf. Le Cam for an excellent overview. However, as Stigler [150, Sec. 12] discussed in his 2007 survey, while these early examples created a flurry of excitement, for the most part they were not seen as debilitating to the fundamental theory. Perhaps because these examples did not provide a systematic methodology for improving the MLE.

In 1956, Stein observed that in the Gaussian location model X∼N(θ,Ip)X\sim\mathcal{N}(\theta,I_{p}) (where IpI_{p} is the p×pp\times p identity matrix), the MLE for θ\theta, θ^MLE=X\hat{\theta}^{\textrm{MLE}}=X is inadmissible [7, Chap. 1] when p≥3p\geq 3. Later, James and Stein showed that an estimator that appropriately shrinks the MLE towards zero achieves uniformly lower L2L_{2} risk compared to the risk of the MLE. The shrinkage idea underlying the James–Stein estimator has proven extremely fruitful for statistical methodology, and has motivated further milestone developments in statistics, such as wavelet shrinkage , and compressed sensing .

One interpretation of the shrinkage idea is that, when one desires to estimate a high dimensional parameter, the MLE may have a relatively small bias compared to the variance. Shrinking the MLE introduces an additional bias, but reduces the overall risk by reducing the variance substantially. A natural question now arises: what about situations wherein the bias is the dominating term? Does there exist an analogous methodology for improving over the performance of the MLE in such scenarios? A precedent to this line of questioning can be found in the 1981 Wald Memorial Lecture by Efron entitled “Maximum Likelihood and Decision Theory”:

“…the MLE can be non-optimal if the statistician has one specific estimation problem in mind. Arbitrarily bad counterexamples, along the line of estimating eθe^{\theta} from X∼N(θ,1)X\sim\mathcal{N}(\theta,1), are easy to construct. Nevertheless the MLE has a good reputation, acquired over 60 years of heavy use, for producing reasonable point estimates. Useful general improvements on the MLE, such as robust estimation, and Stein estimation, are all the more impressive for their rarity. ”

For the aforementioned example, Efron argued that the reason the MLE eXe^{X} may not be a good estimate for eθe^{\theta}, is that it has a large bias. In particular, the statistician may prefer the uniform minimum variance unbiased estimator (UMVUE), eX−12e^{X-\frac{1}{2}} to estimate eθe^{\theta}. As we discussed in the presentation of our main results, the bias is usually the dominating term in estimation of functionals of high-dimensional parameters. Notably, the two general improvements of the MLE, namely robust estimation and shrinkage estimation, are not designed to handle functional estimation problems such as the one presented by Efron. Also, as Efron himself observed, the statistician cannot always rely on the UMVUE to save the day, since these are generally very hard to compute, and may not always exist [155, Remark C, Sec. 7]. Thus, there is a need to address, both in scope and methodology, the improvement over the MLE for problems where the bias is the leading term. Such a solution could be considered the dual of the idea of shrinkage, since the trade-off between bias and variance is now reversed, i.e., one might want to sacrifice the variance to reduce the bias.

II-D2 Approximation: dual of shrinkage

Our main results in this paper imply that Theorem 7 is far from true in high-dimensional non-asymptotic settings. Now, we aim to abstract our scheme in estimating functionals of type (1), and distill a general methodology for estimating functionals of parameters of any finite dimensional parametric families.

We propose to conduct the following two-step procedure in estimating G(θ)G(\theta).

Classify Regime: Compute θ^n\hat{\theta}_{n}, and declare that we are operating in the “nonsmooth” regime if θ^n\hat{\theta}_{n} is “close” enough to Θ0\Theta_{0}. Note that G(θ)G(\theta) is not analytic at any θ∈Θ0\theta\in\Theta_{0}. Otherwise declare we are in the “smooth” regime;

If θ^n\hat{\theta}_{n} falls in the “smooth” regime, use an estimator “similar” to G(θ^n)G(\hat{\theta}_{n}) to estimate G(θ)G(\theta);

If θ^n\hat{\theta}_{n} falls in the “nonsmooth” regime, replace the functional G(θ)G(\theta) in the “nonsmooth” regime by an approximation Gappr(θ)G_{\text{appr}}(\theta) (another functional) which can be estimated without bias, then apply an unbiased estimator for the functional Gappr(θ)G_{\text{appr}}(\theta).

II-D3 Details of “Approximation”

While this general recipe appears clean in its description, there are several problem-dependent features that one needs to design carefully – namely

How to determine “nonsmooth” regime? What is the size of it?

What approximation should we choose to approximate G(θ)G(\theta) in the “nonsmooth” regime?

What does “ ‘similar’ to G(θ^n)G(\hat{\theta}_{n})” mean precisely? What exactly do we do in the “smooth” regime?

The careful reader may have realized that Questions 1,2, and 3 resemble the questions we asked in Section II-B. Answers to these questions draw on additional problems we investigated beyond these in the present paper.

We should always choose the “nonsmooth” regime to be the smallest regime such that we can still localize the parameter θ\theta. In other words, when we observe θ^n\hat{\theta}_{n} in the “nonsmooth” regime, we should be able to infer with high probability that θ\theta is also in the “nonsmooth” regime. Similarly, we should also be able to localize the parameter in the “smooth” regime. A concrete case would be the following. Say we observe X∼B(n,p)X\sim\mathsf{B}(n,p), and we would like to estimate a functional which is not analytic at p0=0.2p_{0}=0.2. How should we define the “nonsmooth” regime? Noting that Var(X/n)=p(1−p)n\mathsf{Var}(X/n)=\frac{p(1-p)}{n}, it turns out we can set the “nonsmooth” regime to be [p0−p0(1−p0)ln⁡nn,p0+p0(1−p0)ln⁡nn]\left[p_{0}-\sqrt{\frac{p_{0}(1-p_{0})\ln n}{n}},p_{0}+\sqrt{\frac{p_{0}(1-p_{0})\ln n}{n}}\right] (cf. Lemma 21).

We should always choose an approximation Gappr(θ)G_{\text{appr}}(\theta) that can be estimated without bias. This requirement leads us to the general theory of unbiased estimation, which was pioneered by Halmos and Kolmogorov . For a comprehensive survey the readers are referred to the monograph by Voinov and Nikulin .

There is a delicate trade-off: the approximation Gappr(θ)G_{\text{appr}}(\theta) should be estimated without bias, but also should approximate the functional G(θ)G(\theta) well, and at the same time not incur too much additional variance. These three requirements yield a highly non-trivial interplay between approximation theory and statistics, of which our understanding is as yet incomplete.

where polyn\mathsf{poly}_{n} is the collection of polynomials with order at most nn on AA, is a crucial object in approximation theory as well as our general methodology. Quantifying En[f]AE_{n}[f]_{A} and obtaining the polynomial that achieves it turned out to be extremely challenging. Remez in 1934 proposed an efficient algorithm for computing the best polynomial approximation, and it was recently implemented and highly optimized in Matlab by the Chebfun team . Regarding the theoretical understanding of En[f]AE_{n}[f]_{A}, de la Vallée-Poussin, Bernstein, Ibragimov, Markov, Kolmogorov and others have made significant contributions, and it is still an active research area. Among others, Bernstein and Ibragimov showed various exact limiting results for some important classes of functions like ∣x∣p|x|^{p} and ∣x∣mln⁡∣x∣n|x|^{m}\ln|x|^{n}. For example, we have

The following limit exists for all p>0p>0:

where Γ(⋅)\Gamma(\cdot) denotes the Gamma function.

Regarding bounds on En[f]E_{n}[f] for any finite nn, Korneichuk [166, Chap. 6] provides a comprehensive study. For a comprehensive treatment of modern approximation theory, DeVore and Lorentz , Ditzian and Totik provide excellent references. For the most up-to-date review of polynomial approximation, we refer the readers to Bustamante .

We emphasize that the discussions above refer to approximation in dimension one. The general multivariate case is extremely complicated. Rice wrote:

“The theory of Chebyshev approximation (a.k.a. best approximation) for functions of one real variable has been understood for some time and is quite elegant. For about fifty years attempts have been made to generalize this theory to functions of several variables. These attempts have failed because of the lack of uniqueness of best approximations to functions of more than one variable. ”

We do not know whether in general polynomial approximation can achieve the minimax rates in general settings. Probably other approximation bases need be chosen for certain problems.

Note that we have assumed G(θ)G(\theta) is analytic in the “smooth” regime. For various statistical models (like Gaussian and Poisson), any analytic functional admits unbiased estimators. We propose to use Taylor series bias correction in the “smooth” regime, where the order of the Taylor series may vary between problems.

II-E Remaining content

The rest of the paper is organized as follows. Section III details the construction of our estimators H^\hat{H} and F^α\hat{F}_{\alpha} and their analysis. In Section IV we present our general approach for proving minimax lower bounds and apply it to establish Theorems 2 and 4. Section V presents a few experiments demonstrating the practical advantages of our estimators in entropy estimation, mutual information estimation, entropy rate estimation, and learning graphical models. Complete proofs of the remaining theorems and lemmas are provided in the appendices.

III Estimator construction and analysis

Throughout our analysis, we utilize the Poisson sampling model, which is equivalent to having a SS-dimensional random vector Z\mathbf{Z} such that each component ZiZ_{i} in Z\mathbf{Z} has distribution Poi(npi)\mathsf{Poi}(np_{i}), and all coordinates of Z\mathbf{Z} are independent. For simplicity of analysis, we conduct the classical “splitting” operation on the Poisson random vector Z\mathbf{Z}, and obtain two independent identically distributed random vectors X=[X1,X2,…,XS]T,Y=[Y1,Y2,…,YS]T\mathbf{X}=[X_{1},X_{2},\ldots,X_{S}]^{T},\mathbf{Y}=[Y_{1},Y_{2},\ldots,Y_{S}]^{T}, such that each component XiX_{i} in X\mathbf{X} has distribution Poi(npi/2)\mathsf{Poi}(np_{i}/2), and all coordinates in X\mathbf{X} are independent. For each coordinate ii, the splitting process generates a random variable TiT_{i} such that Ti∣Z∼B(Zi,1/2)T_{i}|\mathbf{Z}\sim\mathsf{B}(Z_{i},1/2), and assign Xi=Ti,Yi=Zi−TiX_{i}=T_{i},Y_{i}=Z_{i}-T_{i}. All the random variables {Ti:1≤i≤S}\{T_{i}:1\leq i\leq S\} are conditionally independent given our observation Z\mathbf{Z}.

For simplicity, we re-define n/2n/2 as nn, and denote

Our estimator F^α,α>0\hat{F}_{\alpha},\alpha>0, is constructed as follows.

We explain each equation in detail as follows.

Note that p^i,1\hat{p}_{i,1} and p^i,2\hat{p}_{i,2} are i.i.d. random variables such that np^i,1∼Poi(npi)n\hat{p}_{i,1}\sim\mathsf{Poi}(np_{i}). We use p^i,2\hat{p}_{i,2} to determine whether we are operating in the “nonsmooth” regime or not. If p^i,2≤2Δ\hat{p}_{i,2}\leq 2\Delta, we declare we are in the “nonsmooth” regime, and plug in p^i,1\hat{p}_{i,1} into function Lα(⋅)L_{\alpha}(\cdot). If p^i,2>2Δ\hat{p}_{i,2}>2\Delta, we declare we are in the “smooth” regime, and plug in p^i,1\hat{p}_{i,1} into Uα(⋅)U_{\alpha}(\cdot).

The coefficients gk,α,0≤k≤Kg_{k,\alpha},0\leq k\leq K are coefficients of the best polynomial approximation of xαx^{\alpha} over $uptodegreeup to degreeK$, i.e.,

where polyK\mathsf{poly}_{K} denotes the set of algebraic polynomials up to order KK. Note that in general gk,αg_{k,\alpha} depends on KK, which we do not make explicit for brevity. Lemma 4 shows that for nX∼Poi(np)nX\sim\mathsf{Poi}(np),

Thus, we can understand SK,α(X),nX∼Poi(np)S_{K,\alpha}(X),nX\sim\mathsf{Poi}(np) as a random variable whose expectation is nearly Note that we have removed the constant term from the best polynomial approximation. It is to ensure that we assign zero to symbols we do not see. the best approximation of function xαx^{\alpha} over [0,4Δ][0,4\Delta].

Any reasonable estimator for piαp_{i}^{\alpha} should be upper bounded by the value one. We cut off SK,α(x)S_{K,\alpha}(x) by upper bound 11, and define the function Lα(x)L_{\alpha}(x), which means “lower part”.

The function Uα(x)U_{\alpha}(x) (standing for “upper part”) is nothing but a product of an interpolation function In(x)I_{n}(x)The usage of the interpolation function was partially inspired by Valiant and Valiant . and the bias-corrected MLE. The careful reader may note that the bias-corrected MLE is not exactly the same as what we used before in (25). It is because here we are using the Poisson model instead of the Multinomial model. In the Poisson model, the bias correction formula should be modified to

The interpolation function In(x)I_{n}(x) is designed to make Uα(x)U_{\alpha}(x) a smooth function on $.Indeed,when. Indeed, when0<\alpha<1,wereitnotfortheinterpolationfunction,, were it not for the interpolation function,U_{\alpha}(x)wouldbeunboundedforwould be unbounded forxclosetozero.Notethatclose to zero. Note thatL_{\alpha}(x)andandU_{\alpha}(x)aredependentonare dependent onn.Weomitthisdependenceinnotationforbrevity.Theinterpolationfunction. We omit this dependence in notation for brevity. The interpolation functionI_{n}(x)$ is defined as follows:

The following lemma characterizes the properties of the function g(x;a)g(x;a) appearing in the definition of In(x)I_{n}(x). In particular, it shows that In(x)I_{n}(x) is four times continuously differentiable.

For the function g(x;a)g(x;a) on [0,a][0,a] defined as follows,

The function g(x;1)g(x;1) is depicted in Figure 3.

Similarly, we define our estimator for entropy H(P)H(P) as

The coefficients {gk,H}1≤k≤K\{g_{k,H}\}_{1\leq k\leq K} are defined as follows. We first define

Lemma 20 shows that for nX∼Poi(np)nX\sim\mathsf{Poi}(np),

is a near-best polynomial approximation for −pln⁡p-p\ln p on [0,4Δ][0,4\Delta].

III-B Estimator analysis

We demonstrate our analysis techniques via the proof of Theorem 2 and 3, and note that similar techniques allow us to establish Theorem 1.

The next two lemmas show that the estimators Uα(x),UH(x)U_{\alpha}(x),U_{H}(x) have desirable bias and variance properties when the true probability pp is not too small.

Suppose nX∼Poi(np),p≥Δ,c1ln⁡n≥1nX\sim\mathsf{Poi}(np),p\geq\Delta,c_{1}\ln n\geq 1. For 0<α<3/20<\alpha<3/2, we have

The following two lemmas characterize the performance of SK,α(X)S_{K,\alpha}(X) and SK,H(X),nX∼Poi(np)S_{K,H}(X),nX\sim\mathsf{Poi}(np) when pp is not too large.

If nX∼Poi(np),p≤4Δ,α>0nX\sim\mathsf{Poi}(np),p\leq 4\Delta,\alpha>0, we have

and for nn large enough, we can take c3=2μ(2α)c1αc22αc_{3}=\frac{2\mu(2\alpha)c_{1}^{\alpha}}{c_{2}^{2\alpha}}, where c3c_{3} is the constant appearing in Lemma 19. If we also have c2≤4c1c_{2}\leq 4c_{1}, then

For the entropy, if p≤4Δp\leq 4\Delta, we have

When nn is large enough, CC can be taken to be 4c1ν1(2)c22\frac{4c_{1}\nu_{1}(2)}{c_{2}^{2}}, which is given in Lemma 20. If we also have c2≤4c1c_{2}\leq 4c_{1}, then

If nX∼Poi(np),p≤1nln⁡n,1<α<3/2nX\sim\mathsf{Poi}(np),p\leq\frac{1}{n\ln n},1<\alpha<3/2, then for c2≤4c1c_{2}\leq 4c_{1},

where D1D_{1} is a universal positive constant appearing in Lemma 17.

With the machinery established in Lemma 2, 3, 4, and 5, we are now ready to bound the bias and variance of each summand in our estimators. Define,

where nX=DnY∼Poi(np)nX\stackrel{{\scriptstyle D}}{{=}}nY\sim\mathsf{Poi}(np), and XX is independent of YY. Apparently, we have

and each of the SS summands are independent. Hence, it suffices to analyze the bias and variance of ξ(X,Y)\xi(X,Y) thoroughly for all values of pp in order to obtain a risk bound for F^α\hat{F}_{\alpha}. We break this into three different regimes. In the first case when p≤Δp\leq\Delta, we shall show that the estimator essentially behaves like Lα(X)L_{\alpha}(X), which is a good estimator when pp is small. In the second case when Δ≤p≤4Δ\Delta\leq p\leq 4\Delta, we show that our estimator uses either Lα(X)L_{\alpha}(X) or Uα(X)U_{\alpha}(X), which are both good estimators in this case. In the last case p≥4Δp\geq 4\Delta, we show that our estimator behaves essentially like Uα(X)U_{\alpha}(X), which has good properties when pp is not too small.

Suppose 0<α<10<\alpha<1, 0<c1=16(α+δ),0<8c2ln⁡2=ϵ<α,δ>00<c_{1}=16(\alpha+\delta),0<8c_{2}\ln 2=\epsilon<\alpha,\delta>0. Then,

Now the result of Theorem 2 follows easily from Lemma 6. We have

since x2α−1x^{2\alpha-1} is a concave function when 1/2<α<11/2<\alpha<1.

Combining the bias and variance bounds, we have

where ϵ>0\epsilon>0 is a constant that is arbitrarily small. Note that when 1/2<α<11/2<\alpha<1, we can remove the middle term in the risk bound, since when ln⁡n≲ln⁡S\ln n\lesssim\ln S, the first term dominates, otherwise the third term dominates.

The proof of Theorem 1 is essentially the same as that for Theorem 2, with the only differences being replacing Lemma 2 with Lemma 3, applying the entropy part of Lemma 4 and Lemma 15. The proof of Theorem 3 is slightly more involved, and we need to split the analysis into four different regimes.

Suppose 1<α<3/21<\alpha<3/2. Setting c1=16(α+δ),0<10c2ln⁡2=ϵ<2α−2,δ>0c_{1}=16(\alpha+\delta),0<10c_{2}\ln 2=\epsilon<2\alpha-2,\delta>0, we have the following bounds on ∣B(ξ)∣|B(\xi)| and Var(ξ)\mathsf{Var}(\xi).

Now the result of Theorem 3 follows easily from Lemma 7. First, the total bias can be bounded by

Combining the bias and variance bounds, we have

There are two main lemmas that we employ towards the proof of the minimax lower bounds in Theorem 2 and 4. The first lemma is the Le Cam two-point method. Suppose we observe a random vector Z∈(Z,A){\bf Z}\in(\mathcal{Z},\mathcal{A}) which has distribution PθP_{\theta} where θ∈Θ\theta\in\Theta. Let θ0\theta_{0} and θ1\theta_{1} be two elements of Θ\Theta. Let T^=T^(Z)\hat{T}=\hat{T}({\bf Z}) be an arbitrary estimator of a function T(θ)T(\theta) based on Z\bf Z. Le Cam’s two-point method gives the following general minimax lower bound.

[174, Sec. 2.4.2] Denoting the Kullback-Leibler divergence between PP and QQ by

The second lemma is the so-called method of two fuzzy hypotheses presented in Tsybakov . Suppose we observe a random vector Z∈(Z,A){\bf Z}\in(\mathcal{Z},\mathcal{A}) which has distribution PθP_{\theta} where θ∈Θ\theta\in\Theta. Let σ0\sigma_{0} and σ1\sigma_{1} be two prior distributions supported on Θ\Theta. Write FiF_{i} for the marginal distribution of Z\mathbf{Z} when the prior is σi\sigma_{i} for i=0,1i=0,1. Let T^=T^(Z)\hat{T}=\hat{T}({\bf Z}) be an arbitrary estimator of a function T(θ)T(\theta) based on Z\bf Z. We have the following general minimax lower bound.

where Fi,i=0,1F_{i},i=0,1 are the marginal distributions of Z\mathbf{Z} when the priors are σi,i=0,1\sigma_{i},i=0,1, respectively.

Here V(P,Q)V(P,Q) is the total variation distance between two probability measures P,QP,Q on the measurable space (Z,A)(\mathcal{Z},\mathcal{A}). Concretely, we have

where p=dPdν,q=dQdνp=\frac{dP}{d\nu},q=\frac{dQ}{d\nu}, and ν\nu is a dominating measure so that P≪ν,Q≪νP\ll\nu,Q\ll\nu.

Note that the minimax lower bound in Theorem 2 consists of two parts when 1/2<α<11/2<\alpha<1. Hence, for 1/2<α<11/2<\alpha<1, it suffices to first show that

in order to obtain the desired conclusion via the relation max⁡{a,b}≥a+b2\max\{a,b\}\geq\frac{a+b}{2}.

Regarding (105), we have the following theorem.

where the infimum is taken over all possible estimators F^α\hat{F}_{\alpha}.

Applying this lemma to our Poissonized model np^i∼Poi(npi),1≤i≤Sn\hat{p}_{i}\sim\mathsf{Poi}(np_{i}),1\leq i\leq S, we know that for θ1=(p1,p2,⋯ ,pS),θ0=(q1,q2,⋯ ,qS)\theta_{1}=(p_{1},p_{2},\cdots,p_{S}),\theta_{0}=(q_{1},q_{2},\cdots,q_{S}),

where we are operating under the Poissonized model.

Fix ϵ∈(0,1/2)\epsilon\in(0,1/2) to be specified later. Letting

Hence, by choosing ϵ=n−12\epsilon=n^{-\frac{1}{2}}, we know that

under the Poissonized model. Applying Lemma 16, we know that under the Multinomial model, the non-asymptotic minimax lower bound is

Now we start the proof of (106) in earnest. For 1/2<α<11/2<\alpha<1, (106) follows directly from (105) if S2−2αn≳S2(nln⁡n)2α\frac{S^{2-2\alpha}}{n}\gtrsim\frac{S^{2}}{(n\ln n)^{2\alpha}}, or equivalently, S≲n1−12αln⁡nS\lesssim n^{1-\frac{1}{2\alpha}}\ln n. Hence, we only need to consider the case where S≳n1−12αln⁡nS\gtrsim n^{1-\frac{1}{2\alpha}}\ln n, which implies that ln⁡S≳ln⁡n\ln S\gtrsim\ln n. Since the condition ln⁡S≳ln⁡n\ln S\gtrsim\ln n is also treated as an assumption in Theorem 2 for 0<α≤1/20<\alpha\leq 1/2, we adopt it throughout the following proof.

We construct the two fuzzy hypotheses required by Lemma 9. Similar construction was applied in proving minimax lower bounds in and .

For any given positive integer L>0L>0, there exist two probability measures ν0∗\nu_{0}^{*} and ν1∗\nu_{1}^{*} on $$ that satisfy the following conditions:

∫tlν1∗(dt)=∫tlν0∗(dt)\int t^{l}\nu_{1}^{*}(dt)=\int t^{l}\nu_{0}^{*}(dt), for l=0,1,2,…,Ll=0,1,2,\ldots,L;

∫tαν1∗(dt)−∫tαν0∗(dt)=2EL[xα]\int t^{\alpha}\nu^{*}_{1}(dt)-\int t^{\alpha}\nu^{*}_{0}(dt)=2E_{L}[x^{\alpha}]_{},

where EL[xα]E_{L}[x^{\alpha}]_{} is the distance in the uniform norm on $fromthefunctionfrom the functionf(x)=x^{\alpha}tothespaceto the space\mathsf{poly}_{L}ofpolynomialsofnomorethandegreeof polynomials of no more than degreeL$.

The two probability measures ν0∗\nu_{0}^{*} and ν1∗\nu^{*}_{1} can be understood as the solution to the optimization problem of maximizing ∫tαν1(dt)−∫tαν0(dt)\int t^{\alpha}\nu_{1}(dt)-\int t^{\alpha}\nu_{0}(dt), with the constraint that ∫tlν1(dt)=∫tlν0(dt)\int t^{l}\nu_{1}(dt)=\int t^{l}\nu_{0}(dt), for l=0,1,2,…,Ll=0,1,2,\ldots,L, supp(νi)⊂,i=0,1\mathsf{supp}(\nu_{i})\subset,i=0,1. Wu and Yang gave an explicit construction of the measures ν0∗\nu^{*}_{0} and ν1∗\nu^{*}_{1} from the solution of the best polynomial approximation problem for general functions on an interval. In some sense, the two probability measures ν0∗\nu_{0}^{*} and ν1∗\nu_{1}^{*} are chosen to be those that differ the most in terms of the expectations of the functions we care about (here is xαx^{\alpha}), with the same moments up to a certain order. Hence, they are difficult to distinguish via samples, but the corresponding functional values are maximally apart from each other.

Since we have assumed n≳S1/αln⁡Sn\gtrsim\frac{S^{1/\alpha}}{\ln S} and ln⁡S≳ln⁡n\ln S\gtrsim\ln n, we represent

for some constant δ∈(0,1)\delta\in(0,1), which implies that

where d1,d2d_{1},d_{2} are positive constants (not depending on nn) that will be determined later. Without loss of generality we assume that d2ln⁡nd_{2}\ln n is always a positive integer.

For a given integer LL, let ν0∗\nu^{*}_{0} and ν1∗\nu^{*}_{1} be the two probability measures possessing the properties given in Lemma 10. Let g(x)=Mxg(x)=Mx and let μi\mu_{i} be the measures on $definedbydefined by\mu_{i}(A)=\nu^{*}_{i}(g^{-1}(A))forfori=0,1$. It follows from Lemma 10 that:

∫tlμ1(dt)=∫tlμ0(dt)\int t^{l}\mu_{1}(dt)=\int t^{l}\mu_{0}(dt), for l=0,1,2,…,Ll=0,1,2,\ldots,L;

∫tαμ1(dt)−∫tαμ0(dt)=2MαEL[xα]\int t^{\alpha}\mu_{1}(dt)-\int t^{\alpha}\mu_{0}(dt)=2M^{\alpha}E_{L}[x^{\alpha}]_{}.

Let μ1S′\mu_{1}^{S^{\prime}} and μ0S′\mu_{0}^{S^{\prime}} be the product priors μiS′=∏j=1S′μi\mu_{i}^{S^{\prime}}=\prod_{j=1}^{S^{\prime}}\mu_{i}. We assign these priors to the length-S′S^{\prime} vector (p1,p2,…,pS′)(p_{1},p_{2},\ldots,p_{S^{\prime}}). Under μ0S′\mu_{0}^{S^{\prime}} or μ1S′\mu_{1}^{S^{\prime}}, we have almost surely

We argue that it suffices to show the minimax lower bound in Theorem 2 holds when we replace Fα(P)F_{\alpha}(P) by Fα‾(P)\underline{F_{\alpha}}(P). Indeed, we just showed that

For Y∣p∼Poi(np),p∼μ0Y|p\sim\mathsf{Poi}(np),p\sim\mu_{0}, we denote the marginal distribution of YY by F0,M(y)F_{0,M}(y), whose pmf can be computed as

We define F1,M(y)F_{1,M}(y) in a similar fashion.

The following bounds are true if d1=1,d2=10ed_{1}=1,d_{2}=10e:

in Lemma 9, it follows from Chebyshev’s inequality and c≲n1−δc\lesssim n^{1-\delta} that

Also, it follows from the general fact that V(∏i=1nPi,∏i=1nQi)≤∑i=1nV(Pi,Qi)V(\prod_{i=1}^{n}P_{i},\prod_{i=1}^{n}Q_{i})\leq\sum_{i=1}^{n}V(P_{i},Q_{i}) (which follows easily from a coupling argument ) that

According to Markov’s inequality, we have

First we assume that S=nln⁡nS=n\ln n. Similar to Lemma 10, we construct two measures as follows for α∈(1,3/2)\alpha\in(1,3/2).

For any 0<η<10<\eta<1 and positive integer L>0L>0, there exist two probability measures ν0\nu_{0} and ν1\nu_{1} on [η,1][\eta,1] such that

∫tlν1(dt)=∫tlν0(dt)\int t^{l}\nu_{1}(dt)=\int t^{l}\nu_{0}(dt), for all l=0,1,2,⋯ ,Ll=0,1,2,\cdots,L;

∫tα−1ν1(dt)−∫tα−1ν0(dt)=2EL[xα−1][η,1]\int t^{\alpha-1}\nu_{1}(dt)-\int t^{\alpha-1}\nu_{0}(dt)=2E_{L}[x^{\alpha-1}]_{[\eta,1]},

where EL[xβ][η,1]E_{L}[x^{\beta}]_{[\eta,1]} is the distance in the uniform norm on [η,1][\eta,1] from the function f(x)=xβf(x)=x^{\beta} to the space spanned by {1,x,⋯ ,xL}\{1,x,\cdots,x^{L}\}.

The following lemma characterizes the properties of EL[xβ][η,1]E_{L}[x^{\beta}]_{[\eta,1]} using well-developed tools from approximation theory . Similar results can be found in Wu and Yang in which they treated the logarithmic function.

For 0<β<1/20<\beta<1/2, there exists a universal positive constant DD such that

with universal positive constants d1,d2d_{1},d_{2} to be determined later. Without loss of generality we assume that d2ln⁡nd_{2}\ln n is always a positive integer. By the choice of η\eta we know that

∫t1μ1(dt)=∫t1μ0(dt)=d1/S\int t^{1}\mu_{1}(dt)=\int t^{1}\mu_{0}(dt)=d_{1}/S;

∫tlμ1(dt)=∫tlμ0(dt)\int t^{l}\mu_{1}(dt)=\int t^{l}\mu_{0}(dt), for all l=2,⋯ ,L+1l=2,\cdots,L+1;

∫tαμ1(dt)−∫tαμ0(dt)=2ηMαEL[xα−1][η,1]\int t^{\alpha}\mu_{1}(dt)-\int t^{\alpha}\mu_{0}(dt)=2\eta M^{\alpha}E_{L}[x^{\alpha-1}]_{[\eta,1]}.

Let μ0S\mu_{0}^{S} and μ1S\mu_{1}^{S} be product priors which we assign to the length-SS vector P=(p1,p2,⋯ ,pS)P=(p_{1},p_{2},\cdots,p_{S}). Note that PP may not be a probability distribution, we consider the set of approximate probability vectors

with universal constant γ>0\gamma>0 to be specified later, and further define the minimax risk under the Poissonized model for estimating Fα(P)F_{\alpha}(P) with P∈MS(γ)P\in\mathcal{M}_{S}(\gamma) as

The equivalence of the minimax risk under the Multinomial model R(S,n)R(S,n) (defined in (202)) and RP(S,n,γ)R_{P}(S,n,\gamma) is established in the following lemma.

In light of Lemma 14, it suffices to consider RP(S,n,γ)R_{P}(S,n,\gamma) to give a lower bound of R(S,n)R(S,n). Denote

Applying Chebyshev’s inequality and the union bound yields that

where (169) follows from (157). Denote by πi\pi_{i} the conditional distribution defined as

Now consider π0,π1\pi_{0},\pi_{1} as two priors and F0,F1F_{0},F_{1} as the corresponding marginal distributions. Setting

we have β0=β1=0\beta_{0}=\beta_{1}=0. The total variational distance is then upper bounded by

where GiG_{i} is the marginal probability under prior μiS\mu_{i}^{S}. Equation (176) follows from the triangle inequality of the total variation distance, and (177) follows from the data processing inequality satisfied by the total variation distance. Equation (178) is given by Lemma 11, and (179) follows from (169). The idea of converting approximate priors μiS\mu_{i}^{S} into priors πi\pi_{i} via conditioning comes from Wu and Yang .

It follows from Lemma 9 and Markov’s inequality that

Now we consider the scale (S,n)=(mln⁡m,d1m2)(S,n)=(m\ln m,\frac{d_{1}m}{2}), and it follows from (157) and Lemma 14 that for this scale,

Then the proof is completed by choosing any c0>2/d1c_{0}>2/d_{1} in Theorem 4 by noticing that under this scale,

V Experiments

As mentioned in the Introduction, the implementation of our algorithm is extremely efficient and has linear complexity with respect to the sample size nn, independent of the support size. The only overhead that deserves special mention is the computation of the best polynomial approximation, which is performed via the Remez algorithm offline before obtaining any samples. The Chebfun team provides a highly optimized implementation of the Remez algorithm in Matlab . In numerical analysis, the convergence of an algorithm is called quadratic if the error eme_{m} after the mm-th computation satisfies em≤Cα2me_{m}\leq C\alpha^{2^{m}} for some C>0C>0 and 0<α<10<\alpha<1. Under some assumptions about the function to approximate, one can prove [73, Pg. 96] the quadratic convergence of the Remez algorithm. Empirical experiments partially validate the efficiency of the Remez algorithm, which computes order 500500 best polynomial approximation for −xln⁡x,x∈-x\ln x,x\in in a fraction of a second on a Thinkpad X220 laptop. Considering the fact that the order of approximation we conduct is logarithmic in nn, in practice we do not need to perform this computation: we simply precompute the best polynomial approximation coefficients for various orders (e.g., up to order 200200) and store them in the software.

We emphasize that although the value of constants c1,c2c_{1},c_{2} required in Lemma 6 lead to rather poor constants in the bias and variance bounds, the practical performance could be much better than what the theoretical bounds guarantee. It is due to the conservative nature of our worst-case (maximum L2L_{2} risk) formalism and the fact that we use upper bounds in the analysis that, while being optimal up to a multiplicative constant, are not absolutely tightest for a fixed SS and nn. Practically, experimentation shows that c1∈[0.05,0.2],c2=0.7c_{1}\in[0.05,0.2],c_{2}=0.7 results in very effective entropy estimation. In our experiments, we do not conduct “splitting” and lose half of the samples, and we evaluate our estimator on the multinomial rather than the Poisson sampling model required for the analysis. Moreover, we do not remove the constant term in the best polynomial approximation in experiments, since one can show they do not influence the achievability of the minimax rates, and it is easier to conduct best polynomial approximation with the constant term.

Given the extensive literature on entropy estimation, we demonstrate the efficacy of our methodology in functional estimation in estimating entropy. Specifically, we compare our estimator with the following estimators proposed in the literature:

The MLE: the entropy of the empirical distribution H^MLE=∑i=1S−p^iln⁡p^i\hat{H}^{\mathsf{MLE}}=\sum_{i=1}^{S}-\hat{p}_{i}\ln\hat{p}_{i}. It has been shown in that this approach cannot achieve the minimax rates.

The Miller-Madow bias-corrected estimator : H^MM=H^MLE+S−12n\hat{H}^{\mathsf{MM}}=\hat{H}^{\mathsf{MLE}}+\frac{S-1}{2n}. It has been shown that this approach cannot achieve the minimax rates.

The Jackknifed MLE : H^JK(Z)=nH^MLE(Z)−n−1n∑j=1nH^MLE(Z−j)\hat{H}^{\mathsf{JK}}(\mathbf{Z})=n\hat{H}^{\mathsf{MLE}}(\mathbf{Z})-\frac{n-1}{n}\sum_{j=1}^{n}\hat{H}^{\mathsf{MLE}}(\mathbf{Z}^{-j}), where Z−j\mathbf{Z}^{-j} is the remaining sample by removing jj-th observation. It has been shown in that this approach cannot achieve the minimax rates.

The unseen estimator by Valiant and Valiant : the estimator in is the first estimator shown to achieve the optimal sample complexity n≍Sln⁡Sn\asymp\frac{S}{\ln S} in entropy estimation. Recently, Valiant and Valiant provided a modification of to estimate entropy, and demonstrated its superior empirical performance via comparison with various existing algorithms, even with the algorithm proposed in Valiant and Valiant . Hence, it is most informative to compare our algorithm with that of . In our experiments, we downloaded and used the Matlab implementation of the estimator in , with default parameters.

The coverage adjusted estimator (CAE) : an estimator specifically designed to apply to settings in which there is a significant component of the distribution that is unseen. Defining C^=1−f1n\hat{C}=1-\frac{f_{1}}{n}, where f1f_{1} denotes the number of symbols that only appear once in the sample , the CAE estimator is then given by

The best upper bound estimator (BUB) : an estimator proposed by Paninski which minimizes the sum of upper bounds of the squared bias and the variance, which are given by approximation theory and the bounded-difference inequality , respectively. Note that this estimator requires the knowledge of SS, and we give the true support size as its input. Hence we are comparing our estimator with the best-case performance of the BUB estimator.

The shrinkage estimator : the plug-in estimator of the shrinkage estimate of the distribution, which is given by

Hence the distribution estimate is shrunk towards the uniform distribution, and H^shrinkage=∑i=1S−p^isln⁡p^is\hat{H}^{\mathsf{shrinkage}}=\sum_{i=1}^{S}-\hat{p}_{i}^{s}\ln\hat{p}_{i}^{s}. We also give the true support size SS as its input.

where ψ0(x)=ddx[ln⁡Γ(x)]\psi_{0}(x)=\frac{d}{dx}\left[\ln\Gamma(x)\right] is the digamma function. Then the estimator is given by H^Grassberger=ln⁡n−∑i=1Sp^iGnp^i\hat{H}^{\mathsf{Grassberger}}=\ln n-\sum_{i=1}^{S}\hat{p}_{i}G_{n\hat{p}_{i}}.

The Dirichlet-smoothed plug-in estimator : the plug-in estimator of the Bayes estimate of the distribution when the Dirichlet prior Dir(a)\mathsf{Dir}(a) is imposed on P∈MSP\in\mathcal{M}_{S}, i.e.,

The Bayes estimator under Dirichlet prior : this estimator also uses the Dirichlet prior Dir(a)\mathsf{Dir}(a) on the distribution P∈MSP\in\mathcal{M}_{S}, but then it is the Bayes estimator for H(P)H(P) under this prior in lieu of the plug-in approach. Wolpert and Wolf gives an explicit expression of this estimator:

It has been shown in that this approach cannot achieve the minimax rates. We feed the algorithm with true SS and set a=n/Sa=\sqrt{n}/S in our experiments.

The Nemenman–Shafee–Bialek estimator (NSB) : instead of fixing some parameter aa in the Dirichlet prior, the NSB estimator uses an infinite Dirichlet mixture for averaging so that the prior distribution of H(P)H(P) is near uniform. Then the NSB estimator is the Bayes estimator under this prior. There are some algorithmic stability issues due to the involvement of several numerical algorithms, including the Newton-Raphson iterative algorithm and numerical integration.

We would like to clarify the aim of experimentation in evaluating estimators for functionals, such as entropy, compared to theoretical study. On the face of it, experimentation on simulated data seems to be the holy grail: indeed, in simulations we can compute the true expected squared error of certain estimator for certain distributions very accurately, and the smaller the risk is, the better the estimator is. However, a close inspection of this procedure demonstrates a severe limitation of the simulation approach: one can never simulate all the possible distributions in a not-too-small subset of the space of discrete distributions with support size SS. For example, suppose we have chosen 1010 distributions with support size SS, and conducted experiments on entropy estimation. The only possible conclusion we may draw from these experiments is that the estimator that performs well on these 1010 distributions should be applied if the true distribution is one of the 1010 distributions. We cannot draw conclusions about other distributions with support size SS that were not tested, but we can never test all the distributions. The advantage of theory is to study the performance of estimators for all the possible distributions. On the practical side, if the statistician is being conservative, i.e., the statistician wants the scheme to perform well no matter what distribution might be the true distribution, then only theoretical study can resolve this issue, which is our starting point for this paper.

One might argue that in practice, one may possess some knowledge of the underlying distribution. For example, we may know that the distribution is exactly uniform, without knowledge of its support size. In that case, entropy estimation has been shown to be considerably easier : it is necessary and sufficient to take n≫Sn\gg\sqrt{S} samples to consistently estimate the entropy ln⁡S\ln S. Comparing with the optimal sample complexity S/ln⁡SS/\ln S under the assumption that the estimator is required to estimate the entropy of any discrete distribution with SS elements, the knowledge of uniformity reduces the difficulty of the problem considerably. We remark that if the statistician has convincing knowledge that the unknown distribution has certain structures (such as uniformity), then one should design schemes to exploit that prior knowledge. Recently, follow-up work showed that the estimator in the present paper is also adaptive, i.e., in some sense it can automatically adjust itself to the unknown distribution to achieve higher accuracy. Recall Section I-C for more discussions on this feature.

The extensive comparative study we conduct below demonstrates that, not only does our entropy estimator enjoy strong theoretical guarantees, but also works well in practice for various distributions. Furthermore, experiments test the numerical stability, space, and time efficiency of the implementation, which are of crucial importance in practical applications.

V-B Convergence properties along n=c​Sln⁡S𝑛𝑐𝑆𝑆n=c\frac{S}{\ln S}

Since the optimal sample complexity in entropy estimation is n≍S/ln⁡Sn\asymp S/\ln S, we investigate the performance of various estimators along the scaling n=cSln⁡S,S→∞n=c\frac{S}{\ln S},S\to\infty.

In light of the proof of the lower bounds in Section IV, we can construct two priors on MS\mathcal{M}_{S} such that the entropies corresponding to the priors are quite different, but these two priors are hard to distinguish based on observed samples. Hence for any estimator, the arithmetic mean of the expected MSE based on distributions drawn from each prior should be lower bounded by the minimax risk. Moreover, for estimators which cannot achieve the minimax risk up to a multiplicative constant, this MSE will blow up eventually along n=cSln⁡Sn=c\frac{S}{\ln S} as S→∞S\to\infty.

We choose c=10c=10, and sample 1515 points equally spaced in a logarithmic scale from 1010 to 10610^{6} as candidates for support size SS. For each support size SS, we construct two product priors μ0S,μ1S\mu_{0}^{S},\mu_{1}^{S} as in Section IV-B by replacing xα−1x^{\alpha-1} with −ln⁡x-\ln x in Lemma 12. Wu and Yang gave an explicit construction of the priors and used them first in the proof of minimax lower bounds for entropy estimation. Then for i=0,1i=0,1, in every sample we obtain a non-negative random vector from μiS\mu_{i}^{S}, which is normalized into a probability distribution P∈MSP\in\mathcal{M}_{S}. Then we take n=10S/ln⁡Sn=10S/\ln S samples from distribution PP and obtain an estimate of H(P)H(P). We repeat all the preceding steps 2020 times by Monte Carlo experiments to obtain the empirical MSE under each prior, then we take the arithmetic mean to form the total empirical MSE. We remark that the resulting prior from this approach is nearly a least favorable prior , under which the Bayes risk is at least the same order of the minimax risk.

The experimental results are exhibited in Figure 5. We remark that the vertical line is the MSE in logarithmic scale, which means that a small positive slope represents exponential growth in MSE. Bearing this in mind, Figure 5 suggests that the following three estimators out of 12, namely our estimator, the estimator by Valiant and Valiant and the best upper bound (BUB) estimator, achieve the minimax rate. Some other estimators have already been shown not to achieve the optimal sample complexity, e.g., the Miller-Madow bias-corrected MLE , the jackknifed estimator , and the Dirichlet-smoothed plug-in estimator as well as the Bayes estimator under Dirichlet prior . We remark that the shrinkage estimator only improves the MLE when the distribution is near-uniform, and this estimator performs poorly under the Zipf distribution (verified by our experiments), thus it attains neither the optimal minimum sample complexity nor the minimax rate.

Motivated by the preceding result, in our subsequent experiments we only consider our estimator, the estimator in and the BUB estimator, as well as the MLE used as a benchmark. We also remark that all other estimators are still tested in our experiments, which consistently demonstrate the superior empirical performance of our estimator, the estimator in and the BUB estimator over others.

V-C Estimation of entropy

Now we examine the performance of our estimator, the estimator in , the BUB estimator and the MLE in entropy estimation for various distributions. We remark that in theory, our estimator is the only one among these estimators which has been shown to achieve the minimax L2L_{2} rates, while the estimator in has only been shown order-optimal in terms of the sample complexity, and currently neither the maximum L2L_{2} risk nor the sample complexity is known for the BUB estimator. Moreover, the BUB estimator requires an accurate upper bound for the support size SS, and it was remarked in that the performance of BUB degrades considerably when this bound is inaccurate.

We divide our experiments into two regimes.

We first experiment in the regime S≪nS\ll n, which is an “easy” regime where even the MLE is known to perform very well. However, the estimator in exhibits peculiar behavior. We sample 88 points equally spaced in a logarithmic scale from 10210^{2} to 10310^{3} as candidates for support size SS, and for each SS we conduct 2020 Monte Carlo simulations of estimation based on n=50Sn=50S observations from certain distribution over an alphabet of size SS. We consider two special distributions, i.e., the uniform distribution with pi=1/Sp_{i}=1/S and the Zipf distribution pi=i−α/∑j=1Sj−αp_{i}=i^{-\alpha}/\sum_{j=1}^{S}j^{-\alpha} with order α=1\alpha=1 for 1≤i≤S1\leq i\leq S. The empirical root MSE is exhibited in Figure 6.

It is quite clear that both our estimator and the BUB estimator perform quite well for these distributions in the data rich regime, but the MLE and the estimator in return the entropy estimate which is far from the true entropy. A close inspection shows that the variance dominates the squared bias for our estimator and the BUB estimator, while there is a huge bias which constitutes the major part of the MSE for both the MLE and the estimator in .

We remark that the estimator in and the BUB estimator have substantially longer running time than ours in the data rich regime. For the uniform distribution, the total running time of our estimator in 160160 Monte Carlo simulations is 0.750.75s, with a small overhead over the MLE which requires 0.470.47s, whereas the one in takes 186.72186.72s and the BUB estimator takes 32.9732.97s. Similar results hold for the Zipf distribution.

V-C2 Data sparse regime: S≍nasymptotically-equals𝑆𝑛S\asymp n or S≫nmuch-greater-than𝑆𝑛S\gg n

This is the regime where the conventional approaches such as MLE fail. We sample 88 points equally spaced in a logarithmic scale from 10,00010,000 to 40,00040,000 as candidates for support size SS, and for each SS we conduct 2020 Monte Carlo simulations of estimation based on n=cSln⁡Sn=c\frac{S}{\ln S} observations from certain distribution over an alphabet of size SS, where c=5c=5 for the uniform distribution and c=15c=15 for the Zipf distribution with α=1\alpha=1. Note that when S=20,000S=20,000, we have n=10,098n=10,098 for c=5c=5 and n=30,293n=30,293 for c=15c=15, so we are actually in the data sparse regime. The outputs of our estimator, the MLE, the estimator in and the BUB estimator for both distributions are exhibited in Figure 7.

Figure 7 shows that the MLE is far from the true entropy. Both our estimator and that of perform quite well, but comparatively the BUB estimator exhibits a large bias for some distributions, e.g., the uniform distribution. Interestingly, with the same sample size n=10000n=10000, the estimator in and the BUB estimator run much faster than in the data rich regime, with a total running time 9.289.28s and 2.352.35s for the uniform distribution. However, it is still slower than our estimator, which takes 0.710.71s, only 0.050.05s longer compared with the MLE.

We have experimented with other distributions such as the Zipf with order α≠1\alpha\neq 1, the mixture of the uniform and Zipf distributions, as well as randomly generated distributions, with similar results. In summary, we observe that

the MLE usually concentrates at some point far away from the true functional value, particularly when the support size is comparable, or larger than the number of observations;

the estimator in performs quite well in the data sparse regime S≍nS\asymp n and S≫nS\gg n, but performs worse than the MLE in the data rich regime S≪nS\ll n, which is undesirable in applications such as mutual information estimation and situations where the support size SS is unknown;

the BUB estimator performs quite well in the data rich regime S≪nS\ll n, but performs worse than our estimator and the estimator in for some distributions in the data sparse regime. Moreover, it requires the knowledge of SS and does not have theoretical guarantees on its worst-case performance thus far, which is undesirable and not convincing in practice;

our estimator has stable performance, linear complexity, and high accuracy.

V-D Estimation of mutual information

One functional of particular significance in various applications is the mutual information I(X;Y)I(X;Y), but it cannot be directly expressed in the form of (1). Indeed, we have

However, one can easily show that if X,YX,Y both take values in alphabets of size SS, then the sample complexity for estimating I(X;Y)I(X;Y) is n≍S2/ln⁡Sn\asymp S^{2}/\ln S, rather than n≍S2n\asymp S^{2} required by the MLE . Applying our entropy estimator in the following way results in an essentially minimax (rate-optimal) mutual information estimator. We represent

where H(X,Y)H(X,Y) is the entropy associated with the joint distribution PXYP_{XY}, and use our entropy estimator to estimate each term. As was exhibited in previous experiments, in the data rich regime, the BUB estimator is better than the MLE and the estimator in , and in the data sparse regime, the worst-case performance of is better than the BUB estimator and the MLE, and in both regimes our estimators are doing well uniformly. However, in mutual information estimation, the estimators of H(X)H(X) and H(Y)H(Y) may be operating in the data rich regime, but that of H(X,Y)H(X,Y) in the data sparse regime. Conceivably, in this situation none of the MLE, and the BUB estimator would perform well, but our estimator is expected to have good performance.

In order to investigate this intuition, we fix n=2,500n=2,500 and sample 88 points equally spaced in a logarithmic scale from 100100 to 200200 as candidates for support size SS, and we generate two random variables X,YX,Y both with support size SS as follows. We first randomly generate two marginal distributions PX(i)P_{X}(i) and PZ(i),1≤i≤SP_{Z}(i),1\leq i\leq S, where for each ii we choose two independent random variables distributed as Beta(0.6,0.5)\mathsf{Beta}(0.6,0.5) for PX(i)P_{X}(i) and PZ(i)P_{Z}(i), and we normalize at the end to make them distributions. We pass XX through a transition channel to obtain YY, such that Y=(X+Z) mod SY=(X+Z)\bmod S. Note that we are in the regime S≪n≪S2S\ll n\ll S^{2}. We conduct 2020 Monte Carlo simulations for each SS, and the results are exhibited in Figure 8.

It is clear from Figure 8 that the MLE deviates from the true mutual information significantly, but our estimator is quite accurate, performing comparably to the estimator in and the BUB estimator for most support sizes SS. Note that the true mutual information is only about 0.4, so it is a significant improvement for decreasing the MSE from 0.01 to its half. At the same time, the estimator in and the BUB estimator have considerably longer running time than our estimator. It takes 128.13128.13s and 48.8648.86s for the estimator in and the BUB estimator to complete the 160 simulations, respectively, whereas ours requires 1.981.98s.

V-E Estimation of entropy rate

Another functional of particular significance is the entropy rate H=H(X0∣X−∞−1)H=H(X_{0}|X_{-\infty}^{-1}) of a stationary ergodic stochastic process {Xn}n=−∞∞\{X_{n}\}_{n=-\infty}^{\infty}, of fundamental importance in information theory . Consider a stationary ergodic Markov process {Xn}n=0∞\{X_{n}\}_{n=0}^{\infty} with support size SS and memory length DD, then the entropy rate HH can be expressed as

Now we examine the performance of our estimator, the MLE, the estimator in and the BUB estimator in the estimation of entropy rate. We fix the memory length D=4D=4, and choose the support size SS from 77 to 1414. For each support size SS, we construct a discrete distribution PZP_{Z} where PZ(i)P_{Z}(i) is independently drawn from Beta(0.6,0.5)\mathsf{Beta}(0.6,0.5) for 1≤i≤S1\leq i\leq S before normalization. Then for the sample size n=1.5SD+1/ln⁡(SD+1)n=1.5S^{D+1}/\ln(S^{D+1}), we draw nn i.i.d. samples Z1,Z2,⋯ ,ZnZ_{1},Z_{2},\cdots,Z_{n} from PZP_{Z} and then construct the stochastic process {Xk}k=1n\{X_{k}\}_{k=1}^{n} with memory length DD as follows: Xk=ZkX_{k}=Z_{k} for 1≤k≤D1\leq k\leq D, and Xk=(Zk+∑j=k−Dk−1Xj) mod SX_{k}=(Z_{k}+\sum_{j=k-D}^{k-1}X_{j})\bmod S for k>Dk>D. We conduct 2020 Monte Carlo simulations for each SS, with results exhibited in Figure 9

It is clear from Figure 9 that our estimator performs most favorably in estimation of entropy rate for most SS. As before, it takes our estimator less time (6.626.62s) to complete all 160 simulations compared with the estimator in (24.6524.65s) and the BUB estimator (13.9113.91s). Due to the high accuracy and the linear complexity, our estimator is an efficient tool when dealing with high dimensional data.

V-F Application in learning graphical models

Given nn i.i.d. samples of a random vector X=(X1,X2,…,Xd)\mathbf{X}=(X_{1},X_{2},\ldots,X_{d}), where Xi∈X,∣X∣<∞X_{i}\in\mathcal{X},|\mathcal{X}|<\infty, we are interested in estimating the joint distribution of X\mathbf{X}. It was shown that one needs to take n≫∣X∣dn\gg|\mathcal{X}|^{d} samples to consistently estimate the joint distribution , which blows up quickly with growing dd. Practically, it is convenient and necessary to impose some structure on the joint distribution PXP_{\mathbf{X}} to reduce the required sample complexity. Chow and Liu considered this problem under the constraint that the joint distribution of X\mathbf{X} satisfies order-one dependence. To be precise, Chow and Liu assumed that PXP_{\mathbf{X}} can be factorized as:

where (m1,m2,…,md)(m_{1},m_{2},\ldots,m_{d}) represents an unknown permutation of the integers (1,2,…,n)(1,2,\ldots,n). This dependence structure can be written as a tree with the random variables as nodes.

Towards estimating PXP_{\mathbf{X}} from nn i.i.d. samples, Chow and Liu considered solving for the MLE under the constraint that it factors as a tree. Interestingly, this optimization problem can be efficiently solved after being transformed into a Maximum Weight Spanning Tree (MWST) problem. Chow and Liu showed that the MLE of the tree structure boils down to the following expression:

where I(P^e)I(\hat{P}_{e}) is the mutual information associated with the empirical distribution of the two nodes connected via edge ee, and EQE_{Q} is the set of edges of distribution QQ that factors as a tree. In words, it suffices to first compute the empirical mutual information between any two nodes (in total (d2)\binom{d}{2} pairs), and the maximum weight spanning tree is the tree structure that maximizes the likelihood. To obtain estimates of distributions on each edge, Chow and Liu simply assigned the empirical distribution.

The Chow–Liu algorithm is widely used in machine learning and statistics as a tool for dimensionality reduction, classification, and as a foundation for algorithm design in more complex dependence structures in the theory of learning graphical models . It has also been widely adopted in applied research, and is particularly popular in systems biology. For example, the Chow–Liu algorithm is extensively used in the reverse engineering of transcription regulatory networks from gene expression data .

Considerable work has been dedicated to the theoretical properties of the CL algorithm. For example, Chow and Wagner showed that the CL algorithm is consistent as n→∞n\to\infty. Tan et al. studies the large deviation properties of CL. However, no study justified the use of the CL in practical scenarios involving finitely many samples. Indeed, the fact that CL solves MLE does not imply it is optimal: recall Section II-D1 for the discussion on MLE. As we elaborate in what follows, this is no coincidence, as the CL can be considerably improved on in practice. To explain the insights underlying our improved algorithm, we revisit equation (200) and note that if we were to replace the empirical mutual information with the true mutual information, the output of the MWST would be the true edges of the tree. In light of this, the CL algorithm can be viewed as a “plug-in” estimator that replaces the true mutual information with an estimate of it, namely the empirical mutual information. Naturally then, it is to be expected that a better estimate of the mutual information would lead to smaller probability of error in identifying the tree. It is thus natural to suspect that using our estimator for mutual information in lieu of the empirical mutual information in the CL algorithm would lead to performance boosts. It is gratifying to find this intuition confirmed in all the experiments that we conducted. In the following experiment, we fix d=7,∣X∣=200d=7,|\mathcal{X}|=200, construct a star tree (i.e. all random variables are conditionally independent given X1X_{1}), and generate a random joint distribution by assigning independent Beta(0.5,0.5)\mathsf{Beta}(0.5,0.5)-distributed random variables to each entry of the marginal distribution PX1P_{X_{1}} and the transition probabilities PXk∣X1,2≤k≤dP_{X_{k}|X_{1}},2\leq k\leq d (with normalization). Then, we increase the sample size nn from 10310^{3} to 5.5×1045.5\times 10^{4}, and for each nn we conduct 2020 Monte Carlo simulations.

Note that the true tree has d−1=6d-1=6 edges, and any estimated set of edges will have at least one overlap with these 66 edges because the true tree is a star graph. We define the wrong-edges-ratio in this case as the number of edges different from the true set of edges divided by d−2=5d-2=5. Thus, if the wrong-edges-ratio equals one, it means that the estimated tree is maximally different from the true tree and, in the other extreme, a ratio of zero corresponds to perfect reconstruction. We compute the expected wrong-edges-ratio over 2020 Monte Carlo simulations for each nn, and the results are exhibited in Figure 10.

Figure 10 reveals intriguing phase transitions for both the modified and the original CL algorithm. When we have fewer than 3×1033\times 10^{3} samples, both algorithms yield a wrong-edges-ratio of 11, but soon after the sample size exceeds 6×1036\times 10^{3}, the modified CL algorithm begins to reconstruct the network perfectly, while the original CL algorithm continues to fail maximally until the sample size exceeds 47×10347\times 10^{3}, 88 times the sample size required by the modified algorithm. The theoretical properties of these sharp phase transitions remain for future work.

VI Conclusions and future work

The risk of any statistical estimator under L2L_{2} loss can be decomposed into squared bias and variance. Shrinkage is particularly useful in reducing the variance via slightly sacrificing the bias. Approximation, which is introduced in this paper, turns out to be the counterpart of shrinkage. The methodology of approximation has demonstrated its efficacy in reducing the bias via slightly sacrificing the variance in constructing minimax rate-optimal estimators for H(P)H(P) and Fα(P)F_{\alpha}(P) in this paper. We remark that in estimating functionals, especially low dimensional functionals of high dimensional parameters, the bias usually dominates the risk , and the methodology proposed in this paper has proved to be extremely effective in properly reducing bias, and consequently achieving the minimax rates.

We show that the bias of a statistical estimator for a functional can be interpreted as the approximation error of a certain operator in approximating the function, which exhibits an intimate connection between statistics and approximation theory, the latter being a mature mathematical field studied for several centuries. Designing an estimator with smaller bias is equivalent to designing an approximation operator with small approximation error. However, the functional estimation problem is far more subtle than this connection, since one has to control the bias and variance simultaneously. We have made significant efforts to understand this delicate trade-off, which is the foundation for our general methodology in functional estimation in Section II. However, we remark that it still remains fertile ground for research.

This paper constitutes a first step towards a more comprehensive understanding of functional estimation. We have partially answered Paninski’s question in [Section 8.3], since we demonstrated that the minimax rates are highly dependent on the properties of the functionals to be estimated. A general theory characterizing the minimax rates in functional estimation using approximation theoretic quantities is yet unavailable. An ambitious goal might be constructing the counterpart of what we know in nonparametric linear functional estimation , or nonparametric function estimation .

VII Acknowledgments

We are grateful to Gregory Valiant for introducing us to the entropy estimation problem, which motivated this work. We thank many approximation theorists for very helpful discussions, in particular, Dany Leviatan, Kirill Kopotun, Feng Dai, Volodymyr Andriyevskyy, Gancho Tachev, Radu Paltanea, Paul Nevai, Doron Lubinsky, Dingxuan Zhou, and Allan Pinkus. We thank Marcelo Weinberger for bringing up the question of comparing the difficulty between entropy estimation and data compression, and Thomas Courtade for proposing to view Fα(P)F_{\alpha}(P) as moment generating functions of the information density random variable and suggesting some tricks in the proof of Lemma 15. We thank Liam Paninski for interesting discussions related to Paninski . We thank Martin Vinck for interesting discussions related to entropy estimation in physics and neuroscience. We thank Jayadev Acharya, Alon Orlitsky, Ananda Theertha Suresh, and Himanshu Tyagi for stimulating discussions. We thank Yihong Wu for insightful discussions, in particular, regarding a non-rigorous step in the proof of Lemma 16 in a previous version of the manuscript. We thank Maya Gupta for inspiring discussions, in particular for raising the question of whether Dirichlet prior smoothed plug-in entropy estimation can achieve the minimax rates, whose answer was shown to be negative in . Finally, we thank Dmitri Sergeevich Pavlichin for translating articles from Bernstein’s collected works , whose English versions are unavailable.

Appendix A Auxiliary Lemmas

If the support of distribution PP is of size SS, then

The next lemma relates the minimax risk under the Poissonized model and that under the Multinomial model. We define the minimax risk for Multinomial model with nn observations on support size SS for estimating functional FF as

and the counterpart for the Poissonized model as

The next lemma is an extension of Wu and Yang .

The minimax risks under the Poissonized model and the Multinomial model are related via the following inequalities:

The following lemma characterizes the best polynomial approximation error of xαx^{\alpha} over $inaveryprecisesense.Concretely,denotingthebestpolynomialapproximationerrorwithorderatmostin a very precise sense. Concretely, denoting the best polynomial approximation error with order at mostnforfunctionfor functionfasasE_{n}[f]$, we have the following lemma.

The following limit exists for any α>0\alpha>0:

where μ(p)≜lim⁡n→∞npEn[∣x∣p],p>0\mu(p)\triangleq\lim_{n\to\infty}n^{p}E_{n}[|x|^{p}]_{},p>0 is the Bernstein function introduced by . For an non-asymptotic bound, denote the best polynomial approximation of xα,α>0x^{\alpha},\alpha>0 to the nn-th degree by ∑k=0ngk,αxk\sum_{k=0}^{n}g_{k,\alpha}x^{k}, and define Rn,α(x)≜∑k=1ngk,αxkR_{n,\alpha}(x)\triangleq\sum_{k=1}^{n}g_{k,\alpha}x^{k} as the best approximation polynomial without the constant term. Then for 0<α<10<\alpha<1, we have the norm bound

For 1<α<3/21<\alpha<3/2, we have the norm bound

where D1>0D_{1}>0 is a universal positive constant.

where the coefficients gk,Hg_{k,H} are defined in (48).

Although the Bernstein function μ(p)\mu(p) seems hard to analyze, we can compute it fairly easily using well-developed machinery in numerical analysis. For example, showed the following bound on μ(1)\mu(1) using analytical methods:

but we can easily obtain it numerically in the Chebfun system using polynomial approximation order roughly 100100.

We have the following result by Ibragimov :

The function ν1(p)\nu_{1}(p) was introduced by Ibragimov as the following limit for pp positive even integer and mm positive integer:

This Lemma follows from Ibragimov [165, Thm. 9δ9\delta]. Note that Ibragimov contained a small mistake where the limit of n2En[(1−x)ln⁡(1−x)]n^{2}E_{n}[(1-x)\ln(1-x)]_{} was wrongly computed to be 4ν1(2)4\nu_{1}(2), but it is supposed to be ν1(2)\nu_{1}(2). Using numerical computation provided by the Chebfun toolbox, we obtain that

and this asymptotic result starts to be very accurate for small nn such as 55.

The following two lemmas characterize the approximation error of xαx^{\alpha} and −xln⁡x-x\ln x when xx is small.

For all x∈[0,4Δ]x\in[0,4\Delta], the following bound holds for 0<α<3/2,α≠10<\alpha<3/2,\alpha\neq 1:

where c3=2(π2c1c22)αc_{3}=2\left(\frac{\pi^{2}c_{1}}{c_{2}^{2}}\right)^{\alpha} for 0<α<10<\alpha<1, and c3=3(4π2c1c22)αc_{3}=3\left(\frac{4\pi^{2}c_{1}}{c_{2}^{2}}\right)^{\alpha} for 1<α<3/21<\alpha<3/2. When nn (or equivalently, KK) is large enough, we could take

where the function μ(⋅)\mu(\cdot) is the Bernstein function introduced in Theorem 8.

For all x∈[0,4Δ]x\in[0,4\Delta], there exists a constant C>0C>0 such that

Moreover, when nn (equivalently, KK) is large enough, we could take CC to be

where the function ν1(p)\nu_{1}(p) is introduced in Lemma 18.

According to Lemma 18, the asymptotic result C≈1.81c1c22C\approx\frac{1.81c_{1}}{c_{2}^{2}} starts to become very accurate even from very small values of KK such as 55. The following lemma gives some tails bounds for Poisson and Binomial random variables.

[193, Exercise 4.7] If X∼Poi(λ)X\sim\mathsf{Poi}(\lambda), or X∼B(n,p),np=λX\sim\mathsf{B}(n,p),np=\lambda, then for any δ>0\delta>0, we have

Next lemma gives an upper bound on the kk-th moment of a Poisson random variable.

Let X∼Poi(λ)X\sim\mathsf{Poi}(\lambda), kk be an positive integer. Taking M=max⁡{λ,k}M=\max\{\lambda,k\}, we have

The next two lemmas from Cai and Low are simple facts we will utilize in the analysis of our estimators.

[77, Lemma 5] For any two random variables XX and YY,

In particular, for any random variable XX and any constant CC,

Appendix B Proof of Theorem 5, 6 and main lemmas

The convexity of xα,α>1x^{\alpha},\alpha>1 yields

Theorem 3 implies that there exists a constant 0<Cα<∞0<C_{\alpha}<\infty such that

where the supremum is taken over all discrete distributions supported on countably infinite alphabet. Using this estimator and applying Chebychev’s inequality,

B-B Proof of Theorem 6

Since the central limit theorem claims that

as λ→∞\lambda\to\infty, there exists λ0>0\lambda_{0}>0 such that

Denoting cm≜max⁡{c,λ0}c_{m}\triangleq\max\{c,\lambda_{0}\}, we set S0=⌈ncm⌉≤⌈nc⌉≤SS_{0}=\lceil\frac{n}{c_{m}}\rceil\leq\lceil\frac{n}{c}\rceil\leq S and consider the distribution P=(1/S0,1/S0,…,1/S0,0,0,…,0)P=(1/S_{0},1/S_{0},\ldots,1/S_{0},0,0,\ldots,0), then Hα(P)=ln⁡S0H_{\alpha}(P)=\ln S_{0}. Under the Poissonized model np^i∼Poi(npi),1≤i≤Sn\hat{p}_{i}\sim\mathsf{Poi}(np_{i}),1\leq i\leq S, we have p^i=0\hat{p}_{i}=0 for i>S0i>S_{0}, and

then the random variable NN follows a Binomial distribution N∼B(S0,p)N\sim\mathsf{B}(S_{0},p), and by the central limit theorem again we have

Given η≜N/S0≥1/6\eta\triangleq N/S_{0}\geq 1/6, it follows from the convexity of xα,α>1x^{\alpha},\alpha>1 that

Hence, due to 0<1/6≤η<1<M≤1/η0<1/6\leq\eta<1<M\leq 1/\eta, we conclude that f(η,M)≥f(η,1+cm−1)>f(η,1)=1f(\eta,M)\geq f(\eta,1+c_{m}^{-1})>f(\eta,1)=1. Since f(η,1+cm−1)f(\eta,1+c_{m}^{-1}) is continuous with respect to η∈[1/6,cm/(cm+1)]\eta\in[1/6,c_{m}/(c_{m}+1)], we have

B-C Proof of Lemma 2

For p≥Δp\geq\Delta, we do Taylor expansion of Uα(x)U_{\alpha}(x) around x=px=p. We have

where the remainder term enjoys the following representations:

The first remainder is called the integral representation of Taylor series remainders, and the second remainder is called the Lagrange remainder.

Replacing xx by random variable XX in (250), where nX∼Poi(np),p≥ΔnX\sim\mathsf{Poi}(np),p\geq\Delta, and taking expectations on both sides, we have

Since the representation of R(x;p)R(x;p) involves Uα(4)(ξx)U_{\alpha}^{(4)}(\xi_{x}), it would be helpful to obtain some estimates of Uα(4)(x)U_{\alpha}^{(4)}(x) over $.Denoting. DenotingU_{\alpha}(x)=I_{n}(x)f(x),where, wheref(x)=x^{\alpha}+\frac{\alpha(1-\alpha)}{2n}x^{\alpha-1}$, we have

Hence, it suffices to bound each term in (259) separately.

For x∈[0,t]x\in[0,t], Uα(x)≡0U_{\alpha}(x)\equiv 0, so we do not need to consider this regime. For x∈[2t,1]x\in[2t,1], Uα(x)=f(x)U_{\alpha}(x)=f(x), hence

Finally we consider x∈(t,2t)x\in(t,2t). Denoting y=x−ty=x-t, the derivatives of In(x)I_{n}(x) for x∈(t,2t)x\in(t,2t) are as follows:

Considering the fact that y/t∈y/t\in, we can maximize ∣In(i)(x)∣|I_{n}^{(i)}(x)| over x∈(t,2t)x\in(t,2t) for 1≤i≤41\leq i\leq 4. With the help of Mathematica\mathsf{Mathematica} , we could show that for x∈(t,2t)x\in(t,2t),

Plugging these upper bounds in (259), we know for x∈(t,2t)x\in(t,2t)

Case 2: 0≤x<p/20\leq x<p/2. In this case, denoting y=max⁡{x,Δ/4}y=\max\{x,\Delta/4\},

Plugging this into (258), we have for p≥Δp\geq\Delta,

For the upper bound on the variance Var(Uα(X))\mathsf{Var}(U_{\alpha}(X)), denoting f(p)=pα+α(1−α)2npα−1f(p)=p^{\alpha}+\frac{\alpha(1-\alpha)}{2n}p^{\alpha-1}, for p≥Δp\geq\Delta, we have

Taking expectation on both sides with respect to XX, where nX∼Poi(np),p≥ΔnX\sim\mathsf{Poi}(np),p\geq\Delta, we have

As we did for function Uα(x)U_{\alpha}(x), now we give some upper estimates for ∣r′′(x)∣|r^{\prime\prime}(x)| over $.Overregime. Over regime[0,t],,r(x)\equiv 0,soweignorethisregime.Overregime, so we ignore this regime. Over regime[2t,1],since, sinceU_{\alpha}(x)=f(x),f(x)=x^{\alpha}+\frac{\alpha(1-\alpha)}{2n}x^{\alpha-1}$, we have

where in the last step we have applied Lemma 21.

Regarding sup⁡x≤p/2∣R1(x;p)∣\sup_{x\leq p/2}|R_{1}(x;p)|, for any x≤p/2x\leq p/2, denoting y=max⁡{x,Δ/4}y=\max\{x,\Delta/4\}, we have

We need to distinguish two cases: 0<α≤1/20<\alpha\leq 1/2, and 1/2<α<11/2<\alpha<1.

0<α≤1/20<\alpha\leq 1/2: in this case, we have

For 1<α<3/21<\alpha<3/2, following the same procedures, we obtain some upper bounds on ∣r′′(x)∣|r^{\prime\prime}(x)| and ∣Uα′′(x)∣|U_{\alpha}^{\prime\prime}(x)|. Over regime [0,t][0,t], r(x)=Uα2(x)≡0r(x)=U_{\alpha}^{2}(x)\equiv 0, we have r′′(x)=Uα′′(x)=0r^{\prime\prime}(x)=U_{\alpha}^{\prime\prime}(x)=0. Over regime [2t,1][2t,1], since Uα(x)=f(x)U_{\alpha}(x)=f(x), we have

Noting that we have obtained a norm bound for ∣r′′(x)∣|r^{\prime\prime}(x)| over all regimes expressed as

B-D Proof of Lemma 3

For p≥Δp\geq\Delta, we do Taylor expansion of UH(x)U_{H}(x) around x=px=p. We have

where the remainder term enjoys the following representations:

The first remainder is called the integral representation of Taylor series remainders, and the second remainder is called the Lagrange remainder.

Replacing xx by random variable XX in (378), where nX∼Poi(np),p≥ΔnX\sim\mathsf{Poi}(np),p\geq\Delta, and taking expectations on both sides, we have

Since the representation of R(x;p)R(x;p) involves UH(4)(ξx)U_{H}^{(4)}(\xi_{x}), it would be helpful to obtain some estimates of UH(4)(x)U_{H}^{(4)}(x) over $$. We have

Hence, it suffices to bound each term in (387) separately.

For x∈[0,t]x\in[0,t], UH(x)≡0U_{H}(x)\equiv 0, so we do not need to consider this regime. For x∈[2t,1]x\in[2t,1], UH(x)=f(x)U_{H}(x)=f(x), hence

Finally we consider x∈(t,2t)x\in(t,2t). Denoting y=x−ty=x-t, the derivatives of In(x)I_{n}(x) for x∈(t,2t)x\in(t,2t) are as follows:

Considering the fact that y/t∈y/t\in, we can maximize ∣In(i)(x)∣|I_{n}^{(i)}(x)| over x∈(t,2t)x\in(t,2t) for 1≤i≤41\leq i\leq 4. With the help of Mathematica\mathsf{Mathematica} , we could show that for x∈(t,2t)x\in(t,2t),

Plugging these upper bounds in (387), we know for x∈(t,2t)x\in(t,2t)

Case 2: 0≤x<p/20\leq x<p/2. In this case, denoting y=max⁡{x,Δ/4}y=\max\{x,\Delta/4\},

Plugging this into (386), we have for p≥Δp\geq\Delta,

For the upper bound on the variance Var(UH(X))\mathsf{Var}(U_{H}(X)), recalling that f(p)=−xln⁡x+12nf(p)=-x\ln x+\frac{1}{2n}, for p≥Δp\geq\Delta, we have

Taking expectation on both sides with respect to XX, where nX∼Poi(np),p≥ΔnX\sim\mathsf{Poi}(np),p\geq\Delta, we have

As we did for function UH(x)U_{H}(x), now we give some upper estimates for ∣r′′(x)∣|r^{\prime\prime}(x)| over $.Overregime. Over regime[0,t],,r(x)\equiv 0,soweignorethisregime.Overregime, so we ignore this regime. Over regime[2t,1],since, sinceU_{H}(x)=f(x)$, we have

where we have used the fact that ∣ln⁡2∣≈0.69<1|\ln 2|\approx 0.69<1. Also, over regime [t,2t][t,2t],

where in the last step we have applied Lemma 21.

Regarding sup⁡x≤p/2∣R1(x;p)∣\sup_{x\leq p/2}|R_{1}(x;p)|, for any x≤p/2x\leq p/2, denoting y=max⁡{x,Δ/4}y=\max\{x,\Delta/4\}, we have

B-E Proof of Lemma 4

We first bound the bias term. It follows from differentiating the moment generating function of the Poisson distribution that if X∼Poi(λ)X\sim\mathsf{Poi}(\lambda), then

Then, we know that for nX∼Poi(np)nX\sim\mathsf{Poi}(np),

Applying Lemma 19, we know that for all p≤4Δp\leq 4\Delta,

Now we bound the second moment of SK,α(X)S_{K,\alpha}(X). Denote

Since K≤4nΔK\leq 4n\Delta, applying Lemma 22,

The proof for the SK,H(x)S_{K,H}(x) case is essentially the same as that for SK,α(x)S_{K,\alpha}(x) via replacing α\alpha by 11 and applying Lemma 20 rather than Lemma 19.

B-F Proof of Lemma 5

We first bound the bias term. It follows from the property of Poisson distribution that

It follows from a variation of the pointwise bound in Lemma 17 that

which completes the proof of the first part of Lemma 5. For the variance, denote

where {ki}\left\{\begin{matrix}k\\ i\end{matrix}\right\} is the Stirling numbers of the second kind, and we have used the inequality

Hence, we can bound the second moment of SK,α(X)S_{K,\alpha}(X) as

given c2<4c1c_{2}<4c_{1}, where we have used Lemma 17.

B-G Proof of Lemma 6

We apply Lemma 23 and Lemma 24 to calculate the bias and variance of ξ\xi.

Now we bound B1,B2,B3B_{1},B_{2},B_{3} separately. It follows from Lemma 4 that

Now consider B2B_{2}. Note that for any random variable ZZ and any constant λ>0\lambda>0,

where we have used Lemma 4 and Lemma 21. Thus, we have

To sum up, we have the following bound on ∣B(ξ)∣|B(\xi)|:

We now consider the variance. It follows from Lemma 23 and Lemma 24 that

Claim

Regarding B3B_{3}, applying Lemma 2, we have

Lemma 2 implies that when 0<α≤1/20<\alpha\leq 1/2,

Claim

B-H Proof of Lemma 7

We use Lemma 2, Lemma 4 and Lemma 5 to compute the bias and variance of ξ\xi. We distinguish four cases.

Now we bound B1,B2,B3B_{1},B_{2},B_{3} separately. It follows from Lemma 5 that

where we have used Lemma 21 and the pointwise bound in Lemma 17, thus

To sum up, we have the following bound on ∣B(ξ)∣|B(\xi)|:

As for variance, it follows from Lemma 23 and Lemma 24 that

where we have used the fact that when p≤1nln⁡np\leq\frac{1}{n\ln n},

To bound the bias, we use the same definition of B1,B2,B3B_{1},B_{2},B_{3} as in Case 1. It follows from Lemma 4 that

Similar to the analysis in Case 1, the variance is upper bounded by

To sum up, the total bias is upper bounded by

In this case, the bias is upper bounded by

B-I Proof of Lemma 10

The existence of the two prior distributions ν0\nu_{0} and ν1\nu_{1} follows directly from a standard functional analysis argument proposed by Lepski, Nemirovski, and Spokoiny , and elaborated in best polynomial approximation by Cai and Low [77, Lemma 1]. It suffices to replace the interval withwith and the function ∣x∣|x| with xαx^{\alpha} in the proof of Lemma 1 in .

B-J Proof of Lemma 11

We compute the difference of the expectations as follows,

where μ(2α)\mu(2\alpha) is the constant given by Lemma 17.

where we have used the Taylor expansion of e−xe^{-x}.

Now we proceed to bound the total variation distance between the marginal distributions under two priors μ0,μ1\mu_{0},\mu_{1}.

Note that we take d1=1,d2=10ed_{1}=1,d_{2}=10e in the assumption. We bound D2D_{2} in the following way:

where in the fourth step we have applied Lemma 21.

where in the third step we have used the fact that μ1\mu_{1} and μ0\mu_{0} have matching moments up to order d2ln⁡nd_{2}\ln n. The Lagrangian remainder for Taylor series of ex,x>0e^{x},x>0 shows that

where 0≤ξ≤x0\leq\xi\leq x. Applying this result, we have

where in the third step we have used the fact that n!≥(ne)nn!\geq\left(\frac{n}{e}\right)^{n}.

Combining bounds on D1D_{1} and D2D_{2} together, we have

B-K Proof of Lemma 13

then EL[fη]=EL[xβ][η,1]E_{L}[f_{\eta}]_{}=E_{L}[x^{\beta}]_{[\eta,1]}. For φ(x)=1−x2\varphi(x)=\sqrt{1-x^{2}}, denote the second-order Ditzian-Totik modulus of smoothness by

then it is straightforward to obtain that for all n≤(4η)β2−1n\leq(4\eta)^{\frac{\beta}{2}-1},

It follows directly from (686) that when n≤min⁡{1η,(4η)β2−1}n\leq\min\{\frac{1}{\sqrt{\eta}},(4\eta)^{\frac{\beta}{2}-1}\},

The relationship between ωφ2(fη,n−1)\omega_{\varphi}^{2}(f_{\eta},n^{-1}) and En[fη]E_{n}[f_{\eta}]_{} was shown in [167, Thm. 7.2.1, Thm. 7.2.4] that there exists two universal positive constants M1,M2M_{1},M_{2} such that

Applying (688) and (689) and setting the approximation order N=DLN=DL with a positive constant D>1D>1 to be specified later, then given η=1/N2\eta=1/N^{2}, the non-increasing property of En[fη]E_{n}[f_{\eta}]_{} with respect to nn yields that

Due to 0<2β<10<2\beta<1, for a sufficiently large universal constant DD we can obtain that

B-L Proof of Lemma 14

Fix δ>0\delta>0. Let F^(Z)\hat{F}({\bf Z}) be a near-minimax estimator of Fα(P)F_{\alpha}(P) under the Multinomial model. The estimator F^(Z)\hat{F}({\bf Z}) obtains the number of samples nn from observation Z\bf Z. By definition, we have

where R(S,n)R(S,n) is the minimax L2L_{2} risk under the Multinomial model. Given P∈MS(γ)P\in\mathcal{M}_{S}(\gamma), let Z=[Z1,⋯ ,ZS]T\mathbf{Z}=[Z_{1},\cdots,Z_{S}]^{T} with Zi∼Poi(npi)Z_{i}\sim\mathsf{Poi}(np_{i}) and let n′=∑i=1SZi∼Poi(n∑i=1Spi)n^{\prime}=\sum_{i=1}^{S}Z_{i}\sim\mathsf{Poi}(n\sum_{i=1}^{S}p_{i}), we use the estimator d1α⋅F^(Z)d_{1}^{\alpha}\cdot\hat{F}(\mathbf{Z}) to estimate Fα(P)F_{\alpha}(P).

where we have used the fact that conditioned on n′=mn^{\prime}=m, Z∼Multinomial(m,P∑ipi)\mathbf{Z}\sim\mathsf{Multinomial}(m,\frac{P}{\sum_{i}p_{i}}), and the last step follows from Lemma 21. The proof is completed by the arbitrariness of δ\delta.

Appendix C Proof of auxiliary lemmas

We obtain the polynomial g(x;a)g(x;a) via the Hermite interpolation formula. Concretely, the following WolframAlpha\mathsf{WolframAlpha} (http://www.wolframalpha.com/) command will give us g(x;a)g(x;a):

InterpolatingPolynomial[{{{0}, 0, 0, 0, 0, 0}, {{a}, 1, 0, 0, 0, 0}}, x].

C-B Proof of Lemma 15

For brevity, denote Var(−ln⁡P(X))\mathsf{Var}(-\ln P(X)) as V(P)V(P), we have

The function x(ln⁡x−1)2x(\ln x-1)^{2} on $hassecondderivativehas second derivative\frac{2\ln x}{x},henceisconcave.Thus,theexpression, hence is concave. Thus, the expression\sum_{i=1}^{S}p_{i}(\ln p_{i}-1)^{2}attainsitsmaximumwhenattains its maximum whenP$ is uniform distribution. In other words, we have shown that

A tighter bound which gives better constant can be constructed as follows. We define the Lagrangian:

Taking derivatives with respect to pip_{i}, we obtain

Note that it is a quadratic form for ln⁡pi\ln p_{i} with the same coefficients. Solving for ln⁡pi\ln p_{i}, we obtain that

It implies that components of the maximum achieving distribution can only take two values. Assume pi∈{q1,q2},∀ip_{i}\in\{q_{1},q_{2}\},\forall i. Suppose q1q_{1} appears kk times, we have

Since q2=1−kq1S−kq_{2}=\frac{1-kq_{1}}{S-k}, we have

Fixing xx, we see V(P)V(P) is a monotone function of yy. Without loss of generality, by symmetry we assume x≤1/2x\leq 1/2. Then, the maximum achieving y=S−1Sy=\frac{S-1}{S}, and V(P)V(P) as a function of xx is

Taking derivatives with respect to xx, ignoring the minimum achieving xx, we obtain the following equation for maximum achieving value of xx, which is denoted as x1x_{1}:

Multiplying both sides by x12ln⁡m(1−x1)x1\frac{x_{1}}{2}\ln\frac{m(1-x_{1})}{x_{1}}, we obtain

and if S≥4S\geq 4, we have ln⁡m=ln⁡(S−1)>1\ln m=\ln(S-1)>1.

Using the bound z≤z2,z≥1z\leq z^{2},z\geq 1, we have

Taking derivatives with respect to zz for z(ln⁡m(1−z)z)2,z∈(0,1/2]z\left(\ln\frac{m(1-z)}{z}\right)^{2},z\in(0,1/2], we have

which is always nonnegative if m≥e4m\geq e^{4}, i.e., S≥56S\geq 56. Hence, we know that when S≥56S\geq 56, the function z(ln⁡m(1−z)z)2z\left(\ln\frac{m(1-z)}{z}\right)^{2} is an increasing function of zz for z∈(0,1/2]z\in(0,1/2], thus achieves its maximum at z=1/2z=1/2.

C-C Proof of Lemma 16

Denote by F^nP,F^n\hat{F}_{n}^{P},\hat{F}_{n} the estimator for F(P)F(P) under the Poissonized model and the Multinomial model with sample size nn, respectively. By the minimax theorem , the minimax risk is the supremum of Bayes risk under all priors, i.e.,

where the supremum is taken over all priors on MS\mathcal{M}_{S}, and we denote the Bayes risk under prior π\pi in Poissonized and Multinomial models by RBP(S,n,π)R_{B}^{P}(S,n,\pi) and RB(S,n,π)R_{B}(S,n,\pi), respectively. Using the property that independent Zi∼Poi(npi),1≤i≤SZ_{i}\sim\mathsf{Poi}(np_{i}),1\leq i\leq S implies (Z1,⋯ ,ZS)∣(∑i=1SZi=n)∼Multinomial(n;p1,⋯ ,pS)(Z_{1},\cdots,Z_{S})|(\sum_{i=1}^{S}Z_{i}=n)\sim\mathsf{Multinomial}(n;p_{1},\cdots,p_{S}), it is straightforward to show that for any prior π\pi,

Since for n>mn>m, the Bayes estimator with sample size mm can be used for estimation with sample size nn by neglecting the last n−mn-m samples, we conclude that the function RB(S,n,π)R_{B}(S,n,\pi) is non-increasing in nn. Moreover, it is obvious that R(S,n,π)≤sup⁡P∈MS∣F(P)∣2R(S,n,\pi)\leq\sup_{P\in\mathcal{M}_{S}}|F(P)|^{2} by considering the zero estimator. Then we have

C-D Proof of Lemma 17

We first show the limiting result. Defining y2=xy^{2}=x, we know

Applying Theorem 8 to our settings, for any α>0\alpha>0 we have

Korneichuk [166, Sec. 6.2.5] showed the inequality

for all f∈Cf\in C, where ω(f,δ)\omega(f,\delta) is the first order modulus of smoothness, defined as

For 0<α≤1/20<\alpha\leq 1/2, ω(y2α,δ)≤δ2α,δ≤2\omega(y^{2\alpha},\delta)\leq\delta^{2\alpha},\delta\leq 2, hence we know

Plugging in x=0x=0 yields ∣g0,α∣<(π/2n)2α|g_{0,\alpha}|<(\pi/2n)^{2\alpha}, hence

For 1<α<3/21<\alpha<3/2, by defining y2=xy^{2}=x we know that

Plugging in x=0x=0 yields ∣g0,α∣<32(π/n)2α|g_{0,\alpha}|<\frac{3}{2}(\pi/n)^{2\alpha}, hence

Moreover, it has been shown in [73, Pg. 207] that

where D>0D>0 is a positive universal constant, and the last inequality follows directly from (750). Then integrating on xx yields the pointwise bound

In order to bound the coefficients of best polynomial approximations, we need the following result by Qazi and Rahman[197, Thm. E] on the maximal coefficients of polynomials on a finite interval.

Let pn(x)=∑ν=0naνxνp_{n}(x)=\sum_{\nu=0}^{n}a_{\nu}x^{\nu} be a polynomial of degree at most nn such that ∣pn(x)∣≤1|p_{n}(x)|\leq 1 for x∈x\in. Then, ∣an−2μ∣|a_{n-2\mu}| is bounded above by the modulus of the corresponding coefficient of TnT_{n} for μ=0,1,…,⌊n/2⌋\mu=0,1,\ldots,\lfloor n/2\rfloor, and ∣an−1−2μ∣|a_{n-1-2\mu}| is bounded above by the modulus of the corresponding coefficient of Tn−1T_{n-1} for μ=0,1,…,⌊(n−1)/2⌋\mu=0,1,\ldots,\lfloor(n-1)/2\rfloor. Here Tn(x)T_{n}(x) is the nn-th Chebyshev polynomials of the first kind.

Applying Lemma 25 and equation (48), we know that for all k≤nk\leq n, we have

C-E Proof of Lemma 19

Define x′=x4Δ∈x^{\prime}=\frac{x}{4\Delta}\in. For 0<α<10<\alpha<1, applying Lemma 17, we have

Multiplying both sides by (4Δ)α(4\Delta)^{\alpha}, we have

For the case 1<α<3/21<\alpha<3/2, similar results hold for

C-F Proof of Lemma 20

Define x′=x4Δx^{\prime}=\frac{x}{4\Delta}, hence for x∈[0,4Δ],x′∈x\in[0,4\Delta],x^{\prime}\in. It follows from the best polynomial approximation result for −xln⁡x-x\ln x on $thatthereexistsaconstantthat there exists a constantd>0suchthatforallsuch that for allx^{\prime}\in$,

When nn is sufficiently large, we could take d=ν1(2)2d=\frac{\nu_{1}(2)}{2}. Taking x′=0x^{\prime}=0, we have

Now, multiplying both sides by 4Δ4\Delta, we have

When nn is sufficiently large, we could replace dd by ν1(2)/2\nu_{1}(2)/2, hence obtain

C-G Proof of Lemma 22

We know that if X∼Poi(λ)X\sim\mathsf{Poi}(\lambda), then it follows from that

where {ki}\left\{\begin{matrix}k\\ i\end{matrix}\right\} is the Stirling numbers of the second kind.

References