Skip to content
Is the Normal Distribution Curved?Chapter 8 Application: Gaussian Variational Inference

Chapter 8 Application: Gaussian Variational Inference

In Chapters 6 and 7 we studied two gradient flows of the KL divergence F to the standard normal distribution γ. In this chapter we replace γ by a distribution π that is not Gaussian. The problem of finding the normal distribution closest to π is called Gaussian variational inference in statistics and machine learning. Since the target distribution is not Gaussian, we no longer obtain closed formulas as in the previous two chapters. Even so, much can still be proved about the equations of the gradient flows for the two metrics, their stationary points and their rates of convergence. This chapter does the following.

  • •

    We set up the problem and express the derivative of Fπ=KL(⋅∥π) through Gaussian expectations (Sections 8.1 and 8.2).

  • •

    We find the gradient flows of Fπ for the Wasserstein metric and for the Fisher metric. The two flows have the same stationary points (Section 8.3).

  • •

    When π is strongly log-concave, there is a unique minimiser, and the Wasserstein gradient flow converges at the uniform rate e−2⁢α⁢t (Section 8.4).

  • •

    For the Fisher gradient flow the inverse of the covariance matrix can be bounded, but there is no uniform rate (Section 8.5).

  • •

    We compare the update rules obtained by discretising the two flows in time (Section 8.6).

  • •

    We describe the relation with Langevin dynamics (Section 8.7).

We use the following.

  • •

    The KL divergence from Chapter 1 (Definition 1.3, Lemma 1.4, Proposition 1.6).

  • •

    Gradients and gradient flows from Chapter 2 (Definition 2.7, Definition 2.9, Proposition 2.10).

  • •

    The Fisher metric of the Gaussian family from Chapter 3 (Proposition 3.10).

  • •

    The Wasserstein distance and metric from Chapter 5 (Theorem 5.4, Proposition 5.7, Lemma 5.9, Proposition 5.10, Definition 5.11).

  • •

    The two gradient flows of Chapter 6 and the way their gradients were computed (Theorem 6.2, Theorem 6.5).

  • •

    The rates of convergence from Chapter 7 (Theorem 7.1, Theorem 7.8).

We do not treat stochastic algorithms that estimate expectations by random sampling, approximation by Gaussian mixtures, or gradient flows on the space of all probability distributions. For gradient flows in Gaussian variational inference see Lambert et al. [LCB+22] and Chen et al. [CHH+24a]; for discretised algorithms see Diao et al. [DBC+23] and Khan and Rue [KR23]. Langevin dynamics is treated in Chapter 5 of Why Pictures Emerge from Noise [KEI26b].

8.1 Setting Up the Problem

Throughout this chapter we take the target distribution π as follows. Let V:ℝd→ℝ be of class C2 with ∇2V bounded. Assume further that Z=∫ℝde−V⁢(x)⁢𝑑x<∞, and put

π⁢(x)=e−V⁢(x)Z.

Since ∇2V is bounded, ∇V grows at most linearly and V at most quadratically. Hence all the Gaussian expectations that appear below are finite.

Let X∼𝒩⁢(m,Σ) and put

Fπ⁢(m,Σ)=KL⁡(𝒩⁢(m,Σ)∥π).

If p is the density of 𝒩⁢(m,Σ), then log⁡π=−V−log⁡Z and

∫p⁢log⁡p⁢d⁢x=−12⁢log⁢detΣ−d2⁢(1+log⁡2⁢π).

The latter follows from log⁡p⁢(x)=−d2⁢log⁡2⁢π−12⁢log⁢detΣ−12⁢(x−m)⊤⁢Σ−1⁢(x−m) and 𝔼⁢[(X−m)⊤⁢Σ−1⁢(X−m)]=d. Therefore

Fπ⁢(m,Σ)=𝔼⁢[V⁢(X)]−12⁢log⁢detΣ−d2⁢(1+log⁡2⁢π)+log⁡Z. (8.1)

When π=γ, that is, V⁢(x)=12⁢|x|2 and Z=(2⁢π)d/2, we have 𝔼⁢[V⁢(X)]=12⁢(|m|2+tr⁡Σ), so Fγ=F (Proposition 1.6). We use the following two Gaussian expectations:

𝔼⁢[∇V]=𝔼⁢[∇V⁢(X)],H⁢(m,Σ)=𝔼⁢[∇2V⁢(X)].

H is a symmetric matrix. 𝔼⁢[∇V] and H are functions of (m,Σ), but we often omit the arguments.

Definition 8.1 (Gaussian variational inference).

The problem of minimising Fπ over ℝd×Symd+ is called Gaussian variational inference. We write its infimum as

F∗=inf{Fπ⁢(m,Σ):(m,Σ)∈ℝd×Symd+}.

By Lemma 1.4, Fπ≥0, so F∗≥0 is finite. Note, however, that F∗ is the infimum over normal distributions, a different quantity from KL⁡(π∥π)=0. If π is not Gaussian, then p≠π for every normal distribution p, so Fπ>0 (Lemma 1.4). Hence in this case F∗>0 provided the infimum is attained. The infimum is attained if π is strongly log-concave (Proposition 8.9 (2)). The KL divergence is taken in the same direction as before in this book: the normal distribution is the first argument.

Let us explain the motivation for this problem. In Bayesian statistics, from the density π0⁢(x) of a prior distribution of a parameter x and the likelihood ℓ⁢(y|x) of an observation y, one forms the posterior distribution

π⁢(x)=π0⁢(x)⁢ℓ⁢(y|x)∫π0⁢(x′)⁢ℓ⁢(y|x′)⁢𝑑x′.

The numerator can be computed, but the integral Z in the denominator is hard to compute when d is large. Putting V=−log⁡(π0⁢ℓ), we have π=e−V/Z. In (8.1), Z appears only in the constant term log⁡Z. So Fπ can be minimised without knowing Z. The normal distribution at the minimiser gives an approximation of π.

Example 8.2 (Logistic likelihood).

Let d=1, take the prior γ=𝒩⁢(0,1), and let the likelihood of the observation y=1 be ℓ⁢(1|x)=1/(1+e−4⁢x). Then

V⁢(x)=x22+log⁡(1+e−4⁢x).

Differentiating gives

V′⁢(x)=x−41+e4⁢x,V′′⁢(x)=1+4cosh2⁡(2⁢x).

Hence 1≤V′′≤5, and V′′ is not constant. Therefore π is not Gaussian. Figure 8.1 is drawn for this V.

