Convergence Rates of Variational Posterior Distributions

Fengshuo Zhang, Chao Gao

Introduction

Variational Bayes inference is a popular technique to approximate difficult-to-compute probability posterior distributions. Given a posterior distribution Π(⋅∣X(n))\Pi(\cdot|X^{(n)}), and a variational family S\mathcal{S}, variational Bayes inference seeks a Q^∈S\widehat{Q}\in\mathcal{S} that best approximates Π(⋅∣X(n))\Pi(\cdot|X^{(n)}) under the Kullback-Leibler divergence. Though it is not exact Bayes inference, the variational class S\mathcal{S} often gives computational advantage and leads to algorithms such as coordinate ascent that can be efficiently implemented on large-scale data sets. Researchers in many fields have used variational Bayes inference to solve real problems. Successful examples include statistical genetics , natural language processing , computer vision , and network analysis , to name a few. We refer the readers to an excellent recent review on this topic.

The goal of this paper is to study the variational posterior distribution Q^\widehat{Q} from a theoretic perspective. We propose general conditions on the prior, the likelihood and the variational class to characterize the convergence rate of the variational posterior to the true data generating process.

Before discussing our results, we give a brief review on the theory of convergence rates of the posterior distributions in the literature. In order that the posterior distribution concentrates around the true parameter with some rate, the “prior mass and testing” framework requires three conditions on the prior and the likelihood: a) The prior is required to put a minimal amount of mass in a neighborhood of the true parameter; b) Restricted to a subset of the parameter space, there exists a testing function that can distinguish the truth from the complement of its neighborhood; c) The prior is essentially supported on the subset described above. Rigorous statements of these three conditions can be found in seminal papers . Earlier versions of these conditions go back to . We also mention another line of work that established posterior rates of convergence using other approaches.

In this paper, we show that under almost the same three conditions, the variational posterior Q^\widehat{Q} also converges to the true parameter, and the rate of convergence is given by

The first term ϵn2\epsilon_{n}^{2} is the rate of convergence of the posterior distribution Π(⋅∣X(n))\Pi(\cdot|X^{(n)}). The second term is the variational approximation error with respect to the class S\mathcal{S} under the data generating process P0(n)P_{0}^{(n)}. Since we are able to generalize the “prior mass and testing” theory with the same old conditions, many well-studied problems in the literature can now be revisited under our framework of variational Bayes inference with very similar proof techniques. This will be illustrated with several examples considered in the paper.

Remarkably, for a special class of prior distributions and a corresponding variational class, the second term of (1) will be automatically dominated by ϵn2\epsilon_{n}^{2} under a modified “prior mass” condition. We illustrate this result by a prior distribution of product measure

As long as there exists a subset ⊗jΘ~j⊂{θ:Dρ(P0(n)∥Pθ(n))≤C1nϵn2}\otimes_{j}\widetilde{\Theta}_{j}\subset\left\{\theta:D_{\rho}\left(P_{0}^{(n)}\|P_{\theta}^{(n)}\right)\leq C_{1}n\epsilon_{n}^{2}\right\}, such that the prior mass condition

holds together with the testing conditions, then the variational posterior distribution Q^\widehat{Q} converges to the true parameter with the rate ϵn2\epsilon_{n}^{2}. In other words, the variational approximation error term in (1) is dominated under this stronger prior mass condition (2). This is the result of Theorem 2.4. Here, Dρ(⋅∥⋅)D_{\rho}(\cdot\|\cdot) stands for a Rényi divergence with some ρ>1\rho>1. The implication of the condition (2) is important. It says that as long as the prior satisfies a “prior mass” condition that is coherent with the structure of the variational class, the resulted variational approximation error will always be small compared with the statistical error from the true posterior. Therefore, the condition (2) offers a practical guidance on how to choose a good prior for variational Bayes inference. In addition, as a condition only on the prior mass, (2) is usually very easy to check. This mathematical simplicity is not just for independent priors and the mean-field class. In Section 4, a more general condition is proposed that includes the setting of (2) as a special case.

Besides the general formulation of conditions to ensure convergence of the variational posteriors, several interesting aspects of variational Bayes inference are also discussed in the paper. We show that for a general likelihood with a sieve prior, its mean-field variational approximation of the posterior distribution has an interesting relation to an empirical Bayes procedure. We also show that the empirical Bayes procedure is exactly a variational Bayes procedure using a specially designed variational class. This connection between empirical Bayes and variational Bayes is interesting, and may suggest similar theoretical properties of the two.

Finally, we would like to remark that the general rate (1) for variational posteriors is only an upper bound. It is not always true that the variational posterior has a slower convergence rate than the true posterior. Sometimes the variational posterior may not be a good approximation to the true posterior, but it can still contract faster to the true parameter if additional regularity is imposed by the variational class S\mathcal{S}. We construct examples in Section 5.2 to illustrate this point.

Statistical properties of variational posterior distributions have also been studied in the literature. A recent work by established Bernstein-von Mises type of results for parametric models. We refer the readers to for other related references on theories for parametric variational Bayes inference. For nonparametric and high-dimensional models, recent work by studied variational approximation to tempered posteriors, where the likelihood dPθ(n)/dP0(n)dP_{\theta}^{(n)}/dP_{0}^{(n)} is replaced by (dPθ(n)/dP0(n))α\left(dP_{\theta}^{(n)}/dP_{0}^{(n)}\right)^{\alpha} for some α∈(0,1)\alpha\in(0,1). Just as the convergence of tempered posteriors , the convergence of the variational approximation can also be established under generalizations of the prior mass condition. In addition, the paper also studied convergence rates under model misspecification, and the paper considered a more general setting that can handle latent variables, which is quite useful to analyze mixture models. We would like to point out that these results do not apply to the usual posterior distributions with α=1\alpha=1. After the first version of our paper was posted, similar results on α=1\alpha=1 have also been obtained independently by Some extensions of the results of were later added in the revised version of by the same authors.. An early related work on this topic is by , where the results cover both posterior distributions and their variational approximations. However, the conditions in are rather abstract and are not easy to check in applications.

Organization

The rest of the paper is organized as follows. In Section 2, we formulate the problem and introduce the general conditions that characterize convergence rates of variational posteriors. This section also includes results for the mean-field variational class, where the variational approximation error can be explicitly analyzed. In Section 3, we apply our general theory to three examples that use three different variational classes. Then, in Section 4, for a general class of prior distributions and a mean-field class under a model selection setting, we propose a new prior mass condition that leads to an automatic control of the variational approximation error. In Section 5, we discuss the relation between variational Bayes and empirical Bayes. We also discuss possible situations where the variational posterior outperforms the true posterior in this section. An extension of the main results under model misspecification is also discussed in Section 5. All the proofs will be given in the Appendix.

Notation

Main Results

We start this section by introducing a class of divergence functions.

Let ρ>0\rho>0 and ρ≠1\rho\neq 1. The ρ\rho-Rényi divergence between two probability measures P1P_{1} and P2P_{2} is defined as

The relations between the Rényi divergence and other divergence functions are summarized below.

When ρ→1\rho\rightarrow 1, the Rényi divergence converges to the Kullback-Leibler divergence, defined as

When ρ=1/2\rho=1/2, the Rényi divergence is related to the Hellinger distance by

When ρ=2\rho=2, the Rényi divergence is related to the χ2\chi^{2}-divergence by

and the χ2\chi^{2}-divergence is defined as

The total variation distance between two probability measures P1P_{1} and P2P_{2} is defined as

The relation among the divergence functions defined above is given by the following proposition (see ).

With the above definitions, the following inequalities hold,

Moreover, the Rényi divergence Dρ(P1∥P2)D_{\rho}(P_{1}\|P_{2}) is a non-decreasing function of ρ\rho.

Now we are ready to introduce the variational posterior distribution. Given a statistical model Pθ(n)P_{\theta}^{(n)} parametrized by θ\theta, and a prior distribution θ∼Π\theta\sim\Pi, the posterior distribution is defined by

To address possible computational difficulty of the posterior distribution, variational approximation is a way to find the closest object in a class S\mathcal{S} of probability measures to Π(⋅∣X(n))\Pi(\cdot|X^{(n)}). The class S\mathcal{S} is usually required to be computationally or analytically tractable. The most popular mathematical definition of variational approximation is given through the KL-divergence.

Let S\mathcal{S} be a family of distributions. The variational approximation of the posterior is defined as

Just like the posterior distribution Π(⋅∣X(n))\Pi(\cdot|X^{(n)}), the variational posterior Q^\widehat{Q} is a data-dependent measure that summarizes information from both the prior and the data. For a variational set S\mathcal{S}, the corresponding variational posterior can be regarded as the projection of the true posterior onto S\mathcal{S} under KL-divergence. When S\mathcal{S} is the set of all distributions, Q^\widehat{Q} turns out to be the true posterior Π(⋅∣X(n))\Pi(\cdot|X^{(n)}). The choice of the class S\mathcal{S} usually determines the difficulty of the optimization (3). In this paper, our main goal is to study the statistical property of the data-dependent measure Q^\widehat{Q} for a general S\mathcal{S}.

2 Results for General Variational Posteriors

Assume the observation X(n)X^{(n)} is generated from a probability measure P0(n)P_{0}^{(n)}, and Q^\widehat{Q} is the variational posterior distribution driven by X(n)X^{(n)}. The goal of this paper is to analyze Q^\widehat{Q} from a frequentist perspective. In other words, we study statistical properties of Q^\widehat{Q} under P0(n)P_{0}^{(n)}. The first theorem gives conditions that guarantee convergence of the variational posterior Q^\widehat{Q}.

Suppose ϵn\epsilon_{n} is a sequence that satisfies nϵn2≥1n\epsilon_{n}^{2}\geq 1. Consider a loss function L(⋅,⋅)L(\cdot,\cdot), such that for any two probability measures P1P_{1} and P2P_{2}, L(P1,P2)≥0L(P_{1},P_{2})\geq 0. Let C,C1,C2,C3>0C,C_{1},C_{2},C_{3}>0 be constants such that C>C2+C3+2C>C_{2}+C_{3}+2. We assume

For any ϵ>ϵn\epsilon>\epsilon_{n}, there exists a set Θn(ϵ)\Theta_{n}(\epsilon) and a testing function ϕn\phi_{n}, such that

For any ϵ>ϵn\epsilon>\epsilon_{n}, the set Θn(ϵ)\Theta_{n}(\epsilon) above satisfies

Then for the variational posterior Q^\widehat{Q} defined in (3), we have

for some constant MM only depending on C1,CC_{1},C and ρ\rho, where the quantity γn2\gamma_{n}^{2} is defined as

Conditions (C1)-(C3) resemble the three conditions of “prior mass and testing” in . Interestingly, Theorem 2.1 shows that with a slight modification, these three conditions also lead to the convergence of the variational posterior. The testing conditions (C1) and (C2) are required to hold for all ϵ>ϵn\epsilon>\epsilon_{n}. In the prior mass condition (C3), the neighborhood of P0(n)P_{0}^{(n)} is defined through a Rényi divergence with a ρ>1\rho>1, compared with the KL-divergence used in . According to Proposition 2.1, Dρ(P1∥P2)≥D(P1∥P2)D_{\rho}(P_{1}\|P_{2})\geq D(P_{1}\|P_{2}) for ρ>1\rho>1, so the condition (C3) in our paper is slightly stronger than that in . This stronger “prior mass” condition ensures that the loss L(Pθ(n),P0(n))L(P_{\theta}^{(n)},P_{0}^{(n)}) is exponentially integrable under the true posterior Π(⋅∣X(n))\Pi(\cdot|X^{(n)}), which is a key step in the proof of Theorem 2.1. In all the examples considered in this paper, we will check (C3) with D2(P0(n)∥Pθ(n))D_{2}(P_{0}^{(n)}\|P_{\theta}^{(n)}), which turns out to be a very convenient choice.

The convergence rate is the sum of two terms, ϵn2\epsilon_{n}^{2} and γn2\gamma_{n}^{2}. The first term ϵn2\epsilon_{n}^{2} is the convergence rate of the true posterior Π(⋅∣X(n))\Pi(\cdot|X^{(n)}). The second term γn2\gamma_{n}^{2} characterizes the approximation error given by the variational set S\mathcal{S}. A larger S\mathcal{S} means more expressive power given by the variational approximation, and thus the rate of γn2\gamma_{n}^{2} is smaller.

It is worth mentioning that we characterize the convergence of the variational posterior Q^\widehat{Q} through the expected loss P0(n)Q^L(Pθ(n),P0(n))P_{0}^{(n)}\widehat{Q}L(P_{\theta}^{(n)},P_{0}^{(n)}). Bounds for this quantity are also obtained by independently with a stronger testing condition on the entire space. We remark that convergence in P0(n)Q^L(Pθ(n),P0(n))P_{0}^{(n)}\widehat{Q}L(P_{\theta}^{(n)},P_{0}^{(n)}) automatically implies that the entire variational posterior distribution concentrates in a neighborhood of the true distribution P0(n)P_{0}^{(n)} with a radius of the same rate. When the loss function is convex, it also implies the existence of a point estimator that enjoys the same convergence rate. We summarize these results in the next corollary.

Under the same setting of Theorem 2.1, for any diverging sequence Mn→∞M_{n}\rightarrow\infty, we have

Furthermore, if the loss L(Pθ(n),P0(n))L(P_{\theta}^{(n)},P_{0}^{(n)}) is convex respect to θ\theta, then the variational posterior mean θ^=Q^θ\widehat{\theta}=\widehat{Q}\theta satisfies

The first result is an application of Markov’s inequality

The second result is directly implied by Jensen’s inequality that

To apply Theorem 2.1 to specific problems, we need to analyze the variational approximation error γn2=1ninf⁡Q∈SP0(n)D(Q∣∣Π(⋅∣X(n)))\gamma_{n}^{2}=\frac{1}{n}\inf_{Q\in\mathcal{S}}P_{0}^{(n)}D(Q||\Pi(\cdot|X^{(n)})) in each individual setting. However, this task may not be trivial for many problems. Now we borrow a technique in to get a useful upper bound for γn2\gamma_{n}^{2}. For any Q∈SQ\in\mathcal{S}, we have

where PΠ(n)=∫Pθ(n)dΠ(θ)P_{\Pi}^{(n)}=\int P_{\theta}^{(n)}d\Pi(\theta). Then, we obtain the upper bound

Now, it is easy to see that a sufficient condition for the variational posterior to converge at the same rate as the true posterior is

We incorporate this condition into the next theorem.

Suppose ϵn\epsilon_{n} is a sequence that satisfies nϵn2≥1n\epsilon_{n}^{2}\geq 1, for which the conditions (C1), (C2), (C3), (C4) hold. Then, for the variational posterior Q^\widehat{Q} that is defined in (3), we have

We would like to remark that the quantity inf⁡Q∈SR(Q)\inf_{Q\in\mathcal{S}}R(Q) is easier to analyze compared with the original definition of γn2\gamma_{n}^{2}. According to its definition given by (5), it is sufficient to find a distribution Q∈SQ\in\mathcal{S}, such that

These are exactly the two conditions formulated by as a natural extension of the prior mass condition. The relation between the prior mass condition and (7) has also been discussed in .

One way to construct such a distribution QQ that satisfies the above two inequalities is to focus on those whose supports are within the set C={θ:D(P0(n)∥Pθ(n))≤Cnϵn2}\mathcal{C}=\{\theta:D(P_{0}^{(n)}\|P_{\theta}^{(n)})\leq Cn\epsilon_{n}^{2}\} for some constant C>0C>0. We summarize this method into the following theorem.

Suppose there exist constants C1,C2>0C_{1},C_{2}>0, such that

where E={Q:supp(Q)⊂C}\mathcal{E}=\{Q:{\rm supp}(Q)\subset\mathcal{C}\} with C={θ:D(P0(n)∥Pθ(n))≤C2nϵn2}\mathcal{C}=\{\theta:D(P_{0}^{(n)}\|P_{\theta}^{(n)})\leq C_{2}n\epsilon_{n}^{2}\}. Then, we have

3 Results for Mean-Field Variational Posteriors

A special choice of S\mathcal{S} is the mean-field class of distributions. Not only does this class leads to computationally efficient algorithms such as coordinate ascent, but in this section, we will also show that the structure of this class leads to a convenient convergence analysis. We begin with its definition.

For parameters in a product space that can be written as θ=(θ1,θ2,...,θm)\theta=(\theta_{1},\theta_{2},...,\theta_{m}) with some 1≤m≤∞1\leq m\leq\infty, the mean-field variational family is defined as

The following theorem can be viewed as an application of Theorem 2.3 to the mean-field class.

Suppose there exists a Q~∈SMF\widetilde{Q}\in\mathcal{S}_{\rm MF} and a subset ⊗j=1mΘ~j\otimes_{j=1}^{m}\widetilde{\Theta}_{j}, such that

for some constants C1,C2,C3>0C_{1},C_{2},C_{3}>0. Then, we have

Note that the condition (9) can also be written as

In other words, Theorem 2.4 gives an interesting “distribution mass” type of characterization for inf⁡Q∈SR(Q)\inf_{Q\in\mathcal{S}}R(Q). Checking (9) is very similar to checking the “prior mass” condition (C3), and is usually not hard in many examples. We only need to make sure that Q~\widetilde{Q} is not too far away from the prior Π\Pi in the sense of (8). In fact, if the prior Π\Pi belongs to the class SMF\mathcal{S}_{\rm MF}, then one can take Q~=Π\widetilde{Q}=\Pi, and the conditions of Theorem 2.4 simply become a “prior mass” condition Π(⊗j=1mΘ~j)≥exp⁡(−C3nϵn2)\Pi\left(\otimes_{j=1}^{m}\widetilde{\Theta}_{j}\right)\geq\exp\left(-C_{3}n\epsilon_{n}^{2}\right), with the choice of ⊗j=1mΘ~j\otimes_{j=1}^{m}\widetilde{\Theta}_{j} being a subset of the KL-neighborhood {θ:D(P0(n)∥Pθ(n))≤C1nϵn2}\left\{\theta:D(P_{0}^{(n)}\|P_{\theta}^{(n)})\leq C_{1}n\epsilon_{n}^{2}\right\}. A more general characterization of the variational approximation error under model selection setting through a prior mass condition will be studied in Section 4.

Applications

In this section, we consider several examples to illustrate the theory developed in Section 2.

Consider observations generated by a Gaussian sequence model,

We use the notation Pθ(n)=⊗jN(θj,n−1)P_{\theta}^{(n)}=\otimes_{j}N(\theta_{j},n^{-1}) for the distribution above. Our goal is to use variational Bayes methods to estimate the true parameter θ∗\theta^{*} that belongs to the following Sobolev ball,

Here, the smoothness α>0\alpha>0 and the radius B>0B>0 are considered as constants throughout the paper. The loss function for this problem is L(Pθ(n),Pθ∗(n))=n∥θ−θ∗∥2L(P_{\theta}^{(n)},P_{\theta^{*}}^{(n)})=n\|\theta-\theta^{*}\|^{2}, which is a natural choice for the Gaussian sequence model.

The prior distribution θ∼Π\theta\sim\Pi is described through the following sampling process.

Conditioning on kk, sample θj∼fj\theta_{j}\sim f_{j} for all j∈[k]j\in[k], and set θj=0\theta_{j}=0 for all j>kj>k.

In other words, the prior on θ\theta is a mixture of product measures,

Priors of similar forms are also considered in . Direct calculation implies that the posterior is also in the form of a mixture of product measures.

