DCM: Advanced Topics Klaas Enno Stephan Translational Neuromodeling Unit (TNU) Institute for Biomedical Engineering, University of Zurich & ETH Zurich.

Slides:



Advertisements
Similar presentations
Dynamic Causal Modelling (DCM) for fMRI
Advertisements

J. Daunizeau Institute of Empirical Research in Economics, Zurich, Switzerland Brain and Spine Institute, Paris, France Bayesian inference.
Bayesian inference Lee Harrison York Neuroimaging Centre 01 / 05 / 2009.
Bayesian models for fMRI data
DCM: Advanced topics Klaas Enno Stephan Laboratory for Social & Neural Systems Research Institute for Empirical Research in Economics University of Zurich.
Bayesian models for fMRI data
DCM: Advanced topics Klaas Enno Stephan SPM Course Zurich
Methods & Models for fMRI data analysis 17 December 2008
Bayesian models for fMRI data Methods & models for fMRI data analysis 06 May 2009 Klaas Enno Stephan Laboratory for Social and Neural Systems Research.
DCM: Advanced issues Klaas Enno Stephan Laboratory for Social & Neural Systems Research Institute for Empirical Research in Economics University of Zurich.
DCM: Advanced issues Klaas Enno Stephan Laboratory for Social & Neural Systems Research Institute for Empirical Research in Economics University of Zurich.
DCM for fMRI: Theory & Practice
DCM: Advanced topics Klaas Enno Stephan Laboratory for Social & Neural Systems Research Institute for Empirical Research in Economics University of Zurich.
DCM: Advanced topics Klaas Enno Stephan Laboratory for Social & Neural Systems Research Institute for Empirical Research in Economics University of Zurich.
DCM: Advanced topics Klaas Enno Stephan Laboratory for Social & Neural Systems Research Institute for Empirical Research in Economics University of Zurich.
J. Daunizeau Wellcome Trust Centre for Neuroimaging, London, UK Institute of Empirical Research in Economics, Zurich, Switzerland Bayesian inference.
DCM: Advanced topics Rosalyn Moran Wellcome Trust Centre for Neuroimaging Institute of Neurology University College London With thanks to the FIL Methods.
DYNAMIC CAUSAL MODELLING FOR fMRI Theory and Practice
J. Daunizeau Motivation, Brain and Behaviour group, ICM, Paris, France Wellcome Trust Centre for Neuroimaging, London, UK Dynamic Causal Modelling for.
GUIDE to The… D U M M I E S’ DCM Velia Cardin. Functional Specialization is a question of Where? Where in the brain is a certain cognitive/perceptual.
Dynamic Causal Modelling THEORY SPM Course FIL, London October 2009 Hanneke den Ouden Donders Centre for Cognitive Neuroimaging Radboud University.
Dynamic Causal Modelling
DCM Advanced, Part II Will Penny (Klaas Stephan) Wellcome Trust Centre for Neuroimaging Institute of Neurology University College London SPM Course 2014.
DCM: Advanced topics Klaas Enno Stephan Zurich SPM Course 2014
Dynamic Causal Modelling (DCM) for fMRI
Dynamic Causal Modelling (DCM): Theory Demis Hassabis & Hanneke den Ouden Thanks to Klaas Enno Stephan Functional Imaging Lab Wellcome Dept. of Imaging.
DCM for fMRI: Advanced topics Klaas Enno Stephan Laboratory for Social & Neural Systems Research (SNS) University of Zurich Wellcome Trust Centre for Neuroimaging.
Dynamic Causal Modelling (DCM) for fMRI
18 th February 2009 Stephanie Burnett Christian Lambert Methods for Dummies 2009 Dynamic Causal Modelling Part I: Theory.
Group analyses of fMRI data Methods & models for fMRI data analysis November 2012 With many thanks for slides & images to: FIL Methods group, particularly.
J. Daunizeau Wellcome Trust Centre for Neuroimaging, London, UK UZH – Foundations of Human Social Behaviour, Zurich, Switzerland Dynamic Causal Modelling:
DCM for fMRI – Advanced topics Klaas Enno Stephan.
J. Daunizeau ICM, Paris, France ETH, Zurich, Switzerland Dynamic Causal Modelling of fMRI timeseries.
Dynamic Causal Modelling Advanced Topics SPM Course (fMRI), May 2015 Peter Zeidman Wellcome Trust Centre for Neuroimaging University College London.
Dynamic Causal Modelling for EEG and MEG
Bayesian models for fMRI data Methods & models for fMRI data analysis November 2011 With many thanks for slides & images to: FIL Methods group, particularly.
Experimental design of fMRI studies Methods & models for fMRI data analysis November 2012 Sandra Iglesias Translational Neuromodeling Unit (TNU) Institute.
Dynamic Causal Modelling (DCM) Marta I. Garrido Thanks to: Karl J. Friston, Klaas E. Stephan, Andre C. Marreiros, Stefan J. Kiebel,
Dynamic Causal Modelling Introduction SPM Course (fMRI), October 2015 Peter Zeidman Wellcome Trust Centre for Neuroimaging University College London.
Bayesian Model Comparison Will Penny London-Marseille Joint Meeting, Institut de Neurosciences Cognitive de la Mediterranee, Marseille, September 28-29,
Dynamic Causal Modelling for fMRI
Dynamic Causal Model for evoked responses in MEG/EEG Rosalyn Moran.
DCM: Advanced Topics Klaas Enno Stephan Translational Neuromodeling Unit (TNU) Institute for Biomedical Engineering University of Zurich & Swiss Federal.
DCM: Advanced issues Klaas Enno Stephan Centre for the Study of Social & Neural Systems Institute for Empirical Research in Economics University of Zurich.
Bayesian inference Lee Harrison York Neuroimaging Centre 23 / 10 / 2009.
Dynamic Causal Models Will Penny Olivier David, Karl Friston, Lee Harrison, Andrea Mechelli, Klaas Stephan Mathematics in Brain Imaging, IPAM, UCLA, USA,
Bayesian Inference in fMRI Will Penny Bayesian Approaches in Neuroscience Karolinska Institutet, Stockholm February 2016.
Bayesian Inference in SPM2 Will Penny K. Friston, J. Ashburner, J.-B. Poline, R. Henson, S. Kiebel, D. Glaser Wellcome Department of Imaging Neuroscience,
Bayesian selection of dynamic causal models for fMRI Will Penny Olivier David, Karl Friston, Lee Harrison, Andrea Mechelli, Klaas Stephan The brain as.
Dynamic Causal Models Will Penny Olivier David, Karl Friston, Lee Harrison, Stefan Kiebel, Andrea Mechelli, Klaas Stephan MultiModal Brain Imaging, Copenhagen,
Bayesian Model Selection and Averaging SPM for MEG/EEG course Peter Zeidman 17 th May 2016, 16:15-17:00.
DCM: Advanced Topics Klaas Enno Stephan SPM Course FIL London
5th March 2008 Andreina Mendez Stephanie Burnett
Dynamic Causal Modeling of Endogenous Fluctuations
University of Zurich, February 2011
Effective Connectivity
Dynamic Causal Modelling (DCM): Theory
Dynamic Causal Model for evoked responses in M/EEG Rosalyn Moran.
DCM: Advanced issues Klaas Enno Stephan Laboratory for Social & Neural Systems Research Institute for Empirical Research in Economics University of.
Dynamic Causal Modelling
SPM2: Modelling and Inference
Dynamic Causal Modelling
Bayesian Methods in Brain Imaging
CRIS Workshop: Computational Neuroscience and Bayesian Modelling
Effective Connectivity
Bayesian inference J. Daunizeau
DCM for fMRI – Advanced Topics
Bayesian Inference in SPM2
Wellcome Centre for Neuroimaging, UCL, UK.
Bayesian Model Selection and Averaging
Presentation transcript:

