Computational models for imaging analyses

Slides:



Advertisements
Similar presentations
Bayesian inference Lee Harrison York Neuroimaging Centre 01 / 05 / 2009.
Advertisements

Bayesian Belief Propagation
The Helmholtz Machine P Dayan, GE Hinton, RM Neal, RS Zemel
Bayesian models for fMRI data
Chapter 4: Linear Models for Classification
The free-energy principle: a rough guide to the brain? Karl Friston
Graphical models: approximate inference and learning CA6b, lecture 5.
The M/EEG inverse problem
Guillaume Bouchard Xerox Research Centre Europe
J. Daunizeau Wellcome Trust Centre for Neuroimaging, London, UK Institute of Empirical Research in Economics, Zurich, Switzerland Bayesian inference.
Informatics and Mathematical Modelling / Lars Kai Hansen Adv. Signal Proc Variational Bayes 101.
Abstract We start with a statistical formulation of Helmholtz’s ideas about neural energy to furnish a model of perceptual inference and learning that.
Markov Localization & Bayes Filtering
Graziella Quattrocchi & Louise Marshall Methods for Dummies 2014
From Bayesian Filtering to Particle Filters Dieter Fox University of Washington Joint work with W. Burgard, F. Dellaert, C. Kwok, S. Thrun.
Learning Lateral Connections between Hidden Units Geoffrey Hinton University of Toronto in collaboration with Kejie Bao University of Toronto.
Computational models for imaging analyses Zurich SPM Course February 6, 2015 Christoph Mathys.
ECE 8443 – Pattern Recognition LECTURE 07: MAXIMUM LIKELIHOOD AND BAYESIAN ESTIMATION Objectives: Class-Conditional Density The Multivariate Case General.
CS 782 – Machine Learning Lecture 4 Linear Models for Classification  Probabilistic generative models  Probabilistic discriminative models.
Bayesian Inference and Posterior Probability Maps Guillaume Flandin Wellcome Department of Imaging Neuroscience, University College London, UK SPM Course,
Continuous Variables Write message update equation as an expectation: Proposal distribution W t (x t ) for each node Samples define a random discretization.
Abstract We offer a formal treatment of choice behaviour based on the premise that agents minimise the expected free energy of future outcomes. Crucially,
BCS547 Neural Decoding.
- 1 - Overall procedure of validation Calibration Validation Figure 12.4 Validation, calibration, and prediction (Oberkampf and Barone, 2004 ). Model accuracy.
Spatial Smoothing and Multiple Comparisons Correction for Dummies Alexa Morcom, Matthew Brett Acknowledgements.
Ch. 5 Bayesian Treatment of Neuroimaging Data Will Penny and Karl Friston Ch. 5 Bayesian Treatment of Neuroimaging Data Will Penny and Karl Friston 18.
Dynamic Causal Model for evoked responses in MEG/EEG Rosalyn Moran.
Bayesian inference Lee Harrison York Neuroimaging Centre 23 / 10 / 2009.
Bayesian Brain Probabilistic Approaches to Neural Coding 1.1 A Probability Primer Bayesian Brain Probabilistic Approaches to Neural Coding 1.1 A Probability.
Bayesian Model Selection and Averaging SPM for MEG/EEG course Peter Zeidman 17 th May 2016, 16:15-17:00.
Group Analyses Guillaume Flandin SPM Course London, October 2016
Learning Deep Generative Models by Ruslan Salakhutdinov
Variational filtering in generated coordinates of motion
Multiple Imputation using SOLAS for Missing Data Analysis
Nicolas Alzetta CoNGA: Cognition and Neuroscience Group of Antwerp
Bayesian Inference Will Penny
Probabilistic Robotics
Bayes for Beginners Stephanie Azzopardi & Hrvoje Stojic
Course: Autonomous Machine Learning
Special Topics In Scientific Computing
A Latent Space Approach to Dynamic Embedding of Co-occurrence Data
Introduction to particle filter
Dynamic Causal Modelling (DCM): Theory
M/EEG Statistical Analysis & Source Localization
Xaq Pitkow, Dora E. Angelaki  Neuron 
Filtering and State Estimation: Basic Concepts
Wellcome Trust Centre for Neuroimaging University College London
Dynamic Causal Model for evoked responses in M/EEG Rosalyn Moran.
Introduction to particle filter
A Hierarchical Bayesian Look at Some Debates in Category Learning
Statistical Parametric Mapping
The free-energy principle: a rough guide to the brain? K Friston
Volume 80, Issue 2, Pages (October 2013)
SPM2: Modelling and Inference
Dynamic Causal Modelling for M/EEG
A schematic overview of the analysis stream underlying the treatment of computational psychiatry in this article. A schematic overview of the analysis.
Confidence as Bayesian Probability: From Neural Origins to Behavior
Expectation-Maximization & Belief Propagation
Hidden Markov Models Lirong Xia.
Translational Perspectives for Computational Neuroimaging
Bayesian inference J. Daunizeau
Bayesian Inference in SPM2
Erie D. Boorman, John P. O’Doherty, Ralph Adolphs, Antonio Rangel 
Wellcome Centre for Neuroimaging, UCL, UK.
CS639: Data Management for Data Science
Will Penny Wellcome Trust Centre for Neuroimaging,
Bayesian Model Selection and Averaging
Perceptual Classification in a Rapidly Changing Environment
Group DCM analysis for cognitive & clinical studies
Presentation transcript:

Computational models for imaging analyses Zurich SPM Course February 14, 2014 Christoph Mathys

What the brain is about What do our imaging methods measure? Brain activity. But when does the brain become active? When predictions have to be adjusted. So where do the brain’s predictions come from? From a model. Feb 14, 2014 Model-based imaging, Zurich SPM Course, Christoph Mathys

What does this mean for neuroimaging? If brain activity reflects model updating, we need to understand what model is updated in what way to make sense of brain activity. Feb 14, 2014 Model-based imaging, Zurich SPM Course, Christoph Mathys

The Bayesian brain and predictive coding Model-based prediction updating is described by Bayes’ theorem. ⟹ the Bayesian brain This is implemented by predictive coding. Hermann von Helmholtz Feb 14, 2014 Model-based imaging, Zurich SPM Course, Christoph Mathys

Advantages of model-based imaging Model-based imaging permits us to infer the computational (predictive) mechanisms underlying neuronal activity. to localize such mechanisms. to compare different models. Feb 14, 2014 Model-based imaging, Zurich SPM Course, Christoph Mathys

How to build a model Fundamental ingredients: 𝑢 𝑥 Prediction Sensory input Hidden states Inference based on prediction errors Feb 14, 2014 Model-based imaging, Zurich SPM Course, Christoph Mathys

Example of a simple learning model Rescorla-Wagner learning: Learning rate Previous value (prediction) 𝜇 (𝑘) = 𝜇 (𝑘−1) +𝛼 𝑢 (𝑘) − 𝜇 (𝑘−1) Prediction error (δ) Inferred value of 𝑥 New input 𝛿 𝑥 𝜇 (𝑘−1) 𝜇 (𝑘) 𝑢 (𝑘) Feb 14, 2014 Model-based imaging, Zurich SPM Course, Christoph Mathys

From perception to action Agent World Sensory input Generative process 𝑢 Inversion of perceptual generative model Inferred hidden states 𝜇 𝑥 True hidden states 𝑎 Action Decision model Feb 14, 2014 Model-based imaging, Zurich SPM Course, Christoph Mathys

From perception to action 𝜇 𝑥 Sensory input True hidden states Inferred Action 𝑢 𝑎 World Agent In behavioral tasks, we observe actions (𝑎). How do we use them to infer beliefs (𝜇)? We introduce a decision model. Feb 14, 2014 Model-based imaging, Zurich SPM Course, Christoph Mathys

Example of a simple decision model Say 3 options A, B, and C have values 𝑣 𝐴 =8, 𝑣 𝐵 =4, and 𝑣 𝐶 =2. Then we can translate these values into action probabilities via a «softmax» function: 𝑝 𝑎=𝐴 = e 𝛽 𝑣 𝐴 e 𝛽 𝑣 𝐴 + e 𝛽 𝑣 𝐵 + e 𝛽 𝑣 𝐶 The parameter 𝛽 determines the sensitivity to value differences 𝛽=0.1 𝛽=0.6 Feb 14, 2014 Model-based imaging, Zurich SPM Course, Christoph Mathys

All the necessary ingredients Perceptual model (updates based on prediction errors) Value function (inferred state -> action value) Decision model (value -> action probability) Feb 14, 2014 Model-based imaging, Zurich SPM Course, Christoph Mathys

Reinforcement learning example (O’Doherty et al., 2003) O’Doherty et al. (2003), Gläscher et al. (2010) Feb 14, 2014 Model-based imaging, Zurich SPM Course, Christoph Mathys

Reinforcement learning example Significant effects of prediction error with fixed learning rate O’Doherty et al. (2003) Feb 14, 2014 Model-based imaging, Zurich SPM Course, Christoph Mathys