When we discuss convergence, we impose the following convexity assumption:

α⁢I⪯∇2V⁢(x)⪯β⁢I(x∈ℝd),0<α≤β. (8.2)

When the lower bound ∇2V⪰α⁢I holds, we say that π is α-strongly log-concave. Example 8.2 satisfies (8.2) with α=1 and β=5. Which result uses which bound is stated in the hypotheses of each result.

8.2 Derivatives of Gaussian Expectations

To compute the derivative of Fπ, we need to differentiate 𝔼⁢[V⁢(X)] with respect to (m,Σ). The following lemma does this. From now on, Xm,Σ denotes a random variable with law 𝒩⁢(m,Σ).

Lemma 8.3 (Derivatives of Gaussian expectations).

Let f:ℝd→ℝ be of class C2 with ∇2f bounded. Let (m,Σ)∈ℝd×Symd+, u∈ℝd and K∈Symd, and put X=Xm,Σ. For |ε| sufficiently small, Σ+ε⁢K∈Symd+, and

dd⁢ε⁢𝔼⁢f⁢(Xm+ε⁢u,Σ+ε⁢K)|ε=0=𝔼⁢[u⋅∇f⁢(X)]+12⁢𝔼⁢tr⁡(K⁢∇2f⁢(X)).

In particular, K=0 gives the derivative 𝔼⁢[u⋅∇f⁢(X)] with respect to the mean, and u=0 gives the derivative 12⁢𝔼⁢tr⁡(K⁢∇2f⁢(X)) with respect to the covariance matrix.

We have written the derivative with respect to the covariance matrix as a derivative in the direction K. The reason is that the entries of a symmetric matrix are not independent, so writing it with entrywise partial derivatives invites mistakes.

Proof.

Let pε be the density of 𝒩⁢(m+ε⁢u,Σ+ε⁢K), and put p=p0 and y=x−m.

Step 1. We find ∂εpε at ε=0. Differentiating log⁡pε in ε by the same computation as in the proof of Proposition 5.10 gives

∂εlog⁡pε|ε=0=u⊤⁢Σ−1⁢y−12⁢tr⁡(Σ−1⁢K)+12⁢y⊤⁢Σ−1⁢K⁢Σ−1⁢y.

On the other hand, ∇p=−p⁢Σ−1⁢y and ∇2p=p⁢(Σ−1⁢y⁢y⊤⁢Σ−1−Σ−1). Comparing the two, we obtain

∂εpε|ε=0=−u⋅∇p+12⁢tr⁡(K⁢∇2p). (8.3)

Step 2. We show that we may differentiate under the integral sign. If |ε|≤ε1 with ε1 sufficiently small, the eigenvalues of Σ+ε⁢K are at least 12⁢λmin⁢(Σ) and at most some constant. Then there are constants C,c>0 with pε⁢(x)≤C⁢e−c⁢|x|2. Moreover, ∂εpε is pε times a polynomial in x of degree at most 2 whose coefficients are bounded for |ε|≤ε1. Since ∇2f is bounded, |f⁢(x)|≤C′⁢(1+|x|2). Hence, by the dominated convergence theorem, dd⁢ε⁢∫f⁢pε⁢𝑑x=∫f⁢∂εpε⁢d⁢x.

Step 3. We integrate by parts. By (8.3), what we must show is

∫f⁢∂ip⁢d⁢x=−∫∂if⁢p⁢d⁢x,∫f⁢∂i∂jp⁢d⁢x=∫∂i∂jf⁢p⁢d⁢x.

Integrating by parts on each line parallel to the xi-axis, the boundary terms are products of f or ∂jf with p or ∂jp. The former grow at most polynomially and the latter decay like a Gaussian, so the boundary terms vanish. All the integrands that appear are integrable, so by Fubini’s theorem we may integrate the identities on the lines. This proves the lemma. ∎

Proposition 8.4 (Derivative of Fπ).

For (m,Σ)∈ℝd×Symd+ and (m˙,Σ˙)∈ℝd×Symd,

d⁢Fπ⁢(m˙,Σ˙)=𝔼⁢[∇V]⋅m˙+12⁢tr⁡((H−Σ−1)⁢Σ˙). (8.4)

When π=γ, this agrees with (6.1) of Lemma 6.1.

Proof.

Applying Lemma 8.3 with f=V, u=m˙ and K=Σ˙, the term 𝔼⁢[V⁢(X)] in (8.1) contributes 𝔼⁢[∇V]⋅m˙+12⁢tr⁡(H⁢Σ˙). By the computation in the proof of Lemma 6.1, the term −12⁢log⁢detΣ contributes −12⁢tr⁡(Σ−1⁢Σ˙). The rest is constant. When π=γ, we have ∇V⁢(x)=x and ∇2V=I, so 𝔼⁢[∇V]=m and H=I. ∎

To consider gradient flows we also need Fπ to be of class C2 (Definition 2.9). In fact Fπ, 𝔼⁢[∇V] and H are C∞ in (m,Σ). Differentiating the density pm,Σ⁢(x) any number of times in (m,Σ) gives pm,Σ times a polynomial in x. Its coefficients are continuous functions of (m,Σ). As (m,Σ) ranges over a compact subset of ℝd×Symd+, the bound pm,Σ⁢(x)≤C⁢e−c⁢|x|2 holds uniformly. Since V, ∇V and ∇2V grow at most quadratically, we may therefore differentiate under the integral sign any number of times, as in Step 2 of the proof of Lemma 8.3.

8.3 The Two Gradient Flows

We first compute for d=1. Using the coordinates (m,σ), put Σ=σ2 and H=𝔼⁢[V′′⁢(X)]. Setting Σ˙=2⁢σ⁢σ˙ in (8.4) gives

∂mFπ=𝔼⁢[V′⁢(X)],∂σFπ=12⁢(H−1σ2)⁢2⁢σ=σ⁢H−1σ.

Since the Wasserstein metric is gW=d⁢m2+d⁢σ2 (Example 5.12), the gradient flow is

m˙=−𝔼⁢[V′⁢(X)],σ˙=1σ−σ⁢H. (8.5)

Since the matrix of the Fisher metric is diag⁢(1/σ2,2/σ2) (Proposition 3.10), the gradient flow is

m˙=−σ2⁢𝔼⁢[V′⁢(X)],σ˙=σ⁢(1−σ2⁢H)2. (8.6)

When V⁢(x)=x2/2, we have 𝔼⁢[V′⁢(X)]=m and H=1, and we recover the equations of the OU flow and the FR flow of Chapter 6. The same holds for general d.