Consider the variational posterior Q^\widehat{Q} defined by (3) with S=SMF\mathcal{S}=\mathcal{S}_{\rm MF}. That is, we seek a data-dependent measure in a more tractable form of a product measure. In most cases, the variational posterior does not have a closed form and needs to be solved by coordinate ascent algorithms . However, for the Gaussian sequence model (10) with the prior distribution (12), one can write down the exact form of the mean-field variational posterior distribution.

Consider the variational posterior Q^\widehat{Q} induced by the likelihood (10), the prior (12) and the mean-field variational set SMF\mathcal{S}_{\rm MF}. The distribution Q^\widehat{Q} is a product measure with the density of each coordinate specified by

The number π(k∣Y)\pi(k|Y) is the posterior probability of the model dimension, and according to Bayes formula, it is

In other words, the mean-field variational posterior Q^\widehat{Q} is nearly equivalent to a thresholding rule. It estimates all θj∗\theta_{j}^{*} by 00 after k~\widetilde{k} and applies the usual posterior distribution for each coordinate before k~\widetilde{k}. A mixed strategy is applied to the k~\widetilde{k}th coordinate. The effective model dimension k~\widetilde{k} is found in a data-driven way through (14).

Next, we will show that even though the posterior itself is not a product measure, using Q^\widehat{Q} from the mean-field class still gives us a rate-optimal contraction result. The conditions on the prior distributions are summarized below.

There exist some constants C1,C2>0C_{1},C_{2}>0 such that

There exist some constants C3,C4>0C_{3},C_{4}>0 such that for k0=⌈(nlog⁡n)12α+1⌉k_{0}=\left\lceil\left(\frac{n}{\log n}\right)^{\frac{1}{2\alpha+1}}\right\rceil,

These three conditions on Π\Pi include a large class of prior distributions. We remark that even though (17) involves α\alpha, it does not mean that one needs to know α\alpha when defining the prior Π\Pi. For example, the choice that π(k)∝e−τk\pi(k)\propto e^{-\tau k} and fjf_{j} being N(0,σ2)N(0,\sigma^{2}) for some constants τ,σ2>0\tau,\sigma^{2}>0 easily satisfies all the three conditions (15)-(17).

Conditions (15)-(17) will be used to derive the four conditions in Theorem 2.2. To be specific, (C1) and (C2) are consequences of (15) (see Lemma B.7 in the appendix), and (C3) and (C4) can be derived from (16) and (17) (see Lemma B.8 in the appendix). Then, by Theorem 2.2, we obtain the following result.

Consider the prior Π\Pi that satisfies (15)-(17). Then, for any θ∗∈Θα(B)\theta^{*}\in\Theta_{\alpha}(B), we have

where Q^\widehat{Q} is the variational posterior defined by (3) with S=SMF\mathcal{S}=\mathcal{S}_{\rm MF}.

It is well known that the minimax rate of estimating θ∗\theta^{*} in Θα(B)\Theta_{\alpha}(B) is n−2α2α+1n^{-\frac{2\alpha}{2\alpha+1}} . Using a mean-field variational posterior, we achieve the minimax rate up to a logarithmic factor. In fact, the following proposition demonstrates that this rate cannot be improved for a very general class of priors.

Consider the prior Π\Pi specified in (12). Assume that max⁡j∥fj∥∞≤a\max_{j}\|f_{j}\|_{\infty}\leq a and π(k)\pi(k) is nonincreasing over kk. Then, we have

where Q^\widehat{Q} is the variational posterior defined by (3) with S=SMF\mathcal{S}=\mathcal{S}_{\rm MF}.

On the other hand, the extra logarithmic factor can actually be removed by a rescaling of the prior. Details of this improvement are given in Appendix A.1.

2 Infinite Dimensional Exponential Families

In this section, we study another interesting variational family. The Gaussian mean-field family is defined as

This class offers better interpretability of the results because every distribution in SG\mathcal{S}_{G} is fully determined by a sequence of mean and variance parameters. Note that we allow σj2\sigma_{j}^{2} to be zero and N(μj,0)N(\mu_{j},0) is understood as the delta measure δμj\delta_{\mu_{j}} on μj\mu_{j}.

The application of SG\mathcal{S}_{G} is illustrated by an infinite dimensional exponential family model. We define the probability measure PθP_{\theta} by

Since ϕ0(x)=1\phi_{0}(x)=1 and θ0\theta_{0} can take arbitrary values without changing PθP_{\theta}, we simply set θ0=0\theta_{0}=0. In other words, PθP_{\theta} is fully parameterized by θ=(θ1,θ2,...)\theta=(\theta_{1},\theta_{2},...). Given i.i.d. observations from Pθ∗nP_{\theta^{*}}^{n}, our goal is to estimate Pθ∗P_{\theta^{*}}, where θ∗\theta^{*} is assumed to belong to the Sobolev ball Θα(B)\Theta_{\alpha}(B) defined in (11). The loss function is chosen as nn times the squared Hellinger distance L(Pθn,Pθ∗n)=nH2(Pθ,Pθ∗)L(P_{\theta}^{n},P_{\theta^{*}}^{n})=nH^{2}(P_{\theta},P_{\theta^{*}}).

We consider a prior distribution Π\Pi that is similar to the one used in Section 3.1. Its sampling process is described as follows.

Conditioning on kk, sample θj∼fj\theta_{j}\sim f_{j} for all j∈[k]j\in[k], and set θj=0\theta_{j}=0 for all j>kj>k.

We impose the following conditions on the prior Π\Pi.

There exist some constants C1,C2>0C_{1},C_{2}>0 such that

There exist some constants C3,C4>0C_{3},C_{4}>0 such that for k0=⌈(nlog⁡n)12α+1⌉k_{0}=\left\lceil\left(\frac{n}{\log n}\right)^{\frac{1}{2\alpha+1}}\right\rceil

The conditions (20)-(23) are satisfied by a large class of prior distributions. For example, one can choose k∼Poisson(τ)k\sim\text{Poisson}(\tau) and fjf_{j} being the density of N(0,σ2)N(0,\sigma^{2}) for some constants τ,σ2>0\tau,\sigma^{2}>0, and then the four conditions are easily satisfied.

Consider the prior Π\Pi that satisfies (20)-(23). Then, for any θ∗∈Θα(B)\theta^{*}\in\Theta_{\alpha}(B) with some α>1/2\alpha>1/2, we have

where Q^\widehat{Q} is the variational posterior defined by (3) with S=SG\mathcal{S}=\mathcal{S}_{\rm G}.

The theorem shows that the Gaussian mean-field variational posterior is able to achieve the minimax rate n−2α2α+1n^{-\frac{2\alpha}{2\alpha+1}} up to a logarithmic factor. We remark that the same result also holds for the mean-field variational posterior defined with SMF\mathcal{S}_{\rm MF}. This is because SG⊂SMF\mathcal{S}_{\rm G}\subset\mathcal{S}_{\rm MF}, and thus inf⁡Q∈SMFR(Q)≤inf⁡Q∈SGR(Q)\inf_{Q\in\mathcal{S}_{\rm MF}}R(Q)\leq\inf_{Q\in\mathcal{S}_{\rm G}}R(Q). Compared with the class SMF\mathcal{S}_{\rm MF}, the objective function using the parametric family SG\mathcal{S}_{\rm G} can be optimized by algorithms such as stochastic gradient descent over the parameters (μj,σj2)(\mu_{j},\sigma_{j}^{2}). The objective function can be greatly simplified according to the general mean-field solution given in Theorem 5.1.

3 Piecewise Constant Model

The previous two sections consider examples of the mean-field variational set and its variant. In this section, we use another example to illustrate a situation where the mean-field variational set only gives a trivial rate. On the other hand, we show that alternative variational classes with appropriate dependence structures are able to achieve the optimal rate.

We consider the following piecewise constant model,

where Zi∼N(0,1)Z_{i}\sim N(0,1) independently for all i∈[n]i\in[n]. We assume n≥2n\geq 2 throughout the section. The true parameter θ∗\theta^{*} is assumed to belong to the class Θk∗(B)={θ∈Θk∗:∥θ∥∞≤B}\Theta_{k^{*}}(B)=\left\{\theta\in\Theta_{k^{*}}:\|\theta\|_{\infty}\leq B\right\}, where for a general k∈[n]k\in[n],

Here for any two integers a<ba<b, we use (a:b](a:b] to denote all integers from a+1a+1 to bb. We assume both B>0B>0 and σ2>0\sigma^{2}>0 are constants throughout this section. A vector θ∗∈Θk∗(B)\theta^{*}\in\Theta_{k^{*}}(B) is a piecewise constant signal with at most k∗k^{*} pieces. We use Pθ(n)P_{\theta}^{(n)} to denote the probability distribution of N(θ,σ2In)N(\theta,\sigma^{2}I_{n}) in this section.

We put a prior distribution Π\Pi on the parameter θ\theta. Consider Π\Pi that has the following sampling process.

Sample w∼Beta(α0,β0)w\sim\text{Beta}(\alpha_{0},\beta_{0});

Conditioning on ww, sample zi∼Bernoulli(w)z_{i}\sim\text{Bernoulli}(w) for i=2,3,...,ni=2,3,...,n;

Conditioning on (z2,...,zn)(z_{2},...,z_{n}), sample θ1∼g\theta_{1}\sim g, and then for i=2,3,...,ni=2,3,...,n, sample θi\theta_{i} according to θi∼g\theta_{i}\sim g if zi=1z_{i}=1 and θi=θi−1\theta_{i}=\theta_{i-1} if zi=0z_{i}=0.

We first consider variational inference via the mean-field class, defined as

We also define S=SMFjoint\mathcal{S}=\mathcal{S}_{\rm MF}^{\rm joint} on the joint distribution of (w,z,θ)(w,z,\theta) by

The variational posteriors Q^MF\widehat{Q}_{\rm MF} and Q^MFjoint\widehat{Q}_{\rm MF}^{\rm joint} are given by (3) with variational classes defined above respectively To be rigorous, the posterior distribution Π(⋅∣X(n))\Pi(\cdot|X^{(n)}) used in D(Q∥Π(⋅∣X(n)))D(Q\|\Pi(\cdot|X^{(n)})) are the marginal posterior of θ\theta and the joint posterior of (w,z,θ)(w,z,\theta), respectively.. Interestingly, for the piecewise constant model, both Q^MF\widehat{Q}_{\rm MF} and Q^MFjoint\widehat{Q}_{\rm MF}^{\rm joint} give a trivial rate.

For the prior Π\Pi specified above with any gg absolutely continuous with respect to the Lebesgue measure, we have

for any k∗∈[n]k^{*}\in[n], where Q^MF\widehat{Q}_{\rm MF} and Q^MFjoint\widehat{Q}_{\rm MF}^{\rm joint} are the variational posteriors defined by (3) with S=SMF\mathcal{S}=\mathcal{S}_{\rm MF} and S=SMFjoint\mathcal{S}=\mathcal{S}_{\rm MF}^{\rm joint}, respectively.

The result of Theorem 3.4 shows that the mean-field variational posteriors Q^MF\widehat{Q}_{\rm MF} and Q^MFjoint\widehat{Q}_{\rm MF}^{\rm joint} are unable to achieve a better rate than simply estimating θ∗\theta^{*} by the naive estimator θ^=X\widehat{\theta}=X. The proof, given in Appendix B.5, reveals the reason of this phenomenon. Since the independence structure of the two classes fails to capture the underlying dependence structure of the parameter space Θk∗(B)\Theta_{k^{*}}(B), the variational posterior distributions are equivalent to the posterior distribution induced by the prior Π=⊗i=1ng\Pi=\otimes_{i=1}^{n}g, and therefore the condition (C4) is violated. Note that this is the first negative result in the literature on the statistical convergence of the mean-field approximation.

In order to achieve the minimax rate of the space Θk∗(B)\Theta_{k^{*}}(B), it is necessary to introduce some dependence structure in the variational class. One of the simplest classes of dependent distributions is the class of first-order Markov chains, defined by

The class SMC\mathcal{S}_{\rm MC} introduces a natural dependence structure for the piecewise constant model, and it is compatible with the prior distribution Π\Pi, because conditioning on the change point pattern zz, the prior distribution of θ∣z\theta|z belongs to the class SMC\mathcal{S}_{\rm MC}. We also introduce a similar variational class on the joint distribution of (w,z,θ)(w,z,\theta), defined by

Besides the distribution of θ\theta restricted to SMC\mathcal{S}_{\rm MC}, the distributions of ww and zz are both in the mean-field classes.

In order to derive the rates for the variational posterior distributions induced by SMC\mathcal{S}_{\rm MC} and SMCjoint\mathcal{S}_{\rm MC}^{\rm joint}, we impose the following conditions on the prior distribution Π\Pi.

There exist some constants C2>C1>1C_{2}>C_{1}>1 such that

According to Theorem 2.2, we get the following result.

Consider a prior distribution Π\Pi that satisfies (26) and (27). Then, for any θ∗∈Θk∗(B)\theta^{*}\in\Theta_{k^{*}}(B), we have

where Q^MC\widehat{Q}_{\rm MC} and Q^MCjoint\widehat{Q}_{\rm MC}^{\rm joint} are the variational posterior distributions defined by (3) with S=SMC\mathcal{S}=\mathcal{S}_{\rm MC} and S=SMCjoint\mathcal{S}=\mathcal{S}_{\rm MC}^{\rm joint}, respectively.

Theorem 3.5 shows that both Q^MC\widehat{Q}_{\rm MC} and Q^MCjoint\widehat{Q}_{\rm MC}^{\rm joint} are able to achieve the minimax rate of the problem. This example illustrates the importance of the choice of the variational class. According to Theorem 2.1, the rate of a variational posterior is upper bounded by ϵn2\epsilon_{n}^{2}, the rate of the true posterior, plus γn2\gamma_{n}^{2}, the variational approximation error. The choice of SMF\mathcal{S}_{\rm MF} for the piecewise constant model leads to a very large γn2\gamma_{n}^{2}, and thus a trivial rate in Theorem 3.4. On the other hand, the variational approximation errors given by the classes SMC\mathcal{S}_{\rm MC} and SMCjoint\mathcal{S}_{\rm MC}^{\rm joint} are small, which are dominated by the minimax rate.

Though the statistical properties of the two classes SMC\mathcal{S}_{\rm MC} and SMCjoint\mathcal{S}_{\rm MC}^{\rm joint} are both satisfactory, the class SMCjoint\mathcal{S}_{\rm MC}^{\rm joint} enjoys a computational advantage, and the solution Q^MCjoint\widehat{Q}_{\rm MC}^{\rm joint} can be computed exactly via dynamic programming. In order to characterize the solution Q^MCjoint\widehat{Q}_{\rm MC}^{\rm joint}, we consider the following discrete optimization problem:

The solution of (28) is denoted as the sequence 0=a^0<a^1<⋯<a^k^=n0=\widehat{a}_{0}<\widehat{a}_{1}<\cdots<\widehat{a}_{\widehat{k}}=n. We remark that under the condition (26), the penalty term of (28) comes from the fact that

Let the maximizer of (28) be (a^0,a^1,...,a^k^)(\widehat{a}_{0},\widehat{a}_{1},...,\widehat{a}_{\widehat{k}}). For

the distributions Q^(w)\widehat{Q}^{(w)}, Q^(z)\widehat{Q}^{(z)} and Q^(θ)\widehat{Q}^{(\theta)} are specified as follows.

Under Q^(z)\widehat{Q}^{(z)}, za^j+1=1z_{\widehat{a}_{j}+1}=1 for j=1,...,k^−1j=1,...,\widehat{k}-1, and zi=0z_{i}=0 elsewhere with probability 11.

We have Q^(w)=Beta(k^+α0−1,n−k^+β0)\widehat{Q}^{(w)}=\text{Beta}(\widehat{k}+\alpha_{0}-1,n-\widehat{k}+\beta_{0}).

We have dQ^(θ)(θ)=dQ^1(θ)(θ1)∏i=2ndQ^i(θ)(θi∣θi−1)d\widehat{Q}^{(\theta)}(\theta)=d\widehat{Q}_{1}^{(\theta)}(\theta_{1})\prod_{i=2}^{n}d\widehat{Q}_{i}^{(\theta)}(\theta_{i}|\theta_{i-1}), where

By Theorem 3.6, in order to get Q^MCjoint\widehat{Q}_{\rm MC}^{\rm joint}, it is sufficient to solve (28). This can be done through a dynamic programming given in Algorithm 1. To simplify the notation, we define

We note that the computational cost of the dynamic programming above is O(n3)O(n^{3}) (see ), and for any integers 0≤a<b≤n0\leq a<b\leq n, (29) has a closed form as long as we use a conjugate g(⋅)g(\cdot).

Variational Bayes with Model Selection

In this section, we consider a general form of probability models

Here, the probability Pk,θ(k)(n)P_{k,\theta^{(k)}}^{(n)} is determined by an index kk and a parameter θ(k)\theta^{(k)}. We assume that the set K\mathcal{K} is either countable or finite. For a given kk, the probability Pk,θ(k)(n)P_{k,\theta^{(k)}}^{(n)} is parametrized by a θ(k)\theta^{(k)} in a parameter space Θ(k)\Theta^{(k)} that is indexed by this kk. Without loss of generality, we assume that the parameter θ(k)\theta^{(k)} can be written in a blockwise structure

Note that the dimension of θ(k)\theta^{(k)} may vary with kk.

The model M\mathcal{M} is very natural for many applications. One can think of kk as a model dimension index, which determines the complexity of the parameter space Θ(k)\Theta^{(k)}. A leading example is the mixture density model, where kk stands for the number of components.

To model the hierarchical structure of (k,θ(k))(k,\theta^{(k)}), one naturally uses a hierarchical prior distribution, which is specified through the following sampling process:

Firstly, sample k∼πk\sim\pi from K\mathcal{K};

Conditioning on kk, sample θ(k)\theta^{(k)} from the probability measure Π(k)\Pi^{(k)}, and Π(k)\Pi^{(k)} has a product structure

For variational inference, we consider a mean-field class that naturally takes advantage of the structure of the prior distribution. For a given k∈Kk\in\mathcal{K}, the corresponding mean-field class is defined as

In order to select the best model from the data, we consider optimizing the evidence lower bound (ELBO). With the notation p(X(n)∣θ(k))p(X^{(n)}|\theta^{(k)}) standing for the joint likelihood function, the marginal likelihood given a model k∈Kk\in\mathcal{K} is defined by

Then, a straightforward model selection procedure is to maximize log⁡(p(X(n)∣k)π(k))\log\left(p(X^{(n)}|k)\pi(k)\right) over k∈Kk\in\mathcal{K}. In order to overcome the intractability of the integral (32), we instead optimize a lower bound, which is given by

which can be derived by a direct application of Jensen’s inequality. Denote the right hand side of (33) by F(Q(k),k)F(Q^{(k)},k), and we will solve the following optimization problem,

Finally, the solution to (34) leads to the variational posterior distribution Q^=Q^(k^)\widehat{Q}=\widehat{Q}^{(\widehat{k})} that we use in a model selection context. A similar variational approximation to the tempered posterior in the model selection setting was studied by .

2 Convergence Rates

