Remark after eq. (9) (as proved, Gaussian target): the KL-optimal mean-field Gaussian underestimates every marginal variance
OpenArxiv2210_03613.advi_meanfield_underestimates_varianceLet the target (posterior) distribution on the unconstrained space be a Gaussian with positive definite. Consider the mean-field family of eq. (9),
Then attains its minimum over this family. For every minimiser and every coordinate ,
The mean-field approximation obtained by minimising the KL divergence thus underestimates every marginal variance, and its marginal variances are lower bounds for those of the posterior.
Formalization Note This is the statement as proved. The paper gives no proof of its own: it cites Bishop (2006) and illustrates the claim with a bivariate Gaussian in Figure 1a. Both concern a Gaussian target in the space where is fitted, so that is the case stated. The paper also applies the lower bound to non-Gaussian posteriors and to the uncertainty in the original variables . That wider claim is not stated. For non-Gaussian targets it is false: for on , the KL-optimal Gaussian has variance about , while .
import Mathlib import Definitions.Def_Arxiv2210_03613_Basic open MeasureTheory ProbabilityTheory InformationTheory
namespace Arxiv2210_03613
theorem advi_meanfield_underestimates_variance {ι : Type*} [Fintype ι] [DecidableEq ι]
(μp : EuclideanSpace ℝ ι) (Sig : Matrix ι ι ℝ) (hSig : Sig.PosDef) :
(∃ (μ : EuclideanSpace ℝ ι) (ω : ι → ℝ),
IsMeanFieldKLMin (multivariateGaussian μp Sig) μ ω) ∧
∀ (μ : EuclideanSpace ℝ ι) (ω : ι → ℝ),
IsMeanFieldKLMin (multivariateGaussian μp Sig) μ ω → ∀ i : ι,
variance (fun θ : EuclideanSpace ℝ ι => θ i) (meanFieldGaussian μ ω) ≤
variance (fun θ : EuclideanSpace ℝ ι => θ i) (multivariateGaussian μp Sig) := by sorry
end Arxiv2210_03613Read-back
What the Lean code literally says, in plain math · claude-opus-5-5
Let be an arbitrary finite index set with decidable equality, and let denote Euclidean space with coordinates indexed by . The set may be empty, in which case is a single point. The theorem fixes:
- a vector ;
- a real matrix , assumed positive definite (symmetric, with for all ).
Write for the multivariate Gaussian measure on with mean and covariance , as provided by the library's multivariateGaussian.
The mean-field family. For a vector and an arbitrary real vector , the measure is the multivariate Gaussian
with mean and diagonal covariance whose -th diagonal entry is . Because is unrestricted, the family consists of exactly the Gaussians with any mean and any diagonal covariance with strictly positive diagonal entries. Degenerate (zero-variance) members are not included.
KL-minimiser. A pair is called a mean-field KL-minimiser for a measure if, for every and every ,
Here is the library's Kullback–Leibler divergence, valued in . It equals when is not absolutely continuous with respect to , or when the log-likelihood ratio is not integrable. The inequality is read in the extended non-negative reals.
The assertion. The theorem asserts the conjunction of two statements.
-
Existence: there exist and such that is a mean-field KL-minimiser for .
-
Variance comparison: for every and such that is a mean-field KL-minimiser for , and for every coordinate ,
- is the -th coordinate of .
- is the library's real-valued variance of the coordinate function under the given measure. That definition returns the junk value when the variance is infinite, though both measures here are Gaussian.
- The inequality is non-strict ().
- It compares marginal variances coordinate by coordinate. No other comparison of the covariance matrices is made, such as a matrix (Loewner) ordering.
Uniqueness of the minimiser is not asserted. No relation between the minimiser's mean and is asserted. If is empty, both parts hold trivially: every pair is a minimiser, and there are no coordinates to compare.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.