Theorem 8.5 (The two gradient flows of Fπ).

Let (m,Σ)∈ℝd×Symd+.

  1. 1.

    The gradient with respect to gW is

    gradW⁡Fπ=(𝔼⁢[∇V],H⁢Σ+Σ⁢H−2⁢I),

    and the symmetric matrix that corresponds to this tangent vector under Lemma 5.9 is Sgrad=H−Σ−1. The gradient flow is

    m˙=−𝔼⁢[∇V],Σ˙=2⁢I−H⁢Σ−Σ⁢H. (8.7)
  2. 2.

    The gradient with respect to gF is

    gradF⁡Fπ=(Σ⁢𝔼⁢[∇V],Σ⁢H⁢Σ−Σ),

    and the gradient flow is

    m˙=−Σ⁢𝔼⁢[∇V],Σ˙=Σ−Σ⁢H⁢Σ. (8.8)

    This is equivalent to

    dd⁢t⁢Σ−1=H−Σ−1,dd⁢t⁢(Σ−1⁢m)=H⁢m−𝔼⁢[∇V]−Σ−1⁢m. (8.9)
  3. 3.

    When V⁢(x)=12⁢|x|2, the flow in (1) is the OU flow (Theorem 6.2) and the flow in (2) is the FR flow (Theorem 6.5).

For each initial value (m0,Σ0)∈ℝd×Symd+, each of the two flows exists and is unique up to some time T>0.

From now on we call the flow in (1) the W flow for π and the flow in (2) the FR flow for π. When π=γ, the W flow is the OU flow and the FR flow is the FR flow of Chapter 6. In the second equation of (8.9), the term H⁢m becomes m when π=γ and cancels −𝔼⁢[∇V]=−m. For general π there is no such cancellation.

Proof.

We prove (1). Put A=H⁢Σ+Σ⁢H−2⁢I. The matrix S=H−Σ−1 is symmetric and satisfies S⁢Σ+Σ⁢S=H⁢Σ+Σ⁢H−2⁢I=A. By the uniqueness in Lemma 5.9, it is the symmetric matrix corresponding to A. By the computation following Definition 5.11, for a tangent vector (m˙,Σ˙),

gW⁢((𝔼⁢[∇V],A),(m˙,Σ˙))=𝔼⁢[∇V]⋅m˙+12⁢tr⁡((H−Σ−1)⁢Σ˙).

By Proposition 8.4, the right-hand side equals d⁢Fπ⁢(m˙,Σ˙). Hence gradW⁡Fπ=(𝔼⁢[∇V],A), and the gradient flow is (8.7).

We prove (2). As in the proof of Theorem 6.5, writing the quadratic form of Proposition 3.10 as an inner product gives

gF⁢((a,A),(m˙,Σ˙))=a⊤⁢Σ−1⁢m˙+12⁢tr⁡(Σ−1⁢A⁢Σ−1⁢Σ˙).

Substituting (a,A)=(Σ⁢𝔼⁢[∇V],Σ⁢H⁢Σ−Σ), we get Σ−1⁢a=𝔼⁢[∇V] and Σ−1⁢A⁢Σ−1=H−Σ−1. So the right-hand side equals d⁢Fπ⁢(m˙,Σ˙) (Proposition 8.4), and the gradient flow is (8.8). We show the equivalence. Since dd⁢t⁢Σ−1=−Σ−1⁢Σ˙⁢Σ−1, the equation Σ˙=Σ−Σ⁢H⁢Σ is equivalent to dd⁢t⁢Σ−1=H−Σ−1. In that case

dd⁢t⁢(Σ−1⁢m)=(H−Σ−1)⁢m+Σ−1⁢m˙,

so m˙=−Σ⁢𝔼⁢[∇V] is equivalent to the second equation of (8.9).

We prove (3). If V⁢(x)=12⁢|x|2, then 𝔼⁢[∇V]=m and H=I. Substituting, (8.7) becomes m˙=−m, Σ˙=2⁢I−2⁢Σ, and (8.8) becomes m˙=−Σ⁢m, Σ˙=Σ−Σ2. These are (6.2) and (6.4).

Finally, as we saw at the end of the previous section, 𝔼⁢[∇V] and H are of class C∞. Hence the two vector fields are C∞, and the last claim follows from the existence and uniqueness of solutions of ordinary differential equations. ∎

Let us look at the velocity field of the W flow on ℝd. Applying Proposition 5.10 with m˙=−𝔼⁢[∇V] and the symmetric matrix S=Σ−1−H corresponding to Σ˙=2⁢I−H⁢Σ−Σ⁢H, the velocity field is

v⁢(x)=−𝔼⁢[∇V]+(Σ−1−H)⁢(x−m). (8.10)

When π=γ, this is the velocity field of Proposition 6.3. Equations (8.7) and (8.8) are the same equations as (4.24) and (4.18) of Chen et al. [CHH+24a].

Proposition 8.6 (Stationary points).

For (m,Σ)∈ℝd×Symd+, the following three conditions are equivalent.

  1. 1.

    (m,Σ) is a stationary point of the W flow, that is, the right-hand side of (8.7) is 0.

  2. 2.

    (m,Σ) is a stationary point of the FR flow.

  3. 3.

    𝔼⁢[∇V]=0 and H=Σ−1.

These are the critical points of Fπ, that is, the points where d⁢Fπ=0.

Proof.

The vector field of a gradient flow is −grad⁡Fπ, and the metric is positive definite at each point, so grad⁡Fπ=0 is equivalent to d⁢Fπ=0 (Definition 2.7). Hence (1) and (2) are each equivalent to d⁢Fπ=0. By (8.4), (3) implies d⁢Fπ=0. Conversely, suppose d⁢Fπ=0. Taking Σ˙=0, we get 𝔼⁢[∇V]⋅m˙=0 for all m˙, so 𝔼⁢[∇V]=0. Taking m˙=0 and Σ˙=H−Σ−1, we get tr⁡((H−Σ−1)2)=0. This is the sum of the squares of the entries of the symmetric matrix H−Σ−1, so H=Σ−1. ∎

Remark 8.7 (Difference from the Laplace approximation).

Suppose V has a minimiser x∗ and ∇2V⁢(x∗) is positive definite. Another way to approximate π by a normal distribution is to take the quadratic approximation at x∗, namely 𝒩⁢(x∗,∇2V⁢(x∗)−1). This is called the Laplace approximation. The condition of Proposition 8.6 replaces ∇V and ∇2V not by their values at x∗ but by their averages over 𝒩⁢(m,Σ). Therefore the two approximations differ in general (Figure 8.1, Problem 4). When V is quadratic, ∇2V is constant and the two agree.