Assume the observation X(n)X^{(n)} is generated from a probability measure P0(n)P_{0}^{(n)}, and Q^=Q^(k^)\widehat{Q}=\widehat{Q}^{(\widehat{k})} is the variational posterior that is a solution to (34). For the general settings described above, we show that the variational approximation error can be automatically controlled by a prior mass condition. Let Π\Pi be the prior distribution on Pk,θ(k)P_{k,\theta^{(k)}} induced by the sampling process of (k,θ(k))(k,\theta^{(k)}).

Suppose ϵn\epsilon_{n} is a sequence that satisfies nϵn2≥1n\epsilon_{n}^{2}\geq 1. Let ρ>1\rho>1 be a constant and C2,C3>0C_{2},C_{3}>0 be constants. We assume that there exists a k0∈Kk_{0}\in\mathcal{K} and a subset Θ(k0)=⊗j=1mk0Θj(k0)⊂{θ(k0):Dρ(P0(n)∥Pk0,θ(k0)(n))≤C3nϵn2}\Theta^{(k_{0})}=\otimes_{j=1}^{m_{k_{0}}}\Theta_{j}^{(k_{0})}\subset\left\{\theta^{(k_{0})}:D_{\rho}\left(P_{0}^{(n)}\|P_{k_{0},\theta^{(k_{0})}}^{(n)}\right)\leq C_{3}n\epsilon_{n}^{2}\right\}, such that

where π(k0)\pi(k_{0}) and Πj(k0)\Pi_{j}^{(k_{0})} are defined in the prior sampling procedure. Moreover, assume that the conditions (C1) and (C2) hold for all ϵ>ϵn\epsilon>\epsilon_{n} with respect to prior procedure Π\Pi and some constant C>C2+C3+2C>C_{2}+C_{3}+2. Then for the variational posterior Q^(k^)\widehat{Q}^{(\widehat{k})} defined as the solution of (34), we have

Theorem 4.1 characterizes the convergence rate of mean-field variational posterior with model selection using the conditions (C1), (C2) and (C3*). Given the structure of the prior distribution, an equivalent way of writing (C3*) is

for the factorized structure of Θ(k0)\Theta^{(k_{0})}. Therefore, our three conditions (C1), (C2) and (C3*) still fall into the “prior mass and testing” framework, and directly correspond to the three conditions in for convergence rates of the true posterior.

An interesting special case is when the set K\mathcal{K} is a singleton. Then, for a product prior measure and the mean-field variational class, the condition (C3*) is reduced to (2) discussed in Section 1.

3 Density Estimation via Location-Scale Mixtures

In this section, we consider the location-scale mixture model as an application of the theory. The location-scale mixture density is defined as

for some positive even integer pp. The kernel ψσ(⋅)\psi_{\sigma}(\cdot) has a pre-specified form, for example, Gaussian density when p=2p=2, while the parameters kk and θ(k)=(w,μ,σ)\theta^{(k)}=(w,\mu,\sigma) are to be learned from the data.

Given i.i.d. observations X1,...,XnX_{1},...,X_{n} sampled from some density function f0f_{0}, our goal is to estimate the density f0f_{0} through the location-scale mixture model (36). We denote the probability distribution of the mixture density p(x∣k,θ(k))p(x|k,\theta^{(k)}) as Pk,θ(k)P_{k,\theta^{(k)}} and a probability distribution with a general density ff as PfP_{f}. In the paper , a Bayesian procedure is proposed and a nearly minimax optimal convergence rate is derived for the true posterior distribution. We will follow the same setting in , but analyze the variational posterior.

We first specify the prior distribution Π\Pi through the following sampling process:

Sample the number of mixtures k∼πk\sim\pi;

Conditioning on kk, sample the location parameters μ1,⋯ ,μk\mu_{1},\cdots,\mu_{k} independently from pμp_{\mu}, sample the weights w=(w1,⋯ ,wk)w=(w_{1},\cdots,w_{k}) from pw(k)p_{w}^{(k)}, and then sample the precision parameter τ=σ−2\tau=\sigma^{-2} from pτp_{\tau}.

In order to optimize (34) in the variational Bayes framework, we specify the blockwise structure (31) in this case as

Note that we do not factorize dQw(k)(w)dQ_{w}^{(k)}(w) because of the constraint ∑j=1kwj=1\sum_{j=1}^{k}w_{j}=1. The variational posterior distribution is defined as Q^=Q^(k^)\widehat{Q}=\widehat{Q}^{(\widehat{k})} that solves (34). The loss function here is chosen as nn times squared Hellinger distance, i.e., L(Pfn,Pf0n)=nH2(Pf,Pf0)L(P_{f}^{n},P_{f_{0}}^{n})=nH^{2}(P_{f},P_{f_{0}}).

In order that Q^\widehat{Q} enjoys a good convergence rate, we need conditions on the prior distribution and the true density function f0f_{0}. We first list the conditions on the prior.

There exist constants C1,C2>0C_{1},C_{2}>0, such that

for all m>0m>0. There exist constants t,C3,C4>0t,C_{3},C_{4}>0, such that

for all n12α+1≤k0≤n12α+1+tn^{\frac{1}{2\alpha+1}}\leq k_{0}\leq n^{\frac{1}{2\alpha+1}+t}.

There exist constants c1,c2,c3>0c_{1},c_{2},c_{3}>0, such that

for all x0>0x_{0}>0 and constants c4,c5,c6c_{4},c_{5},c_{6}, such that

There exist constants t,d1,d2,d3>0t,d_{1},d_{2},d_{3}>0, such that

for all w0∈Δk0w_{0}\in\Delta_{k_{0}} and n12α+1≤k0≤n12α+1+tn^{\frac{1}{2\alpha+1}}\leq k_{0}\leq n^{\frac{1}{2\alpha+1}+t}, where Δk0(w0,ϵ)={w∈Δk0:∥w−w0∥1≤ϵ}\Delta_{k_{0}}(w_{0},\epsilon)=\{w\in\Delta_{k_{0}}:\|w-w_{0}\|_{1}\leq\epsilon\}.

There exist constants b0,b1,b2,b3>0b_{0},b_{1},b_{2},b_{3}>0, such that

for all τ0>0\tau_{0}>0. There exist constants b4,b5>0b_{4},b_{5}>0 and a constant b6∈(0,1]b_{6}\in(0,1] that satisfy

The conditions on the prior distribution are quite general. For example, one can choose k∼Poisson(ξ0)k\sim\text{Poisson}(\xi_{0}), μj∼N(0,σ02)\mu_{j}\sim N(0,\sigma_{0}^{2}), w∼Dir(α0,α0,⋯ ,α0)w\sim\rm{Dir}(\alpha_{0},\alpha_{0},\cdots,\alpha_{0}) and τ∼Γ(a0,b0)\tau\sim\Gamma(a_{0},b_{0}) for some positive constants ξ0,σ0,α0,a0,b0\xi_{0},\sigma_{0},\alpha_{0},a_{0},b_{0}. Then, the conditions above are all satisfied.

Next, we list the conditions on the true density function f0f_{0}:

(Smoothness) The logarithmic density function log⁡f0\log f_{0} is assumed to be locally α\alpha-Hölder smooth. In other words, for the derivative lj(x)=djdxjlog⁡f0(x)l_{j}(x)=\frac{d^{j}}{dx^{j}}\log f_{0}(x), there exists a polynomial L(⋅)L(\cdot) and a constant γ>0\gamma>0 such that,

for all x,yx,y that satisfies ∣x−y∣≤γ|x-y|\leq\gamma. Here, the degree and the coefficients of the polynomial L(⋅)L(\cdot) are all assumed to be constants. Moreover, the derivative lj(x)l_{j}(x) satisfies the bound ∫∣lj(x)∣2α+ϵjf0(x)dx<smax⁡\int|l_{j}(x)|^{\frac{2\alpha+\epsilon}{j}}f_{0}(x)dx<s_{\max} for all j=1,...,⌊α⌋j=1,...,{\left\lfloor{\alpha}\right\rfloor} with some constants ϵ,smax⁡>0\epsilon,s_{\max}>0.

(Tail) There exist positive constants TT, ξ1\xi_{1}, ξ2\xi_{2}, ξ3\xi_{3} such that

(Monotonicity) There exist constants xm<xMx_{m}<x_{M} such that f0f_{0} is nondecreasing on (−∞,xm)(-\infty,x_{m}) and is nonincreasing on (xM,∞)(x_{M},\infty). Without loss of generality, we assume f0(xm)=f0(xM)=cf_{0}(x_{m})=f_{0}(x_{M})=c and f0(x)≥cf_{0}(x)\geq c for all xm<x<xMx_{m}<x<x_{M} with some constant c>0c>0.

These conditions are exactly the same as in and similar conditions are also considered in . The conditions allow a well-behaved approximation to the true density by a location-scale mixture. There are many density functions that satisfy the conditions (B1)-(B3), for which we refer to .

The convergence rate of the variational posterior is given by the following theorem.

Consider i.i.d. observations generated by Pf0nP_{f_{0}}^{n}, and the density function f0f_{0} satisfies conditions (B1)-(B3). For the prior that satisfies (40)-(46), we have

where Q^=Q^(k^)\widehat{Q}=\widehat{Q}^{(\widehat{k})} is the solution of (34), and r=pmin⁡{p,ξ3}+max⁡{d3+1,c6min⁡{p,ξ3}}r=\frac{p}{\min\{p,\xi_{3}\}}+\max\{d_{3}+1,\frac{c_{6}}{\min\{p,\xi_{3}\}}\}, with p,ξ3,c6,d3p,\xi_{3},c_{6},d_{3} defined in (37), (48), (43) and (44), respectively.

The proof of Theorem 4.2 largely follows the arguments in that are used to establish the corresponding result for the true posterior distribution, thanks to the fact that Theorem 4.1 requires three very similar “prior mass and testing” conditions to that of . The only difference is that function approximations via location-scale mixtures need to be analyzed under a stronger divergence Dρ(⋅∥⋅)D_{\rho}(\cdot\|\cdot) for some ρ>1\rho>1. For this reason, the proof of Theorem 4.2 relies on the construction of a surrogate density function f~0\widetilde{f}_{0}. We first apply Theorem 4.1 and establish a convergence rate under f~0\widetilde{f}_{0}. Then, the conclusion is transferred to f0f_{0} with a change-of-measure argument. Details of the proof are given in Appendix B.6.

4 Dealing with Latent Variables

For the mixture model considered in Section 4.3, we discuss a variation of the variational Bayes approach (34) by including latent variables. This facilitates computation and leads to a simple coordinate ascent algorithm that has closed-form updates. In the setting of mixture model, our approach is adaptive to the unknown number of components, and can be regarded as an extension of for variational inference with latent variables.

Since p(X(n)∣k,θ(k))=∏i=1n∑j=1kwjψσ(Xi−μj)p(X^{(n)}|k,\theta^{(k)})=\prod_{i=1}^{n}\sum_{j=1}^{k}w_{j}\psi_{\sigma}(X_{i}-\mu_{j}) with θ(k)=(μ,w,σ)\theta^{(k)}=(\mu,w,\sigma), we can write

where p(X(n)∣z(k),θ(k))=∏i=1n∏j=1kψσ(Xi−μj)1{zi(k)=j}p(X^{(n)}|z^{(k)},\theta^{(k)})=\prod_{i=1}^{n}\prod_{j=1}^{k}\psi_{\sigma}(X_{i}-\mu_{j})^{\mathbf{1}{\left\{z_{i}^{(k)}=j\right\}}}, and the probability of zi(k)=jz_{i}^{(k)}=j is wjw_{j} under w(k)(⋅)w^{(k)}(\cdot). We use the notation Πˉ(k)\bar{\Pi}^{(k)} for the joint distribution of (z(k),θ(k))(z^{(k)},\theta^{(k)}), and then the marginal likelihood (32) can be written as

Similar to (33), the evidence lower bound with the latent variables is given by

The right hand side of (49) is shorthanded by Fˉ(Qˉ(k),k)\bar{F}(\bar{Q}^{(k)},k). Define

Then, we solve the following optimization problem,

The solution to (50) leads to the variational posterior distribution Q^=Q^latent(k^)\widehat{Q}=\widehat{Q}^{(\widehat{k})}_{\rm latent}. It is worth noting that even though Q^\widehat{Q} is a joint distribution of (z,μ,w,σ)(z,\mu,w,\sigma), the posterior inference only relies on the marginal of (μ,w,σ)(\mu,w,\sigma), since the parametrization of the density f(⋅)f(\cdot) in (36) does not depend on the latent variables. The existence of the latent variables only facilitates computation.

Consider i.i.d. observations generated by Pf0nP_{f_{0}}^{n}, and the density function f0f_{0} satisfies conditions (B1)-(B3). For the prior that satisfies (40)-(46), we have

where Q^=Q^latent(k^)\widehat{Q}=\widehat{Q}^{(\widehat{k})}_{\rm latent} is the solution to (50), and r=pmin⁡{p,ξ3}+max⁡{d3+1,c6min⁡{p,ξ3}}r=\frac{p}{\min\{p,\xi_{3}\}}+\max\{d_{3}+1,\frac{c_{6}}{\min\{p,\xi_{3}\}}\}, with p,ξ3,c6,d3p,\xi_{3},c_{6},d_{3} defined in (37), (48), (43) and (44), respectively.

Theorem 4.3 shows that the variational posterior with latent variables achieves the same contraction rate as in Theorem 4.2. In fact, the two variational lower bounds (33) and (49) satisfy the following relation,

which implies that the introduction of latent variables makes the variational approximation looser. On the other hand, Theorem 4.3 shows that the worse variational approximation does not compromise the statistical convergence rate. Moreover, with the help of latent variables, Q^latent(k^)\widehat{Q}^{(\widehat{k})}_{\rm latent} can be computed via standard variational inference algorithms. Details of the computational issues are given in Appendix A.2.

Discussion

Conditioning on kk, sample θj∼fj1\theta_{j}\sim f_{j1} for all j∈[k]j\in[k], and sample θj∼fj2\theta_{j}\sim f_{j2} for all j>kj>k.

An empirical Bayes procedure maximizes emk(X(n))π(k)e^{m_{k}(X^{(n)})}\pi(k) The canonical form of empirical Bayes has a flat prior on kk., where

is the logarithm of marginal likelihood. With the maximizer k^\widehat{k}, the empirical Bayes posterior is defined as

Compared with a hierarchical Bayes approach, the empirical Bayes procedure does not need to evaluate the posterior distribution of kk, and thus in many cases is easier to implement.

We also study mean-field approximation of the posterior distribution. In order to characterize its form, we need a few definitions. For any g=(gj)j=1∞g=(g_{j})_{j=1}^{\infty}, define

for any gg. We also define the density classes Gj1={g≥0:∫g=∫Θj1g=1}\mathcal{G}_{j1}=\left\{g\geq 0:\int g=\int_{\Theta_{j1}}g=1\right\} and Gj2={g≥0:∫g=∫Θj2g=1}\mathcal{G}_{j2}=\left\{g\geq 0:\int g=\int_{\Theta_{j2}}g=1\right\}. The next theorem gives the exact form of the mean-field variational posterior.

Consider the variational posterior Q^VB\widehat{Q}_{\rm VB} induced by the sieve prior and the mean-field variational set SMF\mathcal{S}_{\rm MF}. The distribution Q^VB\widehat{Q}_{\rm VB} is a product measure with the density of each coordinate specified by

where for each given kk, (g~j1(k))j=1k(\widetilde{g}_{j1}^{(k)})_{j=1}^{k} and (g~j2(k))j=k∞(\widetilde{g}_{j2}^{(k)})_{j=k}^{\infty} maximize the following objective function,

under the constraints that gj1∈Gj1g_{j1}\in\mathcal{G}_{j1} and gj2∈Gj2g_{j2}\in\mathcal{G}_{j2} for all jj, k~\widetilde{k} maximizes

The result of Theorem 5.1 also applies to the class SG\mathcal{S}_{\rm G} discussed in Section 3.2 with Gj1\mathcal{G}_{j1} replaced by the Gaussian class. We note that Theorem 5.1 can be viewed as an extension of Theorem 3.1. In fact, if the likelihood function can be factorized over each coordinate of θ\theta, the form of Q^VB\widehat{Q}_{\rm VB} can be greatly simplified.

Under the same setting of Theorem 5.1, if we further assume that p(X(n)∣θ)=∏j=1∞p(Xj(n)∣θj)p(X^{(n)}|\theta)=\prod_{j=1}^{\infty}p(X_{j}^{(n)}|\theta_{j}), then we will have

In light of Theorem 5.1, we can compare the variational Bayes approach and the empirical Bayes approach, especially the definitions of k~\widetilde{k} and k^\widehat{k}. The empirical Bayes chooses the best model by maximizing emk(X(n))π(k)e^{m_{k}(X^{(n)})}\pi(k), or equivalently π(k∣X(n))\pi(k|X^{(n)}), while the variational Bayes maximizes (54). There are two major differences. The first difference is that empirical Bayes uses the exact marginal likelihood function mk(X(n))m_{k}(X^{(n)}) and variational Bayes uses a mean-field approximation of mk(X(n))m_{k}(X^{(n)}). We remark that in the case of likelihood that can be factorized, the mean-field approximation is exact, which leads to (55). The second difference is that empirical Bayes maximizes the posterior probability of the kkth model, but the variational Bayes maximizes the sum of the posterior probabilities (or their mean-field approximations) of the (k−1)(k-1)th and the kkth models.

Despite the two differences, the empirical Bayes approach and the variational Bayes approach have a lot in common. Both are random probability distributions that summarize the information in data and prior. Both select a sub-model according to very similar criteria. To close this section, we show that with a special variational class, the induced variational posterior is exactly the empirical Bayes posterior.

Then, the empirical Bayes posterior Q^EB\widehat{Q}_{\rm EB} defined by (51) is the variational posterior induced by the sieve prior and the variational class SEB\mathcal{S}_{\rm EB}.

The result of Theorem 5.2 shows that for sieve priors, one can view the empirical Bayes approach as a variational Bayes approach, which suggests that it may be possible to unify the theoretical analysis in this paper and the analysis of empirical Bayes procedures in .

2 Variational Approximation as Regularization

According to Theorem 2.1, the convergence rate of the posterior is determined by the sum of ϵn2\epsilon_{n}^{2}, the rate of the true posterior, and γn2\gamma_{n}^{2}, the variational approximation error. Since ϵn2+γn2≥ϵn2\epsilon_{n}^{2}+\gamma_{n}^{2}\geq\epsilon_{n}^{2}, it seems that the convergence rate of variational posterior is always no faster than that of the true posterior. However, Theorem 2.1 just gives an upper bound. In this section, we give two examples, and we show that it is possible for a variational posterior to have a faster convergence rate than that of the true posterior.

We consider the setting of Gaussian sequence model (10). The true signal θ∗\theta^{*} that generates the data is assumed to belong to the Sobolev ball Θα(B)\Theta_{\alpha}(B). The prior distribution is specified as

Note that a similar Gaussian process prior is well studied in the literature . We force all the coordinates after nn to be zero, so that the variational approximation through Kullback-Leibler divergence will not explode. For the specified prior, the posterior contraction rate is n−2(α∧β)2β+1n^{-\frac{2(\alpha\wedge\beta)}{2\beta+1}}, and when β=α\beta=\alpha, the optimal minimax rate n−2α2α+1n^{-\frac{2\alpha}{2\alpha+1}} is achieved.

for a given integer kk. It is easy to see that the variational posterior Q^[k]\widehat{Q}_{[k]} defined by (3) with S=S[k]\mathcal{S}=\mathcal{S}_{[k]} can be written as

