Bayesian Inference from Symplectic Geometric Viewpoint

Abstract

The purpose of this article is to formulate Bayesian updating from dynamical viewpoint. We prove that Bayesian updating for population mean vectors of multivariate normal distributions can be expressed as an affine symplectic transformation on a phase space with the canonical symplectic structure.

Share and Cite:

Noda, T. and Matsuyama, H. (2019) Bayesian Inference from Symplectic Geometric Viewpoint. Advances in Pure Mathematics, 9, 827-831. doi: 10.4236/apm.2019.910039.

1. Introduction

In Bayesian statistics, we consider parameters in models as random variables and its probability distributions, and we calculate the posterior distribution by using Bayes’ theorem.

In Hamiltonian dynamical system, any time evolution is defined by Hamiltonian equations and expressed by canonical transformations (or symplectic diffeomorphisms) on phase spaces. Phase spaces and equations of motion are abstract symplectic manifolds and Hamiltonian vector fields respectively. Under time evolution for Hamiltonian dynamical system, Hamiltonian functions and the phase volume are preserved. These are direct consequences of skew-symmetricity of symplectic structures. In the case where the dimension of a phase space is greater than or equal to 4, there are other conserved quantities that are called symplectic capacities. Symplectic capacities are far from trivial and are deep result in symplectic geometry. For detail, see [1] [2] [3] [4] .

In this paper we prove that Bayesian updating for multivariate normal population mean vector can be expressed by an affine symplectic diffeomorphism (affine canonical transformation). The main result is the following.

Theorem 1. There exists a linear symplectic diffeomorphism Φ 1 on 2 n such that the first component of the composition T ( μ n ,0 ) Φ 1 T ( μ 0 ,0 ) maps a prior distribution to the posterior, where T ( a , b ) is the parallel translation T : ( x , y ) ( x + a , y + b ) on 2 n .

In this theorem to reformulate Bayesian updating from symplectic geometric viewpoint, we consider the cotangent space of which its base space contains population mean μ . The reason why we use the cotangent space is as follows. If we assume μ is a point in 2 n , to express Bayes’ theorem by an affine symplectic transformation on 2 n , in the case where variance is known, we have to find an element Φ in Sp ( 2 n , ) such that Φ T Λ 0 1 Φ = Λ 0 1 + n Σ 1 . (Note that Φ , Σ , Λ are all 2 n × 2 n .) However usually in Bayesian updating, we fix a type of the posterior which is a section of density function, and then we normalize it:

p ( θ | y ) = l ( θ | y ) p ( θ ) p ( y ) l ( θ | y ) p ( θ ) . (1)

It is well know that any canonical transformations are volume-preserving. Hence we cannot expect the existence of desired transformation. Moreover, in this case the population mean μ is in 2 n , so we can only treat even dimensional case. The key to getting rid of this drawback is to use of Lagrangian submanifolds. Consider a symplectic manifold which has a Lagrangian submanifold containing μ , and construct desired canonical transformation on the total space. Canonical transformations on the total space may change a measure on Lagrangian submanifolds.

There is another approach to Bayesian inference from symplectic-contact geometric viewpoint due to Mori [5] [6] . Mori considers the square of the parameter space of normal distributions and its Lagrangian submanifold to describe Bayes’ theorem by Hamiltonian follows, and he simultaneously gives Bayesian updating for mean and variance in univariate case. Taking account of Mori’s considerations, we should use the Poincaré type symplectic form to express a Bayesian updating for covariant matrices while we use the canonical symplectic structure on 2 n for mean vectors. For information geometry and a relation between information geometry and symplectic geomerty, see [7] [8] [9] .

2. Bayesian Updating

In this section we review Bayes’ theorem for multivariate normal distributions. For detail, see e.g., [10] .

Consider a posterior distribution of mean vector for a multivariate normal distribution with covariant matrix. Fix a positive definite symmetric matrix Σ . First we treat the case of covariance matrix Σ is known. Let a prior distribution p ( μ ) of μ is distributed N ( μ 0 , Λ 0 ) :