8.4 Convexity and Convergence of the W Flow

In this section we treat the case where π is α-strongly log-concave. The key is the convexity of Fπ along the displacement interpolation of Chapter 5. For d=1, the displacement interpolation was a geodesic of the Wasserstein metric (Proposition 5.7). The following lemma holds for general d. Its proof does not use the fact that the displacement interpolation is a geodesic.

Lemma 8.8 (Convexity along displacement interpolation).

Suppose that ∇2V⁢(x)⪰α⁢I for all x, for some α>0. Let μ0=𝒩⁢(m1,Σ1) and μ1=𝒩⁢(m2,Σ2), and let T be the matrix in (5.3). Put ms=(1−s)⁢m1+s⁢m2 and Ts=(1−s)⁢I+s⁢T, and let

f⁢(s)=Fπ⁢(ms,Ts⁢Σ1⁢Ts).

Then f is of class C2 on an open interval containing [0,1], and for s∈[0,1],

f′′⁢(s)≥α⁢𝒲2⁢(μ0,μ1)2.

By Proposition 5.7, (ms,Ts⁢Σ1⁢Ts) are the mean and covariance matrix of the displacement interpolation μs from μ0 to μ1.

Proof.

Let τ1,…,τd>0 be the eigenvalues of T. The eigenvalues of Ts are 1−s+s⁢τi, so Ts is positive definite for s in some open interval J containing [0,1]. Put X∼μ0 and Y=m2+T⁢(X−m1), and for s∈J put Xs=ms+Ts⁢(X−m1). Then Xs∼𝒩⁢(ms,Ts⁢Σ1⁢Ts). By (8.1),

f⁢(s)=𝔼⁢[V⁢(Xs)]−12⁢log⁢detΣ1−log⁢detTs+c,

where c is a constant independent of s.

Step 1 (the term 𝔼⁢[V⁢(Xs)]). Xs is affine in s, with dd⁢s⁢Xs=(m2−m1)+(T−I)⁢(X−m1)=Y−X. Hence

d2d⁢s2⁢V⁢(Xs)=(Y−X)⊤⁢∇2V⁢(Xs)⁢(Y−X)≥α⁢|Y−X|2.

As s ranges over a compact interval contained in J, the functions |∇V⁢(Xs)|⁢|Y−X| and |Y−X|2 are dominated by an integrable function independent of s. Hence 𝔼⁢[V⁢(Xs)] can be differentiated twice under the integral sign, and its second derivative is at least α⁢𝔼⁢|Y−X|2. By Theorem 5.4 (2), 𝔼⁢|Y−X|2=𝒲2⁢(μ0,μ1)2.

Step 2 (the term −log⁢detTs). We have −log⁢detTs=−∑ilog⁡(1−s+s⁢τi), and

d2d⁢s2⁢(−log⁢detTs)=∑i=1d(τi−1)2(1−s+s⁢τi)2≥0.

Combining the two, we obtain f′′≥α⁢𝒲2⁢(μ0,μ1)2. ∎

From this convexity we obtain the existence and uniqueness of the minimiser and the global existence of the two flows. From now on we equip ℝd×Symd with the Euclidean norm ∥(m,Σ)∥=(|m|2+tr⁡(Σ2))1/2. We use the following fact about ordinary differential equations. If the maximal interval to which a solution can be extended is [0,T) with T<∞, then the solution does not stay in any compact set as t→T. This is a basic fact of the theory of ordinary differential equations.

Proposition 8.9 (Minimiser and global solutions).

Suppose that ∇2V⁢(x)⪰α⁢I for all x, for some α>0.

  1. 1.

    For each c∈ℝ, the set {(m,Σ)∈ℝd×Symd+:Fπ⁢(m,Σ)≤c} is compact.

  2. 2.

    Fπ has a unique minimiser (m^,Σ^). It is the unique critical point of Fπ, and F∗=Fπ⁢(m^,Σ^).

  3. 3.

    The W flow and the FR flow exist for all t≥0 from every initial value.

  4. 4.

    Both flows converge to (m^,Σ^) as t→∞.

We write π^=𝒩⁢(m^,Σ^) for the normal distribution at the minimiser, and for d=1 we put σ^=Σ^1/2. By Proposition 8.6, (m^,Σ^) is the unique point satisfying 𝔼⁢[∇V]=0 and H=Σ^−1.

Proof.

Step 1. We prove (1). By Taylor’s formula with integral remainder and ∇2V⪰α⁢I, we have V⁢(x)≥V⁢(0)+∇V⁢(0)⋅x+α2⁢|x|2. Since 𝔼⁢|X|2=|m|2+tr⁡Σ, letting λi be the eigenvalues of Σ, (8.1) gives

Fπ⁢(m,Σ)≥c0+∇V⁢(0)⋅m+α2⁢|m|2+12⁢∑i=1d(α⁢λi−log⁡λi), (8.11)

where c0 is a constant. The function u↦α⁢u−log⁡u is bounded below on (0,∞) and tends to +∞ as u→0 and as u→∞. Hence at points where Fπ≤c, we have |m|≤R and each λi lies in some interval [a,b]⊂(0,∞). The set K={(m,Σ):|m|≤R,a⁢I⪯Σ⪯b⁢I} is a bounded closed subset of ℝd×Symd contained in ℝd×Symd+. Since Fπ is continuous, {Fπ≤c} is a closed subset of the compact set K, and hence compact.

Step 2. We prove (2). By (1), Fπ attains its minimum on the nonempty compact set {Fπ≤Fπ⁢(0,I)}. This is the minimum over all of ℝd×Symd+. A minimiser is a point of an open set, so it is a critical point. Next, let (m1,Σ1) be a critical point and (m2,Σ2) a different point. Take f as in Lemma 8.8. Since s↦(ms,Ts⁢Σ1⁢Ts) is a C1 curve, f′⁢(0) is the value of d⁢Fπ at its initial velocity, which is 0. From f′′≥α⁢𝒲2⁢(μ0,μ1)2,

f⁢(1)=f⁢(0)+f′⁢(0)+∫01(1−s)⁢f′′⁢(s)⁢𝑑s≥f⁢(0)+f′⁢(0)+α2⁢𝒲2⁢(μ0,μ1)2. (8.12)