In other words, the class S[k]\mathcal{S}_{[k]} does not put any constraint on the first kk coordinates and shrink all the coordinates after kk to zero. Ideally, one would like to use δ0\delta_{0} for the coordinates after kk. However, that would lead to D(Q∥Π(⋅∣Y))=∞D\left(Q\|\Pi(\cdot|Y)\right)=\infty for all Q∈S[k]Q\in\mathcal{S}_{[k]} given that the support of δ0\delta_{0} is a singleton. That is why we use N(0,e−jn)N(0,e^{-jn}) instead. The rate of Q^[k]\widehat{Q}_{[k]} for each kk is given by the following theorem.

For the variational posterior Q^[k]\widehat{Q}_{[k]}, we have

where Q^[k]\widehat{Q}_{[k]} is the variational posterior defined by (3) with S=S[k]\mathcal{S}=\mathcal{S}_{[k]}.

Note that Theorem 5.3 gives both upper and lower bounds for Q^[k]\widehat{Q}_{[k]}. This makes the comparison between variational posterior and true posterior possible. Observe that when k=∞k=\infty, we have Q^[∞]=Π(⋅∣Y)\widehat{Q}_{[\infty]}=\Pi(\cdot|Y), and the result is reduced to the posterior contraction rate n−2(α∧β)2β+1n^{-\frac{2(\alpha\wedge\beta)}{2\beta+1}} in .

Depending on the values of α,β\alpha,\beta and kk, the rate for Q^[k]\widehat{Q}_{[k]} can be better than that of the true posterior. For example, when β<α\beta<\alpha, the choice k=n12α+1k=n^{\frac{1}{2\alpha+1}} leads to the minimax rate n−2α2α+1n^{-\frac{2\alpha}{2\alpha+1}}, which is always faster than n−2(α∧β)2β+1n^{-\frac{2(\alpha\wedge\beta)}{2\beta+1}}. This is because for a β<α\beta<\alpha, the true posterior distribution undersmooths the data, but the variational class S[k]\mathcal{S}_{[k]} with k=n12α+1k=n^{\frac{1}{2\alpha+1}} helps to reduce the extra variance resulted from undersmoothing by thresholding all the coordinates after kk. On the other hand, when β≥α\beta\geq\alpha, an improvement through the variational class S[k]\mathcal{S}_{[k]} is not possible. In this case, the true posterior has already overly smoothed the data, and the information loss cannot be recovered by the variational class.

Example 2

Though the posterior distribution has a close connection to LASSO, it is proved in that the posterior distribution cannot adapt to the sparsity of β∗\beta^{*}. In particular, the common choice of λ\lambda in the theoretical analysis of LASSO only leads to a dense posterior.

In fact, it is known in the literature (e.g. ) that the LASSO, which is the posterior mode, achieves a nearly optimal rate over the class B(s)\mathcal{B}(s). We show that the posterior mode can be well approximated by applying a simple variational class. Consider the variational class

Define Q^τ2\widehat{Q}_{\tau^{2}} to be the minimizer of min⁡Q∈Sτ2D(Q∥Π(⋅∣y))\min_{Q\in\mathcal{S}_{\tau^{2}}}D(Q\|\Pi(\cdot|y)).

For any λ>0\lambda>0 and τ>0\tau>0, we have Q^τ2=N(β^,τ2Ip)\widehat{Q}_{\tau^{2}}=N(\widehat{\beta},\tau^{2}I_{p}), where

By the fact that Q^τ2=N(β^,τ2Ip)\widehat{Q}_{\tau^{2}}=N(\widehat{\beta},\tau^{2}I_{p}), we have

Hence, a risk bound for the penalized least-squares estimator (56) directly leads to the convergence of the variational posterior. To present a bound for ∥β^−β∗∥2\|\widehat{\beta}-\beta^{*}\|^{2}, we need to introduce some new notation. Let S={j∈[p]:βj∗≠0}S=\{j\in[p]:\beta_{j}^{*}\neq 0\} be the support of β∗\beta^{*}. Define the restricted eigenvalue by

where ∥ΔS∥1=∑j∈S∣Δj∣\|\Delta_{S}\|_{1}=\sum_{j\in S}|\Delta_{j}| and ∥ΔSc∥1\|\Delta_{S^{c}}\|_{1} is defined similarly. The same quantity (58) also appears in the risk bound of LASSO .

Assume ∥X∗j∥/n≤L\|X_{*j}\|/\sqrt{n}\leq L for all j∈[p]j\in[p] and κ≤L\kappa\leq L with some constant L>0L>0. Choose λ=Cnlog⁡p\lambda=C\sqrt{n\log p} and τ=O(1np)\tau=O\left(\frac{1}{np}\right) for some sufficiently large constant C>0C>0. The solution to (56) satisfies

with probability at least 1−p−C′1-p^{-C^{\prime}} uniformly over ∥β∗∥0≤s\|\beta^{*}\|_{0}\leq s for some constant C′>0C^{\prime}>0. As a consequence of (57), we also have

with probability at least 1−p−C′1-p^{-C^{\prime}}.

We note that slog⁡pnκ4\frac{s\log p}{n\kappa^{4}} is the same rate of convergence of LASSO . With τ\tau chosen as small as O(1np)O\left(\frac{1}{np}\right), the statistical property of the variational posterior is very similar to that of the LASSO, and thus improves the original dense posterior distribution that is not suitable for sparse recovery.

3 Model Misspecification

In this section, we present an extension of Theorem 2.1 in the context of model misspecification. We consider a data generating process X(n)∼P∗(n)X^{(n)}\sim P_{*}^{(n)} that may not satisfies the conditions (C1)-(C3). The following theorem shows that the convergence rate of the variational posterior will then have an extra term that characterizes the deviation of P∗(n)P_{*}^{(n)} to the model specified by the likelihood.

Suppose ϵn\epsilon_{n} is a sequence that satisfies nϵn2≥1n\epsilon_{n}^{2}\geq 1. Assume that the conditions (C1)-(C3) hold with P0(n)P_{0}^{(n)} replaced by Pθ0(n)P_{\theta_{0}}^{(n)}. Then for the variational posterior Q^\widehat{Q} defined in (3), we have

for some constant MM only depending on C1,CC_{1},C and ρ\rho in (C1)-(C3), where the quantity γn2\gamma_{n}^{2} is defined as

We note that here γn2\gamma_{n}^{2} is defined with respect to P∗(n)P_{*}^{(n)} instead of P0(n)P_{0}^{(n)} in Theorem 2.1. Theorem 2.1 can be viewed as a special case of Theorem 5.6 with P0(n)=P∗(n)=Pθ0(n)P_{0}^{(n)}=P_{*}^{(n)}=P_{\theta_{0}}^{(n)}. The extra term in the convergence rate that characterizes model misspecification is given by D2(P∗(n)∥Pθ0(n))D_{2}\big(P_{*}^{(n)}\|P_{\theta_{0}}^{(n)}\big). In fact, it can be replaced by any ρ\rho-Rényi divergence with ρ>1\rho>1.

Convergence rates of variational approximation to tempered posterior distributions under model misspecification have been studied by (See their Theorem 2.7). Our results complement theirs by considering variational approximation to the ordinary posterior.

The next theorem gives sufficient conditions so that the variational approximation error γn2\gamma_{n}^{2} is dominated by the sum of the other two terms in (59). It can be viewed as an extension of Theorem 2.3.

Suppose there are constants C1,C2>0C_{1},C_{2}>0, such that

where E={Q:supp(Q)⊂C}\mathcal{E}=\{Q:{\rm supp}(Q)\subset\mathcal{C}\} with

To end this section, we apply Theorem 5.6 and Theorem 5.7 to the piecewise constant model discussed in Section 3.3 and derive oracle inequalities for the variational posterior distributions.

where the definitions of Q^MC\widehat{Q}_{\rm MC} and Q^MCjoint\widehat{Q}_{\rm MC}^{\rm joint} are given in Theorem 3.5.

Acknowledgements

The authors are grateful to an associate editor and two referees who give very insightful feedbacks that lead to the improvement of the paper.

Appendix A Additional Results

In this section, we consider a prior so that the logarithmic term in the convergence rate of Theorem 3.2 can be removed. The sampling process of the prior is specified as follows.

Conditioning on kk, sample nθj∼gj\sqrt{n}\theta_{j}\sim g_{j} for all j∈[k]j\in[k], and set θj=0\theta_{j}=0 for all j>kj>k.

Obviously, this prior is the same as the previous one when fj(x)=ngj(nx)f_{j}(x)=\sqrt{n}g_{j}(\sqrt{n}x). However, the n\sqrt{n}-scaling allows us to formulate conditions that help remove the logarithmic factor in Theorem 3.2. The same rescaling is also used in to achieve sharp minimax rates. The following two conditions will be used to replace (16) and (17).

There exist some constants C3,C4>0C_{3},C_{4}>0 such that for k0=⌈n12α+1⌉k_{0}=\lceil n^{\frac{1}{2\alpha+1}}\rceil,

The condition (60) is similar to (16), while (61) is stronger compared with (17). In general, one can choose gjg_{j} to be a density with a heavy tail. As an example, one can easily check that π(k)∝e−τk\pi(k)\propto e^{-\tau k} and gj(x)=1πσ(1+(x/σ)2)g_{j}(x)=\frac{1}{\pi\sigma\left(1+(x/\sigma)^{2}\right)} with constants τ,σ2>0\tau,\sigma^{2}>0 satisfy the two conditions. Conditions (C3) and (C4) can be derived from (60) and (61) (see Lemma B.9). This leads to the following result.

Consider the prior Π\Pi that satisfies (15), (60) and (61). Then, for any θ∗∈Θα(B)\theta^{*}\in\Theta_{\alpha}(B), we have

where Q^\widehat{Q} is the variational posterior defined by (3) with S=SMF\mathcal{S}=\mathcal{S}_{\rm MF}.

A.2 An Algorithm for (50)

In this section, we discuss how to optimize (50). We first consider the problem max⁡Qˉ(k)∈SˉMF(k)Fˉ(Qˉ(k),k)\max_{\bar{Q}^{(k)}\in\bar{\mathcal{S}}_{\rm MF}^{(k)}}\bar{F}(\bar{Q}^{(k)},k) for a fixed kk. To solve this problem, a traditional method is to apply the coordinate ascent variational inference (CAVI). In order to obtain closed-form updates, we restrict ourselves to conjugate priors. In particular, we choose the kernel to be ψσ(x)∝e−x2σ2\psi_{\sigma}(x)\propto e^{-\frac{x^{2}}{\sigma^{2}}}, and priors to be

where τ=σ−2\tau=\sigma^{-2}. By conjugacy, we can assume the variational posterior density for (μ,w,τ,z)(\mu,w,\tau,z) as q(μ,w,τ,z)=∏j=1kqμj(μj)qw(w)qτ(τ)∏i=1nqzi(zi)q(\mu,w,\tau,z)=\prod_{j=1}^{k}q_{\mu_{j}}(\mu_{j})q_{w}(w)q_{\tau}(\tau)\prod_{i=1}^{n}q_{z_{i}}(z_{i}) with

where ∑j=1kqij=1\sum_{j=1}^{k}q_{ij}=1. Then, we only need to iteratively update the parameters as below.

Update κ~j,σ~j2\widetilde{\kappa}_{j},\widetilde{\sigma}_{j}^{2} by

Update α~1,...,α~k\widetilde{\alpha}_{1},...,\widetilde{\alpha}_{k} by

The above iterations will approximately solve max⁡Qˉ(k)∈SˉMF(k)Fˉ(Qˉ(k),k)\max_{\bar{Q}^{(k)}\in\bar{\mathcal{S}}_{\rm MF}^{(k)}}\bar{F}(\bar{Q}^{(k)},k) for a fixed kk. The solution is parametrized by κ~j(k),(σ~j2)(k),α~j(k),a~(k),b~(k),qij(k)\widetilde{\kappa}_{j}^{(k)},(\widetilde{\sigma}_{j}^{2})^{(k)},\widetilde{\alpha}_{j}^{(k)},\widetilde{a}^{(k)},\widetilde{b}^{(k)},q_{ij}^{(k)}. To select the best kk, we then need to evaluate the objective function (50), which is equivalent to plugging the values of κ~j(k),(σ~j2)(k),α~j(k),a~(k),b~(k),qij(k)\widetilde{\kappa}_{j}^{(k)},(\widetilde{\sigma}_{j}^{2})^{(k)},\widetilde{\alpha}_{j}^{(k)},\widetilde{a}^{(k)},\widetilde{b}^{(k)},q_{ij}^{(k)} into the right hand side of (49). This leads to the objective function

which can be calculated with a closed form by conjugacy. Finally, we choose k^\widehat{k} that maximize (62).

Note for each fixed kk, computing (62) is straightforward and efficient by CAVI. The bottleneck of the algorithm is that one needs to evaluate (62) for every kk. However, in terms of achieving the same statistical convergence rate given by Theorem 4.3, this is not necessary. Even if the variational posterior selects the best kk from a much smaller set K={1,2,4,...,2⌈log⁡2n⌉}\mathcal{K}=\{1,2,4,...,2^{\lceil\log_{2}n\rceil}\} according to (50), the same rate in Theorem 4.3 can still be achieved with a slight modification of the proof. Therefore, one only needs to compute (62) for all k∈{1,2,4,...,2⌈log⁡2n⌉}k\in\{1,2,4,...,2^{\lceil\log_{2}n\rceil}\}.

A.3 Beyond the Kullback-Leibler Approximation

Modern variational approximation methods are not limited to the approximation by Kullback-Leibler divergence. For example, proposed a generalized variational inference method using Rényi divergence and derived a corresponding evidence lower bound. Though alternative divergences may be hard to optimize, they may give better approximations .

It is possible to generalize our results to variational approximation using other criterions. We first introduce a D∗D_{*}-variational posterior.

Let S\mathcal{S} be a family of distributions. The D∗D_{*}-variational posterior is defined as

Then we state a result that extends Theorem 2.1 to the D∗D_{*}-variational posterior distribution.

Suppose D∗D_{*} is a divergence such that D∗(P1∥P2)≥0D_{*}(P_{1}\|P_{2})\geq 0 for all probability measures P1P_{1} and P2P_{2}. Assume D∗(P1∥P2)≥D(P1∥P2)D_{*}(P_{1}\|P_{2})\geq D(P_{1}\|P_{2}) for any P1∈SP_{1}\in\mathcal{S} and any P2P_{2}, and the conditions (C1)-(C3) in Theorem 2.1 hold. Then for the D∗D_{*}-variational posterior Q^∗\widehat{Q}_{*} defined in (63), we have

for some constant M>0M>0, where the quantity γn2\gamma_{n}^{2} is defined as

Theorem A.2 is a generalization of Theorem 2.1 for a divergence D∗D_{*} that is not smaller than the Kullback-Leibler divergence. Examples of applications include all Rényi divergence with ρ≥1\rho\geq 1 and the χ2\chi^{2}-divergence. Divergence functions that are not necessarily larger than the Kullback-Leibler require new techniques to analyze, and will be considered as an interesting future project.

Appendix B Proofs

This section gives the proof of Theorem 2.1, which is divided into several lemmas. We first give an inequality that uses the basic property of the KL-divergence.

For any function f≥0f\geq 0 and two probability measure PP and QQ, we have

By the definition of KL-divergence, we have

where P~\widetilde{P} is a probability measure given by

Then, we can use the inequality in Lemma B.1 to derive a useful bound for P0(n)Q^L(Pθ(n),P0(n))P_{0}^{(n)}\widehat{Q}L(P_{\theta}^{(n)},P_{0}^{(n)}).

For the Q^\widehat{Q} defined in (3), we have

for all a>0a>0. By the definition of Q^\widehat{Q}, we have

for all Q∈SQ\in\mathcal{S}. Taking expectation on both sides, we have

The proof is complete by taking minimum over a>0a>0 and Q∈SQ\in\mathcal{S}. ∎

In order to bound P0(n)Π(exp⁡(aL(Pθ(n),P0(n)))∣X(n))P_{0}^{(n)}\Pi(\exp(aL(P_{\theta}^{(n)},P_{0}^{(n)}))|X^{(n)}), we need the following lemma on the posterior tail probability. Its proof is similar to the one used in .

Under the conditions of Theorem 2.1, we have

for all ϵ≥ϵn\epsilon\geq\epsilon_{n}, where λ=ρ−1\lambda=\rho-1 for ρ\rho in (C3).

where the probability measure Π~\widetilde{\Pi} is defined as Π~(B)=Π(B∩Kn)Π(Kn)\widetilde{\Pi}(B)=\frac{\Pi(B\cap K_{n})}{\Pi(K_{n})}. Let Θn(ϵ)\Theta_{n}(\epsilon) and ϕn\phi_{n} be the set and the testing function in (C1). Then, we bound P0(n)Π(Un∣X(n))P_{0}^{(n)}\Pi(U_{n}|X^{(n)}) by

We will give bounds for the three terms above respectively. By (C1),

Using the definitions of AnA_{n}, we have

Now we analyze the third term. On the event AncA_{n}^{c}, we have

where the last inequality is by (C3). Then, it follows that

where the last inequality is by (C1) and (C2). Since C>C3+C2+2C>C_{3}+C_{2}+2, we obtain the bound

Combining the bounds (65), (66) and (67), we have

Next, we derive a moment generating function bound for a sub-exponential random variable.

Suppose the random variable XX satisfies

for all t≥t0>0t\geq t_{0}>0. Then, for any 0<a≤12c20<a\leq\frac{1}{2}c_{2},

Set Y=exp⁡(aX)Y=\exp(aX) for some 0<a≤12c20<a\leq\frac{1}{2}c_{2}. Then, for any M0>0M_{0}>0.

Choose M0=exp⁡(at0)M_{0}=\exp(at_{0}), and then since a≤12c2a\leq\frac{1}{2}c_{2}, we have

for all t≥t0t\geq t_{0}. Here, c1=4c_{1}=4, c2=min⁡{λ,1}/C1c_{2}=\min\left\{\lambda,1\right\}/C_{1} as C>C1+C2+2>1C>C_{1}+C_{2}+2>1 and t0=C1nϵn2t_{0}=C_{1}n\epsilon_{n}^{2}. Then, by Lemma B.4, we have

for all a≤min⁡{λ,1}/(2C1)a\leq\min\left\{\lambda,1\right\}/(2C_{1}). Taking a=min⁡{λ,1}/(2C1)a=\min\left\{\lambda,1\right\}/(2C_{1}) and using Lemma B.2, we get

with some M>0M>0 that only depends on C,C1,λC,C_{1},\lambda. ∎

B.2 Proofs of Theorem 2.3, Theorem 2.4 and Theorem 4.1

For any Q∈S∩EQ\in\mathcal{S}\cap\mathcal{E}, we have supp(Q)⊂C{\rm supp}(Q)\subset\mathcal{C}, and thus QD(P0(n)∥Pθ(n))≤C2nϵn2QD(P_{0}^{(n)}\|P_{\theta}^{(n)})\leq C_{2}n\epsilon_{n}^{2}. By (C4*), we have D(Q∥Π)≤C1nϵn2D(Q\|\Pi)\leq C_{1}n\epsilon_{n}^{2}. Therefore, R(Q)≤(C1+C2)nϵn2R(Q)\leq(C_{1}+C_{2})n\epsilon_{n}^{2}, and the proof is complete. ∎

It is sufficient to find a Q∈SMFQ\in\mathcal{S}_{\rm MF} and bound

