Should I stay or should I go? Adaption of human observers to the volatility of visual inputs

Laurent Perrinet

CausaL Kick-off, 5/4/2019

Acknowledgements:
  • Rick Adams and Karl Friston @ UCL - Wellcome Trust Centre for Neuroimaging
  • Jean-Bernard Damasse, Laurent Madelain and Anna Montagnini - ANR REM
  • Frédéric Chavane - INT


This work was supported by ANR project ANR-18-AAPG–“CAUSAL, Cognitive Architectures of Causal Learning”.



Should I stay or should I go? - Eye Movements

Montagnini A, Souto D, and Masson GS (2010) J Vis (VSS Abstracts) 10(7):554,
Montagnini A, Perrinet L, and Masson GS (2015) BICV book chapter

Should I stay or should I go? - Eye Movements

Should I stay or should I go? - Eye Movements


Should I stay or should I go? - Random-length block design

Outline

  1. Should I stay or should I go?
  2. Experimental protocol

  3. The Bayesian Changepoint Detector
  4. Results using the BCP
  5. Application to RL?

Experimental protocol - Random-length block design

full code @ github.com/chloepasturel/AnticipatorySPEM

Experimental protocol - Random-length block design

Experimental protocol

full code @ github.com/chloepasturel/AnticipatorySPEM

Experimental protocol - Fitting eye movements

full code @ github.com/chloepasturel/AnticipatorySPEM

Experimental protocol - Fitting eye movements

full code @ github.com/chloepasturel/AnticipatorySPEM

Experimental protocol

full code @ github.com/chloepasturel/AnticipatorySPEM

Experimental protocol

full code @ github.com/chloepasturel/AnticipatorySPEM

Experimental protocol

full code @ github.com/chloepasturel/AnticipatorySPEM

Experimental protocol

full code @ github.com/chloepasturel/AnticipatorySPEM

Outline

  1. Should I stay or should I go?
  2. Experimental protocol
  3. The Bayesian Changepoint Detector

  4. Results using the BCP
  5. Application to RL?

The Bayesian Changepoint Detector - Random-length block design

full code @ github.com/chloepasturel/AnticipatorySPEM

The Bayesian Changepoint Detector

Initialize $P(r_0=0)=1$ and $ν^{(0)}_1 = ν_{prior}$ and $χ^{(0)}_1 = χ_{prior}$

The Bayesian Changepoint Detector

Observe New Datum $x_t$ and Perform Prediction $P (x_{t+1} | x_{1:t}) = P (x_{t+1}|x_{1:t} , r_t) \cdot P (r_t|x_{1:t})$

The Bayesian Changepoint Detector

Evaluate (likelihood) Predictive Probability $π_{1:t} = P(x_t |ν^{(r)}_t,χ^{(r)}_t)$
Calculate Growth Probabilities $P(r_t=r_{t-1}+1, x_{1:t}) = P(r_{t-1}, x_{1:t-1}) \cdot π^{(r)}_t \cdot (1−h))$
Calculate Changepoint Probabilities $P(r_t=0, x_{1:t})= \sum_{r_{t-1}} P(r_{t-1}, x_{1:t-1}) \cdot π^{(r)}_t \cdot h$

The Bayesian Changepoint Detector

Calculate Evidence $P(x_{1:t}) = \sum_{r_{t-1}} P (r_t, x_{1:t})$
Determine Run Length Distribution $P (r_t | x_{1:t}) = P (r_t, x_{1:t})/P (x_{1:t}) $

The Bayesian Changepoint Detector

Update Sufficient Statistics :
$ν^{(r+1)}_{t+1} = ν^{(r)}_{t} +1$, $χ^{(r+1)}_{t+1} = χ^{(r)}_{t} + u(x_t)$
$ν^{(0)}_{t+1} = ν_{prior}$, $χ^{(0)}_{t+1} = χ_{prior}$