Since μ0≠μ1, we have 𝒲2⁢(μ0,μ1)>0. Indeed, if 𝒲2=0, then X=Y almost surely for the coupling of Theorem 5.4 (2), so μ0=μ1. Hence Fπ⁢(m2,Σ2)>Fπ⁢(m1,Σ1). That is, a critical point is a strict minimiser, and so there is exactly one critical point and exactly one minimiser.

Step 3. We prove (3). Both flows are gradient flows of Fπ, so by Proposition 2.10, Fπ does not increase along them. Hence, as long as it exists, a solution stays in the compact set {Fπ≤Fπ⁢(m0,Σ0)}. By the fact about ordinary differential equations stated above, the solution exists for all t≥0.

Step 4. We prove (4). Let x⁢(t) be one of the flows and write g for its metric. x⁢(t) stays in the compact set K0={Fπ≤Fπ⁢(x⁢(0))}. On K0 the norm of the vector field is at most some M>0. By Proposition 2.10, for all t,

∫0t|grad⁡Fπ⁢(x⁢(s))|g2⁢𝑑s=Fπ⁢(x⁢(0))−Fπ⁢(x⁢(t))≤Fπ⁢(x⁢(0))−F∗.

Suppose there is a sequence tk→∞ with x⁢(tk)→x¯≠(m^,Σ^). Then x¯ is not a critical point. So for some r,δ>0, every point at distance at most 2⁢r from x¯ lies in ℝd×Symd+ and satisfies |grad⁡Fπ|g2≥δ there. For k with ∥x⁢(tk)−x¯∥≤r, we have ∥x⁢(t)−x¯∥≤2⁢r for t∈[tk,tk+r/M]. Passing to a subsequence so that the intervals [tk,tk+r/M] are pairwise disjoint, the integral above receives at least δ⁢r/M from each interval. This contradicts the boundedness of the integral. Hence (m^,Σ^) is the only accumulation point of x⁢(t), and since K0 is compact, x⁢(t)→(m^,Σ^). ∎

Figure 8.1: Forward orbits of the W flow (solid) and the FR flow (dashed) in the (m,σ) half-plane, for V⁢(x)=x2/2+log⁡(1+e−4⁢x) of Example 8.2. The initial points (black dots) are (−2,0.3), (−2,2.2), (2.5,0.3), (2.5,2.2), (0.6,2.4) and (−0.6,0.15). The black square is the minimiser (m^,σ^)≈(0.722,0.656) of Fπ. The white dot is the point (x∗,V′′⁢(x∗)−1/2)≈(0.491,0.606) corresponding to the Laplace approximation 𝒩⁢(x∗,1/V′′⁢(x∗)). Expectations were computed by numerical integration, and the orbits by numerically solving (8.5) and (8.6).

In Figure 8.1 the two flows head for the same minimiser but take different paths. As in the case π=γ of Chapter 6, the same function has different gradient-flow orbits under different metrics.

The following inequality says that the size of the gradient controls the gap between Fπ and its infimum.

Proposition 8.10 (Lower bound by the gradient).

Suppose that ∇2V⁢(x)⪰α⁢I for all x, for some α>0. Then for all (m,Σ)∈ℝd×Symd+,

|gradW⁡Fπ|gW2≥2⁢α⁢(Fπ⁢(m,Σ)−F∗),

where

|gradW⁡Fπ|gW2=|𝔼⁢[∇V]|2+tr⁡((H−Σ−1)⁢Σ⁢(H−Σ−1)).
Proof.

The formula for the length of the gradient follows from Sgrad=H−Σ−1 in Theorem 8.5 (1) and Definition 5.11. Let (m1,Σ1)=(m,Σ) and take any (m2,Σ2)∈ℝd×Symd+. With the notation of Lemma 8.8, put W=𝒲2⁢(μ0,μ1).

Step 1. The initial velocity c˙⁢(0) of the curve c⁢(s)=(ms,Ts⁢Σ1⁢Ts) has length W. We have c˙⁢(0)=(m2−m1,(T−I)⁢Σ1+Σ1⁢(T−I)), and T−I is symmetric. Hence the symmetric matrix corresponding to c˙⁢(0) under Lemma 5.9 is T−I. Put X∼μ0 and Y=m2+T⁢(X−m1). By (5.8) of Proposition 5.10 and Theorem 5.4 (2),

|c˙⁢(0)|gW2=𝔼⁢|(m2−m1)+(T−I)⁢(X−m1)|2=𝔼⁢|Y−X|2=W2.

Step 2 (conclusion). We have f′⁢(0)=d⁢Fπ⁢(c˙⁢(0))=gW⁢(gradW⁡Fπ,c˙⁢(0)). By the Cauchy–Schwarz inequality, f′⁢(0)≥−|gradW⁡Fπ|gW⁢W. Inequality (8.12) in the proof of Proposition 8.9 follows from Lemma 8.8 alone. Hence

Fπ⁢(m2,Σ2)=f⁢(1)≥Fπ⁢(m,Σ)−|gradW⁡Fπ|gW⁢W+α2⁢W2.

For a≥0, the minimum of the quadratic −a⁢w+α2⁢w2 in w∈ℝ is −a2/(2⁢α). Hence Fπ⁢(m2,Σ2)≥Fπ⁢(m,Σ)−|gradW⁡Fπ|gW2/(2⁢α). Taking the infimum over (m2,Σ2) gives the claim. ∎

This proof does not use the existence of a minimiser. When π=γ and α=1, we have F∗=0, and the claim becomes |m|2+tr⁡(Σ−2⁢I+Σ−1)≥2⁢F. This is the inequality obtained from (1) and (2) of Theorem 7.1.

Theorem 8.11 (Convergence of the W flow).

Suppose that ∇2V⁢(x)⪰α⁢I for all x, for some α>0. Let (m⁢(t),Σ⁢(t)) be the W flow, and write Fπ⁢(t)=Fπ⁢(m⁢(t),Σ⁢(t)). Then for all t≥0,

Fπ⁢(t)−F∗≤e−2⁢α⁢t⁢(Fπ⁢(0)−F∗).

When V⁢(x)=α2⁢|x|2, Σ0=α−1⁢I and m0≠0, equality holds for all t.

Proof.

By Proposition 8.9 (3), the W flow exists for all t≥0. By Proposition 2.10 and Proposition 8.10,

dd⁢t⁢(Fπ⁢(t)−F∗)=−|gradW⁡Fπ|gW2≤−2⁢α⁢(Fπ⁢(t)−F∗).