We choose QQ to be the product measure dQ(θ)=∏j=1mdQj(θj)dQ(\theta)=\prod_{j=1}^{m}dQ_{j}(\theta_{j}), with

Then, it is easy to see that Q∈SMCQ\in\mathcal{S}_{\rm MC} and supp(Q)⊂⊗j=1mΘ~j{\rm supp}(Q)\subset\otimes_{j=1}^{m}\widetilde{\Theta}_{j}. By (8), we have

Moreover, we can write D(Q∥Π)D(Q\|\Pi) as below

by (8). Hence, we obtain the desired bound. ∎

To show Theorem 4.1, we need a model selection version of Lemma B.2:

For Q^(k^)\widehat{Q}^{(\widehat{k})} defined as the solution of (34),

where Π\Pi is the prior distribution on Pk,θ(k)P_{k,\theta^{(k)}} induced by the sampling process of (k,θ(k))(k,\theta^{(k)}).

We use p0(n)p_{0}^{(n)}, pk,θ(k)(n)p_{k,\theta^{(k)}}^{(n)} to denote the densities of P0(n)P_{0}^{(n)}, Pk,θ(k)(n)P_{k,\theta^{(k)}}^{(n)}. A lower bound can be directly derived from the right hand side minus the left hand side. For any a>0a>0, any k∈Kk\in\mathcal{K}, and any Q(k)∈SMF(k)Q^{(k)}\in\mathcal{S}_{\rm MF}^{(k)}, we have

where PΠ(n)P_{\Pi}^{(n)} is the probability measure with the density pΠ(n)p_{\Pi}^{(n)} with

Now we analyze each term on the right hand side. By Jensen’s Inequality together with Lemma B.3 and Lemma B.4, we have

with some small constant a>0a>0. This is because the conditions (C1) and (C2) with respect to prior Π\Pi hold by assumption, and (C3) is implied by (C3*) with the argument

For the remaining terms, we choose k=k0k=k_{0} and dQ(k0)=dΠ(k0)1Θ(k0)Π(k0)(Θ(k0))dQ^{(k_{0})}=\frac{d\Pi^{(k_{0})}\mathbf{1}_{\Theta^{(k_{0})}}}{\Pi^{(k_{0})}(\Theta^{(k_{0})})}. According to prior structure, Q(k0)∈SMF(k0)Q^{(k_{0})}\in\mathcal{S}_{\rm MF}^{(k_{0})}, and

B.3 Proofs of Theorem 3.1, Proposition 3.1, Theorem 3.2 and Theorem A.1

To show Proposition 3.1, the following lemma is needed.

For the prior distribution Π\Pi defined in (12), we assume that max⁡j∥fj∥∞≤a\max_{j}\|f_{j}\|_{\infty}\leq a and π(k)\pi(k) is nonincreasing over kk. Then, we have

By the condition ∥fj∥∞≤a\|f_{j}\|_{\infty}\leq a, we have Wj≤a2πn≤1W_{j}\leq a\sqrt{\frac{2\pi}{n}}\leq 1. Define the objective function

To give a bound for k~\widetilde{k}, we first study the difference L(k1)−L(k2)L(k_{1})-L(k_{2}) for any k1<k2k_{1}<k_{2}. We use the inequalities

where Zj∼N(0,1)Z_{j}\sim N(0,1). Now we bound Pθ∗(n)k~P_{\theta^{*}}^{(n)}\widetilde{k} by

where k0=⌈(nlog⁡n)12α+1⌉k_{0}=\lceil\left(\frac{n}{\log n}\right)^{\frac{1}{2\alpha+1}}\rceil, and CC is some large constant. For each l>Ck0l>Ck_{0},

where the last inequality is by the fact that C1(nlog⁡n)2α2α+1C_{1}\left(\frac{n}{\log n}\right)^{\frac{2\alpha}{2\alpha+1}} is of a smaller order than (l−k0−1)log⁡n(l-k_{0}-1)\log n. Finally, a standard chi-squared tail bound gives

Using (68) and summing over ll, we get Pθ∗(n)k~≲k0P_{\theta^{*}}^{(n)}\widetilde{k}\lesssim k_{0}, and the proof is complete. ∎

According to Theorem 3.1, the variational posterior Q^\widehat{Q} is a product measure, and for any coordinate after a k~\widetilde{k}, the component is δ0\delta_{0}. By Theorem B.6, we know that Pθ∗(n)k~≤C(nlog⁡n)12α+1P_{\theta^{*}}^{(n)}\widetilde{k}\leq C\left(\frac{n}{\log n}\right)^{\frac{1}{2\alpha+1}}. Use the notation kˉ=C(nlog⁡n)12α+1\bar{k}=C\left(\frac{n}{\log n}\right)^{\frac{1}{2\alpha+1}}. Then, we have Pθ∗(n)(k~>2kˉ)≤1/2P_{\theta^{*}}^{(n)}\left(\widetilde{k}>2\bar{k}\right)\leq 1/2 by Markov inequality. Consider a θ∗\theta^{*} with every entry zero except that θ⌈2kˉ⌉∗=B⌈2kˉ⌉−α\theta_{\lceil 2\bar{k}\rceil}^{*}=B\lceil 2\bar{k}\rceil^{-\alpha}. It is easy to check that θ∗∈Θα(B)\theta^{*}\in\Theta_{\alpha}(B). For this θ∗\theta^{*}, we have

The proofs of Theorem 3.2 and Theorem A.1 will be split into the following three lemmas. Recall that we use the loss L(Pθ(n),Pθ∗(n))=n∥θ−θ∗∥2L(P_{\theta}^{(n)},P_{\theta^{*}}^{(n)})=n\|\theta-\theta^{*}\|^{2} for this model.

For the prior Π\Pi that satisfies (15), the conditions (C1) and (C2) hold for all ϵ≥n−1/2\epsilon\geq n^{-1/2}.

Given any ϵ≥n−1/2\epsilon\geq n^{-1/2} and any C>0C>0, we define

This proves (C2). To show (C1), we consider the following testing problem,

Define N(δ,S,d)N(\delta,S,d) as the δ\delta-covering number of a set SS under a metric dd. Then, according to Lemma 5 in and Theorem 7.1 in , it is sufficient to establish the bound

This is obviously true given a standard volume ratio calculation in a Euclidean space of dimension ⌈Cnϵ2/C2⌉\lceil Cn\epsilon^{2}/C_{2}\rceil. Then, by Theorem 7.1 in , there exists a testing procedure ϕn\phi_{n} such that (C1) holds. Note that the testing error can be arbitrarily small given a sufficiently large C~>0\widetilde{C}>0. ∎

Assume θ∗∈Θα(B)\theta^{*}\in\Theta_{\alpha}(B). For the prior Π\Pi that satisfies (16) and (17), the conditions (C3) and (C4) hold for ϵn=n−α2α+1(log⁡n)α2α+1\epsilon_{n}=n^{-\frac{\alpha}{2\alpha+1}}(\log n)^{\frac{\alpha}{2\alpha+1}}.

We first show (C4). We will apply Theorem 2.4 by constructing a Q~∈SMF\widetilde{Q}\in\mathcal{S}_{\rm MF} and ⊗jΘ~j\otimes_{j}\widetilde{\Theta}_{j} that satisfy the conditions (8) and (9). Define Θ~j=[θj∗−n−1/2,θj∗+n−1/2]\widetilde{\Theta}_{j}=[\theta_{j}^{*}-n^{-1/2},\theta_{j}^{*}+n^{-1/2}] for all j≤k0j\leq k_{0} and Θ~j={0}\widetilde{\Theta}_{j}=\{0\} for all j>k0j>k_{0}, where k0=⌈(nlog⁡n)12α+1⌉k_{0}=\left\lceil\left(\frac{n}{\log n}\right)^{\frac{1}{2\alpha+1}}\right\rceil is the same as defined in 16. We also define the measure Q~\widetilde{Q} by

It is easy to see that Q~∈SMF\widetilde{Q}\in\mathcal{S}_{\rm MF}. For any θ∈⊗jΘ~j\theta\in\otimes_{j}\widetilde{\Theta}_{j}, we have

Therefore, the condition (8) holds. To check the condition (9), we use the bound

where we have used Jensen’s inequality above. We are going to bound each of the integral above using (17). For any j≤k0j\leq k_{0}, we have

which implies that (9) holds. The condition (C4) is thus proved by applying Theorem 2.4.

Finally, we derive the condition (C3). In view of (69), there is a constant C>0C>0, such that

The last inequality above is by (70) and (71). Hence, the proof is complete. ∎

Assume θ∗∈Θα(B)\theta^{*}\in\Theta_{\alpha}(B). For the prior Π\Pi that satisfies (60) and (61), the conditions (C3) and (C4) hold for ϵn=n2α2α+1\epsilon_{n}=n^{\frac{2\alpha}{2\alpha+1}}.

The proof is essentially the same as that of Lemma B.8. We define Q~∈SMF\widetilde{Q}\in\mathcal{S}_{\rm MF} and ⊗jΘ~j\otimes_{j}\widetilde{\Theta}_{j} in the same way except that k0=⌈n12α+1⌉k_{0}=\lceil n^{\frac{1}{2\alpha+1}}\rceil. Then, by the same calculation, we have for any θ∈⊗jΘ~j\theta\in\otimes_{j}\widetilde{\Theta}_{j},

Therefore, the condition (8) holds. For any j≤k0j\leq k_{0},

Set t=2αβ2−βt=\frac{2\alpha\beta}{2-\beta}. As 0<β<22α+10<\beta<\frac{2}{2\alpha+1}, we have t∈(0,1)t\in(0,1). Then

This leads to the desired bound −∑j=1k0log⁡Q~j(Θ~j)≲nϵn2-\sum_{j=1}^{k_{0}}\log\widetilde{Q}_{j}(\widetilde{\Theta}_{j})\lesssim n\epsilon_{n}^{2} in (9). The condition (C4) is thus proved by applying Theorem 2.4.

The condition (C3) can be derived in the same way as in the proof of Lemma B.8. ∎

The results are directly implied by Lemma B.7, Lemma B.8 and Lemma B.9. ∎

B.4 Proof of Theorem 3.3

For Theorem 3.3, the loss function is L(Pθn,Pθ∗n)=nH2(Pθ,Pθ∗)L(P_{\theta}^{n},P_{\theta^{*}}^{n})=nH^{2}(P_{\theta},P_{\theta^{*}}). We split the proof of Theorem 3.3 into following two lemmas.

Assume θ∗∈Θα(B)\theta^{*}\in\Theta_{\alpha}(B) for α>1/2\alpha>1/2. For the prior Π\Pi that satisfies (20) and (22), the conditions (C1) and (C2) hold for all ϵ≥(log⁡nn)α2α+1\epsilon\geq\left(\frac{\log n}{n}\right)^{\frac{\alpha}{2\alpha+1}}.

Assume θ∗∈Θα(B)\theta^{*}\in\Theta_{\alpha}(B) for α>1/2\alpha>1/2. For the prior Π\Pi that satisfies (21) and (23), the conditions (C3) and (C4) hold for ϵn2=(log⁡nn)2α2α+1\epsilon_{n}^{2}=\left(\frac{\log n}{n}\right)^{\frac{2\alpha}{2\alpha+1}}.

Before proving these two lemmas, we need the following two results that establish relations between different divergence functions for the exponential family model.

If ∥θ−θ′∥1≤12\|\theta-\theta^{\prime}\|_{1}\leq\frac{1}{\sqrt{2}}, then

We first give some uniform bounds that are well known for exponential family density functions (see ). For any θ,θ′\theta,\theta^{\prime}, we have

We start from the left hand side of the inequality:

where we have applied the property that ex−1x\frac{e^{x}-1}{x} is monotonically increasing for all xx. Then it follows that H(Pθ,Pθ′)≤22∥θ−θ′∥1H(P_{\theta},P_{\theta^{\prime}})\leq 2\sqrt{2}\|\theta-\theta^{\prime}\|_{1}. ∎

For any θ\theta and any θ∗∈Θα(B)\theta^{*}\in\Theta_{\alpha}(B) with α>1/2\alpha>1/2, we have

where the constant C0>0C_{0}>0 only depends on α\alpha and BB.

where γα=∑j=1∞j−2α=O(1)\gamma_{\alpha}=\sum_{j=1}^{\infty}j^{-2\alpha}=O(1) for α>1/2\alpha>1/2. This gives

Now we proceed to show Lemma B.13. Given the result of Proposition 2.1, it is sufficient to prove the first and the last inequalities. Define

Following the argument in the proof of Lemma 3.2 in , we have

for C0=2exp⁡(22γα1/2B)C_{0}=2\exp(2\sqrt{2}\gamma_{\alpha}^{1/2}B), which implies the first inequality.

where we have used the inequality that ex−1x≤ex\frac{e^{x}-1}{x}\leq e^{x} for all x>0x>0 and the last inequality is by (72). By the same argument in the proof of Lemma 3.2 in , we have

which implies the desired result by (73). ∎

Now we are ready to prove Lemma B.10 and Lemma B.11.

Given any ϵ≥(log⁡nn)2α2α+1\epsilon\geq\left(\frac{\log n}{n}\right)^{\frac{2\alpha}{2\alpha+1}}, we define the set

where wn=(C~nϵ2)1/βw_{n}=(\widetilde{C}n\epsilon^{2})^{1/\beta} and kn=⌈C~nϵ2log⁡(nϵ2)⌉k_{n}=\left\lceil\frac{\widetilde{C}n\epsilon^{2}}{\log(n\epsilon^{2})}\right\rceil. We bound Π(Θn(ϵ)c)\Pi(\Theta_{n}(\epsilon)^{c}) by

where we have used the conditions (20) and (22). Therefore, for any C>0C>0, we can choose a sufficiently large C~\widetilde{C}, such that Π(Θn(ϵ)c)≲exp⁡(−Cnϵ2)\Pi(\Theta_{n}(\epsilon)^{c})\lesssim\exp(-Cn\epsilon^{2}), which proves (C2).

To prove (C1), we consider the following testing problem,

By Theorem 7.1 in , it is sufficient to establish the bound

Note that for any θ,θ′∈Θn(ϵ)\theta,\theta^{\prime}\in\Theta_{n}(\epsilon), we have ∥θ−θ′∥1≤kn∥θ−θ′∥\|\theta-\theta^{\prime}\|_{1}\leq\sqrt{k_{n}}\|\theta-\theta^{\prime}\|. Therefore, by Lemma B.12,

when ∥θ−θ′∥1≤12\|\theta-\theta^{\prime}\|_{1}\leq\frac{1}{\sqrt{2}}. This means as long as ∥θ−θ′∥≤kn−1/2(ϵ∧2−1/2)\|\theta-\theta^{\prime}\|\leq k_{n}^{-1/2}(\epsilon\wedge 2^{-1/2}), we have H(Pθ,Pθ′)≲ϵH(P_{\theta},P_{\theta^{\prime}})\lesssim\epsilon. Thus, there exists a constant c′c^{\prime}, such that

where we have used the condition ϵ≥(log⁡nn)α2α+1\epsilon\geq\left(\frac{\log n}{n}\right)^{\frac{\alpha}{2\alpha+1}} in the last two steps above.

It implies the existence of a testing function that satisfies (C1). The testing error can be made arbitrarily small by choosing a sufficiently large C′C^{\prime}. Hence, the proof is complete. ∎

In the first part of the proof, we derive (C3). We take k0=⌈(n/log⁡n)12α+1⌉k_{0}=\lceil\left(n/\log n\right)^{\frac{1}{2\alpha+1}}\rceil. Define Θ~=⊗jΘ~j\widetilde{\Theta}=\otimes_{j}\widetilde{\Theta}_{j}, where Θ~j=[θj∗−n−1/2,θj∗+n−1/2]\widetilde{\Theta}_{j}=[\theta_{j}^{*}-n^{-1/2},\theta_{j}^{*}+n^{-1/2}] for all j≤k0j\leq k_{0} and Θ~j={0}\widetilde{\Theta}_{j}=\{0\} for all j>k0j>k_{0}. Then, by Lemma B.12, for all θ∈Θ~\theta\in\widetilde{\Theta},

where we have use the condition α>1/2\alpha>1/2.

Therefore, it is sufficient to lower bound Π(Θ~)\Pi(\widetilde{\Theta}), which has been done in the proof of Lemma B.8.

Now we will derive (C4). Rather than using the results of Theorem 2.3 or Theorem 2.4, we will construct a Q∈SGQ\in\mathcal{S}_{\rm G} and bound R(Q)R(Q) directly. Note that in the current setting, we have

For k0=⌈(n/log⁡n)12α+1⌉k_{0}=\lceil\left(n/\log n\right)^{\frac{1}{2\alpha+1}}\rceil, define Q=⊗jQjQ=\otimes_{j}Q_{j}, where Qj=N(θj∗,n−1)Q_{j}=N(\theta_{j}^{*},n^{-1}) for j≤k0j\leq k_{0} and Qj=N(0,0)Q_{j}=N(0,0) for j>k0j>k_{0}. Then, it is easy to see that Q∈SGQ\in\mathcal{S}_{\rm G}.

We first give a bound for D(Q∥Π)D(Q\|\Pi). Let FjF_{j} denote the probability distribution with density function fjf_{j}. Then, we have

where the first term on the right hand side above can be bounded as

according to the condition (21). For any j≤k0j\leq k_{0}, we use ψj\psi_{j} to denote the density function of N(θj∗,n−1)N(\theta_{j}^{*},n^{-1}). Then, by (23), we have

Since θ∗∈Θα(B)\theta^{*}\in\Theta_{\alpha}(B), we have

Therefore, we have obtained D(Q∥Π)≲nϵn2D(Q\|\Pi)\lesssim n\epsilon_{n}^{2}.

We then derive a bound for QD(Pθ∗∥Pθ)QD(P_{\theta^{*}}\|P_{\theta}). For j≤k0j\leq k_{0}, we write θj=θj∗+1nZj\theta_{j}=\theta_{j}^{*}+\frac{1}{\sqrt{n}}Z_{j} where Zj∼N(0,1)Z_{j}\sim N(0,1). Then according to Lemma B.13, it follows that

where the last inequality is by (73). Suppose we can show

Then, up to a constant, (75) can be bounded by

which further implies QD(Pθ∗∥Pθ)≲ϵn2QD(P_{\theta^{*}}\|P_{\theta})\lesssim\epsilon_{n}^{2}.

To complete the proof, we show (76). We have

Since α>1/2\alpha>1/2, we have k0/n=O(1)k_{0}/\sqrt{n}=O(1), and thus (76) holds. For (77), we have

The result is immediately implied by Lemma B.10 and Lemma B.11 in view of Theorem 2.2. ∎

B.5 Proofs of Theorem 3.4, Theorem 3.5 and Theorem 3.6

Recall that Θk\Theta_{k} is the space of piecewise constant vectors with at most kk pieces. Then, we have the partition

First of all, we consider S=SMF\mathcal{S}=\mathcal{S}_{\rm MF}. Suppose the measure Q∈SMFQ\in\mathcal{S}_{\rm MF} and D(Q∥Π)<∞D(Q\|\Pi)<\infty, then the support of QQ must be a subset of the support of Π\Pi. Note that the distributions gig_{i}’s are all absolutely continuous. That is, for any singleton xx, Π(θj=x)=0\Pi(\theta_{j}=x)=0, which indicates that Q(θj=x)=0Q(\theta_{j}=x)=0 for any singleton xx. Thus, QQ is continuous in each coordinate and for any j∈[n−1]j\in[n-1], Q(θj=θj+1)=∫Q(θj=θj+1=x)dx=∫Q(θj=x)Q(θj+1=x)dx=0Q(\theta_{j}=\theta_{j+1})=\int Q(\theta_{j}=\theta_{j+1}=x)dx=\int Q(\theta_{j}=x)Q(\theta_{j+1}=x)dx=0. Therefore,