p ( μ ) exp [ 1 2 ( μ μ 0 ) T Λ 0 1 ( μ μ 0 ) ] . (2)

The posterier distribution with sample y is μ | y , Σ ~ N ( μ n , Λ n ) and

p ( μ | y , Σ ) exp [ 1 2 ( μ μ n ) T Λ n 1 ( μ μ n ) ] , (3)

where

μ n = ( Λ 0 1 + n Σ 1 ) 1 ( Λ 0 1 μ 0 + Σ 1 y ¯ ) , Λ n 1 = Λ 0 1 + n Σ 1 . (4)

Next we consider the case of the variance Σ is unknown. If we denote a priori distribution of μ by μ | Σ ~ N ( μ 0 , Σ / k 0 ) , Σ ~ I W ( ν 0 , Λ 0 ) , then the posterior is μ | y , Σ N ( μ n , Σ / k n ) , Σ | y ~ I W ( ν n , Λ n ) , where

ν n = k 0 k 0 + n μ 0 + n k 0 + n y ¯ , k n = k 0 + n , ν n = ν 0 + n , Λ n = Λ n + S + k 0 n k 0 + n S 0 . (5)

3. Symplectic Group and Affine Canonical Transformation

In this section we review properties of the symplectic group and Hamiltonian flows.

Denote the set of all linear symplectic transformations on 2 n by

Sp ( 2 n , ) = { S GL ( 2 n , ) ; S T J S = J } (6)

and call the symplectic group, where J = [ 0 I n I n 0 ] .

Let z be a vector in 2 n and ω 0 be the canonical symplectic structure on 2n dimensional vector space 2 n , then a necessary and sufficient condition for ω 0 ( z , z ) = ω 0 ( S z , S z ) is S T J S = J . For any S Sp ( 2 n , ) we have det S = 1 , where det S denotes the determinant of matrix S. We also have Sp ( 2 n , ) = SL ( 2, ) for n = 1 . In general Sp ( 2 n , ) is a connected Lie group of dimension n ( 2 n + 1 ) , and the Lie algebra is given by

s p ( n , ) = { M M ( 2 n , ) ; J M + M T J = 0 } . If we write S Sp ( 2 n , ) in terms of n × n block matrices by S = [ A B C D ] , then

A T C = C T A , B T D = D T B , A T D C T B = I n . (7)

Hence the inverse matrix of S is given by S 1 = [ D T B T C T A T ] . For details, see Abraham-Marsden [1] and de Gosson [2] .

If we consider time evolutions of ρ 0 ~ N ( 0, Σ ) by a Hamiltonian flow, the resulting function is distributed multivariate normal.

Lemma 1. If we evolve a density function such that ρ 0 ~ N ( 0, Σ ) by a linear Hamiltonian system with transition matrix Φ t Sp ( 2 n , ) , then we have ρ t ~ N ( 0, Σ ( t ) ) , where Σ ( t ) = Φ t Σ Φ t T .

For any Hamiltonian equation