Hence dd⁢t⁢(e2⁢α⁢t⁢(Fπ⁢(t)−F∗))≤0, which gives the claim. This is the same argument as Grönwall’s inequality.

We check the example of equality. If V⁢(x)=α2⁢|x|2, then π=𝒩⁢(0,α−1⁢I), 𝔼⁢[∇V]=α⁢m and H=α⁢I. The W flow is m˙=−α⁢m, Σ˙=2⁢I−2⁢α⁢Σ, and starting from Σ0=α−1⁢I it gives Σ⁢(t)=α−1⁢I and m⁢(t)=e−α⁢t⁢m0. Since π is Gaussian, F∗=0. By Proposition 1.6, Fπ⁢(m,α−1⁢I)=α2⁢|m|2, so Fπ⁢(t)=α2⁢|m0|2⁢e−2⁢α⁢t=e−2⁢α⁢t⁢Fπ⁢(0). ∎

When π=γ, we have α=1 and F∗=0, and Theorem 8.11 is the inequality F⁢(t)≤e−2⁢t⁢F⁢(0) of Theorem 7.1 (3). In Chapter 7 we proved this directly from the closed formulas. Here we used convexity along the displacement interpolation instead.

Remark 8.12 (Convergence in the Wasserstein distance).

In the setting of Proposition 8.9, the W flow pt=𝒩⁢(m⁢(t),Σ⁢(t)) also satisfies

𝒲2⁢(pt,π^)2≤e−2⁢α⁢t⁢𝒲2⁢(p0,π^)2

(not proved in this book). See Lambert et al. [LCB+22, Corollary 1]. The conditions 𝔼⁢[∇V]=0, H=Σ^−1 for the minimiser are stated there as equation (7).

8.5 The FR Flow

For the FR flow, the inverse Σ−1 of the covariance matrix can be bounded above and below. Σ−1 is also called the precision matrix.

Proposition 8.13 (Bounds on the precision matrix).

Suppose that V satisfies (8.2). Let (m⁢(t),Σ⁢(t)) be the FR flow starting from (m0,Σ0). Then for all t≥0,

e−t⁢Σ0−1+(1−e−t)⁢α⁢I⪯Σ⁢(t)−1⪯e−t⁢Σ0−1+(1−e−t)⁢β⁢I.

In particular, if ℓ⁢(t) and L⁢(t) are the smallest and largest eigenvalues of Σ⁢(t)−1, then

ℓ⁢(t)−α≥e−t⁢(ℓ⁢(0)−α),L⁢(t)−β≤e−t⁢(L⁢(0)−β).
Proof.

By Proposition 8.9 (3), the FR flow exists for all t≥0. By (8.9),

dd⁢t⁢(et⁢Σ−1)=et⁢Σ−1+et⁢(H−Σ−1)=et⁢H.

Taking expectations in α⁢I⪯∇2V⪯β⁢I gives α⁢I⪯H⪯β⁢I. Hence, for any unit vector w, α⁢es≤w⊤⁢es⁢H⁢(s)⁢w≤β⁢es. Integrating this over [0,t] gives

(et−1)⁢α≤w⊤⁢(et⁢Σ⁢(t)−1−Σ0−1)⁢w≤(et−1)⁢β.

Multiplying by e−t gives the first claim. We prove the second. Taking w to be a unit eigenvector of Σ⁢(t)−1 for its smallest eigenvalue, the first claim and w⊤⁢Σ0−1⁢w≥ℓ⁢(0) give ℓ⁢(t)≥e−t⁢ℓ⁢(0)+(1−e−t)⁢α. The largest eigenvalue is handled in the same way, using w⊤⁢Σ0−1⁢w≤L⁢(0). ∎

That is, the eigenvalues of Σ⁢(t)−1 approach the interval [α,β] at the rate e−t. However, an eigenvalue that is initially outside [α,β] need not enter [α,β] in finite time. For example, when π=γ we have α=β=1, and Σ⁢(t)−1=e−t⁢Σ0−1+(1−e−t)⁢I never becomes I if Σ0≠I (Theorem 6.5).

Remark 8.14 (Rate of convergence of the FR flow).

The FR flow has no uniform bound corresponding to Theorem 8.11 for the W flow.

  1. 1.

    π=γ satisfies (8.2) with α=β=1. Already in this case, by Theorem 7.8 (2), there is no c>0 independent of the initial value with Fπ⁢(t)−F∗≤e−c⁢t⁢(Fπ⁢(0)−F∗).

  2. 2.

    The following is known (not proved in this book). Under (8.2) and λ0⁢I⪯Σ0⪯λ0′⁢I (with 0<λ0≤λ0′), Fπ⁢(t)−F∗ decreases at the rate e−K⁢t. Here K=α⁢min⁡{1/β,λ0}, which depends on Σ0. For d=1, the decay rate near the minimiser is at least a constant multiple of 1/(1+log⁡(β/α)). Moreover, depending on the target distribution, convergence can be arbitrarily slow. See Chen et al. [CHH+24a, Propositions 4.13, 4.15, 4.16].

On the other hand, if π is Gaussian, then Fπ⁢(m,Σ) is the KL divergence KL⁡(pθ∥pθ∗) within the Gaussian family. So by the first half of Theorem 6.5, the natural parameter of the FR flow satisfies θ⁢(t)−θ∗=e−t⁢(θ0−θ∗). This rate e−t does not depend on the covariance matrix of π (Problem 2).

8.6 Discretisation in Time

In actual computation, the flows are discretised in time. The simplest scheme is the Euler method x+=x+h⁢x˙ with step size h>0. The resulting update rule depends on the coordinates in which the Euler method is applied. The FR flow behaves well when discretised in the coordinates (Σ−1,Σ−1⁢m) of (8.9). Up to constant factors, these coordinates are the natural parameter θ=(Σ−1⁢m,−12⁢Σ−1) of Chapter 4 (Example 4.2).

Proposition 8.15 (One step of the natural gradient method).

Suppose that ∇2V⁢(x)⪰α⁢I for all x, for some α>0. Let 0<h≤1 and (m,Σ)∈ℝd×Symd+, and let 𝔼⁢[∇V] and H be their values at (m,Σ). Put