Bayesian models for the Bayesian brain 𝜇 𝑥 Sensory input True hidden states Inferred Action 𝑢 𝑎 World Agent 𝑝 𝑢 𝑥,𝜗 𝑙𝑖𝑘𝑒𝑙𝑖ℎ𝑜𝑜𝑑 ∙ 𝑝 𝑥,𝜗 𝑝𝑟𝑖𝑜𝑟 ∝ 𝑝 𝑥,𝜗 𝑢 𝑝𝑜𝑠𝑡𝑒𝑟𝑖𝑜𝑟 Includes uncertainty about hidden states. I.e., beliefs have precisions. But how can we make them computationally tractable? Feb 14, 2014 Model-based imaging, Zurich SPM Course, Christoph Mathys

The hierarchical Gaussian filter (HGF): a computationally tractable model for individual learning under uncertainty State of the world Model Log-volatility x3 of tendency Gaussian random walk with constant step size ϑ p(x3(k)) ~ N(x3(k-1),ϑ) Tendency x2 towards category “1” Gaussian random walk with step size exp(κx3+ω) p(x2(k)) ~ N(x2(k-1), exp(κx3+ω)) Stimulus category x1 (“0” or “1”) Sigmoid trans-formation of x2 p(x1=1) = s(x2) p(x1=0) = 1-s(x2) 𝑥 1 (𝑘−1) 𝜅,𝜔 𝜗 𝑥 3 (𝑘−1) 𝑥 2 (𝑘−1) 𝑥 3 (𝑘) 𝑥 2 (𝑘) 𝑥 1 (𝑘) Feb 14, 2014 Model-based imaging, Zurich SPM Course, Christoph Mathys

HGF: variational inversion and update equations Inversion proceeds by introducing a mean field approximation and fitting quadratic approximations to the resulting variational energies (Mathys et al., 2011). This leads to simple one-step update equations for the sufficient statistics (mean and precision) of the approximate Gaussian posteriors of the states 𝑥 𝑖 . The updates of the means have the same structure as value updates in Rescorla-Wagner learning: Furthermore, the updates are precision-weighted prediction errors. Δ 𝜇 𝑖 ∝ 𝜋 𝑖−1 𝜋 𝑖 𝛿 𝑖−1 Prediction error Precisions determine learning rate Feb 14, 2014 Model-based imaging, Zurich SPM Course, Christoph Mathys

HGF: adaptive learning rate Simulation: Feb 14, 2014 Model-based imaging, Zurich SPM Course, Christoph Mathys

Individual model-based regressors Uncertainty-weighted prediction error 𝜎 2 ∙ 𝛿 1 Feb 14, 2014 Model-based imaging, Zurich SPM Course, Christoph Mathys

Example: Iglesias et al. (2013) Feb 14, 2014 Model-based imaging, Zurich SPM Course, Christoph Mathys

Example: Iglesias et al. (2013) Model comparison: Feb 14, 2014 Model-based imaging, Zurich SPM Course, Christoph Mathys

Example: Iglesias et al. (2013) Feb 14, 2014 Model-based imaging, Zurich SPM Course, Christoph Mathys

Example: Iglesias et al. (2013) Feb 14, 2014 Model-based imaging, Zurich SPM Course, Christoph Mathys

Example: Iglesias et al. (2013) Feb 14, 2014 Model-based imaging, Zurich SPM Course, Christoph Mathys

How to estimate and compare models: the HGF Toolbox Available at http://www.tranlsationalneuromodeling.org/tapas Start with README and tutorial there Modular, extensible Matlab-based Feb 14, 2014 Model-based imaging, Zurich SPM Course, Christoph Mathys

How it’s done in SPM Feb 14, 2014 Model-based imaging, Zurich SPM Course, Christoph Mathys

How it’s done in SPM Feb 14, 2014 Model-based imaging, Zurich SPM Course, Christoph Mathys

How it’s done in SPM Feb 14, 2014 Model-based imaging, Zurich SPM Course, Christoph Mathys

How it’s done in SPM Feb 14, 2014 Model-based imaging, Zurich SPM Course, Christoph Mathys

How it’s done in SPM Feb 14, 2014 Model-based imaging, Zurich SPM Course, Christoph Mathys

Take home The brain is an organ whose job is prediction. To make its predictions, it needs a model. Model-based imaging infers the model at work in the brain. It enables inference on mechanisms, localization of mechanisms, and model comparison. 𝜇 𝑥 Sensory input True hidden states Inferred Action 𝑢 𝑎 World Agent Feb 14, 2014 Model-based imaging, Zurich SPM Course, Christoph Mathys

Thank you Feb 14, 2014 Model-based imaging, Zurich SPM Course, Christoph Mathys