48
DCM for fMRI: Theory & Practice Peter Zeidman and Laura Madeley

DCM for fMRI: Theory & Practice Peter Zeidman and Laura Madeley

  • View
    220

  • Download
    2

Embed Size (px)

Citation preview

Page 1: DCM for fMRI: Theory & Practice Peter Zeidman and Laura Madeley

DCM for fMRI: Theory & Practice

Peter Zeidman and Laura Madeley

Page 2: DCM for fMRI: Theory & Practice Peter Zeidman and Laura Madeley

Overview

• Theory– Why DCM?– What DCM does– The State Equation

• Application– Planning DCM studies– Hypotheses– How to complete in SPM

Page 3: DCM for fMRI: Theory & Practice Peter Zeidman and Laura Madeley

Source: http://public.kitware.com/ImageVote/images/17/

Brains as Systems

Page 4: DCM for fMRI: Theory & Practice Peter Zeidman and Laura Madeley

Brains as Systems

Blobs on Brains do not a network make

Page 5: DCM for fMRI: Theory & Practice Peter Zeidman and Laura Madeley

1. Structural connectivity – the physical structure of the brain2. Functional connectivity – the likelihood that 2 neuronal populations share associated

activity3. Effective connectivity – a union between structural and functional connectivity.

Taxonomy of Connectivity

Page 6: DCM for fMRI: Theory & Practice Peter Zeidman and Laura Madeley

The Challenge

How to infer causalityespecially with poor temporal resolution?

Page 7: DCM for fMRI: Theory & Practice Peter Zeidman and Laura Madeley

DCM Overview

1. Create a neural model to represent our hypothesis

2. Convolve it with a haemodynamic model to predict real signal from the scanner

3. Compare models in terms of model fit and complexity

Page 8: DCM for fMRI: Theory & Practice Peter Zeidman and Laura Madeley

The Neural Model

z4

z2 z3

z1

Recipe

Z - Regions

Page 9: DCM for fMRI: Theory & Practice Peter Zeidman and Laura Madeley

The Neural Model

z4

z2 z3

z1

Recipe

Z - RegionsA - Average Connections

Page 10: DCM for fMRI: Theory & Practice Peter Zeidman and Laura Madeley

The Neural Model

z4

z2 z3

z1

Recipe

Z - RegionsA - Average ConnectionsB - Modulatory Inputs

Attention

Page 11: DCM for fMRI: Theory & Practice Peter Zeidman and Laura Madeley

The Neural Model

z4

z2 z3

z1

Recipe

Z - RegionsA - Average ConnectionsB - Modulatory InputsC - External Inputs

Attention

Page 12: DCM for fMRI: Theory & Practice Peter Zeidman and Laura Madeley

DCM Overview

4

2 3

1

Neural Model

x

Haemodynamic Model

=

e.g. region 2

Page 13: DCM for fMRI: Theory & Practice Peter Zeidman and Laura Madeley

DCM Overview

=

Region 2 Timeseries

Page 14: DCM for fMRI: Theory & Practice Peter Zeidman and Laura Madeley

Dynamical Systems