Σ+−1=(1−h)⁢Σ−1+h⁢H,m+=m−h⁢Σ+⁢𝔼⁢[∇V]. (8.13)
  1. 1.

    Σ+−1 is positive definite. (Σ+−1,Σ+−1⁢m+) is the result of one Euler step of size h applied to (8.9).

  2. 2.

    Let A∈Symd+ and b∈ℝd, and let V⁢(x)=12⁢(x−b)⊤⁢A⁢(x−b), that is, π=𝒩⁢(b,A−1). If 0<h<1, then (m+,Σ+) equals the value at time t=−log⁡(1−h) of the FR flow starting from (m,Σ). If h=1, then (m+,Σ+)=(b,A−1).

Proof.

We prove (1). Since H⪰α⁢I, Σ+−1 is the sum of the positive semidefinite matrix (1−h)⁢Σ−1 and the positive definite matrix h⁢H, and so is positive definite. Putting P=Σ−1 and η=Σ−1⁢m, (8.9) reads P˙=H−P, η˙=H⁢m−𝔼⁢[∇V]−η. One Euler step is

P+=P+h⁢(H−P),η+=η+h⁢(H⁢m−𝔼⁢[∇V]−η).

P+=Σ+−1 is the first equation of (8.13). Also η+=((1−h)⁢Σ−1+h⁢H)⁢m−h⁢𝔼⁢[∇V]=Σ+−1⁢m−h⁢𝔼⁢[∇V]. Hence P+−1⁢η+=m−h⁢Σ+⁢𝔼⁢[∇V]=m+.

We prove (2). Since 𝔼⁢[∇V]=A⁢(m−b) and H=A, the FR flow becomes P˙=A−P, η˙=A⁢b−η. Its solution is P⁢(t)=A+e−t⁢(P⁢(0)−A), η⁢(t)=A⁢b+e−t⁢(η⁢(0)−A⁢b). On the other hand, the Euler step of (1) is P+=A+(1−h)⁢(P−A), η+=A⁢b+(1−h)⁢(η−A⁢b). Setting e−t=1−h, the two agree. When h=1, we have P+=A and η+=A⁢b. ∎

The update (8.13) is the update rule of Khan and Rue [KR23, Section 1.3.2, eq. (12)] for normal distributions. In their notation, S=Σ−1 and ρ=h. The view that it is the Euler method for the FR flow is this book’s own computation. As in Remark 6.8, the FR flow is the continuous-time version of the natural gradient method.

The Euler method for the W flow behaves differently.

Proposition 8.16 (One Euler step of the W flow).

Suppose that −β⁢I⪯∇2V⁢(x)⪯β⁢I for all x, for some β>0. Let h>0 and (m,Σ)∈ℝd×Symd+, and put

m+=m−h⁢𝔼⁢[∇V],Σ+=Σ+h⁢(2⁢I−H⁢Σ−Σ⁢H).
  1. 1.

    Σ+=(I−h⁢H)⁢Σ⁢(I−h⁢H)+h⁢(2⁢I−h⁢H⁢Σ⁢H). Consequently, if λmax is the largest eigenvalue of Σ and h⁢β2⁢λmax<2, then Σ+∈Symd+.

  2. 2.

    Let π=γ. Then m+=(1−h)⁢m and Σ+=(1−2⁢h)⁢Σ+2⁢h⁢I. We have Σ+∈Symd+ for all Σ∈Symd+ only when h≤12. Moreover, if m≠0 and Σ≠I, then (m+,Σ+) does not coincide with the value at any time of the OU flow starting from (m,Σ).

Proof.

We prove (1). Expanding the right-hand side gives

(I−h⁢H)⁢Σ⁢(I−h⁢H)+h⁢(2⁢I−h⁢H⁢Σ⁢H)=Σ−h⁢H⁢Σ−h⁢Σ⁢H+2⁢h⁢I=Σ+.

The first term is positive semidefinite. Since −β⁢I⪯H⪯β⁢I, the eigenvalues of H have absolute value at most β, so |H⁢w|≤β⁢|w|. Hence, for a unit vector w, w⊤⁢H⁢Σ⁢H⁢w≤λmax⁢|H⁢w|2≤λmax⁢β2. Therefore 2⁢I−h⁢H⁢Σ⁢H⪰(2−h⁢β2⁢λmax)⁢I is positive definite, and so is Σ+.

We prove (2). Substituting 𝔼⁢[∇V]=m and H=I gives the first claim. If h≤12, then (1−2⁢h)⁢Σ is positive semidefinite and 2⁢h⁢I is positive definite, so Σ+ is positive definite. If h>12, then taking Σ=c⁢I with c>2⁢h/(2⁢h−1) makes Σ+=((1−2⁢h)⁢c+2⁢h)⁢I negative definite. Finally, suppose that for some t≥0, (m+,Σ+) equals the value (e−t⁢m,e−2⁢t⁢Σ+(1−e−2⁢t)⁢I) of the OU flow. Since m≠0, 1−h=e−t. Comparing covariance matrices gives (1−2⁢h−e−2⁢t)⁢(Σ−I)=0, and since Σ≠I, e−2⁢t=1−2⁢h. Hence (1−h)2=1−2⁢h, which gives h=0. This contradicts h>0. ∎

The last claim of (2) needs both m≠0 and Σ≠I. For example, if m=0 and h<12, the two agree at time t=−12⁢log⁡(1−2⁢h). In contrast with Proposition 8.15 (2), the Euler method for the W flow does not in general follow the flow exactly, even when π=γ. Moreover, for general V, no step-size condition independent of Σ can guarantee Σ+∈Symd+ (Problem 3).

Remark 8.17 (Convergence of algorithms).

The following is known about the convergence of algorithms obtained by discretising the W flow (not proved in this book).

  • •

    Lambert et al. [LCB+22, Theorem 2] studied an update rule in which the expectations are replaced by a single sample and an operation clipping the eigenvalues is added. Under 0<α⁢I⪯∇2V⪯I, h≤α2/60 and (α/9)⁢I⪯Σ0⪯α−1⁢I, the distribution pk after k updates satisfies 𝔼⁢𝒲2⁢(pk,π^)2≤e−α⁢k⁢h⁢𝒲2⁢(p0,π^)2+36⁢d⁢h/α2.

  • •

    Diao et al. [DBC+23, Theorem 5.4] studied an algorithm alternating two steps. One is m↦m−h⁢𝔼⁢[∇V], Σ↦(I−h⁢H)⁢Σ⁢(I−h⁢H). This corresponds to the first term of the decomposition in Proposition 8.16 (1). The other step treats the part −12⁢log⁢detΣ implicitly. Under (8.2) and h≤1/β, after N updates 𝒲2⁢(pN,π^)2≤e−α⁢N⁢h⁢𝒲2⁢(p0,π^)2.