because otherwise the independent structure of QQ would imply a delta measure for some coordinate, which leads to D(Q∥Π)=∞D(Q\|\Pi)=\infty. This implies that QQ is supported on Θn\Θn−1\Theta_{n}\backslash\Theta_{n-1}. Therefore,

where qi(θi)=dQi(θi)dθiq_{i}(\theta_{i})=\frac{dQ_{i}(\theta_{i})}{d\theta_{i}}. Then, by the definition of SMF\mathcal{S}_{{\rm MF}} and the independent structure of Pθ(n)P_{\theta}^{(n)}, we have

In other words, the mean-field variational posterior Q^MF\widehat{Q}_{{\rm MF}} is a product measure, and on each coordinate, it equals the posterior distribution induced by the prior gig_{i}. Now we give a lower bound for Pθ∗(n)Q^MF∥θ−θ∗∥2P_{\theta^{*}}^{(n)}\widehat{Q}_{{\rm MF}}\|\theta-\theta^{*}\|^{2}. Since ∥θ−θ∗∥2=∑i=1n(θi−θi∗)2\|\theta-\theta^{*}\|^{2}=\sum_{i=1}^{n}(\theta_{i}-\theta_{i}^{*})^{2}, we have

Next, we consider S=SMFjoint\mathcal{S}=\mathcal{S}_{\rm MF}^{\rm joint}. As Q^MFjoint∈SMFjoint\widehat{Q}_{\rm MF}^{\rm joint}\in\mathcal{S}_{\rm MF}^{\rm joint}, we can assume

For the same reason, ∏i=1ndQ^(θ)(θi)\prod_{i=1}^{n}d\widehat{Q}^{(\theta)}(\theta_{i}) is supported on Θn\Θn−1\Theta_{n}\backslash\Theta_{n-1}. The joint distribution of prior is written as

Thus, conditioning on θ∈Θn\Θn−1\theta\in\Theta_{n}\backslash\Theta_{n-1}, zi=1z_{i}=1 for all 2≤i≤n2\leq i\leq n. In other words, Q^i(z)(zi=1)=1\widehat{Q}_{i}^{(z)}(z_{i}=1)=1 for all 2≤i≤n2\leq i\leq n. Plug it in the definition of Q^MFjoint\widehat{Q}_{\rm MF}^{\rm joint}, we have

This gives dQ^(w)(w)dw∝π(w)wn−1\frac{d\widehat{Q}^{(w)}(w)}{dw}\propto\pi(w)w^{n-1} and Q^(θ)(θ)=Q^MF(θ)\widehat{Q}^{(\theta)}(\theta)=\widehat{Q}_{\rm MF}(\theta). It implies that

This theorem is a special case of Theorem 5.8, whose proof is given in Section B.10. ∎

If D(Q(w,z,θ)∥Π(w,z,θ∣Y))<∞D\left(Q(w,z,\theta)\|\Pi(w,z,\theta|Y)\right)<\infty, we will have supp(Q)⊆supp(Π(⋅∣Y))⊆supp(Π){\rm supp}(Q)\subseteq{\rm supp}(\Pi(\cdot|Y))\subseteq{\rm supp}(\Pi). For Q∈SMFjointQ\in\mathcal{S}_{\rm MF}^{\rm joint}, as Π(zi=0,θi≠θi−1)=Π(zi=1,θi=θi−1)=0\Pi(z_{i}=0,\theta_{i}\neq\theta_{i-1})=\Pi(z_{i}=1,\theta_{i}=\theta_{i-1})=0, we can conclude that Qi(z)(zi=0)Qi(θ)(θi≠θi−1∣θi−1)=0Q_{i}^{(z)}(z_{i}=0)Q_{i}^{(\theta)}(\theta_{i}\neq\theta_{i-1}|\theta_{i-1})=0 and Qi(z)(zi=1)Qi(θ)(θi=θi−1∣θi−1)=0Q_{i}^{(z)}(z_{i}=1)Q_{i}^{(\theta)}(\theta_{i}=\theta_{i-1}|\theta_{i-1})=0. In other words, the conclusion leads to Qi(z)(zi=1)=0Q_{i}^{(z)}(z_{i}=1)=0, Qi(θ)(θi≠θi−1∣θi−1)=0Q_{i}^{(\theta)}(\theta_{i}\neq\theta_{i-1}|\theta_{i-1})=0 or Qi(z)(zi=1)=1Q_{i}^{(z)}(z_{i}=1)=1, Qi(θ)(θi=θi−1∣θi−1)=0Q_{i}^{(\theta)}(\theta_{i}=\theta_{i-1}|\theta_{i-1})=0.

Thus, we can define a set S⊆{2,3,⋯ ,n}S\subseteq\{2,3,\cdots,n\}, such that for i∉Si\not\in S, Qi(z)(zi=1)=0Q_{i}^{(z)}(z_{i}=1)=0 and dQi(θ)(θi∣θi−1)=δθi−1(θi)dθidQ_{i}^{(\theta)}(\theta_{i}|\theta_{i-1})=\delta_{\theta_{i-1}}(\theta_{i})d\theta_{i}, whereas for i∈Si\in S, Qi(z)(zi=1)=1Q_{i}^{(z)}(z_{i}=1)=1 and dQi(θ)(θi∣θi−1)=qi(θ)(θi∣θi−1)dθidQ_{i}^{(\theta)}(\theta_{i}|\theta_{i-1})=q_{i}^{(\theta)}(\theta_{i}|\theta_{i-1})d\theta_{i}, a continuous density function. Then we can write

Plug it into D(Q(w,z,θ)∥Π(w,z,θ∣Y))D(Q(w,z,\theta)\|\Pi(w,z,\theta|Y)), and we get

For a given set S={a1+1,a2+1,⋯ ,ak−1+1}S=\{a_{1}+1,a_{2}+1,\cdots,a_{k-1}+1\} with 0=a0<a1<⋯<ak−1<ak=n0=a_{0}<a_{1}<\cdots<a_{k-1}<a_{k}=n, we first solve the minimization over q(w)q^{(w)} and q(θ)q^{(\theta)}. The solutions without constraint that Q(θ)∈SMCQ^{(\theta)}\in\mathcal{S}_{\rm MC} are given by

As Q^(θ)\widehat{Q}^{(\theta)} obtained above is still in the variational set SMC\mathcal{S}_{\rm MC}, this is a valid solution to (B.5) for a specific set SS, which implies that

Now the only thing is to show that k^\widehat{k} and a^1,⋯ ,a^k−1\widehat{a}_{1},\cdots,\widehat{a}_{k-1} are the solution of (3.3). Plug Q^(w)\widehat{Q}^{(w)} and Q^(θ)\widehat{Q}^{(\theta)} into (B.5), and then

Plug (79) and (B.5) into (B.5), and the optimization problem becomes (3.3). The proof is complete. ∎

B.6 Proofs of Theorem 4.2 and 4.3

To prove Theorem 4.2, we first establish an upper bound of Pf~0nQ^H2(Pk^,θ(k^),Pf~0)P_{\widetilde{f}_{0}}^{n}\widehat{Q}H^{2}(P_{\widehat{k},\theta^{(\widehat{k})}},P_{\widetilde{f}_{0}}) by applying Theorem 4.1 for a f~0\widetilde{f}_{0} that is constructed to be close to f0f_{0}. Then, with a change-of-measure argument, we derive a bound for Pf0nQ^H2(Pk^,θ(k^),Pf0)P_{f_{0}}^{n}\widehat{Q}H^{2}(P_{\widehat{k},\theta^{(\widehat{k})}},P_{f_{0}}). The construction of the surrogate density function f~0\widetilde{f}_{0} is given by the following lemma.

Suppose that the true density f0f_{0} satisfies conditions (B1)-(B3). For a constant H1>2αH_{1}>2\alpha, we define f~0(x)=f0(x)1Eσ0(x)∫Eσ0f0(x)dx\widetilde{f}_{0}(x)=\frac{f_{0}(x)\mathbf{1}_{E_{\sigma_{0}}}(x)}{\int_{E_{\sigma_{0}}}f_{0}(x)dx} with Eσ0={x:f0(x)≥σ0H1}E_{\sigma_{0}}=\{x:f_{0}(x)\geq\sigma_{0}^{H_{1}}\}. For a constant ξ4≤min⁡{ξ3,p}\xi_{4}\leq\min\{\xi_{3},p\} and a sufficiently small σ0>0\sigma_{0}>0, there exists a finite mixture p(x∣kσ0,θσ0)p(x|k_{\sigma_{0}},\theta_{\sigma_{0}}) with kσ0=O(σ0−1∣log⁡σ0∣p/ξ4)k_{\sigma_{0}}=O(\sigma_{0}^{-1}|\log\sigma_{0}|^{p/\xi_{4}}) and θσ0=(μσ0,wσ0,σ0)\theta_{\sigma_{0}}=(\mu_{\sigma_{0}},w_{\sigma_{0}},\sigma_{0}), such that

Moreover, (81) holds for all mixtures p(x∣kσ0,(μ,w,σ))p(x|k_{\sigma_{0}},(\mu,w,\sigma)) such that σ∈[σ0,σ0+σ0H1+2α+2]\sigma\in[\sigma_{0},\sigma_{0}+\sigma_{0}^{H_{1}+2\alpha+2}], ∥μ−μσ0∥1≤σ0H1+2α+2\|\mu-\mu_{\sigma_{0}}\|_{1}\leq\sigma_{0}^{H_{1}+2\alpha+2} and w∈Δkσ0(wσ0,σ0H1+2α+1)w\in\Delta_{k_{\sigma_{0}}}(w_{\sigma_{0}},\sigma_{0}^{H_{1}+2\alpha+1}).

With the definition of f~0\widetilde{f}_{0} and its property given by Lemma B.14, we can bound Pf~0nQ^H2(Pk^,θ(k^),Pf~0)P_{\widetilde{f}_{0}}^{n}\widehat{Q}H^{2}(P_{\widehat{k},\theta^{(\widehat{k})}},P_{\widetilde{f}_{0}}) by checking the conditions (C1), (C2) and (C3*) in Theorem 4.1. This argument is split into the next two lemmas.

For the prior Π\Pi that satisfies conditions (40), (42) and (45), the conditions (C1) and (C2) hold for L(P(n),P0(n))=nH2(P,P0)L(P^{(n)},P_{0}^{(n)})=nH^{2}\left(P,P_{0}\right) and all ϵ>nδ\epsilon>n^{\delta} with some constant δ>−1/2\delta>-1/2 with respect to P0(n)=Pf~0nP_{0}^{(n)}=P_{\widetilde{f}_{0}}^{n} for any σ0→0\sigma_{0}\rightarrow 0 and P(n)=Pk,θ(k)nP^{(n)}=P_{k,\theta^{(k)}}^{n}.

Suppose that the true density f0f_{0} satisfies conditions (B1)-(B3), and the prior Π\Pi satisfies conditions (41), (43), (44) and (46). Then the condition (C3*) holds for Theorem 4.2 with respect to P0(n)=Pf~0nP_{0}^{(n)}=P_{\widetilde{f}_{0}}^{n}. Here, the density f~0\widetilde{f}_{0} is defined in Lemma B.14 with σ0\sigma_{0} chosen as n−12α+1(log⁡n)r2α+1n^{-\frac{1}{2\alpha+1}}(\log n)^{\frac{r}{2\alpha+1}} and the rate is ϵn=n−α2α+1(log⁡n)αr2α+1\epsilon_{n}=n^{-\frac{\alpha}{2\alpha+1}}(\log n)^{\frac{\alpha r}{2\alpha+1}} with rr given in Theorem 4.2.

We first prove Lemma B.14, and then prove Lemma B.15 and Lemma B.16. To facilitate the proof of Lemma B.14, we introduce the following lemma, which is analogous to Theorem 1 in in .

Let f0f_{0} be a density satisfying conditions (B1)-(B3), and let Kσ0K_{\sigma_{0}} denote the convolution operator induced by the kernel ψσ0\psi_{\sigma_{0}}. Then there exists a density hαh_{\alpha} such that for a small enough σ0>0\sigma_{0}>0,

We set Gσ0={x:f0(x)≥σ0H0}G_{\sigma_{0}}=\{x:f_{0}(x)\geq\sigma_{0}^{H_{0}}\} and

This is the same definition that appears in Lemma 1 of . Note that ∫f0(x)2Kσ0hα(x)dx−1≥0\int\frac{f_{0}(x)^{2}}{K_{\sigma_{0}}h_{\alpha}(x)}dx-1\geq 0, and we only need to derive an upper bound for this integral. We first have the following decomposition

The first and third terms can be bounded by O(σ02α)O(\sigma_{0}^{2\alpha}) according to the same argument in the proof of Theorem 1 in when H0H_{0} is chosen to be large enough. For the second term, according to Remark 1 in , we have f0(x)Kσ0hα(x)≤M0\frac{f_{0}(x)}{K_{\sigma_{0}}h_{\alpha}(x)}\leq M_{0} with some constant M0>0M_{0}>0 for all xx. Then Lemma 2 in implies

The last term can be upper bounded by 11. Summing up all the terms, we obtain the desired conclusion. ∎

for x∈[−aσ0,aσ0]x\in[-a_{\sigma_{0}},a_{\sigma_{0}}], where pkσ0,θσ0p_{k_{\sigma_{0}},\theta_{\sigma_{0}}} is the density of Pkσ0,θσ0P_{k_{\sigma_{0}},\theta_{\sigma_{0}}}. We will show that this mixture density satisfies (81). We write

The four ratios will be bounded separately.

According to (B2), we know that ∫f0(x)bdx=O(1)\int f_{0}(x)^{b}dx=O(1), for any constant b>0b>0. Since H1>2αH_{1}>2\alpha,

for a constant C1>0C_{1}>0 and all x∈Eσ0x\in E_{\sigma_{0}}.

Since f0(x)Kσ0hα(x)≤M0\frac{f_{0}(x)}{K_{\sigma_{0}}h_{\alpha}(x)}\leq M_{0} for a constant M0M_{0} uniformly over xx,

Combining with Lemma B.17, we conclude that

By the same argument in the proof of Lemma 4 in , we get

for a constant C3>0C_{3}>0 and all x∈Eσ0x\in E_{\sigma_{0}}.

where we have used the condition ξ4≤p\xi_{4}\leq p. Then we have

for all x∈Eσ0x\in E_{\sigma_{0}} with some constant C4>0C_{4}>0.

Combining the bounds of all terms above, we get

which indicates that (81) holds. When σ∈[σ0,σ0H1+2α+2]\sigma\in[\sigma_{0},\sigma_{0}^{H_{1}+2\alpha+2}], ∥μ−μσ0∥1≤σ0H1+2α+2\|\mu-\mu_{\sigma_{0}}\|_{1}\leq\sigma_{0}^{H_{1}+2\alpha+2} and w∈Δkσ0(wσ0,σ0H1+2α+1)w\in\Delta_{k_{\sigma_{0}}}(w_{\sigma_{0}},\sigma_{0}^{H_{1}+2\alpha+1}), according to Lemma 3 in , we have

Then the four points listed above also hold, which means that (81) is also satisfied for these (kσ0,(μ,w,σ))(k_{\sigma_{0}},(\mu,w,\sigma)). The proof is complete. ∎

with kn=⌈nϵ2log⁡(nϵ2)⌉k_{n}=\left\lceil\frac{n\epsilon^{2}}{\log(n\epsilon^{2})}\right\rceil, bn=(nϵ2)1c3b_{n}=(n\epsilon^{2})^{\frac{1}{c_{3}}}, mσ=(nϵ2)−12b3m_{\sigma}=(n\epsilon^{2})^{-\frac{1}{2b_{3}}} and Mσ=exp⁡(12nϵ2)M_{\sigma}=\exp\left(\frac{1}{2}n\epsilon^{2}\right). It’s easy to see that

where Θ~(k)(ϵ)={Pk,θ(k):θ(k)=(μ,w,σ),max⁡j∣μj∣>Bn or σ∉(mσ,Mσ]}\widetilde{\Theta}^{(k)}(\epsilon)=\left\{P_{k,\theta^{(k)}}:\theta^{(k)}=(\mu,w,\sigma),\max_{j}|\mu_{j}|>B_{n}\text{ or }\sigma\not\in(m_{\sigma},M_{\sigma}]\right\}. Thus

Now we derive an upper bound for each term.

According to the conditions (40) and (42),

Summing up the three bounds above, we have Π(Θn(ϵ)c)≲exp⁡(−C0nϵ2)\Pi(\Theta_{n}(\epsilon)^{c})\lesssim\exp(-C_{0}n\epsilon^{2}) for some constant C0>0C_{0}>0. In order that the constant C0C_{0} can be arbitrarily large, one can replace ϵ\epsilon by C~ϵ\widetilde{C}\epsilon for a sufficiently large C~\widetilde{C} and use the same argument above. We therefore obtain (C2).

Now we start to show (C1). By Theorem 7.1 in , it is sufficient to bound the metric entropy

Since H2(P1,P2)≤TV(P1,P2)H^{2}(P_{1},P_{2})\leq{\sf TV}(P_{1},P_{2}), we have N(ϵ,Θn(ϵ),H)≤N(ϵ2,Θn(ϵ),TV)N(\epsilon,\Theta_{n}(\epsilon),H)\leq N(\epsilon^{2},\Theta_{n}(\epsilon),{\sf TV}). According to (82),

and thus it is sufficient to bound N(ϵ2,Θ(k)(ϵ),TV)N(\epsilon^{2},\Theta^{(k)}(\epsilon),{\sf TV}) for each k∈[kn]k\in[k_{n}].

We use ψ\psi to denote ψσ\psi_{\sigma} with σ=1\sigma=1 in short. According to Lemma 3 in , for any Pk,θP_{k,\theta} with θ=(μ,w,σ)\theta=(\mu,w,\sigma) and Pk,θ~P_{k,\widetilde{\theta}} with θ~=(μ~,w~,σ~)\widetilde{\theta}=(\widetilde{\mu},\widetilde{w},\widetilde{\sigma}) such that Pk,θ,Pk,θ~∈Θ(k)(ϵ)P_{k,\theta},P_{k,\widetilde{\theta}}\in\Theta^{(k)}(\epsilon), we have

Based on the fact that N(ϵ,A×B,d1+d2)≤N(tϵ,A,d1)×N((1−t)ϵ,B,d2)N(\epsilon,A\times B,d_{1}+d_{2})\leq N(t\epsilon,A,d_{1})\times N((1-t)\epsilon,B,d_{2}), we have

for some constants C1,C2,C3>0C_{1},C_{2},C_{3}>0. Note that we have used the condition ϵ>nδ\epsilon>n^{\delta} for some constant δ>−1/2\delta>-1/2 to derive the above bounds. Finally, we have