DCM: Advanced Topics Klaas Enno Stephan Translational Neuromodeling Unit (TNU) Institute for Biomedical Engineering, University of Zurich & ETH Zurich Laboratory for Social & Neural Systems Research (SNS), University of Zurich Wellcome Trust Centre for Neuroimaging, University College London Methods & models for fMRI data analysis November 2012

Overview Bayesian model selection (BMS) Extended DCM for fMRI: nonlinear, two-state, stochastic Embedding computational models in DCMs Integrating tractography and DCM Applications of DCM to clinical questions

Neural state equation: Electromagnetic forward model: neural activity  EEG MEG LFP Dynamic Causal Modeling (DCM) simple neuronal model complicated forward model complicated neuronal model simple forward model fMRI EEG/MEG inputs Hemodynamic forward model: neural activity  BOLD

Generative models & model selection any DCM = a particular generative model of how the data (may) have been caused modelling = comparing competing hypotheses about the mechanisms underlying observed data  a priori definition of hypothesis set (model space) is crucial  determine the most plausible hypothesis (model), given the data model selection  model validation!  model validation requires external criteria (external to the measured data)

Model comparison and selection Given competing hypotheses on structure & functional mechanisms of a system, which model is the best? For which model m does p(y|m) become maximal? Which model represents the best balance between model fit and model complexity? Pitt & Miyung (2002) TICS