8.7 Relation with Langevin Dynamics

The Langevin equation for π=e−V/Z is

d⁢Xt=−∇V⁢(Xt)⁢d⁢t+2⁢d⁢Bt.

If V⁢(x)=12⁢|x|2, this is the equation of the OU process. What is known about this equation is collected in Remark 8.18 at the end of this section. Below we compare the corresponding Fokker–Planck equation ∂tp=Δ⁢p+div⁡(p⁢∇V) with the W flow.

As in Chapter 6, the Fokker–Planck equation can be written as the continuity equation ∂tp+div⁡(p⁢vL)=0 for the velocity field vL=−∇log⁡p−∇V. If p is the density of 𝒩⁢(m,Σ), then

vL⁢(x)=Σ−1⁢(x−m)−∇V⁢(x).

On the other hand, by (8.10) the velocity field of the W flow is v⁢(x)=Σ−1⁢(x−m)−(𝔼⁢[∇V]+H⁢(x−m)). That is, v is obtained from vL by replacing ∇V⁢(x) with the affine function 𝔼⁢[∇V]+H⁢(x−m). If V is quadratic, then ∇V⁢(x)=𝔼⁢[∇V]+H⁢(x−m), so the two velocity fields agree. If V is not quadratic, then ∇V is not affine, and neither is vL. In this sense, the W flow of Gaussian variational inference can be regarded as the flow of the Fokker–Planck equation constrained to stay within the Gaussian family.

Remark 8.18 (Langevin dynamics as a gradient flow).

Under suitable regularity conditions, the following is known (not proved in this book).

  1. 1.

    The density of the law of the solution of the Langevin equation satisfies the Fokker–Planck equation ∂tp=Δ⁢p+div⁡(p⁢∇V), and π is its stationary distribution. If ∇2V is uniformly positive definite, the law of Langevin dynamics approaches π exponentially fast in 𝒲2. See Chapter 5 of Why Pictures Emerge from Noise [KEI26b]. There, assumptions such as V being of class C3 are imposed.

  2. 2.

    The Fokker–Planck equation ∂tp=Δ⁢p+div⁡(p⁢∇V) can be regarded as the gradient flow of KL(⋅∥π) with respect to 𝒲2 on P2⁢(ℝd). The case π=γ is Remark 6.4. See Jordan–Kinderlehrer–Otto [JKO98, Section 5].

  3. 3.

    If π is α-strongly log-concave, then KL⁡(pt∥π)≤e−2⁢α⁢t⁢KL⁡(p0∥π) for every initial distribution. Chen et al. [CHH+24b, Proposition 2.2] state this as a classical result.

  4. 4.

    If π=γ, the law of Langevin dynamics started from a normal distribution stays Gaussian and coincides with the W flow, that is, the OU flow. This is what we stated in Proposition 1.10, Remark 1.11 and Theorem 6.2.

The quantity KL⁡(pt∥π) in (3) tends to 0 as t→∞. On the other hand, Fπ⁢(t)−F∗ in Theorem 8.11 is the gap to the best value F∗ among normal distributions. The two are different quantities.

Problems

  1. 1.

    Let A∈Symd+ and b∈ℝd, and let V⁢(x)=12⁢(x−b)⊤⁢A⁢(x−b). Using Proposition 1.6, differentiate Fπ directly and verify Proposition 8.4.

    Hint: π=𝒩⁢(b,A−1), 𝔼⁢[∇V]=A⁢(m−b) and H=A. Differentiate Fπ=12⁢(tr⁡(A⁢Σ)+(m−b)⊤⁢A⁢(m−b)−d−log⁢det(A⁢Σ)).

  2. 2.

    Let d=1, a>0 and b∈ℝ, and let V⁢(x)=a2⁢(x−b)2. Show that for the W flow, m⁢(t)−b=e−a⁢t⁢(m0−b) and σ⁢(t)2−1a=e−2⁢a⁢t⁢(σ02−1a). Show that for the FR flow, 1σ⁢(t)2−a=e−t⁢(1σ02−a) and m⁢(t)σ⁢(t)2−a⁢b=e−t⁢(m0σ02−a⁢b). Check that the rate of the W flow depends on a, whereas the rate of the FR flow does not.

    Hint: For the W flow (m,σ2), and for the FR flow (1/σ2,m/σ2), satisfy first-order linear differential equations with constant coefficients. A comparison for general d is in Chen et al. [CHH+24a, Propositions 4.11, 4.12].

  3. 3.

    Let d=2, V⁢(x)=12⁢x⊤⁢A⁢x and A=(2112). The eigenvalues of ∇2V=A are 1 and 3, so β=3. Show that for h=16=1/(2⁢β) and Σ=diag⁢(8,1), the matrix Σ+ of Proposition 8.16 is not positive definite. Further, for the same A and Σ=diag⁢(c,1) (c>0), show that for every h>0, Σ+ is not positive definite once c is large enough. On the other hand, show that if A=β⁢I and h≤1/(2⁢β), then Σ+∈Symd+ for all Σ∈Symd+.

    Hint: Σ+=(3−3/2−3/22/3), whose determinant is −14. For Σ=diag⁢(c,1), Σ+=(c⁢(1−4⁢h)+2⁢h−h⁢(1+c)−h⁢(1+c)1−2⁢h), and the coefficient of c2 in its determinant is −h2<0. For A=β⁢I, Σ+=(1−2⁢h⁢β)⁢Σ+2⁢h⁢I.

  4. 4.

    Let d=1 and V⁢(x)=12⁢x2+log⁡cosh⁡x. The minimiser of V is 0, and the Laplace approximation is 𝒩⁢(0,12). Show that the minimiser (m^,σ^) of Fπ satisfies m^=0 and σ^2>12.

    Hint: Since 1≤V′′=1+1/cosh2⁡x≤2, Proposition 8.9 applies. Since V is even, Fπ⁢(−m,σ)=Fπ⁢(m,σ), and the uniqueness of the minimiser gives m^=0. By Proposition 8.6, 1/σ^2=𝔼⁢[V′′⁢(X)]=1+𝔼⁢[1/cosh2⁡X]<2.

  5. 5.

    Show that if π is Gaussian, the FR flow for π is given by pt∝p0e−t⁢π1−e−t and moves along the e-geodesic joining p0 and π.

    Hint: Since π belongs to the Gaussian family, we can write Fπ⁢(m,Σ)=KL⁡(pθ∥pθ∗). Use the first half of Theorem 6.5 and Corollary 6.6.