MEG/EEG Inverse problem and solutions In a Bayesian Framework

25
MEG/EEG Inverse problem and solutions In a Bayesian Framework EEG/MEG SPM course, Bruxelles, 2011 Jérémie Mattout Lyon Neuroscience Research Centr ? With many thanks to Karl Friston, Christophe Ph Rik Henson, Jean Da

description

MEG/EEG Inverse problem and solutions In a Bayesian Framework. ?. Jérémie Mattout Lyon Neuroscience Research Centre. With many thanks to Karl Friston , Christophe Phillips, Rik Henson , Jean Daunizeau. EEG/MEG SPM course, Bruxelles, 2011. Talk’s Overview. SPM rationale - PowerPoint PPT Presentation

Transcript of MEG/EEG Inverse problem and solutions In a Bayesian Framework

Page 1: MEG/EEG Inverse  problem  and solutions In a  Bayesian  Framework

MEG/EEG Inverse problem and solutionsIn a Bayesian Framework

EEG/MEG SPM course, Bruxelles, 2011

Jérémie MattoutLyon Neuroscience Research Centre

?

With many thanks to Karl Friston, Christophe Phillips,Rik Henson, Jean Daunizeau

Page 2: MEG/EEG Inverse  problem  and solutions In a  Bayesian  Framework

Talk’s Overview

• SPM rationale- generative models- probabilistic framework- Twofold inference: parameters & models

• EEG/MEG inverse problem and SPM solution(s)- probabilistic generative models- Parameter inference and model comparison

Page 3: MEG/EEG Inverse  problem  and solutions In a  Bayesian  Framework

Model: "measure, standard" ; representation or object that enables to describe the functionning of a physical system or concept

A model enables you to:- Simulate data- Estimate (non-observables) parameters- Predict future observations- Test hypothesis / Compare models

Stimulations

Physiological Observations

Behavioural Observations

A word about generative models

Page 4: MEG/EEG Inverse  problem  and solutions In a  Bayesian  Framework

Model: "measure, standard" ; representation or object that enables to describe the functionning of a physical system or concept

A model enables you to:- Simulate data- Estimate (non-observables) parameters- Predict future observations- Test hypothesis / Compare models

MEG Observations (Y)

Auditory-Visual Stimulations (u)

Sources/Network ()Y = f(,u)

Model m: f, , u

A word about generative models

Page 5: MEG/EEG Inverse  problem  and solutions In a  Bayesian  Framework

Probabilistic / Bayesian framework

Probability of an event:- represented by real numbers- conforms to intuition- is consistent

a=2b=5

a=2

• normalization:

• marginalization:

• conditioning :(Bayes rule)

Page 6: MEG/EEG Inverse  problem  and solutions In a  Bayesian  Framework

Probabilistic modelling

MEG Observations (Y)

Auditory-Visual Stimulations (u)

Sources/Network ()Y = f(,u)

Model m: f, , u

Probabilistic modelling enables:- To formalize mathematically our knowledge in a model m- To account for uncertainty- To make inference on both model parameters and models themselves

MYP

MPMYPMYP

,,

PriorLikelihood

Marginal or Evidence

Posterior

MPMYPMYP ,

Page 7: MEG/EEG Inverse  problem  and solutions In a  Bayesian  Framework

A toy example

MEG Observations (Y)

Y = L + ɛ

Model m:

- One dipolar source with known position and orientation.- Amplitude ?

Source gain vector

Source amplitude

Measurment noise

Linear f

Gaussian distributions

or &

Likelihood

Prior

Page 8: MEG/EEG Inverse  problem  and solutions In a  Bayesian  Framework

A toy example

MEG Observations (Y)

Model m: &

𝑝 (𝜃|𝑌 )=𝑝 (𝑌|𝜃 )𝑝 (𝜃 )𝑝 (𝑌 )

𝛼𝑝 (𝑌|𝜃 )𝑝 (𝜃 )

Bayes rule

Posterior

Page 9: MEG/EEG Inverse  problem  and solutions In a  Bayesian  Framework

Occam’s razor or principle of parsimony

Hypothesis testing: model comparison

𝑝 (𝜃|𝑌 )=𝑝 (𝑌|𝜃 )𝑝 (𝜃 )𝑝 (𝑌 )

Evidence 𝑝 (𝑌|𝑚 )=∫𝑝 (𝑌|𝜃 ,𝑚 )𝑝 (𝜃|𝑚 ) dθ« complexity should not be assumed without necessity »

mod

el e

vide

nce

p(y|

m)

space of all data setsy=f(x

)y

= f(

x)

x

Page 10: MEG/EEG Inverse  problem  and solutions In a  Bayesian  Framework

Bayesian factor

0p Y H

1p Y H

Yspace of all datasets

• define the null and the alternative hypothesis H (or model m) in terms of priors, e.g.:

0 0

1 1

1 if 0:

0 otherwise

: 0,

H p H

H p H N

0

1

1P H yP H y

if then reject H0

• invert both generative models (obtain both model evidences)

• apply decision rule, i.e.:

y

Hypothesis testing: model comparison

Page 11: MEG/EEG Inverse  problem  and solutions In a  Bayesian  Framework

Probabilistic framing

EEG/MEG inverse problemforward computation

