Extracted main text — title through conclusion, appendix excluded. This is what our citation measures are computed over, published so the extraction can be checked by eye.
Rendered from LaTeX for readability, not typeset faithfully. Citation keys are highlighted; maths is left as source; figures, tables and equation environments are summarised rather than reproduced; unrecognised commands are greyed out so nothing is silently dropped. Email addresses are removed.
Sharp regret--Hellinger bounds for Gaussian empirical Bayes via polynomial approximation
\ifpdf
\DeclareGraphicsExtensions{.pgf}
\graphicspath{{figures/}{plots/}}
\fi
abstractA central problem in the theory of empirical Bayes is to control the regret (excess risk) of a
learned Bayes rule by the Hellinger distance between the estimated and true marginal
densities. In the normal means model, the classical result of Jiang and Zhang
JiangZhang2009 achieves this only after regularizing the Bayes rule and incurs an extraneous cubic logarithmic factor through a delicate recursive argument.
This
paper
introduces a new technique, based on polynomial approximation and Bernstein-type
inequalities for weighted $L_2$ norms, that bounds the unregularized regret directly.
The method is conceptually simpler and yields sharper, sometimes optimal, regret bounds. For
compactly supported priors, we prove the sharp bound that the regret is at most $O(\epsilon^2 \frac{\log(1/\epsilon)}{\log\log(1/\epsilon)})$,
where $\epsilon$ is the Hellinger distance between the marginal densities. The same method also extends to priors with exponential tails.
Conversely, we
show that regularization is genuinely necessary for heavy-tailed priors under only bounded moment assumptions. As a statistical consequence, we obtain improved regret
bounds for the nonparametric maximum likelihood estimator.
Introduction
Empirical Bayes (EB) is a powerful framework for large-scale statistical inference that applies Bayesian methods with a data-driven prior, thereby adapting to the latent structure in the data robbins1956empirical,zhang2003compound. For an account of the remarkable successes of EB in both theory and practice, we refer to the monograph and survey of Efron efron2012large,efron2024empirical. A key benchmark for an EB procedure is its regret: the excess risk relative to the Bayesian oracle that knows the true prior, or, in the compound setting, the empirical distribution of the parameters.
A standard setting for EB is the normal means model.
Consider $\theta \sim G$ and $Y=\theta+Z$, where $Z\sim N(0,1)$ is independent of $\theta$. Tweedie's formula expresses the Bayes estimator in terms of the score of the
marginal distribution of $Y$, namely, the Gaussian mixture $f_G := G * N(0,1)$:
equation[equation omitted — 114 chars of source]
This estimator minimizes the mean-squared error (MSE) among all estimators of $\theta$:
$\min_{\widehat\theta(\cdot)} \mathbb{E}_G[(\theta-\widehat\theta(Y))^2] =
\mathbb{E}_G[(\theta-m_G(Y))^2]$.
In the context of empirical Bayes, $m_G$ in \prettyref{eq:tweedie} is referred to as oracle Bayes, which requires the knowledge of the true prior $G$.
When
the Bayes rule $m_H$ with a misspecified prior $H$ is used, the regret, namely, the excess
MSE over the oracle risk, is given by
equation[equation omitted — 169 chars of source]
the second equality applying the Tweedie's formula \prettyref{eq:tweedie}.
This quantity is also known as relative Fisher information
in information theory and optimal transport villani.topics,raginsky2013concentration and score matching loss in generative modeling hyvarinen2005estimation.
In practice---and especially in the
$g$-modeling approach efron2014two---$H$ is a prior estimated from a
training sample and $\mathsf{Regret}(H\|G)$ is the incurred regret when the learned Bayes rule
$m_H$ is applied to a fresh test data point.
Widely used approaches for learning the prior include maximum likelihood and minimum distance, both of which aim at approximating the true data-generating distribution $f_G$. As such, a central problem in EB theory is to control the regret $\mathsf{Regret}(H\|G)$ using statistical distance between $f_G$ and $f_H$, most commonly the squared Hellinger distance:
equation[equation omitted — 98 chars of source]
A foundational result in nonparametric EB of this type is due to Jiang and Zhang
JiangZhang2009.
A substantial body of subsequent work in statistics and econometrics builds on this result; see, for
instance, jiang2020general,saha2020nonparametric,soloff2025multivariate,SW22,adusumilli2025empirical,ghosh2025stein,chen2026empirical,ignatiadis2026compound,kim2026empirical. In addition, this result also finds applications beyond the classical realm of EB; for example, it plays a crucial role in constructing optimal kernel-based estimators of score functions for diffusion models WWY24.
A key ingredient
of Jiang--Zhang's result JiangZhang2009
controls the following regularized version of the regret \prettyref{eq:regret}:
\[
\mathsf{Regret}_{\rho}(H \Vert G) := \int_\R \pr{
\frac{f'_G}{f_G \vee \rho} - \frac{f'_H}{ f_H \vee \rho}
}^2 f_G dy.
\addtocounter{equation}{1}\tag{\theequation}\label{eq:regularized_regret}
\]
This quantity is related to the regret of the regularized Bayes estimator
equation[equation omitted — 93 chars of source]
where the regularization parameter $\rho$ ensures the denominator is not too small.
Using a delicate recursive argument,
Jiang and Zhang showed that \prettyref{eq:regularized_regret} can be bounded by the Hellinger distance
$\epsilon := d_{\rm H}(f_G,f_H)$ as follows:
equation[equation omitted — 173 chars of source]
This quantity can be further related to the regret of the regularized estimator \prettyref{eq:bayes-rho} by quantifying the regularization error on the true Bayes rule, under suitable tail assumptions on the prior $G$.
In practice, $\rho$ is typically chosen as a small polynomial of $\epsilon$, leading to a regret bound of the order $O(\epsilon^2 (\log \frac{1}{\epsilon})^3)$.
The key difficulty of proving a regret--Hellinger inequality like \prettyref{eq:JZ09} is
that regret compares the scores (derivative of log density) while Hellinger only compares
the densities themselves. To bridge this gap, Jiang and Zhang introduced a sequence $\Delta_k$ defined in terms of the $k$th derivative of $f_G-f_H$, where $\Delta_0$ and $\Delta_1$ are approximately the Hellinger and the regularized regret, respectively.
They then proved a remarkable recursive inequality
$\Delta_k^2 \leq \Delta_{k-1}(\Delta_{k+1} + C \sqrt{\log(1/\rho)} \Delta_k)$ and bounded $\Delta_k$ separately using Fourier analysis, concluding the desired \prettyref{eq:JZ09} by backward induction.
Since its introduction, the Jiang--Zhang method has remained essentially the only route for
bounding the regret of $g$-modeling estimators,\footnote{One exception is JPW21 for the Poisson EB, where the regret can be bounded optimally by the Hellinger thanks to the discreteness of the Poisson model and the light tail of the prior. Nevertheless, this method fails for the moment class and an argument \`a la Jiang--Zhang is still needed SW22.}
with extensions to multiple dimensions saha2020nonparametric, higher-order estimands
ghosh2025stein (see also the earlier version of chen2026empirical), heteroskedastic variances jiang2020general,soloff2025multivariate,chen2026empirical, and the Poisson model
SW22.
At the same time, it is long suspected that this argument may not be
tight,\footnote{JiangZhang2009 remarked that “Still, the cubic power of the
logarithmic factors [...]
is crude.” and that
“we do not believe that mathematical
induction is sharp in the argument with higher and higher order of differentiation
in the proof of Lemma 1.”
} partially contributing to a $\operatorname{polylog}(n)$
gap between the best known regret upper bound and information-theoretic limits
polyanskiy2021sharp,kang2026function. Moreover, it is also not obvious whether the
regularization in ((ref)) is merely a proof technique or plays a
more fundamental role for empirical Bayes.
\paragraph{Main contributions.}
We present a new technique for bounding regret in terms of Hellinger
distance without regularization.
Compared to the recursive argument of Jiang and Zhang, the proposed method is conceptually simpler
and yields sharper, sometimes optimal, regret bounds.
The major contributions of this paper are as follows.
itemize• For priors with compact support, we show that
\begin{equation}
\mathsf{Regret}(H \Vert G) \lesssim \epsilon^2 \frac{\log \frac{1}{\epsilon}}{\log \log \frac{1}{\epsilon}},
\end{equation}
and prove that this is unimprovable in the worst case.
This result has several statistical consequences, including improved regret guarantee for the nonparametric maximum likelihood estimator (NPMLE). Notably, when applied to the support-constrained NPMLE with sample size $n$, it yields a high-probability regret bound for the unregularized estimator: $\mathsf{Regret}(\widehat G_n \Vert G) \lesssim \frac{1}{n} (\log n)^3 (\log
\log n)^{-1}$, compared to the previously known best result of $\frac{1}{n} (\log n)^5$ with regularization JiangZhang2009.\footnote{The lower bound in polyanskiy2021sharp is $\Omega(\frac{1}{n} (\log n/\log \log n)^2)$, where the remaining $\log n$ gap stems from a gap between upper and lower bounds of estimating the density $f_G$ in Hellinger distance. If an estimator $H=\widehat G$ were to match the $\epsilon^2 = \Omega(n^{-1} \log n)$ lower bound of kim2014minimax, then this argument would match the optimal rate up to $\log \log n$ factors.}
• We extend this argument to priors with exponential tails, such as subgaussian or subexponential priors. For subgaussian priors, we show that $\mathsf{Regret}(H\Vert G) \lesssim \epsilon^2 \log \frac{1}{\epsilon} \log \log \frac{1}{\epsilon}$, which is optimal up to $\log\log$ factors.
• Finally, attempting to extend this argument to heavier-tailed priors reveals that
the regularization in JiangZhang2009 is in fact necessary in this regime. We show
that, under only a bounded $p$th-moment assumption, the unregularized regret can be as
large as $\Omega (\epsilon^ {2-2/p})$, while the regularized regret bound \prettyref{eq:JZ09} continues to hold.
\paragraph{Proof ideas.}
As discussed earlier, controlling regret in terms of Hellinger distance entails bounding a derivative in terms of the original function.
Such a bound is clearly impossible in general, but it becomes possible for certain classes
of regular functions, most notably polynomials. This crucial insight is gained
through interactions with GPT-5.4 using OpenAI Codex. It motivates the following
program:
enumerate• Identify a target function $g$ and a weight function $w$ such that
the Hellinger distance $d_{\rm H}^2(f_G,f_H)$ is largely determined by
$\|g\|_{L_2(w)}^2 := \int g^2 w dy$ and the regret $\mathsf{Regret}(H\|G)$ by
$\|g'\|_{L_2(w)}^2$.
• Show that the weight $w$ satisfies a Bernstein-type inequality:
for any degree-$k$ polynomial $p$,
\begin{equation}
\|p'\|_{L_2(w)} \leq a_k
\|p\|_{L_2(w)}
\end{equation}
• Quantify the approximation error: find a degree-$k$ polynomial $p$ so that $\|g-p\|_{L_2(w)}$ and
$\|g'-p'\|_{L_2(w)}$ is bounded in terms of $k$.
Putting these ingredients together and optimizing the degree yield a regret--Hellinger inequality.
There are multiple ways to execute this program. To fix ideas, let us focus on the class of compactly supported priors. One may choose
$g = \frac{f_G-f_H}{f_G+f_H}$ and $w=(f_G+f_H)/2=f_{(G+H)/2} * \varphi$,
in order to capitalize on the classical Bernstein inequality for the standard Gaussian density $\varphi$ (an immediate consequence of properties of Hermite polynomials; see \prettyref{rmk:bernstein-perturb}):
equation[equation omitted — 122 chars of source]
and hence (by linearity) for any Gaussian mixture. In addition,
the best degree-$k$ polynomial approximation error of this choice of $g$ is at most $\mathop{\rm exp}(-\Omega(\sqrt{k}))$.
Choosing $k =\Theta((\log \frac{1}{\epsilon})^2)$ leads to $\mathsf{Regret}(H\|G) = O(\epsilon^2 (\log \frac{1}{\epsilon})^2)$, which already improves over the state of the art of JiangZhang2009 and does so without regularization.
To obtain the sharp inequality, we instead choose
\[
g = \frac{f_G-f_H}{\varphi}, \quad w= \frac{\varphi^2}{(f_G+f_H)/2}.
\]
This $g$ admits a substantially better polynomial approximation error of $\mathop{\rm exp}(-\Omega(k
\log k))$. In addition, we prove a Bernstein-type inequality
\prettyref{eq:bernstein-general} for the non-standard weight $w$ with $a_k = O(\sqrt{k})$.
Setting
$k =\Theta(\log \frac{1}{\epsilon}/ \log\log \frac{1}{\epsilon})$
yields the desired \prettyref{eq:regret-compact-intro}.
We note that there is a sizable literature on Bernstein-type inequalities for weighted
norms (see, e.g., LevinLubinsky2001,lubinsky2007survey); however these results
require additional assumptions that appear difficult to verify in our setting. Instead, we
present self-contained proofs using a linear algebraic argument, as the inequality \prettyref{eq:bernstein-general} boils down to bounding the operator norm of the matrix representing the differentiation operator on the space of polynomials.
Main results
New Regret--Hellinger inequality
theoremLet $G,H$ be supported on $[-M,M]$.
There exists a constant $C=C(M)$ such that
\[
\mathsf{Regret}(H\|G)
\leq
C \epsilon^2 \frac{\log \frac{1}{\epsilon}}{\log \log \frac{1}{\epsilon}}
\]
where $\epsilon^2 = d_{\rm H}^2(f_{G},f_{H})$.
The following result shows that the regret upper bound in \prettyref{thm:ub-compact-intro} is sharp up to constants:
theoremThere exists a sequence $(G_m,H_m)$ all supported on $[-1,1]$, such that
$\epsilon_m^2 \equiv d_{\rm H}^2(f_{G_m},f_{H_m}) \to 0$ and
\[
\mathsf{Regret}(H_m\|G_m)
\geq
c_0 \epsilon_m^2 \frac{\log \frac{1}{\epsilon_m}}{\log \log \frac{1}{\epsilon_m}}
\]
where $c_0$ is an absolute constant.
We now extend \prettyref{thm:ub-compact-intro} to priors with exponential tails.
For $\alpha, \sigma>0$, define
equation[equation omitted — 154 chars of source]
In the special case of $\alpha=2$, this is the class of subgaussian distributions with
proxy variance proportional to $\sigma^2$; for $\alpha = 1$, it is the subexponential
class.
theoremLet $G,H\in {\mathcal{G}}_\alpha(\sigma)$.
There exists a constant $C=C(\alpha,\sigma)$ such that
\[
\mathsf{Regret}(H\|G)
\leq
\begin{cases}
C \epsilon^2 \left( \log \frac{1}{\epsilon} \right)^{2/\alpha}
\left( \log\log \frac{1}{\epsilon} \right)^2 & \alpha\leq 2 \\
C \epsilon^2 \log \frac{1}{\epsilon}
\log\log \frac{1}{\epsilon}
& \alpha>2
\end{cases}
\]
where $\epsilon^2 = d_{\rm H}^2(f_{G},f_{H})$.
For heavy-tailed priors---for instance, those satisfying only a bounded $p$th-moment
condition---we show in \prettyref{app:moment} that regret can be polynomially larger than
the squared Hellinger distance. Hence the regularization of JiangZhang2009 is not
merely a proof device but is in fact necessary in order to obtain a regret nearly linear
in $d_{\rm H}^2$.
Statistical applications
Next we discuss implications of these
regret--Hellinger inequalities for empirical Bayes.
To simplify presentation and compare with existing results, we consider priors that are either compactly supported or subgaussian.
One of the most popular methods for learning a prior is the nonparametric maximum
likelihood estimator (NPMLE) KW56:
equation[equation omitted — 143 chars of source]
where $y_1,\ldots,y_n$ are the given data points and the maximization is over all probability measures on $\mathbb{R}$.
It is known that \prettyref{eq:NPMLE} admits a unique and discrete maximizer, which has at most $n$ atoms in the worst case and $O(\log n)$ atoms in the typical case when $y_i$'s are drawn independently from a subgaussian distribution simar1976maximum,lindsay1983geometry1,PW20-npmle.
Suppose the NPMLE is computed based on a training set $y_1,\ldots,y_n$ and then applied to a fresh test data point. The resulting regret (excess over the Bayes squared error) is bounded by the following result, which improves over the state of the art $O((\log n)^5/n)$ in
JiangZhang2009 for regularized NPMLE.
corollaryLet $y_1,\ldots,y_n{\stackrel{\text{i.i.d.\xspace}}{\sim}} f_G$, where $G \in {\mathcal{G}}_2(\sigma)$ is subgaussian with constant $\sigma$.
There exist constants $c,C$, depending on $\sigma$, such that with probability $1-n^{-c}$,
\begin{equation}
\mathsf{Regret}(\widehat G_{\rm NPMLE}\|G) \leq \frac{
C (\log n)^3 (\log \log n)^2}{n}.
\end{equation}
The proof of \prettyref{cor:NPMLE} is a direct consequence of \prettyref{thm:ub-exp}, once $\widehat G_{\rm NPMLE}$ is shown to be $O(1)$-subgaussian with high probability. This is done in \prettyref{app:NPMLE}.
Several further remarks are in order.
itemize• Constrained NPMLE:
Suppose the true prior $G$ is supported on $[-M,M]$ for some constant $M$. Consider a constrained version of \prettyref{eq:NPMLE},
\begin{equation}
\widehat G_{\rm NPMLE}'
= \mathop{\rm argmax}_{H \in {\mathcal{P}}([-M',M'])} \sum_{i=1}^n \log f_H(y_i).
\end{equation}
where $M'\geq M$ is a constant. In this case, \prettyref{eq:reg-NPMLE} can be improved to
\begin{equation}
\mathsf{Regret}(\widehat G_{\rm NPMLE}\|G) \leq \frac{
C (\log n)^3}{n \log\log n}.
\end{equation}
which is an immediate consequence of \prettyref{thm:ub-compact-intro} and the density estimation guarantee
$O((\log n)^2/n)$ for NPMLE (see
ghosal.vdv, Zhang_2009, or PW20-npmle).\footnote{Notably, these results are all proved (using different method) for subgaussian priors; currently there is no improved density estimation rates for compactly supported priors.}
• State-of-the-art regret bound:
It is of interest to combine our Hellinger-regret inequality with the best known result on estimating Gaussian mixtures. The Birg\'e-Le Cam estimator is a general construction for density estimation based on pairwise comparison Birge83. Despite its computational intractability, its Hellinger risk can be bounded using the local Hellinger entropy of the model class.\footnote{In fact, for Gaussian mixture with compactly supported mixing distribution, it is known that the optimal (minimax) Hellinger rate is determined by the local Hellinger entropy JPW20. The exact behavior of this local entropy is still open.} This local entropy is bounded in NW21 by constructing a covering of the
truncated moment space of the mixing distributions, leading to the squared Hellinger rate of
$O(\frac{1}{n}(\frac{\log n}{\log\log n})^{1.5})$ for the Birg\'e-Le Cam estimator.
Combining this with \prettyref{thm:ub-compact-intro} yields the regret upper bound of
$O(\frac{1}{n}(\frac{\log n}{\log\log n})^{2.5})$,
which appears the best known in the literature.
• Comparison with lower bound and a conjecture:
In the normal mean model, polyanskiy2021sharp showed that the minimax regret is at least $O(\frac{1}{n} \frac{\log n}{\log\log n})$ and $O(\frac{(\log n)^2}{n})$ for compactly supported and subgaussian priors, respectively.
We conjecture that these lower bound are tight and the bottleneck lies in resolving the sharp Hellinger rate.
The intuition is the following: despite the infinite dimensionality for these nonparametric mixture classes,
their “effective model complexity” is in fact finite, in the sense that each mixture density $f_G$ can be approximated by a $k$-component finite mixture within total variation distance $n^{-10}$, where $k=O(\frac{\log n}{\log \log n})$ for compactly supported $G$ and
$k=O(\log n)$ for subgaussian $G$ PW20-npmle. As such, with sample size $n$, the
true nonparametric mixture is statistically indistinguishable from its finite-mixture approximation. As such, the density estimation error is expected to behave as $\frac{k}{n}$ (effective dimension over sample size.) For compact support, provided that such an upper bound of $O(\frac{1}{n}\frac{\log n}{\log \log n})$ can be established in squared Hellinger, applying \prettyref{thm:ub-compact-intro} immediately yields $O(\frac{1}{n}(\frac{\log n}{\log \log n})^2)$ for regret, matching the lower bound in polyanskiy2021sharp.
Compactly supported priors
We prove a more precise version of \prettyref{thm:ub-compact-intro}
that is applicable to growing $M$.
theoremLet $G,H$ be supported on $[-M,M]$.
Let $f_G = G * N(0,1)$ and $f_H = H * N(0,1)$.
Assume that the second moments of $G$ and $H$ are at most $\sigma^2$.
There exists an absolute constant $C_0$ such that
\[
\mathsf{Regret}(H\|G)
\leq
C_0 e^{\sigma^2/2} \cdot
\begin{cases}
(M+1)^2 \cdot
\epsilon \frac{\log \frac{1}{\epsilon}}{\log \frac{\log \frac{1}{\epsilon}}{M^2}} &
M^2 \leq \frac{1}{10} \log\frac{1}{\epsilon} \\
M^4 \epsilon &
M^2 \geq \frac{1}{10} \log\frac{1}{\epsilon}
\end{cases}.
\]
A first reduction
We first bound $\mathsf{Regret}$ by quantities $\delta, \Delta$, defined below.
lemma\[
\mathsf{Regret}(H\|G)
\leq C_0 M^2 \delta + C_0 \Delta
\]
for some absolute constant $C_0$, where
\begin{align}
\delta &= 2 \int_\mathbb{R} \frac{(f_G-f_H)^2}{f_G+f_H} \\
\Delta &= 2 \int_\mathbb{R} \frac{(m_Gf_G-m_Hf_H)^2}{f_G+f_H}.
\end{align}
proofWrite
\begin{align}
\frac{f'_G}{f_G} - \frac{f'_H}{f_H}
= & \frac{f_G'}{f_G}-\frac{2f_G'}{f_G+f_H} + \frac{2(f_G'-f_H')}{f_G+f_H} +
\frac{2f_H'}{f_G+f_H} - \frac{f_H'}{f_H}\nonumber\\
= & \frac{f_G'(f_H-f_G)}{f_G(f_G+f_H)} + \frac{2(f_G'-f_H')}{f_G+f_H} +
\frac{f_H'(f_H-f_G)}{f_H(f_G+f_H)} \nonumber \\
= & (m_G+m_H)
\frac{(f_H-f_G)}{f_G+f_H} + 2 \frac{m_G f_G-m_H f_H}{f_G+f_H}.
\end{align}
The proof is completed by noticing that $|m_G|,|m_H|\leq M$.
Note that $\delta$ is on par with the squared Hellinger distance
$\epsilon^2$:
equation[equation omitted — 85 chars of source]
Thus, \prettyref{lmm:reduction} reduces the problem to proving
\[
\Delta \leq C \delta \frac{\log \frac{1}{\delta}}{\log\log \frac{1}{\delta}}.
\]
Polynomial approximation and a Bernstein-style inequality
Let $f \equiv (f_G+f_H)/2= f_{(G+H)/2}$.
Define the density ratio
equation[equation omitted — 72 chars of source]
where $\varphi$ is the standard normal density.
Define the weight function
equation[equation omitted — 57 chars of source]
Crucially, we have
align[align omitted — 198 chars of source]
To estimate the differential operator on $g$, we first approximate $g$ by a polynomial, bound the operator norm of
the differential operator on polynomials by a linear algebraic argument, then quantify the approximation error bound. These are carried out in the following two lemmas.
lemma[Bernstein-style inequality for weight $w$]
Let $p$ be a degree-$k$ polynomial. Then
\[
\|p'\|_{L_2(w)}
\leq (2M+1)\sqrt{k+1} \|p\|_{L_2(w)}.
\]
lemma[Polynomial approximation]
Let $g$ be given in \prettyref{eq:g}. Assume that $\nu = (G+H)/2$ has zero mean.
For any $k \geq 2e M^2$,
there exists a degree-$k$ polynomial $p$ such that
\[
\|g-p\|_{L_2(w)}^2 \leq
\|g'-p'\|_{L_2(w)}^2
\leq 4M^2 \left( \frac{eM^2}{k} \right)^k.
\]
Complete the proof
With Lemmas (ref)--(ref), we now prove \prettyref{thm:ub-compact}.
proofWithout loss of generality, we may assume $\delta \leq 0.01$.
In addition, we may assume $\nu=\frac{G+H}{2}$ has zero mean at a price of inflating
$M$ to $2M$. Indeed, suppose the mean $\mu$ is not zero. Let $\widetilde G$ and $\widetilde
H$ be the shifted version of $G$ and $H$ by $-\mu$ respectively, so that $\widetilde
\nu=(\widetilde G+\widetilde H)/2$ has zero mean.
Since $\mu \in [-M,M]$,
$\widetilde G,\widetilde H$ are both supported on $[-2M,2M]$. Furthermore,
both the Hellinger distance and the regret are shift-invariant:
$\mathsf{Regret}(\widetilde H\|\widetilde G)= \mathsf{Regret}(H\|G)$ and
$d_{\rm H}^2(f_{\widetilde G},f_{\widetilde H}) = d_{\rm H}^2(f_G,f_H)$.
First, for a degree-$k$ polynomial, we have
\begin{align*}
\|g'\|_{L_2(w)}
&\leq
\|g'-p'\|_{L_2(w)} +
\|p'\|_{L_2(w)}\\
&\leq
\|g'-p'\|_{L_2(w)}+
(2M+1)\sqrt{k+1} \|p\|_{L_2(w)}\\
&\leq \|g'-p'\|_{L_2(w)}+
(2M+1)\sqrt{k+1} (\|g\|_{L_2(w)}
+ \|g-p\|_{L_2(w)})
\end{align*}
where the second inequality follows from \prettyref{lmm:bernstein}.
Combining \prettyref{lmm:bernstein}, \prettyref{lmm:poly-f}, and
\prettyref{eq:delta}--\prettyref{eq:Delta}, we obtain
\[
\Delta
\lesssim
(M+1)^2 k \delta+
M^2 (M+1)^2 k \left( \frac{eM^2}{k} \right)^{k}
\]
provided $k\geq 2eM^2$.
Finally, we optimize $k$.
If $M^2 \leq 0.1 \log \frac{1}{\delta}$, we choose $k = C_1 M^2 \frac{\log \frac{1}{\delta}}{\log \frac{\log \frac{1}{\delta}}{M^2}}$
for suitably large absolute constant $C_1$.
If $M^2 \geq 0.1 \log \frac{1}{\delta}$, we choose $k = C_1 M^2$. In both cases, the
second term in the preceding display is at most $\delta^{10}$. Finally, invoking \prettyref{lmm:reduction} completes the proof.
Proof of lemmas
\paragraph{Proof of \prettyref{lmm:bernstein}}
Define the inner product weighted by $w$ as:
\[
\langle f, g \rangle \equiv \int_\mathbb{R} f g w, \quad f,g\in L_2(w).
\]
Note that $w$ has at least a Gaussian tail so $L_2(w)$ includes all polynomials.
Denote by $\{q_j: j\geq 0\}$ the system of orthonormal polynomials for $w$ such that
\[
\langle q_i, q_j \rangle = {1\{{i=j}\}}.
\]
In particular, $\langle q_i, p \rangle=0$ for all polynomial of degree at most $i-1$.
To be definitive, assume that the leading coefficient of each $q_i$ is (strictly) positive, denoted by $\kappa_j>0$.
Expand a degree-$k$ polynomial $p$ as
$p=\sum_{j=0}^k a_j q_j$ and
$p'=
\sum_{j=0}^k b_j q_j$, where the coefficients are related by vector-matrix multiplication:
\[
b = L a
\quad \text{ and }\quad
\|p'\|_{L_2(w)}
\leq \|L\|_{\mathrm{op}} \|p\|_{L_2(w)}.
\]
where $ \|L\|_{\mathrm{op}}$ is the largest singular value of the $(k+1)\times (k+1)$ matrix $L$.
We thus analyze $L$ and bound ${\left\Vert L \right\Vert}_{\mathrm{op}}$. Note that $p'=\sum_{j=0}^k a_j q_j'$, and
so $L= (L_ {ij})$ is given by expanding each $q_j'$, namely
\[
q_j' = \sum_{i=0}^k L_{ij} q_i.
\]
By orthogonality,
$L_{ij} = \langle q_i, q_j' \rangle$. Clearly, $L_{ij} = 0$ for all $i\geq j$; in other words, $L$ is upper triangular.
Note that, by integration by parts, we have
equation[equation omitted — 191 chars of source]
for all $f,g$ with at most exponential growth.
Therefore, \[
L_{ij} =
cases0, & i \ge j\\
\ip{q_i, q_j V'} & i < j
,
\]
since $\ip{q_i', q_j} = 0$ when $ i < j$.
To bound the operator norm of $L$, we decompose it into a dense part and a sparse part.
Since $w = \varphi^2/f$, $f= f_\nu$ with $\nu=\frac{G+H}{2}$ supported on $[-M,M]$, we have
equation[equation omitted — 118 chars of source]
Then
$L=A+B$,
where
\[
A_{ij} =
cases\langle q_i, q_j m_\nu \rangle & i < j\\
0 & else
\quad
B_{ij} =
cases\langle q_{j-1}, q_j y \rangle & i = j-1\\
0 & else
\]
where we used the fact that, by orthogonality,
$\langle q_i, q_j y \rangle=
\langle q_i y, q_j \rangle
=0$ if $i<j-1$.
It remains to bound the operator norms of $A$ and $B$ separately.
For $A$, we compute its Frobenius norm:
\[
\|A\|_F^2=
\sum_{j=1}^k \sum_{i=0}^{j-1}
\langle q_i, q_j m_\nu \rangle^2
\leq \sum_{j=1}^k \|q_j m_\nu\|_{L_2(w)}^2
\leq M^2 \sum_{j=1}^k \| {q_j}\|_{L_2(w)}^2 = M^2 k.
\]
Thus $\|A\|_{\mathrm{op}} \leq M \sqrt{k}$.
Note that $B$ contains a single superdiagonal. Then
\[
\|B\|_{\mathrm{op}} = \max_{j=1,\ldots,k} |a_j|
\]
where
\[
a_j \equiv B_{j-1,j} =
\langle q_{j-1}, q_j y \rangle = \ip{q_{j-1}y, q_j}.
\]
Equivalently, $a_j$ appears in the three-term recursion:
align[align omitted — 88 chars of source]
for some $b_j$.
By assumption
$q_j(y)=\kappa_j y^j +\ldots$ and $q_{j-1}(y)=\kappa_{j-1} y^j +\ldots$ with
$\kappa_j>0$. Thus $q_j = \frac{\kappa_j}{\kappa_{j-1}}y q_{j-1} + p_{j-1}$ for some
polynomial of degree at most $j-1$.
Comparing leading coefficients, we thus get
$a_j =\langle q_j , q_{j-1} y \rangle
= \frac{\kappa_{j-1}}{\kappa_j}>0$.
By a similar argument, $\langle q_j', q_{j-1} \rangle = \frac{j\kappa_j}{\kappa_{j-1}}$.
Applying \prettyref{eq:adjoint} and \prettyref{eq:Vprime},
\[
\underbrace{\langle q_j', q_{j-1} \rangle}_{j/a_j} =
-\underbrace{\langle q_j, q_{j-1}' \rangle}_{=0} +
\langle q_j , q_{j-1} V' \rangle
= \underbrace{\langle q_j , q_{j-1} m_\nu \rangle}_{\equiv \beta_j} + \underbrace{\langle q_j , q_{j-1}y \rangle}_{a_j}
\]
Thus we get
$a_j(a_j+\beta_j) = j$, that is,
$a_j = (-\beta_j + \sqrt{\beta_j^2 + 4 j})/2$. Applying Cauchy-Schwarz,
\[
|\beta_j| = |\langle q_j , q_{j-1} m_\nu \rangle| \leq
\|q_j\|_{L_2(w)} \|q_{j-1}\|_{L_2(w)}
\|m_\nu\|_\infty \leq M.
\]
and hence $a_j \leq \sqrt{j} + M$.
This shows
\[
\|B\|_{\mathrm{op}} \leq \sqrt{k}+M
\]
and hence $\|L\|_{\mathrm{op}} \leq \sqrt{k}+M + M\sqrt{k}$, as desired.
remarkThe same argument shows that the weight $w$ satisfies the following Bernstein-style inequality
\[
\|p'\|_{L_2(w)}
\leq O(\sqrt{k}) \|p\|_{L_2(w)}
\]
for all
degree-$k$ polynomial $p$, provided that the score function
$V'= -(\log w)'$ is a bounded perturbation to a linear function
\[
|V'(y) - c y| \leq C
\]
for some constant $c,C$.
This can be viewed as a perturbation result to the Bernstein inequality for Gaussians.\footnote{This is an immediate consequence of the derivative of Hermite polynomials: $H_j'=j H_{j-1}$ orthogonal.poly.} For example, for $w=\varphi$,
\[
\|p'\|_{L_2(\varphi)}
\leq \sqrt{k} \|p\|_{L_2(\varphi)},
\]
attained at Hermite polynomials.
\paragraph{Proof of \prettyref{lmm:poly-f}}
Since $\nu=(G+H)/2$ is centered, we have by Jensen's inequality
\[
f(y) = \mathbb{E}_{U\sim \nu}[\varphi(y-U)]
\geq \mathop{\rm exp}(-\sigma^2/2) \varphi(y)
\]
where $\mathbb{E}_{U\sim \nu}[U^2] \leq \sigma^2$ by the assumption that the second moments of $G$ and $H$ are both at most $\sigma^2$.
Thus
equation[equation omitted — 100 chars of source]
So it suffices to bound the approximation error of $g$ and $g'$ in $L_2(\varphi)$, under standard Gaussian.
It is well-known that the likelihood ratio between a Gaussian mixture and a standard
Gaussian admits the following Hermite expansion (see, e.g., WY18):
\[
\frac{f_G(y)}{\varphi(y)} = \sum_{j\geq 0} \frac{m_j(G)}{j!} H_j(y)
\]
where $H_j$ is the degree-$j$ Hermite polynomial satisfying $\mathbb{E}[H_i(Z)H_j(Z)]=i! {1\{{i=j}\}}$, and $m_j(G)$ is the $j$th moment of $G$.
Hence
\[
g(y) =
\frac{f_G(y)-f_H(y)}{\varphi(y)} = \sum_{j\geq 0} \frac{m_j(G)-m_j(H)}{j!} H_j(y).
\]
Truncate this series at $k$ and denote it by $p(y)$. Then we also have
$g'(y)-p'(y) =
\sum_{j>k} \frac{m_j(G)-m_j(H)}{j!} H_j'(y) =
\sum_{j>k} \frac{m_j(G)-m_j(H)}{(j-1)!} H_{j-1}(y)$.
Thus
\[
\|g-p\|_{L^2(\varphi)}^2 = \sum_{j>k} \frac{|m_j(G)-m_j(H)|^2}{j!},
\quad
\|g'-p'\|_{L^2(\varphi)}^2 = \sum_{j>k} \frac{|m_j(G)-m_j(H)|^2}{(j-1)!}
\]
and it suffices to bound the latter.
Note that $|m_j(G)|,|m_j(H)| \leq M^j$ and $j! \geq (j/e)^j$, we get
equation[equation omitted — 149 chars of source]
completing the proof by summing the geometric series.
Priors with exponential tails
In this section we prove \prettyref{thm:ub-exp}, extending the regret bound in
\prettyref{thm:ub-compact} for compactly supported priors to those in the class
${\mathcal{G}}_\alpha(\sigma)$ defined in \prettyref{eq:Galpha}, having exponential tails. Throughout this section, all constants (including those implicit in $\lesssim$) depend on $\alpha,\sigma$.
Note that one may apply \prettyref{thm:ub-compact} by approximating the true prior with a
compact-supported one. This yields a worse logarithmic factor. For example, for the
subgaussian class, applying
\prettyref{thm:ub-compact} with $M \asymp \sqrt{\log \frac{1}{\epsilon}}$ yields an
$O\pr{\epsilon (\log \frac{1}{\epsilon})^2}$ upper bound, which is inferior to
\prettyref{thm:ub-exp}. Instead, we take a more direct approach.
Similar to the proof of \prettyref{thm:ub-compact}, the first step is again to reduce $\mathsf{Regret}(H\|G)$ to a weighted derivative quantity $\Delta$.
Recall the definitions of $g$, $w$, $\delta$, and $\Delta$ in
((ref))-- ((ref)) from \prettyref{sec:compact}.
prop[Reduction to $\Delta$]
For $H,G \in \mathcal{G}_\alpha(\sigma)$,
\[
\mathsf{Regret}(H\|G)
\lesssim
\Delta
+
\delta \left( \log \frac{1}{\delta} \right)^{2/(\alpha\wedge 2)}.
\]
proofBy the
same decomposition \prettyref{eq:decomp} in \prettyref{lmm:reduction},
\[
\mathsf{Regret}(H\|G)
\lesssim
\int_\mathbb{R} (m_G+m_H)^2 \frac{(f_G-f_H)^2}{f_G+f_H}
+
\int_\mathbb{R} \frac{(m_Gf_G-m_Hf_H)^2}{f_G+f_H}.
\]
By ((ref)), the second term is $\Delta/2$, so
\[
\mathsf{Regret}(H\|G)
\lesssim
\int_\mathbb{R} (m_G+m_H)^2 \frac{(f_G-f_H)^2}{f_G+f_H}
+ \Delta.
\]
To bound the posterior mean, we apply ((ref)) from \prettyref{lem:Vpp-phi2-over-f},
with $a:=\sigma(\log 4)^{1/\alpha}$ satisfying $F([-a,a])\geq 1/2$ for $F\in{\mathcal{G}}_\alpha(\sigma)$ using Markov's inequality,
obtaining
\[
|m_F(y)| \leq C(1+|y|),
\qquad
y\in\mathbb{R}. \addtocounter{equation}{1}\tag{\theequation} \label{eq:posterior-mean-bound}
\]
Fix $T>1 $ to be specified next. Then $
|m_G(y)|+|m_H(y)|
\lesssim
T$ for any $|y|\leq T$,
so
\[
\int_{|y|\leq T} (m_G+m_H)^2 \frac{(f_G-f_H)^2}{f_G+f_H}
\lesssim
T^2 \delta.
\]
For $|y| > T$, using
$
\frac{(f_G-f_H)^2}{f_G+f_H} \leq f_G+f_H$
and ((ref)) again we obtain
\[
(m_G(y)+m_H(y))^2 (f_G(y)+f_H(y))
\lesssim
y^2(f_G(y)+f_H(y)).
\]
Thus
\[
\mathsf{Regret}(H\|G)
\lesssim
T^2 \delta + \Delta + \int_{|y|>T} y^2(f_G+f_H).
\]
Since $G\in {\mathcal{G}}_\alpha(\sigma)$ and $f_G = G * N(0,1)$, by Chernoff bound, the tail contribution is at most
\[
\int_{|y|>T} y^2 f_G \lesssim T^2 \mathop{\rm exp}(-c T^{\alpha \wedge 2})
\]
for some constant $c$, and the same holds for $f_H$. Finally, choosing \[
T:=C \left( \log\left( 1+\frac{1}{\delta} \right) \right) \right)}^{1/(\alpha\wedge 2)},
\]
for appropriately large $C$,
we have
$ \int_{|y|>T} y^2(f_G+f_H) \leq \delta^2$, completing the proof.
The next lemma is an analogue of the polynomial approximation in \prettyref{lmm:poly-f}.
lemmaLet $g = \frac{f_H-f_G}{\varphi}$
be given in \prettyref{eq:g}.
Assume that $\nu=(G+H)/2$ has mean zero for $G, H \in \mathcal G_\alpha(\sigma)$. Then there exist constants
$c,C>0$, depending only on $\alpha,\sigma$, such that for every $k\geq 1$
there is a degree-$k$ polynomial $p_k$ with
\[
\|g-p_k\|_{L_2(w)}^2
\vee
\|g'-p_k'\|_{L_2(w)}^2
\leq
\begin{cases}
C \mathop{\rm exp}\left( -c k^{\alpha/2} \right),
& \alpha\leq 2,\\
C \mathop{\rm exp}\left( -c k \log k \right),
& \alpha>2.
\end{cases}
\]
Finally, the following result is an analogue of \prettyref{lmm:bernstein}.
The proof is deferred to the end of \prettyref{app:bernstein}.
propAssume that $\nu=(G+H)/2$ has mean zero for $G, H \in \mathcal G_\alpha(\sigma)$. Then every degree-$k$ polynomial
$p$ with $k\geq 2$ satisfies
\[
\|p'\|_{L_2(w)}
\lesssim
\sqrt{k}\,\log k\,\|p\|_{L_2(w)}.
\]
Putting these together, we prove \prettyref{thm:ub-exp}.
proof[Proof of \prettyref{thm:ub-exp}]
Since
\[
\epsilon^2
=
\int_\mathbb{R} \frac{(f_G-f_H)^2}{(\sqrt{f_G}+\sqrt{f_H})^2}
\asymp
\int_\mathbb{R} \frac{(f_G-f_H)^2}{f_G+f_H}
=
\delta = \|g\|_{L_2
(w)}^2,
\]
it suffices to work with $\delta$. As in the proof of \prettyref{thm:ub-compact}, it is without loss of generality to assume
$
\delta\leq e^{-e},
$
and
$\nu=(G+H)/2$ is mean-zero by inflating the constant $\sigma$.
By \prettyref{prop:exp-delta-reduction}, it remains to bound $\Delta=\|g'\|_{L_2
(w)}^2$.
Let $p_k$ be the polynomial from \prettyref{lmm:exp-poly}. By
\prettyref{prop:exp-bernstein},
\[
\|g'\|_{L_2(w)}
\leq
\|g'-p_k'\|_{L_2(w)}
+
C_{\alpha,\sigma}\sqrt{k+1}\log k
\left(
\|g\|_{L_2(w)}+\|g-p_k\|_{L_2(w)}
\right)
\]
that is,
\[
\Delta
\lesssim
k\log^2 k\,\bigl(\delta+E_k\bigr),
\]
where $E_k
:=
\|g-p_k\|_{L_2(w)}^2
\vee
\|g'-p_k'\|_{L_2(w)}^2$.
Applying \prettyref{lmm:exp-poly}, setting
\[
k=
\begin{cases}
\Big\lceil
C_{\alpha,\sigma}
\log^{2/\alpha}\left( \frac{e}{\delta} \right)
\Big\rceil & \alpha\leq 2\\
\Big\lceil
C_{\alpha,\sigma}
\frac{\log\left( \frac{e}{\delta} \right)}
{\log\left( e+\log\left( \frac{e}{\delta} \right) \right) \right)}}
\Big\rceil & \alpha > 2\\
\end{cases}
\]
with suitably large $C_{\alpha,\sigma}$ ensures
$E_k\leq \delta$ and completes the proof.
proof[Proof of \prettyref{lmm:exp-poly}]
Let
\[
L:=
\begin{cases}
c \sqrt{k},
& \alpha\leq 2,\\
c \bigl(k\log k\bigr)^{1/\alpha},
& \alpha>2,
\end{cases}
\]
where $c>0$ is a sufficiently small constant depending on $\alpha$.
Let $k$ be sufficiently large so that $L\geq 1$.
Write
\[
G=G_{\leq L}+G_{>L},
\qquad
H=H_{\leq L}+H_{>L},
\]
where $G_{\leq L}$ and $H_{\leq L}$ are the restrictions to $[-L,L]$, and set
\[
g_{\leq L}
:=
\frac{f_{G_{\leq L}}-f_{H_{\leq L}}}{\varphi},
\qquad
g_{>L}
:=
\frac{f_{G_{>L}}-f_{H_{>L}}}{\varphi}.
\]
Then $
g=g_{\leq L}+g_{>L}$.
For the compact part, the argument is identical to that of \prettyref{lmm:poly-f}. Since $\nu$ is centered and belongs to ${\mathcal{G}}_\alpha(\sigma)$, its second
moment is at most a constant depending only on $\alpha,\sigma$.
Applying \prettyref{eq:w-phi}, we have $w \lesssim \varphi$ everywhere.
Thus \prettyref{eq:gp-compact} yields a degree-$k$ polynomial $p_k$ such that
\[
\|g_{\leq L}-p_k\|_{L_2(w)}^2
\vee
\|g_{\leq L}'-p_k'\|_{L_2(w)}^2
\lesssim
L^2 \left( \frac{eL^2}{k} \right)^k
\]
provided that $k \geq 2e L^2$.
By the choice of $L$,
\[
L^2 \left( \frac{eL^2}{k} \right)^k
\leq
\begin{cases}
C\mathop{\rm exp}(-c k),
& \alpha\leq 2,\\
C\mathop{\rm exp}\left( -c k\log k \right),
& \alpha>2.
\end{cases}
\]
It remains to control the tail part. Unlike the proof of \prettyref{lmm:poly-f}, we cannot use $w \lesssim \phi$ and bound $L_2(\varphi)$, because $\|g\|_{L_2(\varphi)}$ may be infinite (e.g. for Gaussian $G$ with sufficiently large variance.)
Instead, we directly control the tail in $L_2(w)$, where $w=\frac{\varphi^2}{f}$. Since
$f=\frac{f_G+f_H}{2}$, we have
\begin{align*}
\|g_{>L}\|_{L_2(w)}^2
&\leq
2 \int \frac{f_{G_{>L}}(y)^2}{f(y)}\,dy
+
2 \int \frac{f_{H_{>L}}(y)^2}{f(y)}\,dy\\
&\leq
4 \int \frac{f_{G_{>L}}(y)^2}{f_G(y)}\,dy
+
4 \int \frac{f_{H_{>L}}(y)^2}{f_H(y)}\,dy\\
&\leq
4 \int f_{G_{>L}}(y)\,dy
+
4 \int f_{H_{>L}}(y)\,dy\\
&=
4 G(|U|>L)+4 H(|U|>L) \lesssim
\mathop{\rm exp}(-c L^\alpha)
\end{align*}
the last step applying Chernoff's bound.
For the derivative, note that
\[
\left(\frac{f_{G_{>L}}}{\varphi}\right)(y)
= \int \mathop{\rm exp}\left( yu-\frac{u^2}{2} \right)\,G_{>L}(du), \qquad
\left(\frac{f_{G_{>L}}}{\varphi}\right)'(y)
= \int u \mathop{\rm exp}\left( yu-\frac{u^2}{2} \right)\,G_{>L}(du).
\]
Thus
\[
\left(\frac{f_{G_{>L}}}{\varphi}\right)(y)
=
\frac{f_{G>L}(y)}{\varphi(y)}
\int u \pi(du), \quad
\pi(du) := \frac{ \mathop{\rm exp}\left( yu-\frac{u^2}{2} \right)
G_{>L}(du)
}{\int \mathop{\rm exp}\left( yu-\frac{u^2}{2} \right)\,G_{>L}(du)}
\]
where $\pi$ is a probability measure. Thus Cauchy-Schwarz gives
\[
\left(\frac{f_{G_{>L}}}{\varphi}\right)'(y)^2
\leq
\frac{f_{G>L}(y)}{\varphi(y)}
\int u^2 \mathop{\rm exp}\left( yu-\frac{u^2}{2} \right)\,G_{>L}(du),
\]
and similarly for $H_{>L}$. Therefore
\begin{align*}
\|g_{>L}'\|_{L_2(w)}^2
&\leq
2 \int \left(\frac{f_{G_{>L}}}{\varphi}\right)'(y)^2
\frac{\varphi(y)^2}{f(y)}\,dy
+
2 \int \left(\frac{f_{H_{>L}}}{\varphi}\right)'(y)^2
\frac{\varphi(y)^2}{f(y)}\,dy\\
&\leq
4 \int \left(\frac{f_{G_{>L}}}{\varphi}\right)'(y)^2
\frac{\varphi(y)^2}{f_G(y)}\,dy
+
4 \int \left(\frac{f_{H_{>L}}}{\varphi}\right)'(y)^2
\frac{\varphi(y)^2}{f_H(y)}\,dy\\
&\leq
4 \int_{|u|>L} u^2\,G(du)
+
4 \int_{|u|>L} u^2\,H(du) \lesssim
L^2 \mathop{\rm exp}(-c L^\alpha),
\end{align*}
the last step again applying Chernoff's bound.
By the choice of $L$, the tail part satisfies
\[
\|g_{>L}\|_{L_2(w)}^2
\vee
\|g_{>L}'\|_{L_2(w)}^2
\leq
\begin{cases}
C' \mathop{\rm exp}(-c k^{\alpha/2}),
& \alpha\leq 2,\\
C' \mathop{\rm exp}\left( -c k\log k \right),
& \alpha>2.
\end{cases}
\]
Finally, the proof is completed using
\[
\|g-p_k\|_{L_2(w)}^2
\leq
2\|g_{\leq L}-p_k\|_{L_2(w)}^2
+
2\|g_{>L}\|_{L_2(w)}^2,
\]
and similarly for the derivative.