• Less exciting example: interest• My bank gives me 3% interest on savings• How will it grow?

)1(*03.1)( txtx

Page 15: DCM for fMRI: Theory & Practice Peter Zeidman and Laura Madeley

Dynamical Systems

The Lorentz Attractor – A Spatial Dynamical System

Page 16: DCM for fMRI: Theory & Practice Peter Zeidman and Laura Madeley

Dynamical Systems

We can represent a network as a matrix

z2z1

z3

010

001

010=

From

To

z1 z2 z3

(The A-Matrix)

Page 17: DCM for fMRI: Theory & Practice Peter Zeidman and Laura Madeley

Simplified Network Model

0

0

1

)0(z

z2z1

z3

)1()( tAztz

Page 18: DCM for fMRI: Theory & Practice Peter Zeidman and Laura Madeley

Simplified Network Model

)0(*)1( zAz

0

0

1

*

010

001

010

0

1

0

)1(*)( tzAtz

Page 19: DCM for fMRI: Theory & Practice Peter Zeidman and Laura Madeley

Simplified Network Model

0

0

1

)0(z

z2z1

z3

0

1

0

)1(z

z2z1

z3

Page 20: DCM for fMRI: Theory & Practice Peter Zeidman and Laura Madeley

Simplified Network Model

)1(*)2( zAz

0

1

0

*

010

001

010

1

0

1

Page 21: DCM for fMRI: Theory & Practice Peter Zeidman and Laura Madeley

Simplified Network Model

0

1

0

)1(z

z1

z3

1

0

1

)2(z

z2z1

z3

z2

Page 22: DCM for fMRI: Theory & Practice Peter Zeidman and Laura Madeley

Simplified Network Model

)()1( tAztz

CuzBuAz jj )(

The DCM State Equation

{Modulatory Inputs {External Inputs

Page 23: DCM for fMRI: Theory & Practice Peter Zeidman and Laura Madeley

Summary So Far

• The Brain is a Dynamical System• The simple DCM “forward model” predicts

neural activity• The software (SPM) combines it the

haemodynamic model, to predict the fMRI timeseries

• We compare models to choose the one best matching the real fMRI timeseries

Page 24: DCM for fMRI: Theory & Practice Peter Zeidman and Laura Madeley

Dynamic Causal Modelling (DCM) needed due to a simple problem:

• Cognitive neuroscientists want to talk about activation at the level of neuronal systems to hypothesize about cognitive processes

• Imaging techniques do not generate data at this level, but give output relating to non-linear correlates e.g. fMRI haemodynamic response (BOLD signal)

• It would be useful to be able to talk about causality in neuronal populations, since we know that signals propagate from some input through a system

• DCM attempts to tackle these problems

DCM Motivation

Page 25: DCM for fMRI: Theory & Practice Peter Zeidman and Laura Madeley

DCM History

• Introduced in 2002 for fMRI data (Friston, 2002)• DCM is a generic approach for inferring hidden (unobserved)

neuronal states from measured brain activity.• The mathematical basis and implementation of DCM for fMRI

have since been refined and extended repeatedly.• DCMs have also been implemented for a range of measurement

techniques other than fMRI, including EEG, MEG (to be presented next week), and LFPs obtained from invasive recordings in humans or animals.

Page 26: DCM for fMRI: Theory & Practice Peter Zeidman and Laura Madeley

What do we want from fMRI studies?

Different Questions re brain function:

1. Functional specialisation– Where is a stimulus processed?– What are regionally specific effects?

• Normal SPM analysis (GLM)

2. Functional integration– How does the system work?– What are inter-regional effects?– How do components of that system interact?

SMA

PMd

M1

PMv PMv

PMd

M1

SMA

Page 27: DCM for fMRI: Theory & Practice Peter Zeidman and Laura Madeley

DCM: Basic idea• DCM allows you to model brain activity at the neuronal level (not

directly accessible in fMRI) using a bilinear state equation. This takes into account the anatomical architecture of the system and the interactions within that architecture under different conditions of stimulus context

• The modelled neuronal dynamics (z) are transformed into area-specific BOLD signals(y) by a hemodynamic forward model (more later)

• The aim of DCM is to estimate parameters at the neuronal level so that the modelled BOLD signals are most similar to the experimentally measured BOLD signals

Page 28: DCM for fMRI: Theory & Practice Peter Zeidman and Laura Madeley

DCM: Methods

• Rules of good practice – 10 Simple Rules for DCM (2010). Stephan et al. NeuroImage,

52– Experimental design– Model Specification– Decision tree

• DCM in SPM– Steps within SPM– Example

• attention to motion in the visual system (Büchel & Friston 1997, Cereb. Cortex, Büchel et al. 1998, Brain)

– http://www.fil.ion.ucl.ac.uk/spm/data/

Page 29: DCM for fMRI: Theory & Practice Peter Zeidman and Laura Madeley

DCM: Rules of good practice• Experimental design

– DCM is dependent on experimental perturbations– Experimental conditions enter the model as inputs that either drive the

local responses or change connection strengths.– If there is no evidence for an experimental effect (no activation

detected by a GLM) → inclusion of this region in a DCM is not meaningful.

– Use the same optimization strategies for design and data acquisition that apply to conventional GLM of brain activity:

– preferably multi-factorial (e.g. 2 x 2)– one factor that varies the driving (sensory) input (eg

static/ moving)– one factor that varies the contextual input (eg attention /

no attention)

Page 30: DCM for fMRI: Theory & Practice Peter Zeidman and Laura Madeley

DCM: Rules of good practice IIDefining the model

Model selection = determine which model, from a set of plausible alternatives, is most useful i.e., represents the best balance between accuracy and complexity.

So....• define models that are plausible & based on neuroimaging, electrophysiology, TMS,

studies• Use anatomical information and computational models to refine DCM

• model definition should be as transparent and systematic as possible• How many plausible model alternatives exist?

• For small systems it is possible to investigate all possible connectivity architectures.

• With increasing number of regions and inputs, evaluating all possible models becomes practically impossible very rapidly.

• The map is not the territory.....• Models are caricatures of complex phenomena, enabling testing of underlying

mechanisms.

Page 31: DCM for fMRI: Theory & Practice Peter Zeidman and Laura Madeley

Fig. 1. This schematic summarizes the typical sequence of analysis in DCM, depending on the question of interest. Abbreviations: FFX=fixed effects, RFX=random effects, BMS=Bayesian model selection, BPA=Bayesian parameter averaging, BMA=Bayesian model averaging, ANOVA=analysis of variance. 10 Simple Rules for DCM (2010). Stephan et al. NeuroImage 52.

Page 32: DCM for fMRI: Theory & Practice Peter Zeidman and Laura Madeley

Stimuli 250 radially moving dots at 4.7 degrees/s

Pre-Scanning 5 x 30s trials with 5 speed changes (reducing to 1%)Task - detect change in radial velocity

Scanning (no speed changes)6 normal subjects, 4 x 100 scan sessions;each session comprising 10 scans of 4 different conditions

F A F N F A F N S .................

F - fixation point onlyA - motion stimuli with attention (detect changes)N - motion stimuli without attentionS - no motion Büchel & Friston 1997, Cereb. Cortex

Büchel et al. 1998, Brain

V5+

PPCV3A

Attention – No attention

Attention to motion in the visual system

Page 33: DCM for fMRI: Theory & Practice Peter Zeidman and Laura Madeley

Practical steps of a DCM study - I

1. Definition of the model• Structure: which areas, connections and inputs?• Which parameters represent my hypothesis?• What are the alternative models to test?

2. Defining criteria for inference:• single-subject analysis: stat. threshold? contrast?• group analysis: which 2nd-level model?

3. Conventional SPM analysis (subject-specific)• DCMs fitted separately for each session

→ consider concatenation of sessions or adequate 2nd level analysis

Model 2:attentional modulationof V1→V5

V1

V5

PPC

Motion

Photic

Attention

0.57 -0.02

1.360.70

0.84

0.23

0.85

Page 34: DCM for fMRI: Theory & Practice Peter Zeidman and Laura Madeley

Practical steps of a DCM study - II

4. Extraction of time series, e.g. via VOI tool in SPM• n.b anatomical & functional standardisation important for

group analyses

5. Possible definition of a new design matrix, if the “normal” design matrix does not represent the inputs appropriately.• DCM only reads timing information of each input from the

design matrix, no parameter estimation necessary

6. Definition of model• via DCM-GUI or directly

in MATLAB

Page 35: DCM for fMRI: Theory & Practice Peter Zeidman and Laura Madeley

7. DCM parameter estimation• Remember models with many regions & scans can crash

MATLAB!

8. Model comparison and selection:• Which of all models considered is the optimal one?

Bayesian model selection tool

9. Testing the hypothesis Statistical test onthe relevant parametersof the optimal model

Practical steps of a DCM study - III

Page 36: DCM for fMRI: Theory & Practice Peter Zeidman and Laura Madeley

DCM analysis regressors• -Vision (photic)• -motion• -attention

Specify design matrix & SPM analysis

static moving

No attent

Attent.

Sensory input factor

Cont

extu

al fa

ctor

Experimental design

No motion/ no attention

No motion/ attention

Motion / no attention

Motion / attention

Normal SPM regressors

Photi

c

Moti

on

Atten

tion

Page 37: DCM for fMRI: Theory & Practice Peter Zeidman and Laura Madeley

Extraction of time series (VOIs definition)

1. DCM for a single subject analysis (i.e. no 2nd-level analysis intended):

determine representative co-ordinates for each brain region from the appropriate contrast (e.g. V1 from “photic” contrast )

2. Subject specific DCM, but results will eventually be entered into a 2nd-level analysis: determine group maximum for the area of interest (e.g. from RFX analysis) in the appropriate contrast in each subject, jump to local maximum nearest to the group maximum, using the same contrast and a liberal threshold (p<0.05, uncorrected)

Page 38: DCM for fMRI: Theory & Practice Peter Zeidman and Laura Madeley

VOIs definition: V5

Contrast

Co-ordinates

Name

Page 39: DCM for fMRI: Theory & Practice Peter Zeidman and Laura Madeley

Definition of DCM

DCM button

name

In order!

In Order!!In Order!!

Page 40: DCM for fMRI: Theory & Practice Peter Zeidman and Laura Madeley

Output

Average connectivity (A)

Page 41: DCM for fMRI: Theory & Practice Peter Zeidman and Laura Madeley

Modulation of connections (B)

Attention

Motion

Motion

Attention

Photic

Page 42: DCM for fMRI: Theory & Practice Peter Zeidman and Laura Madeley

Input (C)

Page 43: DCM for fMRI: Theory & Practice Peter Zeidman and Laura Madeley

Comparison of two simple models

Model 2:attentional modulationof V1→V5

V1

V5

PPC

Motion

Photic

Attention

0.57-0.02

1.36

0.700.84

0.23

0.85

Model 1:attentional modulationof PPC→V5

V1

V5

PPC

Motion

Attention

0.86

0.56 -0.02

1.42

0.55

0.75

0.89

Photic

Page 44: DCM for fMRI: Theory & Practice Peter Zeidman and Laura Madeley

Models comparison and selection

Model 2better than model 1

Page 45: DCM for fMRI: Theory & Practice Peter Zeidman and Laura Madeley

SPM: IssuesWhat you cannot do with BMS• A DCM is defined for a specific data set.

Therefore BMS cannot be applied to models that are fitted to different data

• Cannot compare models with different numbers of regions, because changing the regions changes the data

• Maximum of 8 regions with SPM8• Designed for sensory-driven studies

Page 46: DCM for fMRI: Theory & Practice Peter Zeidman and Laura Madeley

So, DCM….

• enables one to infer hidden neuronal processes from fMRI data

• tries to model the same phenomena as a GLM

– explaining experimentally controlled variance in local responses

– based on connectivity and its modulation

• allows one to test mechanistic hypotheses about observed effects

• is informed by anatomical and physiological principles.

• uses a Bayesian framework to estimate model parameters

• is a generic approach to modelling experimentally perturbed dynamic systems.

• provides an observation model for neuroimaging data, e.g. fMRI, M/EEG

• Should be planned for early in the experimental process

Page 47: DCM for fMRI: Theory & Practice Peter Zeidman and Laura Madeley

References • The first DCM paper: Dynamic Causal Modelling (2003). Friston et al. NeuroImage 19:1273-

1302.

• Physiological validation of DCM for fMRI: Identifying neural drivers with functional MRI: an electrophysiological validation (2008). David et al. PLoS Biol. 6 2683–2697

• Hemodynamic model: Comparing hemodynamic models with DCM (2007). Stephan et al. NeuroImage 38:387-401

• Nonlinear DCMs:Nonlinear Dynamic Causal Models for FMRI (2008). Stephan et al. NeuroImage 42:649-662

• Two-state model: Dynamic causal modelling for fMRI: A two-state model (2008). Marreiros et al. NeuroImage 39:269-278

• Group Bayesian model comparison: Bayesian model selection for group studies (2009). Stephan et al. NeuroImage 46:1004-10174

• 10 Simple Rules for DCM (2010). Stephan et al. NeuroImage 52.

• Dynamic Causal Modelling: a critical review of the biophysical and statistical foundations. Daunizeau et al. Neuroimage (2010), in press

• SPM Manual, SMP courses slides, last years presentations.

Page 48: DCM for fMRI: Theory & Practice Peter Zeidman and Laura Madeley

1

2

3

1

2

3