• Nenhum resultado encontrado

On the Fully Bayesian Treatment of Latent Gaussian Models using Stochastic Simulations

N/A
N/A
Protected

Academic year: 2023

Share "On the Fully Bayesian Treatment of Latent Gaussian Models using Stochastic Simulations"

Copied!
25
0
0

Texto

(1)

On the Fully Bayesian Treatment of Latent Gaussian Models using Stochastic Simulations

Maurizio Filippone

School of Computing Science University of Glasgow [email protected]

May 30th, 2012

(2)

Outline of the talk

1 Latent Gaussian Models

2 Inference in Latent Gaussian Models using MCMC

3 An application to neuroimaging data

(3)

Latent Gaussian Models - LGMs

Class of hierarchical models

p(data|latent) p(latent|par) p(par) p(latent|par) =N(latent|µ(par),K(par))

par

latent

data

(4)

LGM - Logistic regression example

0.0 0.2 0.4 0.6 0.8 1.0

−4−3−2−10123

x

latent

gain

length−scale

0.0 0.2 0.4 0.6 0.8 1.0

0.00.20.40.60.81.0

x

(5)

LGM - Log-Gaussian Cox example

0.0 0.2 0.4 0.6 0.8 1.0

−4−3−2−10123

x

latent

gain

length−scale

0.0 0.2 0.4 0.6 0.8 1.0

051015

x

(6)

Inference and predictions

Ideally - predictions for new data1 p(data|data):

Z

p(data|latent,par)p(latent,par|data)dlatentdpar

requires the posterior distributionp(latent,par|data)

par

latent

data

1herelatentcomprises alsolatent

(7)

Inference and predictions

Posterior:

p(latent,par|data)∝p(data|latent)p(latent|par)p(par) usually analytically intractable

par

latent

data

(8)

Stochastic approximations - Monte Carlo integration

Predictions for new data p(data|data) is an expectation Z

p(data|latent,par)p(latent,par|data)dlatentdpar

Monte Carlo estimation:

E[f(x)] = Z

f(x)p(x)dx ' 1 N

N

X

i=1

f(xi)

with xi drawn from p(x)

good news: asymptotically correct

bad news: the variance ofE[f(x)]→0 inO(1/N)

(9)

Stochastic approximations - MCMC

Explore the parameter space according to the density

0.0 0.2 0.4 0.6 0.8 1.0

0.00.51.01.52.0

● ●

0.0 0.2 0.4 0.6 0.8 1.0

0.00.51.01.52.0

1

2 3 4

6 5 7 8

9 1

2 3 4

6 5 7 8

9

Often it is not possible to draw samples directly - need to set up a Markov chain

(10)

Stochastic approximations - MCMC

Explore the parameter space according to the density

0.0 0.2 0.4 0.6 0.8 1.0

0.00.51.01.52.0

● ●

0.0 0.2 0.4 0.6 0.8 1.0

0.00.51.01.52.0

21 43 65 789

21 43 65 789

. . .sometimes things can go wrong - need for efficient proposal mechanisms

(11)

Complexity of LGMs

updates ofpar costO(n3) operations log|K| K−1 unless particular structures are assumed

(12)

Approximate inference

MCMC is usually considered slow/awkward to apply to LGMs approximate2 p(latent|par,data)'q(latent|par,data)

maximizing approximate ˆp(data|par) (usingq) wrtpar numerically integrate outparby quadrature or MCMC usually fast but:

still inO(n3)

we would like to include theuncertainty onpar we might not be happy with the approximationq quadrature can’t be employed ifparis large dimensional

2Laplace Approximation, Expectation Propagation

(13)

Gibbs sampling p(latent, par|data)

Why is MCMC for LGMs difficult?

obvious choice (aka Sufficient Augmentation (SA) scheme):

p(latent|par,data) (can be efficiently sampled) p(par|latent) (bad idea- see figure)

0.0 0.2 0.4 0.6 0.8 1.0 1.2

01020304050

par

posterior

SA p(par | data)

par

latent

data

(14)

Gibbs sampling p(latent, par|data)

Ancillary Augmentation (AA) scheme - reparametrization:

ancillary=L−1latent K =LLT p(latent|par,data) (can be efficiently sampled)

p(par|ancillary,data) (larger marginal posterior variance)

0.0 0.2 0.4 0.6 0.8 1.0 1.2

01020304050

par

posterior

SA AA p(par | data)

par

data ancillary

(15)

Other strategies

Joint sampler by Knorr-Held and Rue (2002):

propose par0|latentand latent0|par0,dataand then jointly Accept/Reject

Interweave AA and SA (ASIS, Yu and Meng 2011)

(16)

Some results

parsampled using MH

latent sampled using Elliptical Slice Sampling (Murray et al.

2010)

Table: Logistic regression -n= 100,parR2 Sampler min ESS Rˆ

ASIS 2.3% 1.01

SA 0.7% 1.75

AA 2.0% 1.01

KHR 0.9% 1.04

(17)

Take-home message

fastest convergence and highest sample independence wrt computations: AA scheme with parsampled using the Metropolis-Hastings algorithm

clever and complicated proposal are expensive and don’t seem to pay off

(18)

Parkinson syndromes data

62 subjects

Early stage prediction of development of Idiopathic Parkinson’s Disease (IPD) Multiple System Atrophy (MSA) Progressive Supranuclear Palsy (PSP) Given neuroimages

(19)

LGM based multiclass classification with multiple sources

latent variables fc(x) with GP prior with covariance

cov(fc(x1),fc(x2)) =

q

X

s=1

wcsCs(x1,x2)

Multinomial likelihood

p(disease=c|latent,sources) = exp(fc(x)) Pm

r=1exp(fr(x)) this problem is aka Multiple Kernel Learning

(20)

Parkinson syndromes data - multi source

Method Accuracy GP classifier 0.598

SimpleMKL 0.418

(21)

Parkinson syndromes data

Analysis of brain regions

for this analysis we used only the GM data source

we used an anatomical template as in Shattuck et al. 2008 to parcellate the GM images into:

brainstem

bilateral cerebellum bilateral caudate

bilateral middle occipital gyrus bilateral putamen

all other regions

(22)

Parkinson syndromes data - multi region

Method Accuracy GP classifier 0.614

SimpleMKL 0.229

(23)

Conclusions and ongoing work

The fully Bayesian treatment of LGMs using MCMC is still an open question but recent advances in the field allow to tackle small to moderately large (up to a thousand) inference problems in reasonable time

(24)

References

[1] M. Filippone, A.F. Marquand, C.R.V. Blain, S.C.R. Williams, J. Mour˜ao-Miranda, and M. Girolami.Probabilistic prediction of neurological disorders with a statistical assessment of neuroimaging data modalities.Annals of Applied Statistics. To appear.

[2] M. Filippone, M. Zhong, and M. Girolami. On the fully Bayesian treatment of latent Gaussian models using stochastic simulations. Technical Report TR-2012-329, School of Computing Science, University of Glasgow, February 2012.

(25)

Thank you!

Questions?

Referências

Documentos relacionados

Voor aangifteverzuimboetes geldt het volgende: a corrigeert u een aangifte op eigen initia- tief, dan krijgt u geen aangifteverzuimboete, b corrigeert u een aangifte omdat de fiscus u