Model evidence: Various approximations, e.g.: -negative free energy, AIC, BIC Bayesian model selection (BMS) accounts for both accuracy and complexity of the model allows for inference about structure (generalisability) of the model all possible datasets y p(y|m) Gharamani, 2004 McKay 1992, Neural Comput. Penny et al. 2004a, NeuroImage

Logarithm is a monotonic function Maximizing log model evidence = Maximizing model evidence SPM2 & SPM5 offered 2 approximations: Akaike Information Criterion: Bayesian Information Criterion: Log model evidence = balance between fit and complexity Penny et al. 2004a, NeuroImage Penny 2012, NeuroImage Approximations to the model evidence in DCM No. of parameters No. of data points

The (negative) free energy approximation Under Gaussian assumptions about the posterior (Laplace approximation):

The complexity term in F In contrast to AIC & BIC, the complexity term of the negative free energy F accounts for parameter interdependencies. The complexity term of F is higher –the more independent the prior parameters (  effective DFs) –the more dependent the posterior parameters –the more the posterior mean deviates from the prior mean NB: Since SPM8, only F is used for model selection !

Bayes factors positive value, [0;  [ But: the log evidence is just some number – not very intuitive! A more intuitive interpretation of model comparisons is made possible by Bayes factors: To compare two models, we could just compare their log evidences. B 12 p(m 1 |y)Evidence 1 to %weak 3 to %positive 20 to %strong  150  99% Very strong Kass & Raftery classification: Kass & Raftery 1995, J. Am. Stat. Assoc.

V1 V5 stim PPC M2 attention V1 V5 stim PPC M1 attention V1 V5 stim PPC M3 attention V1 V5 stim PPC M4 attention BF  2966  F = M2 better than M1 BF  12  F = M3 better than M2 BF  23  F = M4 better than M3 M1 M2 M3 M4 BMS in SPM8: an example

Fixed effects BMS at group level Group Bayes factor (GBF) for 1...K subjects: Average Bayes factor (ABF): Problems: -blind with regard to group heterogeneity -sensitive to outliers

Random effects BMS for heterogeneous groups Dirichlet parameters  = “occurrences” of models in the population Dirichlet distribution of model probabilities r Multinomial distribution of model labels m Measured data y Model inversion by Variational Bayes (VB) or MCMC Stephan et al. 2009a, NeuroImage Penny et al. 2010, PLoS Comp. Biol.

MOG LG RVF stim. LVF stim. FG LD|RVF LD|LVF LD MOG LG RVF stim. LVF stim. FG LD LD|RVFLD|LVF MOG m2m2 m1m1 m1m1 m2m2 Data:Stephan et al. 2003, Science Models:Stephan et al. 2007, J. Neurosci.

m1m1 m2m2 Stephan et al. 2009a, NeuroImage

Model space partitioning: comparing model families m1m1 m2m2 m1m1 m2m2 Stephan et al. 2009, NeuroImage

Comparing model families – a second example data from Leff et al. 2008, J. Neurosci one driving input, one modulatory input 2 6 = 64 possible modulations 2 3 – 1 input patterns 7  64 = 448 models integrate out uncertainty about modulatory patterns and ask where auditory input enters Penny et al. 2010, PLoS Comput. Biol.

Bayesian Model Averaging (BMA) abandons dependence of parameter inference on a single model uses the entire model space considered (or an optimal family of models) computes average of each parameter, weighted by posterior model probabilities represents a particularly useful alternative –when none of the models (or model subspaces) considered clearly outperforms all others –when comparing groups for which the optimal model differs NB: p(m|y 1..N ) can be obtained by either FFX or RFX BMS Penny et al. 2010, PLoS Comput. Biol.

inference on model structure or inference on model parameters? inference on individual models or model space partition? comparison of model families using FFX or RFX BMS optimal model structure assumed to be identical across subjects? FFX BMS RFX BMS yesno inference on parameters of an optimal model or parameters of all models? BMA definition of model space FFX analysis of parameter estimates (e.g. BPA) FFX analysis of parameter estimates (e.g. BPA) RFX analysis of parameter estimates (e.g. t-test, ANOVA) RFX analysis of parameter estimates (e.g. t-test, ANOVA) optimal model structure assumed to be identical across subjects? FFX BMS yesno RFX BMS Stephan et al. 2010, NeuroImage

Overview Bayesian model selection (BMS) Extended DCM for fMRI: nonlinear, two-state, stochastic Embedding computational models in DCMs Integrating tractography and DCM Applications of DCM to clinical questions

DCM10 in SPM8 DCM10 was released as part of SPM8 in July 2010 (version 4010). Introduced many new features, incl. two-state DCMs and stochastic DCMs This led to various changes in model defaults, e.g. –inputs mean-centred –changes in coupling priors –self-connections estimated separately for each area For details, see: Further changes in version 4290 (released April 2011) to accommodate new developments and give users more choice (e.g., whether or not to mean- centre inputs).

The evolution of DCM in SPM DCM is not one specific model, but a framework for Bayesian inversion of dynamic system models The default implementation in SPM is evolving over time –improvements of numerical routines (e.g., for inversion) –change in priors to cover new variants (e.g., stochastic DCMs, endogenous DCMs etc.) To enable replication of your results, you should ideally state which SPM version (release number) you are using when publishing papers. In the next SPM version, the release number will be stored in the DCM.mat.

endogenous connectivity direct inputs modulation of connectivity Neural state equation hemodynamic model λ x y integration BOLD yy y activity x 1 (t) activity x 2 (t) activity x 3 (t) neuronal states t driving input u 1 (t) modulatory input u 2 (t) t    The classical DCM: a deterministic, one-state, bilinear model

Factorial structure of model specification in DCM10 Three dimensions of model specification: –bilinear vs. nonlinear –single-state vs. two-state (per region) –deterministic vs. stochastic Specification via GUI.

bilinear DCM Bilinear state equation: driving input modulation driving input modulation non-linear DCM Two-dimensional Taylor series (around x 0 =0, u 0 =0): Nonlinear state equation:

Neural population activity fMRI signal change (%) x1x1 x2x2 x3x3 Nonlinear dynamic causal model (DCM) Stephan et al. 2008, NeuroImage u1u1 u2u2

V1 V5 stim PPC attention motion MAP = 1.25 Stephan et al. 2008, NeuroImage

V1 V5 PPC observed fitted motion & attention motion & no attention static dots

input Single-state DCM Intrinsic (within-region) coupling Extrinsic (between-region) coupling Two-state DCM Marreiros et al. 2008, NeuroImage

Estimates of hidden causes and states (Generalised filtering) Stochastic DCM Li et al. 2011, NeuroImage all states are represented in generalised coordinates of motion random state fluctuations w (x) account for endogenous fluctuations, have unknown precision and smoothness  two hyperparameters fluctuations w (v) induce uncertainty about how inputs influence neuronal activity can be fitted to resting state data

Overview Bayesian model selection (BMS) Extended DCM for fMRI: nonlinear, two-state, stochastic Embedding computational models in DCMs Integrating tractography and DCM Applications of DCM to clinical questions

Prediction errors drive synaptic plasticity McLaren 1989 x1x1 x2x2 x3x3 PE(t) R synaptic plasticity during learning = f (prediction error)

Learning of dynamic audio-visual associations CS Response Time (ms) ± 650 or Target StimulusConditioning Stimulus or TS p(face) trial CS 1 2 den Ouden et al. 2010, J. Neurosci.

Hierarchical Bayesian learning model observed events probabilistic association volatility k v t-1 vtvt rtrt r t+1 utut u t+1 Behrens et al. 2007, Nat. Neurosci. prior on volatility

Explaining RTs by different learning models Trial p(F) True Bayes Vol HMM fixed HMM learn RW Bayesian model selection: hierarchical Bayesian model performs best 5 alternative learning models: categorical probabilities hierarchical Bayesian learner Rescorla-Wagner Hidden Markov models (2 variants) RT (ms) p(outcome) Reaction times den Ouden et al. 2010, J. Neurosci.

PutamenPremotor cortex Stimulus-independent prediction error p < 0.05 (SVC ) p < 0.05 (cluster-level whole- brain corrected) p(F) p(H) BOLD resp. (a.u.) p(F)p(H) BOLD resp. (a.u.) den Ouden et al. 2010, J. Neurosci.

Prediction error (PE) activity in the putamen PE during reinforcement learning PE during incidental sensory learning O'Doherty et al. 2004, Science den Ouden et al. 2009, Cerebral Cortex Could the putamen be regulating trial-by-trial changes of task-relevant connections? PE = “teaching signal” for synaptic plasticity during learning p < 0.05 (SVC ) PE during active sensory learning

Prediction errors control plasticity during adaptive cognition Influence of visual areas on premotor cortex: –stronger for surprising stimuli –weaker for expected stimuli den Ouden et al. 2010, J. Neurosci. PPAFFA PMd Hierarchical Bayesian learning model PUT p = p = ongoing pharmacological and genetic studies ongoing pharmacological and genetic studies

events in the world association volatility Hierarchical variational Bayesian learning sensory stimuli Mean-field decomposition Mathys et al. (2011), Front. Hum. Neurosci.

Overview Bayesian model selection (BMS) Extended DCM for fMRI: nonlinear, two-state, stochastic Embedding computational models in DCMs Integrating tractography and DCM Applications of DCM to clinical questions

Diffusion-weighted imaging Parker & Alexander, 2005, Phil. Trans. B

Probabilistic tractography: Kaden et al. 2007, NeuroImage computes local fibre orientation density by spherical deconvolution of the diffusion-weighted signal estimates the spatial probability distribution of connectivity from given seed regions anatomical connectivity = proportion of fibre pathways originating in a specific source region that intersect a target region If the area or volume of the source region approaches a point, this measure reduces to method by Behrens et al. (2003)

R2R2 R1R1 R2R2 R1R1 low probability of anatomical connection  small prior variance of effective connectivity parameter high probability of anatomical connection  large prior variance of effective connectivity parameter Integration of tractography and DCM Stephan, Tittgemeyer et al. 2009, NeuroImage

LG FG  DCM LG left LG right FG right FG left  anatomical connectivity  probabilistic tractography Proof of concept study  connection- specific priors for coupling parameters Stephan, Tittgemeyer et al. 2009, NeuroImage

Connection-specific prior variance  as a function of anatomical connection probability  64 different mappings by systematic search across hyper- parameters  and  yields anatomically informed (intuitive and counterintuitive) and uninformed priors

Models with anatomically informed priors (of an intuitive form)

Models with anatomically informed priors (of an intuitive form) were clearly superior to anatomically uninformed ones: Bayes Factor >10 9

Overview Bayesian model selection (BMS) Extended DCM for fMRI: nonlinear, two-state, stochastic Embedding computational models in DCMs Integrating tractography and DCM Applications of DCM to clinical questions

model structure Model-based predictions for single patients set of parameter estimates BMS model-based decoding

BMS: Parkison‘s disease and treatment Rowe et al. 2010, NeuroImage Age-matched controls PD patients on medication PD patients off medication DA-dependent functional disconnection of the SMA Selection of action modulates connections between PFC and SMA

Model-based decoding by generative embedding Brodersen et al. 2011, PLoS Comput. Biol. step 2 — kernel construction step 1 — model inversion measurements from an individual subject subject-specific inverted generative model subject representation in the generative score space A → B A → C B → B B → C A C B step 3 — support vector classification separating hyperplane fitted to discriminate between groups A C B jointly discriminative model parameters step 4 — interpretation

Discovering remote or “hidden” brain lesions

detect “down-stream” network changes  altered synaptic coupling among non-lesioned regions

Model-based decoding of disease status: mildly aphasic patients (N=11) vs. controls (N=26) Connectional fingerprints from a 6-region DCM of auditory areas during speech perception Brodersen et al. 2011, PLoS Comput. Biol.

Model-based decoding of disease status: aphasic patients (N=11) vs. controls (N=26) Classification accuracy Brodersen et al. 2011, PLoS Comput. Biol. MGB PT HG (A1) MGB PT HG (A1) auditory stimuli

Multivariate searchlight classification analysis Generative embedding using DCM

Brodersen et al. 2011, PLoS Comput. Biol.   

Key methods papers: DCM for fMRI and BMS – part 1 Brodersen KH, Schofield TM, Leff AP, Ong CS, Lomakina EI, Buhmann JM, Stephan KE (2011) Generative embedding for model-based classification of fMRI data. PLoS Computational Biology 7: e Daunizeau J, David, O, Stephan KE (2011) Dynamic Causal Modelling: A critical review of the biophysical and statistical foundations. NeuroImage 58: Friston KJ, Harrison L, Penny W (2003) Dynamic causal modelling. NeuroImage 19: Friston K, Stephan KE, Li B, Daunizeau J (2010) Generalised filtering. Mathematical Problems in Engineering 2010: Friston KJ, Li B, Daunizeau J, Stephan KE (2011) Network discovery with DCM. NeuroImage 56: 1202–1221. Friston K, Penny W (2011) Post hoc Bayesian model selection. Neuroimage 56: Kasess CH, Stephan KE, Weissenbacher A, Pezawas L, Moser E, Windischberger C (2010) Multi-Subject Analyses with Dynamic Causal Modeling. NeuroImage 49: Kiebel SJ, Kloppel S, Weiskopf N, Friston KJ (2007) Dynamic causal modeling: a generative model of slice timing in fMRI. NeuroImage 34: Li B, Daunizeau J, Stephan KE, Penny WD, Friston KJ (2011). Stochastic DCM and generalised filtering. NeuroImage 58: Marreiros AC, Kiebel SJ, Friston KJ (2008) Dynamic causal modelling for fMRI: a two-state model. NeuroImage 39: Penny WD, Stephan KE, Mechelli A, Friston KJ (2004a) Comparing dynamic causal models. NeuroImage 22: Penny WD, Stephan KE, Mechelli A, Friston KJ (2004b) Modelling functional integration: a comparison of structural equation and dynamic causal models. NeuroImage 23 Suppl 1:S

Key methods papers: DCM for fMRI and BMS – part 2 Penny WD, Stephan KE, Daunizeau J, Joao M, Friston K, Schofield T, Leff AP (2010) Comparing Families of Dynamic Causal Models. PLoS Computational Biology 6: e Penny WD (2012) Comparing dynamic causal models using AIC, BIC and free energy. Neuroimage 59: Stephan KE, Harrison LM, Penny WD, Friston KJ (2004) Biophysical models of fMRI responses. Curr Opin Neurobiol 14: Stephan KE, Weiskopf N, Drysdale PM, Robinson PA, Friston KJ (2007) Comparing hemodynamic models with DCM. NeuroImage 38: Stephan KE, Harrison LM, Kiebel SJ, David O, Penny WD, Friston KJ (2007) Dynamic causal models of neural system dynamics: current state and future extensions. J Biosci 32: Stephan KE, Weiskopf N, Drysdale PM, Robinson PA, Friston KJ (2007) Comparing hemodynamic models with DCM. NeuroImage 38: Stephan KE, Kasper L, Harrison LM, Daunizeau J, den Ouden HE, Breakspear M, Friston KJ (2008) Nonlinear dynamic causal models for fMRI. NeuroImage 42: Stephan KE, Penny WD, Daunizeau J, Moran RJ, Friston KJ (2009a) Bayesian model selection for group studies. NeuroImage 46: Stephan KE, Tittgemeyer M, Knösche TR, Moran RJ, Friston KJ (2009b) Tractography-based priors for dynamic causal models. NeuroImage 47: Stephan KE, Penny WD, Moran RJ, den Ouden HEM, Daunizeau J, Friston KJ (2010) Ten simple rules for Dynamic Causal Modelling. NeuroImage 49:

Thank you