Free-energy and active inference

Slides:



Advertisements
Similar presentations
Dynamic causal Modelling for evoked responses Stefan Kiebel Wellcome Trust Centre for Neuroimaging UCL.
Advertisements

How much about our interaction with – and experience of – our world can be deduced from basic principles? This talk reviews recent attempts to understand.
How much about our interaction with – and experience of – our world can be deduced from basic principles? This talk reviews recent attempts to understand.
Bayesian models for fMRI data
How much about our interactions with – and experience of – our world can be deduced from basic principles? This talk reviews recent attempts to understand.
How much about our interaction with – and experience of – our world can be deduced from basic principles? This talk reviews recent attempts to understand.
Free Energy Workshop - 28th of October: From the free energy principle to experimental neuroscience, and back The Bayesian brain, surprise and free-energy.
How much about our interaction with – and experience of – our world can be deduced from basic principles? This talk reviews recent attempts to understand.
The free-energy principle: a rough guide to the brain? Karl Friston
How much about our interaction with – and experience of – our world can be deduced from basic principles? This talk reviews recent attempts to understand.
CDB Exploring Science and Society Seminar Thursday 19 November 2009 at 5.30pm Host: Prof Giorgio Gabella The Bayesian brain, surprise and free-energy.
How much about our interactions with – and experience of – our world can be deduced from basic principles? This talk reviews recent attempts to understand.
Free energy and active inference Karl Friston Abstract How much about our interaction with – and experience of – our world can be deduced from basic principles?
J. Daunizeau Motivation, Brain and Behaviour group, ICM, Paris, France Wellcome Trust Centre for Neuroimaging, London, UK Dynamic Causal Modelling for.
Computational and Physiological Models Part 1
Abstract We start with a statistical formulation of Helmholtz’s ideas about neural energy to furnish a model of perceptual inference and learning that.
Max Planck Institute for Human Cognitive and Brain Sciences Leipzig, Germany A hierarchy of time-scales and the brain Stefan Kiebel.
The free-energy principle: a rough guide to the brain? K Friston Summarized by Joon Shik Kim (Thu) Computational Models of Intelligence.
ABSTRACT: My treatment of critical gaps in models of probabilistic inference will focus on the potential of unified theories to “close the gaps” between.
DCM for ERPs/EFPs Clare Palmer & Elina Jacobs Expert: Dimitris Pinotsis.
Abstract This talk summarizes recent attempts to integrate action and perception within a single optimization framework. We start with a statistical formulation.
J. Daunizeau Wellcome Trust Centre for Neuroimaging, London, UK UZH – Foundations of Human Social Behaviour, Zurich, Switzerland Dynamic Causal Modelling:
Dynamic causal modelling of electromagnetic responses Karl Friston - Wellcome Trust Centre for Neuroimaging, Institute of Neurology, UCL In recent years,
J. Daunizeau ICM, Paris, France ETH, Zurich, Switzerland Dynamic Causal Modelling of fMRI timeseries.
Motor Control. Beyond babbling Three problems with motor babbling: –Random exploration is slow –Error-based learning algorithms are faster but error signals.
Abstract This talk summarizes our recent attempts to integrate action and perception within a single optimization framework. We start with a statistical.
Recent advances in the theory of brain function
How much about our interaction with – and experience of – our world can be deduced from basic principles? This talk reviews recent attempts to understand.
Abstract: How much about our interactions with – and experience of – our world can be deduced from basic principles? This talk reviews recent attempts.
Abstract How much about our interactions with – and experience of – our world can be deduced from basic principles? This talk reviews recent attempts.
Abstract We offer a formal treatment of choice behaviour based on the premise that agents minimise the expected free energy of future outcomes. Crucially,
Abstract Predictive coding models and the free-energy principle, suggests that cortical activity in sensory brain areas reflects the precision of prediction.
Abstract: This overview of the free energy principle offers an account of embodied exchange with the world that associates conscious operations with actively.
Abstract This presentation questions the need for reinforcement learning and related paradigms from machine-learning, when trying to optimise the behavior.
Zangwill Club Seminar - Lent Term The Bayesian brain, surprise and free-energy Karl Friston, Wellcome Centre for Neuroimaging, UCL Abstract Value-learning.
Abstract How much about our interactions with – and experience of – our world can be deduced from basic principles? This talk reviews recent attempts.
How much about our interactions with – and experience of – our world can be deduced from basic principles? This talk reviews recent attempts to understand.
Free energy and active inference
Dynamic Causal Modelling for EEG and MEG
Deans Lecture Reception PM, Lecture 6-7, Lecture theatre S1, Clayton Campus, Monash University). Models, maps and modalities in brain imaging Karl.
Reasons to be careful about reward A flow (policy) cannot be specified with a scalar function of states: the fundamental theorem of vector calculus – aka.
Abstract We suggested recently that attention can be understood as inferring the level of uncertainty or precision during hierarchical perception. In.
Abstract This presentation will look at action, perception and cognition as emergent phenomena under a unifying perspective: This Helmholtzian perspective.
Workshop on Mathematical Models of Cognitive Architectures December 5-9, 2011 CIRM, Marseille Workshop on Mathematical Models of Cognitive Architectures.
Dynamic Causal Modelling (DCM) Marta I. Garrido Thanks to: Karl J. Friston, Klaas E. Stephan, Andre C. Marreiros, Stefan J. Kiebel,
Abstract If we assume that neuronal activity encodes a probabilistic representation of the world that optimizes free- energy in a Bayesian fashion, then.
Abstract In this presentation, I will rehearse the free-energy formulation of action and perception, with a special focus on the representation of uncertainty:
How much about our interaction with – and experience of – our world can be deduced from basic principles? This talk reviews recent attempts to understand.
How much about our interaction with – and experience of – our world can be deduced from basic principles? This talk reviews recent attempts to understand.
Abstract In this presentation, I will rehearse the free-energy formulation of action and perception, with a special focus on the representation of uncertainty:
Workshop on: The Free Energy Principle (Presented by the Wellcome Trust Centre for Neuroimaging) July 5 (Thursday) - 6 (Friday) 2012 Workshop on: The.
Bayesian inference Lee Harrison York Neuroimaging Centre 23 / 10 / 2009.
Abstract: How much about our interactions with – and experience of – our world can be deduced from basic principles? This talk reviews recent attempts.
How much about our interactions with – and experience of – our world can be deduced from basic principles? This talk reviews recent attempts to understand.
Abstract How much about our interactions with – and experience of – our world can be deduced from basic principles? This talk reviews recent attempts to.
Dynamic Causal Models Will Penny Olivier David, Karl Friston, Lee Harrison, Stefan Kiebel, Andrea Mechelli, Klaas Stephan MultiModal Brain Imaging, Copenhagen,
Tutorial Session: The Bayesian brain, surprise and free-energy Value-learning and perceptual learning have been an important focus over the past decade,
Dynamic Causal Modeling of Endogenous Fluctuations
Variational filtering in generated coordinates of motion
Free energy and active inference
Nicolas Alzetta CoNGA: Cognition and Neuroscience Group of Antwerp
Free energy and life as we know it
Free energy, the brain and life as we know it
Computational models for imaging analyses
Wellcome Trust Centre for Neuroimaging University College London
The free-energy principle: a rough guide to the brain? K Friston
Predictive computational modelling in the brain (and other animals)
Dynamic Causal Modelling for M/EEG
CRIS Workshop: Computational Neuroscience and Bayesian Modelling
Dynamic Causal Modelling for evoked responses
Presentation transcript:

Free-energy and active inference Extending Sensorimotor Contingencies to Cognition Free-energy and active inference Karl Friston, Wellcome Centre for Neuroimaging, UCL Abstract Value-learning and perceptual learning have been an important focus over the past decade, attracting the concerted attention of experimental psychologists, neurobiologists and the machine learning community. Despite some formal connections; e.g., the role of prediction error in optimizing some function of sensory states, both fields have developed their own rhetoric and postulates. In work, we show that perception is, literally, an integral part of value learning; in the sense that it is necessary to integrate out dependencies on the inferred causes of sensory information. This enables the value of sensory trajectories to be optimized through action. Furthermore, we show that acting to optimize value and perception are two aspects of exactly the same principle; namely the minimization of a quantity (free-energy) that bounds the probability of sensations, given a particular agent or phenotype. This principle can be derived, in a straightforward way, from the very existence of biological agents, by considering the probabilistic behavior of an ensemble of agents belonging to the same class. Put simply, we sample the world to maximize the evidence for our existence

From the Helmholtz machine to the Bayesian brain and self-organization “Objects are always imagined as being present in the field of vision as would have to be there in order to produce the same impression on the nervous mechanism” - Hermann Ludwig Ferdinand von Helmholtz Richard Gregory Geoffrey Hinton From the Helmholtz machine to the Bayesian brain and self-organization Thomas Bayes Richard Feynman Hermann Haken

