what makes a good multivariate model for fmri-based decoding courses... · 2017-06-15 · what...

39
What makes a good multivariate model for fMRI-based decoding ? Bertrand Thirion, INRIA Saclay-Île-de-France, Parietal team http://parietal.saclay.inria.fr [email protected]

Upload: others

Post on 06-Jun-2020

2 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: What makes a good multivariate model for fMRI-based decoding Courses... · 2017-06-15 · What makes a good multivariate model for fMRI-based decoding ? Bertrand Thirion, INRIA Saclay-Île-de-France,

What makes a good multivariate model for fMRI-based decoding ?

Bertrand Thirion,INRIA Saclay-Île-de-France, Parietal team

http://[email protected]

Page 2: What makes a good multivariate model for fMRI-based decoding Courses... · 2017-06-15 · What makes a good multivariate model for fMRI-based decoding ? Bertrand Thirion, INRIA Saclay-Île-de-France,

June 2017 2Decoding cognitive information – Bertrand Thirion

MVPA is an inference procedure

● Said to be more powerful than standard brain mapping experiments

What does this mean ?

●  Generalization across protocols (transfer learning)●   Individual prediction, diagnosis problem

Page 3: What makes a good multivariate model for fMRI-based decoding Courses... · 2017-06-15 · What makes a good multivariate model for fMRI-based decoding ? Bertrand Thirion, INRIA Saclay-Île-de-France,

June 2017 3Decoding cognitive information – Bertrand Thirion

Outline

● Sample size issues in MVPA● How to interpret pattern maps in MVPA ?● MVPA and functional specificity

Page 4: What makes a good multivariate model for fMRI-based decoding Courses... · 2017-06-15 · What makes a good multivariate model for fMRI-based decoding ? Bertrand Thirion, INRIA Saclay-Île-de-France,

June 2017 4Decoding cognitive information – Bertrand Thirion

Sample size & multivariate analysis

Page 5: What makes a good multivariate model for fMRI-based decoding Courses... · 2017-06-15 · What makes a good multivariate model for fMRI-based decoding ? Bertrand Thirion, INRIA Saclay-Île-de-France,

June 2017 5Decoding cognitive information – Bertrand Thirion

Multivariate analysis

Row 1 Row 2 Row 3 Row 40

2

4

6

8

10

12

Column 1

Column 2

Column 3

Page 6: What makes a good multivariate model for fMRI-based decoding Courses... · 2017-06-15 · What makes a good multivariate model for fMRI-based decoding ? Bertrand Thirion, INRIA Saclay-Île-de-France,

June 2017 6Decoding cognitive information – Bertrand Thirion

Learning curve: how prediction improves with n

● Predict the age of a subject given gray matter density maps (OASIS dataset, n=403)

Page 7: What makes a good multivariate model for fMRI-based decoding Courses... · 2017-06-15 · What makes a good multivariate model for fMRI-based decoding ? Bertrand Thirion, INRIA Saclay-Île-de-France,

June 2017 7Decoding cognitive information – Bertrand Thirion

Weight maps for age prediction / OASIS

The weight map depends on the batch of subject considered (bootstrap):One question, different datasets, different answers

group 1 group 2 group 3 group 4 group 5

group 6 group 7 group 8 group 9 group 10

Variability actually worse than for univariate analysis !

Page 8: What makes a good multivariate model for fMRI-based decoding Courses... · 2017-06-15 · What makes a good multivariate model for fMRI-based decoding ? Bertrand Thirion, INRIA Saclay-Île-de-France,

June 2017 8Decoding cognitive information – Bertrand Thirion

Weight maps for age prediction / OASIS

The weight map depends on the batch of subject considered (bootstrap):One question, different dataset, different answers

mean

variance

Page 9: What makes a good multivariate model for fMRI-based decoding Courses... · 2017-06-15 · What makes a good multivariate model for fMRI-based decoding ? Bertrand Thirion, INRIA Saclay-Île-de-France,

June 2017 9Decoding cognitive information – Bertrand Thirion

Weight maps for age prediction / OASIS

The weight map depends on the batch of subject considered (bootstrap):One question, different dataset, different answers

Summarized into a z image:(effect size)  / (effect std)

z=­5

z=5

z=0

Page 10: What makes a good multivariate model for fMRI-based decoding Courses... · 2017-06-15 · What makes a good multivariate model for fMRI-based decoding ? Bertrand Thirion, INRIA Saclay-Île-de-France,

June 2017 10Decoding cognitive information – Bertrand Thirion

Weight maps for age

prediction / OASIS

(effect size estimated by

bootstrap)

z=­5

z=5

z=0

n=100 n=200 n=300

n=10 n=20 n=50