According to Lemma B.14, there exist kσ0k_{\sigma_{0}}, θσ0=(μσ0,wσ0,σ0)\theta_{\sigma_{0}}=(\mu_{\sigma_{0}},w_{\sigma_{0}},\sigma_{0}) such that (81) holds. Then we set k0=kσ0k_{0}=k_{\sigma_{0}} in Theorem 4.1 and Θ(kσ0)=Θμ(kσ0)⊗Θw(kσ0)⊗Θσ(kσ0)\Theta^{(k_{\sigma_{0}})}=\Theta_{\mu}^{(k_{\sigma_{0}})}\otimes\Theta_{w}^{(k_{\sigma_{0}})}\otimes\Theta_{\sigma}^{(k_{\sigma_{0}})}, where Θμ(kσ0)=⊗j=1kσ0Θμj(kσ0)\Theta_{\mu}^{(k_{\sigma_{0}})}=\otimes_{j=1}^{k_{\sigma_{0}}}\Theta_{\mu_{j}}^{(k_{\sigma_{0}})}. To be specific, let H1H_{1} be any fixed constant such that H1>2αH_{1}>2\alpha, and then we define

for a constant C2>0C_{2}>0. Choose σ0=n−12α+1(log⁡n)r2α+1\sigma_{0}=n^{-\frac{1}{2\alpha+1}}(\log n)^{\frac{r}{2\alpha+1}}, then n12α+1≤kσ0≤n12α+1+tn^{\frac{1}{2\alpha+1}}\leq k_{\sigma_{0}}\leq n^{\frac{1}{2\alpha+1}+t} for any t>0t>0 as n→∞n\rightarrow\infty. Then the condition (41) implies

According to the condition (43) and Lemma B.14, we have ∣μj∣≲∣log⁡σ0∣1/ξ4|\mu_{j}|\lesssim|\log\sigma_{0}|^{1/\xi_{4}} with ξ4≤min⁡{ξ3,p}\xi_{4}\leq\min\{\xi_{3},p\} as in Lemma B.14. Then,

With the choice ξ4=min⁡{p,ξ3}\xi_{4}=\min\{p,\xi_{3}\} and kσ0=O(σ0−1∣log⁡σ0∣p/ξ4)k_{\sigma_{0}}=O(\sigma_{0}^{-1}|\log\sigma_{0}|^{p/\xi_{4}}), we have

where r=pmin⁡{p,ξ3}+max⁡{d3+1,c6min⁡{p,ξ3}}r=\frac{p}{\min\{p,\xi_{3}\}}+\max\{d_{3}+1,\frac{c_{6}}{\min\{p,\xi_{3}\}}\}. Plug in σ0=n−12α+1(log⁡n)r2α+1\sigma_{0}=n^{-\frac{1}{2\alpha+1}}(\log n)^{\frac{r}{2\alpha+1}},we obtain (C3*) with respect to f~0\widetilde{f}_{0}. ∎

We bound Pf0nQ^H2(Pk^,θ(k^),Pf0)P_{f_{0}}^{n}\widehat{Q}H^{2}(P_{\widehat{k},\theta^{(\widehat{k})}},P_{f_{0}}) by

By Lemma B.15, Lemma B.16 and Theorem 4.1, we have

for σ0=n−12α+1(log⁡n)r2α+1\sigma_{0}=n^{-\frac{1}{2\alpha+1}}(\log n)^{\frac{r}{2\alpha+1}}. Note that f~0(x)=f0(x)1Eσ0(x)∫Eσ0f0(x)dx\widetilde{f}_{0}(x)=\frac{f_{0}(x)\mathbf{1}_{E_{\sigma_{0}}}(x)}{\int_{E_{\sigma_{0}}}f_{0}(x)dx} with Eσ0={x:f0(x)≥σ0H1}E_{\sigma_{0}}=\{x:f_{0}(x)\geq\sigma_{0}^{H_{1}}\}, and R=∫Eσ0cf0(x)dx≤σ0H1/2∫Eσ0cf0(x)dx=O(σ0H1/2)R=\int_{E_{\sigma_{0}}^{c}}f_{0}(x)dx\leq\sigma_{0}^{H_{1}/2}\int_{E_{\sigma_{0}}^{c}}\sqrt{f_{0}(x)}dx=O(\sigma_{0}^{H_{1}/2}). Then,

With the choice H1=8α+4H_{1}=8\alpha+4, the proof is complete. ∎

Now we prove Theorem 4.3. We also use change of measure argument and show the concentration around Pf~0(n)P_{\widetilde{f}_{0}}^{(n)} at first.

We first present a latent variable version of Lemma B.5,

where f~0\widetilde{f}_{0} is defined in the Lemma B.15. The proof of this inequality follows the same argument as in the proof of Lemma B.5 and thus we omit it. Note that the parametrization of the density p(x∣k,θ(k))p(x|k,\theta^{(k)}) in (36) does not rely on the latent variables. Therefore, when the conditions of Theorem 4.2 are satisfied, for some small constant a>0a>0, we have

based on the Jensen’s Inequality, Lemma B.3 and Lemma B.4.

Now we need to choose some k∈Kk\in\mathcal{K} and Qˉ(k)∈SMF(k)\bar{Q}^{(k)}\in\mathcal{S}_{\rm MF}^{(k)} to bound the remaining terms of (85). We consider dQˉ(k)(z(k),θ(k))=dQz(k)(z(k))dQθ(k)(θ(k))d\bar{Q}^{(k)}(z^{(k)},\theta^{(k)})=dQ_{z}^{(k)}(z^{(k)})dQ_{\theta}^{(k)}(\theta^{(k)}) and Qz(k)(zi(k)=j)=γijQ_{z}^{(k)}(z_{i}^{(k)}=j)=\gamma_{ij}, where ∑j=1kγij=1\sum_{j=1}^{k}\gamma_{ij}=1. We sometimes shorthand Qθ(k)Q_{\theta}^{(k)} by Q(k)Q^{(k)} when the context is clear. Write zij(k)=1{zi(k)=j}z_{ij}^{(k)}=\mathbf{1}_{\{z_{i}^{(k)}=j\}}, and we have

Thus, the optimal choice of γij\gamma_{ij} is that

and we fix this choice as our Qz(k)Q_{z}^{(k)}. We then have

We now specify the choice of k∈Kk\in\mathcal{K} and Q(k)=Qθ(k)Q^{(k)}=Q_{\theta}^{(k)} in (86). According to Lemma B.14, for k=kσ0=O(σ0−1∣log⁡σ0∣p/ξ4)k=k_{\sigma_{0}}=O(\sigma_{0}^{-1}|\log\sigma_{0}|^{p/\xi_{4}}), when θ(k)=(μ,w,σ)\theta^{(k)}=(\mu,w,\sigma) such that

Suppose i0=argmaxiwσ0,ii_{0}=\mathop{\rm argmax}_{i}w_{\sigma_{0},i}, then wσ0,i0≥kσ0−1w_{\sigma_{0},i_{0}}\geq k_{\sigma_{0}}^{-1} and wσ0,i0−kσ0−12kσ0σ0H1+2α+1>12kσ0σ0H1+2α+1w_{\sigma_{0},i_{0}}-\frac{k_{\sigma_{0}}-1}{2k_{\sigma_{0}}}\sigma_{0}^{H_{1}+2\alpha+1}>\frac{1}{2k_{\sigma_{0}}}\sigma_{0}^{H_{1}+2\alpha+1} when σ0→0\sigma_{0}\rightarrow 0. Then consider wσ0,j∗=wσ0,j+1{j≠i0}12kσ0σ0H1+2α+1−1{j=i0}kσ0−12kσ0σ0H1+2α+1w_{\sigma_{0},j}^{*}=w_{\sigma_{0},j}+\mathbf{1}_{\{j\neq i_{0}\}}\frac{1}{2k_{\sigma_{0}}}\sigma_{0}^{H_{1}+2\alpha+1}-\mathbf{1}_{\{j=i_{0}\}}\frac{k_{\sigma_{0}}-1}{2k_{\sigma_{0}}}\sigma_{0}^{H_{1}+2\alpha+1}. Obviously, wσ∗∈Δkσ0(wσ0,σ0H1+2α+1)w_{\sigma}^{*}\in\Delta_{k_{\sigma_{0}}}(w_{\sigma_{0}},\sigma_{0}^{H_{1}+2\alpha+1}) and wσ0,i∗≥12kσ0σ0H1+2α+1w_{\sigma_{0},i}^{*}\geq\frac{1}{2k_{\sigma_{0}}}\sigma_{0}^{H_{1}+2\alpha+1} for all 1≤i≤kσ01\leq i\leq k_{\sigma_{0}}. Set

where σ~0=(1+ϵ)σ0\widetilde{\sigma}_{0}=(1+\epsilon)\sigma_{0} with ϵ>0\epsilon>0 and 0<ν<10<\nu<1 to be determined later. Choose k=kσ0k=k_{\sigma_{0}} and dQ(kσ0)(θ(kσ0))=dQw(kσ0)(w)dQτ(kσ0)(τ)∏j=1kσ0dQμj(kσ0)(μj)dQ^{(k_{\sigma_{0}})}(\theta^{(k_{\sigma_{0}})})=dQ_{w}^{(k_{\sigma_{0}})}(w)dQ_{\tau}^{(k_{\sigma_{0}})}(\tau)\prod_{j=1}^{k_{\sigma_{0}}}dQ_{\mu_{j}}^{(k_{\sigma_{0}})}(\mu_{j}) in (86), where

or equivalently, construct lower bounds for ∫log⁡wrψσ(Xi−μr)dQ(kσ0)(θ(kσ0))\int\log w_{r}\psi_{\sigma}(X_{i}-\mu_{r})dQ^{(k_{\sigma_{0}})}(\theta^{(k_{\sigma_{0}})}) for all 1≤i≤n1\leq i\leq n and 1≤r≤kσ01\leq r\leq k_{\sigma_{0}}. Set τmin⁡1/2=(σ~0+12σ~0H1+2α+2)−1\tau_{\min}^{1/2}=(\widetilde{\sigma}_{0}+\frac{1}{2}\widetilde{\sigma}_{0}^{H_{1}+2\alpha+2})^{-1} and τmax⁡1/2=σ~0−1\tau_{\max}^{1/2}=\widetilde{\sigma}_{0}^{-1}, and then for any w∈Θ~w(kσ0)w\in\widetilde{\Theta}_{w}^{(k_{\sigma_{0}})}, μr∈Θ~μr(kσ0)\mu_{r}\in\widetilde{\Theta}_{\mu_{r}}^{(k_{\sigma_{0}})}, τ−1/2=σ∈Θ~σ0(kσ0)\tau^{-1/2}=\sigma\in\widetilde{\Theta}_{\sigma_{0}}^{(k_{\sigma_{0}})}, we have

Now we build the upper bounds of [∣Xi−μσ0,r∣+kσ0−1σ0H1+2α+2]p\left[|X_{i}-\mu_{\sigma_{0},r}|+{k_{\sigma_{0}}^{-1}}\sigma_{0}^{H_{1}+2\alpha+2}\right]^{p} in two cases:

If kσ0−1σ0H1+2α+2≤ϵ∣Xi−μσ0,r∣k_{\sigma_{0}}^{-1}\sigma_{0}^{H_{1}+2\alpha+2}\leq\epsilon|X_{i}-\mu_{\sigma_{0},r}|, then

If kσ0−1σ0H1+2α+2>ϵ∣Xi−μσ0,r∣k_{\sigma_{0}}^{-1}\sigma_{0}^{H_{1}+2\alpha+2}>\epsilon|X_{i}-\mu_{\sigma_{0},r}|, then

where the last step we apply the fact that (1+ϵ)−1τmax⁡−1/2=(1+ϵ)−1σ~0=σ0(1+\epsilon)^{-1}\tau_{\max}^{-1/2}=(1+\epsilon)^{-1}\widetilde{\sigma}_{0}=\sigma_{0}. Thus, we have

where θ∗(kσ0)=(μσ0,wσ0∗,σ0)\theta^{*(k_{\sigma_{0}})}=(\mu_{\sigma_{0}},w_{\sigma_{0}}^{*},\sigma_{0}).

We plug the above upper bound into (86), and then

Now we build the upper bound for each term in the right hand side above. For the first term, when ν≤1/2\nu\leq 1/2, 11−ν≤1+2ν\frac{1}{1-\nu}\leq 1+2\nu, we have

Choose ϵ=σ02α\epsilon=\sigma_{0}^{2\alpha} and ν=σ02α\nu=\sigma_{0}^{2\alpha}. When H1>2αH_{1}>2\alpha and σ0→0\sigma_{0}\rightarrow 0, we have

Next, for the second term, as wσ0∗∈Δkσ0(wσ0,σ0H1+2α+1)w_{\sigma_{0}}^{*}\in\Delta_{k_{\sigma_{0}}}(w_{\sigma_{0}},\sigma_{0}^{H_{1}+2\alpha+1}), by (87), we have

Then, by the same arguments as in the proof of Lemma B.16, when σ0=n−12α+1(log⁡n)2αr2α+1\sigma_{0}=n^{-\frac{1}{2\alpha+1}}(\log n)^{\frac{2\alpha r}{2\alpha+1}}, we can further obtain that

Therefore, with the choice of ξ4=min⁡{p,ξ3}\xi_{4}=\min\{p,\xi_{3}\}, we have

where rr is the same defined in Theorem 4.2. Combining all the bounds above, we have

With the same change of measure argument in the proof of Theorem 4.2, the proof is complete. ∎

B.7 Proofs of Theorem 5.1, Corollary 5.1 and Theorem 5.2

We first show the following lemma to assist the proof of Theorem 5.1

The variational posterior Q^\widehat{Q} with respect to the set SMF\mathcal{S}_{\rm MF} is a product measure, with the density for each coordinate in the form of

where gj1∈Gj1={g:∫Θj1g(θj)dθj=1}g_{j1}\in\mathcal{G}_{j1}=\left\{g:\int_{\Theta_{j1}}g(\theta_{j})d\theta_{j}=1\right\} and gj2∈Gj2={g:∫Θj2g(θj)dθj=1}g_{j2}\in\mathcal{G}_{j2}=\left\{g:\int_{\Theta_{j2}}g(\theta_{j})d\theta_{j}=1\right\} for all j, kk is some integer, and p∈[0,1)p\in[0,1).

In order that D(Q^∥Π(⋅∣X(n)))<∞D(\widehat{Q}\|\Pi(\cdot|X^{(n)}))<\infty, we must have

In other words, for any set BB such that Π(B)=1\Pi(B)=1, we must have Q^(B)=1\widehat{Q}(B)=1. For each coordinate, we can assume that qj(θj)=pjgj1(θj)+(1−pj)gj2(θj)q_{j}(\theta_{j})=p_{j}g_{j1}(\theta_{j})+(1-p_{j})g_{j2}(\theta_{j}), where gj1∈Gj1g_{j1}\in\mathcal{G}_{j1} and gj2∈Gj2g_{j2}\in\mathcal{G}_{j2}. For each kk, define

Obverse that for j≠lj\neq l, Bj∩Bl=∅B_{j}\cap B_{l}=\varnothing. Then, we can define the set B=∪k=0∞BkB=\cup_{k=0}^{\infty}B_{k}. According to the sampling process of Π\Pi, Π(B)=1\Pi(B)=1, which implies that Q^(B)=1\widehat{Q}(B)=1. Note that for each kk,

Therefore, (1−pk)ps=0(1-p_{k})p_{s}=0 for all 0<k<s0<k<s, and there are three possible cases:

However, the first two cases do not satisfy the constraint (90). Thus, the variational posterior Q^\widehat{Q} is limited to the form (89), which completes the proof. ∎

By Lemma B.18, the variational posterior has the form

Now we need to determine kk, pp, gj1g_{j1} for j≤kj\leq k and gj2g_{j2} for j≥kj\geq k. We denote the above distribution by QkQ_{k}. Then, it is easy to see that Qk(Bk−1∪Bk)=1Q_{k}(B_{k-1}\cup B_{k})=1. This implies

where pΠ(X(n))=∫p(X(n)∣θ)dΠ(θ)p_{\Pi}(X^{(n)})=\int p(X^{(n)}|\theta)d\Pi(\theta). Minimizing D(Qk∥Π(⋅∣X(n)))D(Q_{k}\|\Pi(\cdot|X^{(n)})) over pp leads to

Plugging p~\widetilde{p} into (B.7), we have

Therefore, k~\widetilde{k}, g~j1(k~)\widetilde{g}_{j1}^{(\widetilde{k})}, g~j2(k~)\widetilde{g}_{j2}^{(\widetilde{k})} are the solution to maximizxing the objective function

under the constraints that gj1∈Gj1g_{j1}\in\mathcal{G}_{j1} and gj2∈Gj2g_{j2}\in\mathcal{G}_{j2} for all jj. The proof is complete. ∎

If p(X(n)∣θ)=∏j=1∞p(Xj(n)∣θj)p(X^{(n)}|\theta)=\prod_{j=1}^{\infty}p(X_{j}^{(n)}|\theta_{j}), then

The equalities above hold when gj1(θj)∝fj1(θj)p(Xj(n)∣θj)1θj∈Θj1g_{j1}(\theta_{j})\propto f_{j1}(\theta_{j})p(X_{j}^{(n)}|\theta_{j})\mathbf{1}_{\theta_{j}\in\Theta_{j1}} for j≤kj\leq k and gj2(θj)∝fj2(θj)p(Xj(n)∣θj)1θj∈Θj2g_{j2}(\theta_{j})\propto f_{j2}(\theta_{j})p(X_{j}^{(n)}|\theta_{j})\mathbf{1}_{\theta_{j}\in\Theta_{j2}} for j≥kj\geq k. Plug these choices into the objective function, and then the objective function becomes

This implies that k~\widetilde{k} maximizes π(k−1∣X(n))+π(k∣X(n))\pi(k-1|X^{(n)})+\pi(k|X^{(n)}), where

Assume Q∈SEBQ\in\mathcal{S}_{\rm EB}, according to the definition, there exists a kk such that

where Bk=(⊗j≤kΘj1)⨂(⊗j>kΘj2)B_{k}=(\otimes_{j\leq k}\Theta_{j1})\bigotimes(\otimes_{j>k}\Theta_{j2}). Then

where pΠ(n)(X(n))=∫p(n)(X(n)∣θ)dΠ(θ)p_{\Pi}^{(n)}(X^{(n)})=\int p^{(n)}(X^{(n)}|\theta)d\Pi(\theta).

Therefore, for a specific kk, QQ is chosen as

to minimize D(Q∥Π(⋅∣X(n)))D\left(Q\|\Pi(\cdot|X^{(n)})\right) under the constraint that Q(Bk)=1Q\left(B_{k}\right)=1. Plug this form into the right hand side of (B.7), we can get k=k^k=\widehat{k} selected as

And therefore, Q^EB=Q^(k^)\widehat{Q}_{\rm EB}=\widehat{Q}^{(\widehat{k})} is the variational posterior with the variational class SEB\mathcal{S}_{\rm EB}. ∎

B.8 Proof of Theorem 5.3

When k≤n12β+1k\leq n^{\frac{1}{2\beta+1}}, we have

Now we prove the lower bound. According to the risk decomposition, we have

When k≤n12β+1k\leq n^{\frac{1}{2\beta+1}}, we consider a θ∗\theta^{*} with every coordinate 00 except that θk+1∗=(k+1)−αB\theta_{k+1}^{*}=(k+1)^{-\alpha}B. It is easy to check that θ∗∈Θα(B)\theta^{*}\in\Theta_{\alpha}(B). Then, we have ∑j≤k1n+j2β+1≥k2n\sum_{j\leq k}\frac{1}{n+j^{2\beta+1}}\geq\frac{k}{2n} and ∑j>kθj∗2≥B2(k+1)−2α\sum_{j>k}\theta_{j}^{*2}\geq B^{2}(k+1)^{-2\alpha}. Therefore,