{ q ˙ j = H p j p ˙ j = H q j (8)

the transition matrix is given by Φ t = exp ( t [ 0 H p j H q j 0 ] ) and satisfies Φ t Sp ( 2 n , ) for any t.

Lemma 1 shows that if we evolve a density function distributed a normal distribution by Hamiltonian equations, then the result is also distributed a normal distribution whose variance is obtained to original variance by multiplying the transition matrix from left and its transpose from right. The proof is straightforward as follows. By Φ t = Φ t 1 and det Φ t = 1 , we have

ρ t = ρ 0 ( Φ t x ) = ( 1 2 π ) n ( det Σ ) 1 / 2 exp [ 1 2 x T Φ t T Σ 1 Φ t x ] = ( 1 2 π ) n ( det ( Φ t Σ Φ t T ) ) 1 / 2 exp [ 1 2 x T ( Φ t Σ Φ t T ) 1 x ] .

4. Proof of the Theorem

To prove the theorem, we explicitly construct affine symplectic diffeomorphisms.

First we consider known variance case. Let ω 0 be the canonical symplectic structure on 2 n = n × n . We consider μ is in the first factor of 2 n , and take the matrix [ Λ 0 1 0 0 I n ] which corresponds to apriori distribution. Let

Φ 1 = S T = [ I n ( Λ 0 1 + n Σ 1 ) 1 ( n Σ 1 ) 1 / 2 ( n Σ 1 ) 1 / 2 I n ( n Σ 1 ) 1 / 2 ( Λ 0 1 + n Σ 1 ) 1 ( n Σ 1 ) 1 / 2 ] (9)

then we have Φ 1 Sp ( 2 n , ) and

S [ Λ 0 1 0 0 I n ] S T = [ Λ n 1 0 0 I n ( n Σ 1 ) 1 / 2 ( Λ 0 1 + n Σ 1 ) 1 ( n Σ 1 ) 1 / 2 ] . (10)

Hence the Bayesian updating can be expressed as

T ( μ n ,0 ) Φ ˜ 1 T ( μ 0 ,0 ) , (11)

where T ( a , b ) denotes the parallel translation T : ( x , y ) ( x + a , y + b ) on 2 n , and denotes the composition of maps.

In the case where unknown variance, we take a matrix [ k 0 Σ 1 0 0 I n ] as apriori distribution and set

Φ 1 = S T = [ I n n 1 / 2 Σ 1 / 2 ( 2 k 0 ) 1 n 1 / 2 Σ 1 / 2 ( 1 n 2 k 0 ) Σ ] Sp ( 2 n , ) , (12)

then the desired transformation is given by

T ( μ n ,0 ) Φ ˜ 1 T ( μ 0 ,0 ) . (13)

5. Conclusion

In this paper we show that Bayesian updating can be expressed by an affine symplectic diffeomorphism on 2 n whose base space contains a population mean vector. Bayesian updating is widely used in several areas, and recently it is usual to use computers to determine the posterior, implicitly. However our theorem expresses the posterior explicitly and concretely, and gives a dynamical interpretation of Bayesian updating.

Conflicts of Interest

The authors declare no conflicts of interest regarding the publication of this paper.

References

[1] Abraham, R. and Marsden, J.E. (1987) Foundations of Mechanics. Second Edition, Addison-Wesley Publishing Company, Inc., Boston.
[2] De Gosson, M.A. (2006) Symplectic Geometry and Quantum Mechanics. Birkhäuser, Basel.
https://doi.org/10.1007/3-7643-7575-2
[3] Hofer, H. and Zehnder, E. (1994) Symplectic Invariants and Hamiltonian Dynamics. Birkhäuser, Basel.
https://doi.org/10.1007/978-3-0348-8540-9
[4] Weinstein, A. (1981) Symplectic Geometry. Bulletin of the American Mathematical Society, 5, 1-13.
https://doi.org/10.1090/S0273-0979-1981-14911-9
[5] Mori, A. (2018) Information Geometry in a Global Setting. Hiroshima Mathematical Journal, 48, 291-305.
https://doi.org/10.32917/hmj/1544238029
[6] Mori, A. A Congruence Theorem for Alpha-Connections on the Space of T-Distributions and Its Application.
[7] Amari, S. and Nagaoka, H. (2000) Methods of Information Geometry. Translations of Mathematical Monographs, Vol. 191, American Mathematical Society, Providence, Oxford University Press, Oxford, Translated from the 1993 Japanese Original by Daishi Harada.
[8] Boumuki, N. and Noda, T. (2016) On Gradient and Hamiltonian Flows on Even Dimensional Dually Flat Spaces. Fundamental Journal of Mathematics and Mathematical Sciences, 6, 51-66.
[9] Noda, T. (2011) Symplectic Structures on Statistical Manifolds. Journal of the Australian Mathematical Society, 90, 371-384.
https://doi.org/10.1017/S1446788711001285
[10] Lesaffre, E. and Lawson, A.B. (2012) Bayesian Biostatistics (Statistics in Practice). Wiley, Hoboken.
https://doi.org/10.1002/9781119942412

Copyright © 2024 by authors and Scientific Research Publishing Inc.

Creative Commons License

This work and the related PDF file are licensed under a Creative Commons Attribution 4.0 International License.