Page 11: What makes a good multivariate model for fMRI-based decoding Courses... · 2017-06-15 · What makes a good multivariate model for fMRI-based decoding ? Bertrand Thirion, INRIA Saclay-Île-de-France,

June 2017 11Decoding cognitive information – Bertrand Thirion

Outline

● Sample size issues in MVPA● Some remarks on cross­validation

● How to interpret pattern maps in MVPA ?● MVPA and functional specificity

Page 12: What makes a good multivariate model for fMRI-based decoding Courses... · 2017-06-15 · What makes a good multivariate model for fMRI-based decoding ? Bertrand Thirion, INRIA Saclay-Île-de-France,

June 2017 12Decoding cognitive information – Bertrand Thirion

Statistical mapping vs decoding ?

● “the increased sensitivity of multivariate analyses” [Haynes neuron 2015]

● Decoding patterns should not be interpreted as activation patterns [Haufe et al., img 2013]

● Decoding rejects only a global null hypothesis

● Localization with decoding is an ill-posed problem

● Decoding maps represent conditional evidence ≠ SPMs represent marginal evidence

Page 13: What makes a good multivariate model for fMRI-based decoding Courses... · 2017-06-15 · What makes a good multivariate model for fMRI-based decoding ? Bertrand Thirion, INRIA Saclay-Île-de-France,

June 2017 13Decoding cognitive information – Bertrand Thirion

The multivariate miracle

● Individual voxels corrupted by a noise source → weakly significant

● Their difference is strongly task related: MVPA is very sensitive

[Haufe et al. nimg 2013, Haynes neuron 2015]

➔ The configuration where the noise has more correlation than the signal is unlikely in fMRI !➔ Global noise reduced with e.g. Compcorr [Behzadi et al.  Nimg 2007]

Page 14: What makes a good multivariate model for fMRI-based decoding Courses... · 2017-06-15 · What makes a good multivariate model for fMRI-based decoding ? Bertrand Thirion, INRIA Saclay-Île-de-France,

June 2017 14Decoding cognitive information – Bertrand Thirion

The multivariate failure

● Consider the decoder as an estimator: good at finding brain regions ?● [Haufe et al. 2013]: no, due to the unmodeled noise covariance● Problem: noise covariance not invertible / manageable in fMRI

Page 15: What makes a good multivariate model for fMRI-based decoding Courses... · 2017-06-15 · What makes a good multivariate model for fMRI-based decoding ? Bertrand Thirion, INRIA Saclay-Île-de-France,

June 2017 15Decoding cognitive information – Bertrand Thirion

The multivariate failure

● Consider the decoder as an estimator: good at finding brain regions ?● [Haufe et al. 2013]: no, due to the unmodeled noise covariance● Problem: noise covariance not invertible / manageable in fMRI

Page 16: What makes a good multivariate model for fMRI-based decoding Courses... · 2017-06-15 · What makes a good multivariate model for fMRI-based decoding ? Bertrand Thirion, INRIA Saclay-Île-de-France,

June 2017 16Decoding cognitive information – Bertrand Thirion

The multivariate failure ?

● Decoders behave however much differently whenever the signal is smoother than the noise.● Spatial regularization + sparsity recover the pattern

Page 17: What makes a good multivariate model for fMRI-based decoding Courses... · 2017-06-15 · What makes a good multivariate model for fMRI-based decoding ? Bertrand Thirion, INRIA Saclay-Île-de-France,

17June 2016 17Decoding cognitive information – Bertrand Thirion

(Non-)identifiability of the model ?

● When solving the inverse problem, you don't recover the true pattern but an approximation

● True model: ● Estimated model: ●    cannot be equal to      , as X is non­invertible

Page 18: What makes a good multivariate model for fMRI-based decoding Courses... · 2017-06-15 · What makes a good multivariate model for fMRI-based decoding ? Bertrand Thirion, INRIA Saclay-Île-de-France,

18June 2016 18Decoding cognitive information – Bertrand Thirion

(Non-)identifiability of the model ?

● Can ŵ   have at least the correct support ?

● No: the encoding model violates the conditions for accurate reconstruction with sparse model [Varoquaux et al. 2012]

● Better support recovery by introducing relevant priors on the decoder [Varoquaux et al. 2012]

● Smoothness● Small variations

= Non­zero voxel set

Page 19: What makes a good multivariate model for fMRI-based decoding Courses... · 2017-06-15 · What makes a good multivariate model for fMRI-based decoding ? Bertrand Thirion, INRIA Saclay-Île-de-France,

19June 2016 19Decoding cognitive information – Bertrand Thirion

Why bother with full-brain decoding?

● Focus on pre­defined ROIs ?● How do you define the ROI (position, size, 

boundaries) ? Consistently across subjects ?