Likelihood & Prior

inverse computation

Posterior & Evidence

𝑝 (𝑌|𝜃 ,𝑚 )𝑝 (𝜃|𝑚 )

𝑝 (𝑌|𝑚 )𝑝 (𝜃|𝑌 ,𝑚 )

Page 12: MEG/EEG Inverse  problem  and solutions In a  Bayesian  Framework

Distributed/Imaging model

EEG/MEG inverse problem

Likelihood

,, LJNMYP LJY

Parameters : (J,)Hypothesis m: distributed (linear) model, gain matrix L, gaussian distributions

Prior ,0NJP

I2Sensor level # sources

# so

urce

s

IID(Minimum Norm)

Maximum Smoothness(LORETA-like)

Source level

# sensors

# se

nsor

s

Page 13: MEG/EEG Inverse  problem  and solutions In a  Bayesian  Framework

Incorporating Multiple Constraints

EEG/MEG inverse problem

Likelihood

,, LJNMYP LJY

Paramètres : (J,,)Hypothèses m: hierarchical model, operator L + components C

Prior

,0NJPSource (or sensor) level

Multiple Sparse Priors (MSP)

kkQQ 1

1

log 𝑁 (𝛼 , 𝛽)

Page 14: MEG/EEG Inverse  problem  and solutions In a  Bayesian  Framework

Expectation Maximization (EM) / Restricted Maximum Likelihood (ReML) / Free-Energy optimization / Parametric Empirical Bayes (PEB)

Estimation procedure

M-step

E-step

F

maxargˆ

),ˆ,(

maxarg)(ˆ)(

MYJp

FMJqMJq

MpqKLMYpMYpqKLMYpFq

,,log,,)(log

accuracy complexity

Iterative scheme

Page 15: MEG/EEG Inverse  problem  and solutions In a  Bayesian  Framework

Model comparison based on the Free-energy

Estimation procedure

)()()|(ln McomplexityMaccuracyMYpF

model Mi

Fi

1 2 3

At convergence

Page 16: MEG/EEG Inverse  problem  and solutions In a  Bayesian  Framework

At the end of the day

Somesthesicdata

Page 17: MEG/EEG Inverse  problem  and solutions In a  Bayesian  Framework

- Pharmacoresistive Epilepsy (surgery planning):• symptoms• PET + sIRM• SEEG

Could MEG replace or at least complement and guide SEEG ?

Romain BouetJulien JungFrançois Maugière

Seizure

120 patients : MEG proved very much informative in 85 patients

30s

ExampleMEG - Epilepsy

Page 18: MEG/EEG Inverse  problem  and solutions In a  Bayesian  Framework

Patient 1 : model comparison

MEG(best model)

SEEG

Example

Romain BouetJulien JungFrançois Maugière

MEG - Epilepsy

Page 19: MEG/EEG Inverse  problem  and solutions In a  Bayesian  Framework

Patient 2 : estimated dynamics

temps

SEEGlésion occipitale

Romain BouetJulien JungFrançois Maugière

ExampleMEG - Epilepsy

Page 20: MEG/EEG Inverse  problem  and solutions In a  Bayesian  Framework

Conclusion

The SPM probabilistic inverse modelling approach enables to:

• Estimate both parameters and hyperparameters from the data

• Incorporate multiple priors of different nature

• Estimate a full posterior distribution over model parameters

• Estimate an approximation to the log-evidence (the free-energy) which enables model comparison based on the same data

• Encompass multimodal fusion and group analysis gracefully

• Note that SPM also include a flexible and convenient meshing tool, as well as beamforming solutions and a Bayesian ECD approach…

Page 21: MEG/EEG Inverse  problem  and solutions In a  Bayesian  Framework

Thank you for your attention

Page 22: MEG/EEG Inverse  problem  and solutions In a  Bayesian  Framework

Graphical representation

EEG/MEG inverse problem

ΕJ

YL

( )jC ( )eC

( , )N 0 C ( , )N 0 C

...

( )ji

( )1eQ ( )

2eQ ...

( )ei

( )1

jQ ( )2

jQ

Fixed

Variable

Data

Page 23: MEG/EEG Inverse  problem  and solutions In a  Bayesian  Framework

ΕJ

MEGY

MEGL

( )jC ( )1eC

( , )N 0 C ( , )N 0 C

( )1

jQ ( )2

jQ

( )ji

( )11eQ ( )

12eQ

( )eij

EEGY

EEGL

( )2eC

( )21eQ ( )

22eQ

Fusion of different modality

Page 24: MEG/EEG Inverse  problem  and solutions In a  Bayesian  Framework

Incorporating fMRI priors

Page 25: MEG/EEG Inverse  problem  and solutions In a  Bayesian  Framework

Hypothesis testing: inference on parametersFrequentist vs. Bayesian approach

t t y t *

0*P t t H

0p t H

0*P t t H if then reject H0

• estimate parameters (obtain test stat.)

H0 : 0• define the null, e.g.:

• apply decision rule, i.e.:

classical inference (SPM)

p y

0P H y

0P H y if then accept H0

• invert model (obtain posterior pdf)

H0 : 0• define the null, e.g.:

• apply decision rule, i.e.:

Bayesian inference (PPM)