Overview Ensemble dynamics Entropy and equilibrium Free-energy and surprise The free-energy principle Action and perception Hierarchies and generative models Active inference Sensorimotor contingencies Goal-directed reaching Writing Action-observation Forward and inverse models Policies and priors Control and attractors The mountain-car problem

What is the difference between a snowflake and a bird? Phase-boundary temperature …a bird can act (to avoid surprises)

What is the difference between snowfall and a flock of birds? Ensemble dynamics, clumping and swarming …birds (biological agents) stay in the same place They resist the second law of thermodynamics, which says that their entropy should increase

But what is the entropy? …entropy is just average surprise Low surprise (I am usually here) High surprise (I am never here) This means biological agents must self-organize to minimise surprise. In other words, to ensure they occupy a limited number of (attracting) states.

? But there is a small problem… agents cannot measure their surprise But they can measure their free-energy, which is always bigger than surprise This means agents should minimize their free-energy. So what is free-energy?

sensations – predictions What is free-energy? …free-energy is basically prediction error sensations – predictions = prediction error where small errors mean low surprise

Overview Ensemble dynamics Entropy and equilibria Free-energy and surprise The free-energy principle Action and perception Hierarchies and generative models Active inference Sensorimotor contingencies Goal-directed reaching Writing Action-observation Forward and inverse models Policies and priors Control and attractors The mountain-car problem

More formally, Sensations Action External states in the world Internal states of the agent (m) Action to minimise a bound on surprise Perception to optimise the bound

More formally, Sensations Action External states in the world Internal states of the agent (m) Free-energy is a function of sensations and a proposal density over hidden causes and can be evaluated, given a generative model comprising a likelihood and prior: So what models might the brain use?

Hierarchal models in the brain lateral Backward (modulatory) Forward (driving)

Gibb’s energy - a simple function of prediction error Hierarchal form Prediction errors Gibb’s energy - a simple function of prediction error Likelihood and empirical priors Dynamical priors Structural priors

The recognition density and its sufficient statistics Laplace approximation: Perception and inference Learning and memory Activity-dependent plasticity Synaptic activity Synaptic efficacy Functional specialization Attentional gain Enabling of plasticity Synaptic gain Attention and salience

sensations – predictions How can we minimize prediction error (free-energy)? sensations – predictions Prediction error Change sensory input Change predictions Action Perception …prediction errors drive action and perception to suppress themselves

So how do prediction errors change predictions? sensory input Forward connections convey feedback Prediction errors Adjust hypotheses Predictions prediction Backward connections return predictions …by hierarchical message passing in the brain

Forward prediction error David Mumford More formally, Perception and message-passing Forward prediction error Backward predictions Synaptic plasticity Synaptic gain

What about action? action predictions Reflexes to action sensory error dorsal root sensory error action ventral horn Action can only suppress (sensory) prediction error. This means action fulfils our (sensory) predictions