● Consider all possible ROIs: searchlight● Computational cost● Correction for multiple comparisons● Miss long­range interactions

● Any other idea ?

Page 20: What makes a good multivariate model for fMRI-based decoding Courses... · 2017-06-15 · What makes a good multivariate model for fMRI-based decoding ? Bertrand Thirion, INRIA Saclay-Île-de-France,

June 2017 20Decoding cognitive information – Bertrand Thirion

One question, one dataset, many answers

● What regions are involved in face perception ?

● [Haxby et al science 2001], subject 2

● Univariate models

● 'face-rest' contrast

● 'face-others' contrast:

7 * face – (place + … + cat)

● 'face > others' conjunction:

(face – place)∧…∧(face-cat)

p<.001 uncorrected

Page 21: What makes a good multivariate model for fMRI-based decoding Courses... · 2017-06-15 · What makes a good multivariate model for fMRI-based decoding ? Bertrand Thirion, INRIA Saclay-Île-de-France,

June 2017 21Decoding cognitive information – Bertrand Thirion

One question, one dataset, many answers

● MVPA approach

● SVM classifier, Leave-2-session out cross-validation (12 sessions)

● Discriminate face vs rest● Discriminate face vs

others

Page 22: What makes a good multivariate model for fMRI-based decoding Courses... · 2017-06-15 · What makes a good multivariate model for fMRI-based decoding ? Bertrand Thirion, INRIA Saclay-Île-de-France,

June 2017 22Decoding cognitive information – Bertrand Thirion

● Can one conclude that the discriminating pattern is distributed ?

● No

One question, one dataset, many answers

Page 23: What makes a good multivariate model for fMRI-based decoding Courses... · 2017-06-15 · What makes a good multivariate model for fMRI-based decoding ? Bertrand Thirion, INRIA Saclay-Île-de-France,

June 2017 23Decoding cognitive information – Bertrand Thirion

Sparsity and interpretability

● 'face' versus 'rest' classifier: the pattern is ugly

● Why not thresholding it, like an SPM (z>3), and showing:

Page 24: What makes a good multivariate model for fMRI-based decoding Courses... · 2017-06-15 · What makes a good multivariate model for fMRI-based decoding ? Bertrand Thirion, INRIA Saclay-Île-de-France,

June 2017 24Decoding cognitive information – Bertrand Thirion

Sparsity and interpretability

● No !

is the pattern of another classifier, that may work or not

(here, it does)

Then, how do I do to get a map with blobs ?

● Prior feature selection by univariate screening (fast and accurate) ➔ decide how many features in advance   nested cross­validation→

● sparse classifier (spacenet)

Page 25: What makes a good multivariate model for fMRI-based decoding Courses... · 2017-06-15 · What makes a good multivariate model for fMRI-based decoding ? Bertrand Thirion, INRIA Saclay-Île-de-France,

June 2017 25Decoding cognitive information – Bertrand Thirion

Sparsity and interpretability

sparse classifierPrior feature selection

Page 26: What makes a good multivariate model for fMRI-based decoding Courses... · 2017-06-15 · What makes a good multivariate model for fMRI-based decoding ? Bertrand Thirion, INRIA Saclay-Île-de-France,

June 2017 26Decoding cognitive information – Bertrand Thirion

A good model on a budget

[Hoyos Idrobo et al. PRNI 2015 NeuroImage in Press]

Page 27: What makes a good multivariate model for fMRI-based decoding Courses... · 2017-06-15 · What makes a good multivariate model for fMRI-based decoding ? Bertrand Thirion, INRIA Saclay-Île-de-France,

June 2017 27Decoding cognitive information – Bertrand Thirion

Good model with a small budget

● Inter -subject settings: clustering step

[Thirion et al. 2015, Hoyos­Idrobo et al. IEEE PAMI in Press ]

Accurate and  fast clustering­based data compression 

Page 28: What makes a good multivariate model for fMRI-based decoding Courses... · 2017-06-15 · What makes a good multivariate model for fMRI-based decoding ? Bertrand Thirion, INRIA Saclay-Île-de-France,

June 2017 28Decoding cognitive information – Bertrand Thirion

A good model on a budget

[Hoyos Idrobo et al. PRNI 2015 NeuroImage in Press]

Page 29: What makes a good multivariate model for fMRI-based decoding Courses... · 2017-06-15 · What makes a good multivariate model for fMRI-based decoding ? Bertrand Thirion, INRIA Saclay-Île-de-France,

June 2017 29Decoding cognitive information – Bertrand Thirion

A good model on a budget

[Hoyos Idrobo et al. PRNI 2015 NeuroImage in Press]

Page 30: What makes a good multivariate model for fMRI-based decoding Courses... · 2017-06-15 · What makes a good multivariate model for fMRI-based decoding ? Bertrand Thirion, INRIA Saclay-Île-de-France,

