Eqs. (25)-(27): the sSVGD noise from the Cholesky factor of the kernel matrix
OpenArxiv2210_03613.ssvgd_noise_block_choleskyLet particles and a function be such that is positive definite, and let be the lower triangular Cholesky factor of . Let be the matrix of eq. (22), the matrix of eq. (25), the permutation (26), and . Then:
- .
- The lower triangular Cholesky factor of , for the coordinate-major order, is unique and equals the block-diagonal matrix . So it is obtained from the Cholesky factor of the matrix alone.
- If and is the lower triangular Cholesky factor of , then
which is the law of the noise term of the sSVGD update (24). This is the chain of identities (27).
Formalization Note The paper's "" chain (27) mixes random variables and laws. It is stated here as one identity of laws: the image of under is . Positive definiteness of is the paper's assertion below eq. (22), taken as a hypothesis. The paper's further assumption that is an inner product of feature maps is used only to obtain that assertion, and is not included.
import Mathlib import Definitions.Def_Arxiv2210_03613_Basic open MeasureTheory ProbabilityTheory InformationTheory
namespace Arxiv2210_03613
theorem ssvgd_noise_block_cholesky {n d : ℕ} (hn : 0 < n)
(k : (Fin d → ℝ) → (Fin d → ℝ) → ℝ) (m : Fin n → Fin d → ℝ) (hK : (gramMat k m).PosDef)
(ε : ℝ) (hε : 0 < ε) (Lbar : Matrix (Fin n) (Fin n) ℝ)
(hLbar : IsLowerCholesky Lbar (gramMat k m)) :
permP n d * svgdK k m * (permP n d).transpose = blockDK k m ∧
(∀ L : Matrix (Lex (Fin d × Fin n)) (Lex (Fin d × Fin n)) ℝ,
IsLowerCholesky L (blockDK k m) ↔
L = fun x y => if (ofLex x).1 = (ofLex y).1
then Lbar (ofLex x).2 (ofLex y).2 / Real.sqrt n else 0) ∧
(∀ L : Matrix (Lex (Fin d × Fin n)) (Lex (Fin d × Fin n)) ℝ,
IsLowerCholesky L (blockDK k m) →
(multivariateGaussian (0 : EuclideanSpace ℝ (Lex (Fin d × Fin n))) 1).map
(fun ξ => Real.sqrt (2 * ε) • Matrix.toEuclideanLin ((permP n d).transpose * L) ξ) =
ssvgdNoise ε k m) := by sorry
end Arxiv2210_03613Read-back
What the Lean code literally says, in plain math · claude-opus-5-5
Setting. Fix natural numbers (number of particles) and (dimension), with . The case is allowed; then every matrix and vector below is empty and the conclusions hold trivially. The theorem takes the following data and hypotheses:
- an arbitrary real function (the kernel). No symmetry, continuity or positivity is assumed for in general.
- particles , where denotes the -th coordinate of .
- the hypothesis that the kernel (Gram) matrix
is positive definite. This means is symmetric and for every nonzero . In particular it forces , , and that no two particles coincide.
-
a real number (step size) with .
-
an real matrix that is a lower Cholesky factor of . This means:
- ;
- whenever ;
- for all .
Such an exists under the positive-definiteness hypothesis, so the hypotheses are jointly satisfiable.
Matrices involved. There are two index sets of size :
- particle-major pairs , with particle and coordinate ;
- coordinate-major pairs , ordered lexicographically: iff , or and .
The theorem uses three matrices built on these index sets:
- is the matrix indexed by particle-major pairs:
- is the permutation matrix whose rows are indexed by coordinate-major pairs and whose columns are indexed by particle-major pairs:
so that .
- is the block-diagonal matrix indexed by coordinate-major pairs:
that is, with copies of .
" is a lower Cholesky factor of " means three things for a matrix indexed by coordinate-major pairs:
- ;
- whenever in the lexicographic order;
- every diagonal entry is strictly positive.
Conclusion. Under all the above hypotheses, the following three statements hold simultaneously.
- The permutation conjugates into the block matrix:
- Existence and uniqueness of the Cholesky factor. For every real matrix indexed by coordinate-major pairs, is a lower Cholesky factor of if and only if
Equivalently, .
- Sampling the noise. Take any lower Cholesky factor of ; by part 2 this is exactly the matrix above. Let have the standard Gaussian law on , with coordinates indexed by coordinate-major pairs. Then the image of this law under the map
which takes values in indexed by particle-major pairs, is equal to the multivariate Gaussian measure
on that same space. This is the stochastic-SVGD noise law, with mean zero and covariance matrix , where is as defined above and includes its factor .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.