Bayesian Changepoint Detector

  1. Initialize
    • $P(r_0=0)=1$ and
    • $ν^{(0)}_1 = ν_{prior}$ and $χ^{(0)}_1 = χ_{prior}$
  2. Observe New Datum $x_t$
  3. Evaluate Predictive Probability $π_{1:t} = P(x_t |ν^{(r)}_t,χ^{(r)}_t)$
  4. Calculate Growth Probabilities $P(r_t=r_{t-1}+1, x_{1:t}) = P(r_{t-1}, x_{1:t-1}) \cdot π^{(r)}_t \cdot (1−H(r^{(r)}_{t-1}))$
  5. Calculate Changepoint Probabilities $P(r_t=0, x_{1:t})= \sum_{r_{t-1}} P(r_{t-1}, x_{1:t-1}) \cdot π^{(r)}_t \cdot H(r^{(r)}_{t-1})$
  6. Calculate Evidence $P(x_{1:t}) = \sum_{r_{t-1}} P (r_t, x_{1:t})$
  7. Determine Run Length Distribution $P (r_t | x_{1:t}) = P (r_t, x_{1:t})/P (x_{1:t}) $
  8. Update Sufficient Statistics :
    • $ν^{(0)}_{t+1} = ν_{prior}$, $χ^{(0)}_{t+1} = χ_{prior}$
    • $ν^{(r+1)}_{t+1} = ν^{(r)}_{t} +1$, $χ^{(r+1)}_{t+1} = χ^{(r)}_{t} + u(x_t)$
  9. Perform Prediction $P (x_{t+1} | x_{1:t}) = P (x_{t+1}|x_{1:t} , r_t) \cdot P (r_t|x_{1:t})$
  10. go to (2)

The Bayesian Changepoint Detector

full code @ github.com/laurentperrinet/bayesianchangepoint

The Bayesian Changepoint Detector - Full model

full code @ github.com/laurentperrinet/bayesianchangepoint

The Bayesian Changepoint Detector - Fixed window

full code @ github.com/laurentperrinet/bayesianchangepoint

Outline

  1. Should I stay or should I go?
  2. Experimental protocol
  3. The Bayesian Changepoint Detector
  4. Results using the BCP

  5. Application to RL?

Results using the BCP - Full model

full code @ github.com/laurentperrinet/bayesianchangepoint

Results using the BCP - Full model

full code @ github.com/laurentperrinet/bayesianchangepoint

Results using the BCP - Full model

full code @ github.com/laurentperrinet/bayesianchangepoint

Results using the BCP - Fixed window

full code @ github.com/laurentperrinet/bayesianchangepoint

Results using the BCP - Fixed window

full code @ github.com/laurentperrinet/bayesianchangepoint

Results using the BCP - Fixed window

full code @ github.com/laurentperrinet/bayesianchangepoint

Results using the BCP - fit with BCP

Results using the BCP - fit with BCP

Results using the BCP

full code @ github.com/laurentperrinet/bayesianchangepoint

Results using the BCP - Fixed window

Results using the BCP - Full model

Results using the BCPinterindividual differences

Outline

  1. Should I stay or should I go?
  2. Experimental protocol
  3. The Bayesian Changepoint Detector
  4. Results using the BCP
  5. Application to RL?

Application to RL? - Full model

full code @ github.com/laurentperrinet/bayesianchangepoint

Application to RL? - With hindsight

full code @ github.com/laurentperrinet/bayesianchangepoint

Should I stay or should I go? Adaption of human observers to the volatility of visual inputs

Laurent Perrinet

CausaL Kick-off, 5/4/2019

Acknowledgements:
  • Rick Adams and Karl Friston @ UCL - Wellcome Trust Centre for Neuroimaging
  • Jean-Bernard Damasse, Laurent Madelain and Anna Montagnini - ANR REM
  • Frédéric Chavane - INT


This work was supported by ANR project ANR-18-AAPG–“CAUSAL, Cognitive Architectures of Causal Learning”.


https://laurentperrinet.github.io/talk/2019-04-05-bbcp-causal-kickoff