June 2017 30Decoding cognitive information – Bertrand Thirion

A good model on a budget

State of the art solution: nice but costly

State of the art solution: not very stable, but cheap

[Hoyos Idrobo et al. PRNI 2015 NeuroImage in Press]

Page 31: What makes a good multivariate model for fMRI-based decoding Courses... · 2017-06-15 · What makes a good multivariate model for fMRI-based decoding ? Bertrand Thirion, INRIA Saclay-Île-de-France,

June 2017 31Decoding cognitive information – Bertrand Thirion

Outline

● Sample size issues in MVPA● Some remarks on cross­validation

● How to interpret pattern maps in MVPA ?● MVPA and functional specificity

Page 32: What makes a good multivariate model for fMRI-based decoding Courses... · 2017-06-15 · What makes a good multivariate model for fMRI-based decoding ? Bertrand Thirion, INRIA Saclay-Île-de-France,

June 2017 32Decoding cognitive information – Bertrand Thirion

Functional specificity and MVPA

A vs B A vs B, C, D, E, F

Page 33: What makes a good multivariate model for fMRI-based decoding Courses... · 2017-06-15 · What makes a good multivariate model for fMRI-based decoding ? Bertrand Thirion, INRIA Saclay-Île-de-France,

June 2017 33Decoding cognitive information – Bertrand Thirion

A note on linear decodability

● Can we conclude from successful decoding w. linear classifier that brain activity encodes stimulus information linearly ?

● No

● Counter-example: position ((x, y) or (r, θ) coordinates) of an object in the visual field ● not encoded linearly● can be decoded linearly

Page 34: What makes a good multivariate model for fMRI-based decoding Courses... · 2017-06-15 · What makes a good multivariate model for fMRI-based decoding ? Bertrand Thirion, INRIA Saclay-Île-de-France,

June 2017 34Decoding cognitive information – Bertrand Thirion

A note on linear decodability

Visual field

neural response (population receptive fields)

Visual field

neural response (population receptive fields)

Page 35: What makes a good multivariate model for fMRI-based decoding Courses... · 2017-06-15 · What makes a good multivariate model for fMRI-based decoding ? Bertrand Thirion, INRIA Saclay-Île-de-France,

June 2017 35Decoding cognitive information – Bertrand Thirion

A note on linear decodability

Visual field

neural response (population receptive fields)

Prediction weights

Estimated position

Decoding = linear summation

[Thirion et al. Neuroimage 2006]

Page 36: What makes a good multivariate model for fMRI-based decoding Courses... · 2017-06-15 · What makes a good multivariate model for fMRI-based decoding ? Bertrand Thirion, INRIA Saclay-Île-de-France,

June 2017 36Decoding cognitive information – Bertrand Thirion

Conclusion● MVPA relies on complex estimators

● Results are unstable under small pertubations● Use large test sets (no LOO)

● Pattern maps are highly sensitive to model assumptions and structured noise● A thresholded map is another model● State precisely what comparison is performed● Use relevant priors

● Need compreshensive models● Oool data across datasets: OpenfMRI, NeuroVault

Page 37: What makes a good multivariate model for fMRI-based decoding Courses... · 2017-06-15 · What makes a good multivariate model for fMRI-based decoding ? Bertrand Thirion, INRIA Saclay-Île-de-France,

June 2017 37Decoding cognitive information – Bertrand Thirion

The power of scikit learn for MVPA

● Machine learning for neuroimaging http://nilearn.github.io

● Scikit-learn-like API

● BSD, Python, OSS

● Classification of neuroimaging data (decoding)● Functional connectivity analysis

Page 38: What makes a good multivariate model for fMRI-based decoding Courses... · 2017-06-15 · What makes a good multivariate model for fMRI-based decoding ? Bertrand Thirion, INRIA Saclay-Île-de-France,

June 2017 38Decoding cognitive information – Bertrand Thirion

AcknowledgementsParietalV. MichelG. VaroquauxA. GramfortF. Pedregosa,Andés H. idrobo V.Fritsch,Y. Schwartz,E. Dohmatob,M. Rahim,M. Eickenberg,L. Estève,O. Grisel,A. Abadie

Other partners and collaborators (thanks for the data !)S. DehaeneR. Poldrack,C. F. Gorgolewski K. Jimura, J. Haxby

Page 39: What makes a good multivariate model for fMRI-based decoding Courses... · 2017-06-15 · What makes a good multivariate model for fMRI-based decoding ? Bertrand Thirion, INRIA Saclay-Île-de-France,

June 2017 39Decoding cognitive information – Bertrand Thirion

Thank you for your attention

http://parietal.saclay.inria.fr