Summary Biological agents resist the second law of thermodynamics They must minimize their average surprise (entropy) They minimize surprise by suppressing prediction error (free-energy) Prediction error can be reduced by changing predictions (perception) Prediction error can be reduced by changing sensations (action) Perception entails recurrent message passing in the brain to optimise predictions Action makes predictions come true (and minimises surprise)

Overview Ensemble dynamics Entropy and equilibria Free-energy and surprise The free-energy principle Action and perception Hierarchies and generative models Active inference Sensorimotor contingencies Goal-directed reaching Writing Action-observation Forward and inverse models Policies and priors Control and attractors The mountain-car problem

Sensorimotor contingencies Proprioception Exteroception Stimulus Forward connections bottom-up prediction error Classical reflex arc Superficial pyramidal cells Deep pyramidal cells Motor response Backward connections top-down predictions

Action, predictions and priors visual input Descending predictions proprioceptive input

A generative model of itinerant movement Lotka-Volterra dynamics Attractor space Stable heteroclinic orbits Physical space 1 2 1 2 3 4 5 5 3 4 Sequence Winnerless competition

hidden attractor states Itinerant behavior and action-observation hidden attractor states (Lotka-Volterra) Descending predictions action observation 0.4 0.6 0.8 position (y) 1 1.2 1.4 0.2 0.4 0.6 0.8 1 1.2 1.4 0.2 0.4 0.6 0.8 1 1.2 1.4 position (x) position (x)

Violations and simulated ERPs 0.5 0.5 1 1 1.5 1.5 2 2 -0.5 0.5 1 1.5 -0.5 0.5 1 1.5 observation violation proprioceptive error proprioceptive error 0.06 0.06 0.04 0.04 0.02 0.02 prediction error -0.02 -0.02 -0.04 -0.04 -400 -200 200 400 600 -400 -200 200 400 600 error on hidden states error on hidden states 0.02 0.02 0.015 0.015 0.01 0.01 prediction error 0.005 0.005 -0.005 -0.005 -0.01 -0.01 -0.015 -0.015 -400 -200 200 400 600 -400 -200 200 400 600 time (ms) time (ms)

Free-energy formulation Forward-inverse formulation Desired and inferred states Desired and inferred states Forward model (generative model) Inverse model (control policy) Sensory prediction error Motor command (action) Environment Inverse model Environment Forward model Motor command (action) Sensory prediction error Efference copy Corollary discharge

Overview Ensemble dynamics Entropy and equilibria Free-energy and surprise The free-energy principle Action and perception Hierarchies and generative models Active inference Sensorimotor contingencies Goal-directed reaching Writing Action-observation Forward and inverse models Policies and priors Control and attractors The mountain-car problem

The mountain car problem The environment The cost-function Adriaan Fokker 0.7 Max Planck 0.6 0.5 0.4 height 0.3 0.2 0.1 -2 -1 1 2 position position happiness True motion Policy (predicted motion) “I expect to move faster when cost is positive”

Exploring & exploiting the environment With cost (i.e., exploratory dynamics)

Policies and prior expectations Using just the free-energy principle and itinerant priors on motion, we have solved a benchmark problem in optimal control theory (without any learning).

Summary The free-energy can be minimized by action (by changing sensory input) or perception (by changing predictions of that input) The only way that action can suppress free-energy is by reducing sensory prediction error (cf, the juxtaposition of motor and sensory cortex) Action fulfils expectations, which manifests as suppression of prediction error by resampling sensory input; Or as intentional movement, fulfilling expectations furnished by empirical priors (cf, sensorimotor contingencies) Many adaptive and realistic behaviors can be formulated in terms of prior expectations about itinerant trajectories (though the autovitiation of fixed-point attractors)

And thanks to collaborators: Thank you And thanks to collaborators: Jean Daunizeau Harriet Feldman Lee Harrison Stefan Kiebel James Kilner Jérémie Mattout Klaas Stephan And colleagues: Peter Dayan Jörn Diedrichsen Paul Verschure Florentin Wörgötter And many others