When k>n12β+1k>n^{\frac{1}{2\beta+1}}, we consider a θ∗\theta^{*} with every coordinate 00 except that θ⌈n12β+1⌉∗=(⌈n12β+1⌉)−αB\theta^{*}_{\lceil n^{\frac{1}{2\beta+1}}\rceil}=\left(\lceil n^{\frac{1}{2\beta+1}}\rceil\right)^{-\alpha}B, and it is easy to check that θ∗∈Θα(B)\theta^{*}\in\Theta_{\alpha}(B). Then, we have

B.9 Proofs of Theorem 5.4 and Theorem 5.5

Define Q=N(β0,τ2Ip)Q=N(\beta_{0},\tau^{2}I_{p}), and then

which is a constant with respect to β0\beta_{0}. Thus,

where pβ(y)=1(2π)n/2exp⁡(−12∥y−Xβ∥2)p_{\beta}(y)=\frac{1}{(2\pi)^{n/2}}\exp\left(-\frac{1}{2}\|y-X\beta\|^{2}\right). With Q=N(β0,τ2Ip)Q=N(\beta_{0},\tau^{2}I_{p}), we have βj\beta_{j}’s independently drawn from N(β0j,τ2)N(\beta_{0j},\tau^{2}), and therefore,

It is not hard to see that h(−x)=h(x)h(-x)=h(x). Thus, we only need to show the inequality for x≥0x\geq 0. For x≥0x\geq 0, set d(x)=h(x)−xd(x)=h(x)-x, and then

Thus, d(x)d(x) is monotonically decreasing when x>0x>0 and d(x)≤d(0)=2ϕ(0)=2πd(x)\leq d(0)=2\phi(0)=\sqrt{\frac{2}{\pi}}. For the left part of inequality, notice that 1−Φ(x)ϕ(x)≤1x\frac{1-\Phi(x)}{\phi(x)}\leq\frac{1}{x} for all x>0x>0 in , and then we can directly obtain that d(x)≥0d(x)\geq 0. ∎

We use the notation Hτ(β)=∑j=1pτh(βj/τ)H_{\tau}(\beta)=\sum_{j=1}^{p}\tau h(\beta_{j}/\tau). By Lemma B.19, we have ∣Hτ(β)−∥β∥1∣≤τ∑j=1p∣h(βj/τ)−βj/τ∣≤pτ2/π|H_{\tau}(\beta)-\|\beta\|_{1}|\leq\tau\sum_{j=1}^{p}|h(\beta_{j}/\tau)-\beta_{j}/\tau|\leq p\tau\sqrt{2/\pi}. By rearranging the basic inequality ∥y−Xβ^∥2+2λHτ(β^)≤∥y−Xβ∗∥2+2λHτ(β∗)\|y-X\widehat{\beta}\|^{2}+2\lambda H_{\tau}(\widehat{\beta})\leq\|y-X\beta^{*}\|^{2}+2\lambda H_{\tau}(\beta^{*}), we have

For the terms on the right hand side of the above inequality, we have ∣⟨X(β^−β∗),y−Xβ∗⟩∣≤∥XT(y−Xβ∗)∥∞∥β^−β∗∥1\left|\left\langle X(\widehat{\beta}-\beta^{*}),y-X\beta^{*}\right\rangle\right|\leq\|X^{T}(y-X\beta^{*})\|_{\infty}\|\widehat{\beta}-\beta^{*}\|_{1} and Hτ(β∗)−Hτ(β^)≤∥β∗∥1−∥β^∥1+2pτ2/πH_{\tau}(\beta^{*})-H_{\tau}(\widehat{\beta})\leq\|\beta^{*}\|_{1}-\|\widehat{\beta}\|_{1}+2p\tau\sqrt{2/\pi}. Therefore, with the notation Δ=β^−β∗\Delta=\widehat{\beta}-\beta^{*}, we have

as long as λ≥2∥XT(y−Xβ∗)∥∞\lambda\geq 2\|X^{T}(y-X\beta^{*})\|_{\infty}. Note that the choice λ=Cnlog⁡p\lambda=C\sqrt{n\log p} implies that the condition λ≥2∥XT(y−Xβ∗)∥∞\lambda\geq 2\|X^{T}(y-X\beta^{*})\|_{\infty} holds with probability at least 1−p−C′1-p^{-C^{\prime}} by a union bound argument in . With the decompositions ∥Δ∥1=∥ΔS∥1+∥ΔSc∥1\|\Delta\|_{1}=\|\Delta_{S}\|_{1}+\|\Delta_{S^{c}}\|_{1}, ∥β∗∥1=∥βS∗∥1\|\beta^{*}\|_{1}=\|\beta_{S}^{*}\|_{1} and ∥β∗+Δ∥1=∥βS∗+ΔS∥1+∥ΔSc∥1\|\beta^{*}+\Delta\|_{1}=\|\beta^{*}_{S}+\Delta_{S}\|_{1}+\|\Delta_{S^{c}}\|_{1}, the inequality (93) becomes

The inequality (94) immediately implies what is known as the generalized cone condition defined in ,

Another consequence of (94) is the error bound

For the Δ\Delta that satisfies (95), we define

It is easy to see that Δ=Δ(1)+Δ(2)\Delta=\Delta^{(1)}+\Delta^{(2)}. Since

we have 1n∥XΔ(1)∥≥κ∥Δ(1)∥\frac{1}{\sqrt{n}}\|X\Delta^{(1)}\|\geq\kappa\|\Delta^{(1)}\| by the definition of κ\kappa in (58). We also bound ∥Δ(2)∥\|\Delta^{(2)}\| by

where the last inequality is by (95). Therefore,

Since ∥XΔ(2)∥≤nmax⁡i,j∣Xij∣2∥Δ(2)∥12≤L2n2∥Δ(2)∥12≤nL8pτ2/π3\|X\Delta^{(2)}\|\leq\sqrt{n\max_{i,j}|X_{ij}|^{2}\|\Delta^{(2)}\|_{1}^{2}}\leq\sqrt{L^{2}n^{2}\|\Delta^{(2)}\|_{1}^{2}}\leq nL\frac{8p\tau\sqrt{2/\pi}}{3}, we have

Combining the above inequality and (96), we have

With λ=Cnlog⁡p\lambda=C\sqrt{n\log p} and τ=O(1np)\tau=O\left(\frac{1}{np}\right), we have ∥Δ∥2≲slog⁡pnκ4\|\Delta\|^{2}\lesssim\frac{s\log p}{n\kappa^{4}}, which completes the proof. ∎

B.10 Proofs of Theorem 5.6, Theorem 5.7 and Theorem 5.8

To show Theorem 5.6, we need the following three lemmas.

If the conditions (C1)-(C3) in Theorem 2.1 are satisfied, then there exists a constant M0>0M_{0}>0 large enough such that when nϵ2≥nϵn2≥M0n\epsilon^{2}\geq n\epsilon_{n}^{2}\geq M_{0} and 0<a≤m2C10<a\leq\frac{m}{2C_{1}}, we have

Under the conditions (C1)-(C3) in Theorem 2.1, there exist some constants M0>1M_{0}>1, M>0M>0 and c>0c>0 such that when nϵ2≥nϵn2≥M0n\epsilon^{2}\geq n\epsilon_{n}^{2}\geq M_{0},

where Q^\widehat{Q} is the variational posterior distribution defined in (3).

Suppose the conditions (C1)-(C3) in Theorem 2.1 hold for P0(n)=Pθ0(n)P_{0}^{(n)}=P_{\theta_{0}}^{(n)}, when nϵ2≥nϵn2≥M0n\epsilon^{2}\geq n\epsilon_{n}^{2}\geq M_{0}, with any p>1p>1 as a constant

where M0M_{0}, MM and cc are the same constants in Lemma B.21 and Q^\widehat{Q} is the variational posterior distribution defined in (3).

with m=12min⁡{1,ρ−1}m=\frac{1}{2}\min\{1,\rho-1\} for any ϵ≥ϵn\epsilon\geq\epsilon_{n}. Then by Markov inequality,

Denote Bj={X(n)∣Π(L(Pθ(n),P0(n))>C1jnϵ2∣X(n))≤exp⁡(−mjnϵ2)}B_{j}=\left\{X^{(n)}\Big|\Pi\left(L(P_{\theta}^{(n)},P_{0}^{(n)})>C_{1}jn\epsilon^{2}\Big|X^{(n)}\right)\leq\exp\left(-mjn\epsilon^{2}\right)\right\} and B=∩j=1∞BjB=\cap_{j=1}^{\infty}B_{j}. Then,

When M0=2log⁡8mM_{0}=\frac{2\log 8}{m} and nϵ2≥M0n\epsilon^{2}\geq M_{0}, it is easy to check that

where we have used the condition that 0<a≤m2C10<a\leq\frac{m}{2C_{1}}. The conclusion of the lemma directly follows the result above. ∎

According to Lemma B.1, for any a>0a>0, we have

Choose a=min⁡{1,ρ−1}4C1a=\frac{\min\{1,\rho-1\}}{4C_{1}}, and then according to Lemma B.20, under the event BB (defined in the proof of Lemma B.20), for nϵ2>M0>1n\epsilon^{2}>M_{0}>1, we have

with M=max⁡{log⁡2a+C1,1a}M=\max\left\{\frac{\log 2}{a}+C_{1},\frac{1}{a}\right\}. Therefore, the conclusion that

is implied by P0(n)(Bc)≤exp⁡(−cnϵ2)P_{0}^{(n)}(B^{c})\leq\exp\left(-cn\epsilon^{2}\right), where c=min⁡{1,ρ−1}4c=\frac{\min\{1,\rho-1\}}{4}. ∎

where q=pp−1q=\frac{p}{p-1}. Replace nϵ2n\epsilon^{2} by nϵ2+c−1Dp(P∗(n)∥Pθ0(n))n\epsilon^{2}+c^{-1}D_{p}\left(P_{*}^{(n)}\|P_{\theta_{0}}^{(n)}\right), and we have

where M0M_{0}, MM and cc are the same constants in Lemma B.21. ∎

For the first term on the right hand side of the above equality, we have

The term P∗(n)YP_{*}^{(n)}Y can be bounded by

The proof is complete by choosing p=2p=2. ∎

Theorem 5.7 uses the same arguments in the proof of Theorem 2.3 with ϵn2\epsilon_{n}^{2} replaced by ϵn2+1nD2(P∗(n)∥Pθ0(n))\epsilon_{n}^{2}+\frac{1}{n}D_{2}\left(P_{*}^{(n)}\|P_{\theta_{0}}^{(n)}\right). Therefore, we omit the details here. ∎

In the end of this part, we will show Theorem 5.8, which directly implies Theorem 3.5. We want to check conditions (C1)-(C3) for θ0∈Θk0(B)\theta_{0}\in\Theta_{k_{0}}(B). For this aim, we establish the following lemmas.

The marginal sampling process of θ\theta in the prior for piecewise constant model can be regarded as following procedure:

Conditioning on kk, sample k−1k-1 change points uniformly from {2,3,⋯ ,n}\{2,3,\cdots,n\}. In the other words, we uniformly sample a subset S⊆{2,3,⋯ ,n}S\subseteq\{2,3,\cdots,n\} of size k−1k-1 with probability (n−1k−1)−1{n-1\choose k-1}^{-1};

Conditioning on SS, sample θi\theta_{i} according to θi∼gi\theta_{i}\sim g_{i} for all i∈Si\in S and θi=θi−1\theta_{i}=\theta_{i-1} for all i∉Si\not\in S.

First of all, the density of marginal prior on θ\theta can be written as

where SS above is the set of label 2≤i≤n2\leq i\leq n such that zi=1z_{i}=1 and π(k)\pi(k) is defined in (97), which implies the marginal sampling process of θ\theta can be written as the procedure above.

When C1>1C_{1}>1, C2>0C_{2}>0, it is easy to see that 1/n<π(1)<11/n<\pi(1)<1 as π(k)\pi(k) is decreasing with respect to kk. Hence, we have

Suppose θ0∈Θk0\theta_{0}\in\Theta_{k_{0}}. For some integer m≥k0m\geq k_{0}, define

Then for any t≥24σ2rlog⁡enrt\geq 24\sigma^{2}r\log\frac{en}{r} with r=min⁡{n,m+k0}r=\min\{n,m+k_{0}\}, we have

Using the identity ∥θ^m−X∥2=∥θ^m−θ∗∥2+∥θ∗−X∥2+2⟨θ^m−θ∗,θ∗−X⟩\|\widehat{\theta}_{m}-X\|^{2}=\|\widehat{\theta}_{m}-\theta^{*}\|^{2}+\|\theta^{*}-X\|^{2}+2\left\langle\widehat{\theta}_{m}-\theta^{*},\theta^{*}-X\right\rangle, we get

Since θ^m−θ∗∥θ^m−θ∗∥∈Θr\frac{\widehat{\theta}_{m}-\theta^{*}}{\|\widehat{\theta}_{m}-\theta^{*}\|}\in\Theta_{r}, we have

where r=min⁡{m+k0,n}r=\min\{m+k_{0},n\}, Z~=(Z~1,Z~2,⋯ ,Z~r)T∼N(0,Ir)\widetilde{Z}=(\widetilde{Z}_{1},\widetilde{Z}_{2},\cdots,\widetilde{Z}_{r})^{T}\sim N(0,I_{r}). Then a standard chi-squared bound gives

We want check conditions (C1)-(C3) with respect to θ0\theta_{0}. This step can be split into the following two lemmas.

Assume θ0∈Θk0(B)\theta_{0}\in\Theta_{k_{0}}(B). For the prior Π\Pi that satisfies (26), the conditions (C1) and (C2) hold for all ϵ>k0log⁡nn\epsilon>\sqrt{\frac{k_{0}\log n}{n}}.

Assume θ0∈Θk0(B)\theta_{0}\in\Theta_{k_{0}}(B). For the prior Π\Pi that satisfies (26) and (27), the conditions (C3) and (C4**) hold for ϵn=σk0log⁡nn\epsilon_{n}=\sigma\sqrt{\frac{k_{0}\log n}{n}} with both S=SMC\mathcal{S}=\mathcal{S}_{\rm MC} and S=SMCjoint\mathcal{S}=\mathcal{S}_{\rm MC}^{\rm joint}.

Now we start to prove Lemma B.25 and Lemma B.26.

For any ϵ>k0log⁡nn\epsilon>\sqrt{\frac{k_{0}\log n}{n}}, we set m=⌈C0nϵ22log⁡n⌉m=\lceil\frac{C_{0}n\epsilon^{2}}{2\log n}\rceil. Choose a sufficiently large C0C_{0} so that m≥2k0≥2m\geq 2k_{0}\geq 2. We consider Θn(ϵ)=Θr\Theta_{n}(\epsilon)=\Theta_{r} with r=min⁡{k0+m,n}r=\min\{k_{0}+m,n\}. Then by the condition (26) and Lemma B.23, we have

Moreover, for any θ∈Θn(ϵ)\theta\in\Theta_{n}(\epsilon) and ∥θ−θ0∥2≥10σϵ(C0+1)n\|\theta-\theta_{0}\|^{2}\geq 10\sigma\epsilon\sqrt{(C_{0}+1)n}, we have

Therefore, (C1) is satisfied with a sufficiently large C0C_{0}. ∎

We first verify condition (C3). Note that for any ρ>0\rho>0,

Consider the set Θ=∪i=1n[θ0i−n−1/2,θ0i+n−1/2]\Theta=\cup_{i=1}^{n}[\theta_{0i}-n^{-1/2},\theta_{0i}+n^{-1/2}], then for n>1n>1,

where S(θ0)={i:i>1,θ0i≠θ0(i−1)}∪{1}S(\theta_{0})=\{i:i>1,\theta_{0i}\neq\theta_{0(i-1)}\}\cup\{1\} and C2C_{2} is given in (26). Therefore, condition (C3) is satisfied.

Now we check condition (C4**) for both S=SMC\mathcal{S}=\mathcal{S}_{\rm MC} and S=SMCjoint\mathcal{S}=\mathcal{S}_{\rm MC}^{\rm joint}. When S=SMC\mathcal{S}=\mathcal{S}_{\rm MC}, assume ∣S(θ0)∣=k~0|S(\theta_{0})|=\widetilde{k}_{0} and S(θ0)={a0+1,a1+1,⋯ ,ak~0−1+1}S(\theta_{0})=\{a_{0}+1,a_{1}+1,\cdots,a_{\widetilde{k}_{0}-1}+1\} with 0=a0<a1<⋯<ak~0=n0=a_{0}<a_{1}<\cdots<a_{\widetilde{k}_{0}}=n. Since θ0∈Θk0(B)\theta_{0}\in\Theta_{k_{0}}(B), we must have k~0≤k0\widetilde{k}_{0}\leq k_{0}. Define

Then choose dQ(θ)=dΠ(θ)1Θ(θ)Π(Θ)dQ(\theta)=\frac{d\Pi(\theta)\mathbf{1}_{\Theta}(\theta)}{\Pi(\Theta)}. As

we have Q∈SMCQ\in\mathcal{S}_{\rm MC}. For any θ∈supp(Q)=Θ\theta\in{\rm supp}(Q)=\Theta,

Thus, condition (C4**) is satisfied for S=SMC\mathcal{S}=\mathcal{S}_{\rm MC}.

When S=SMCjoint\mathcal{S}=\mathcal{S}_{\rm MC}^{\rm joint}. Choose dQjoint(w,z,θ)=dQ(w)(w)∏i=2ndQi(z)(zi)dQ(θ)(θ)dQ^{\rm joint}(w,z,\theta)=dQ^{(w)}(w)\prod_{i=2}^{n}dQ_{i}^{(z)}(z_{i})dQ^{(\theta)}(\theta), where

Obviously, we have Qjoint∈SMCjointQ^{\rm joint}\in\mathcal{S}_{\rm MC}^{\rm joint} and for any θ∈supp(Q(θ))\theta\in{\rm supp}(Q^{(\theta)}), we have shown that

On the other hand, suppose dQ(θ)(θ)=q(θ)(θ)dθdQ^{(\theta)}(\theta)=q^{(\theta)}(\theta)d\theta and dQ(w)(w)=q(w)(w)dwdQ^{(w)}(w)=q^{(w)}(w)dw, we have

Thus, condition (C4**) is satisfied for S=SMCjoint\mathcal{S}=\mathcal{S}_{\rm MC}^{\rm joint}. The proof is complete.

By Lemma B.25 and Lemma B.26, together with Theorem 5.6 and Theorem 5.7, we have

for both Q^=Q^MC\widehat{Q}=\widehat{Q}_{\rm MC} and Q^=Q^MCjoint\widehat{Q}=\widehat{Q}_{\rm MC}^{\rm joint}. Then for every 1≤k0≤n1\leq k_{0}\leq n and θ0∈Θk0(B)\theta_{0}\in\Theta_{k_{0}}(B), we have

Therefore, by taking minimum over k0∈[n]k_{0}\in[n] and θ0∈Θk0(B)\theta_{0}\in\Theta_{k_{0}}(B), we can get

B.11 Proof of Theorem A.2

Then, under the conditions of Theorem A.2, we have

for all Q∈SQ\in\mathcal{S}. Then, following the same argument in the proof of Theorem 2.1, we complete the proof. ∎

References