statistical models of visual neuronside/data/teaching/amsc663/16fall/am… · •take 120 sec of...

29
Statistical models of visual neurons Anna Sotnikova Applied Mathematics and Statistics, and Scientific Computation program Advisor: Dr. Daniel A. Butts Department of Biology Mid Year Presentation

Upload: others

Post on 23-Aug-2020

2 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Statistical models of visual neuronside/data/teaching/amsc663/16fall/am… · •Take 120 sec of stimulus/spikes data • Estimate two filters k1 and k2 using STC and STA models

Statistical models of visual neurons

Anna Sotnikova Applied Mathematics and Statistics, and Scientific Computation

program

Advisor: Dr. Daniel A. Butts Department of Biology

Mid Year Presentation

Page 2: Statistical models of visual neuronside/data/teaching/amsc663/16fall/am… · •Take 120 sec of stimulus/spikes data • Estimate two filters k1 and k2 using STC and STA models

Introduction to “neurons”

https://en.wikipedia.org/wiki/File:Brain_size_comparison_-_Brain_neurons_(billions).png

If 1 neuron is 10 micrometers, then 86e9 neurons is 860 kilometers

(534 miles)

or

If one can count 1 neuron per second, then 86e9 neurons

will take 2 727 years of counting

Page 3: Statistical models of visual neuronside/data/teaching/amsc663/16fall/am… · •Take 120 sec of stimulus/spikes data • Estimate two filters k1 and k2 using STC and STA models

Visual system of a neuron

http://www.pc.rhul.ac.uk/staff/j.zanker/ps1061/l2/ps1061_2.htm

spikes

Page 4: Statistical models of visual neuronside/data/teaching/amsc663/16fall/am… · •Take 120 sec of stimulus/spikes data • Estimate two filters k1 and k2 using STC and STA models

Modeling neuron’s response

Stimulus -> -> Firing rate

What is the model?

?

f(s)

Page 5: Statistical models of visual neuronside/data/teaching/amsc663/16fall/am… · •Take 120 sec of stimulus/spikes data • Estimate two filters k1 and k2 using STC and STA models

Linear-Nonlinear-Poisson Model

Generated Spikes

• - given : stimulus(stimuli) and number of spikes at moment t• - need to find

Simoncelli EP, Pillow J, Paninski L, Schwartz O (2004) Characterization of neural responses with stochastic stimuli. In: The cognitive neurosciences (Gazzaniga M, ed), pp 327–338. Cambridge, MA: MIT

Stimuli

Linear filter

Generator signal

Nonlinear function

Firing rate

Page 6: Statistical models of visual neuronside/data/teaching/amsc663/16fall/am… · •Take 120 sec of stimulus/spikes data • Estimate two filters k1 and k2 using STC and STA models

Synthetic(RGC) data: stimulusSynthetic data set for retinal ganglion cells contains the following elements:

1. stimulus

reformat stimulus into matrix of stimuli

where P is a stimuli lengthMcFarland JM, Cui Y, Butts DA (2013) Inferring nonlinear

neuronal computation based on physiologically plausible inputs. PLoS Computational Biology 9(7): e1003142.

0 1 2 3 4 5 6 7 8 9 10time (sec)

-1.5

-1

-0.5

0

0.5

1

1.5

stim

ulus

Page 7: Statistical models of visual neuronside/data/teaching/amsc663/16fall/am… · •Take 120 sec of stimulus/spikes data • Estimate two filters k1 and k2 using STC and STA models

2. spike times (in units of seconds)

reformat spike times into

0 1 2 3 4 5 6 7 8 9 10time (sec)

0

2

4

6

8

10

12

14

16

18

20

num

ber o

f spi

kes

Synthetic(RGC) data: response

Page 8: Statistical models of visual neuronside/data/teaching/amsc663/16fall/am… · •Take 120 sec of stimulus/spikes data • Estimate two filters k1 and k2 using STC and STA models

Real (LGN) data Real data set, recorded from lateral geniculate nucleus of 3 cats, contains the following elements:

• stimulus for an experiment duration of 120 sec

• spike times (in units of seconds)

• repeated stimulus of 10 sec, 64 repetitions

• corresponding spike times for the repeated stimulus

• time interval of the stimulus update (dt)

Butts DA, Weng C, Jin JZ, Alonso JM, Paninski L (2011) Temporal precision in the visual pathway through the interplay of excitation and stimulus-driven suppression. J. Neurosci. 31: 11313-27.

Page 9: Statistical models of visual neuronside/data/teaching/amsc663/16fall/am… · •Take 120 sec of stimulus/spikes data • Estimate two filters k1 and k2 using STC and STA models

Moment-based statistical models for filter estimation

Spike Triggered Average (STA)

Spike Triggered Covariance (STC)

Page 10: Statistical models of visual neuronside/data/teaching/amsc663/16fall/am… · •Take 120 sec of stimulus/spikes data • Estimate two filters k1 and k2 using STC and STA models

Spike Triggered Average

N - the total number of spikes per experiment

n(t) - number of spikes at time t (an integer number)

M - number of stimuli per experiment

P - length of stimuli

- average stimuli

- matrix of stimuli with dimensions of [M,P]

- stimuli vector at moment t

Page 11: Statistical models of visual neuronside/data/teaching/amsc663/16fall/am… · •Take 120 sec of stimulus/spikes data • Estimate two filters k1 and k2 using STC and STA models

STA for synthetic data

STA

McFarland JM, Cui Y, Butts DA (2013) Inferring nonlinear neuronal computation based on

physiologically plausible inputs. PLoS Computational Biology 9(7): e1003142.

stimuli length is 120 time steps <-> 1 sec

-1 -0.9 -0.8 -0.7 -0.6 -0.5 -0.4 -0.3 -0.2 -0.1 0time (sec)

-0.3

-0.25

-0.2

-0.15

-0.1

-0.05

0

0.05

0.1

0.15

0.2

STA

STA

Page 12: Statistical models of visual neuronside/data/teaching/amsc663/16fall/am… · •Take 120 sec of stimulus/spikes data • Estimate two filters k1 and k2 using STC and STA models

• Take 120 sec of stimulus/spikes data • Estimate single linear filter k using STA model • Estimate non-linearity function F • Take repeated stimulus/spikes data (10 sec, repeated 64 times) • Apply k & F to repeated stimulus to predict firing rate • Calculate average spike rate by averaging repeated spikes data • Compare predicted/measured spike rates

L-N-P model reconstruction scheme for real data

Page 13: Statistical models of visual neuronside/data/teaching/amsc663/16fall/am… · •Take 120 sec of stimulus/spikes data • Estimate two filters k1 and k2 using STC and STA models

STA filter(k) for real data

stimuli length is 15 time steps <->

0.1251 sec

0 5 10 15time step

-1

-0.8

-0.6

-0.4

-0.2

0

0.2

0.4

0.6

0.8

STA

filte

r

Page 14: Statistical models of visual neuronside/data/teaching/amsc663/16fall/am… · •Take 120 sec of stimulus/spikes data • Estimate two filters k1 and k2 using STC and STA models

How many spikes in this bin?

Generator signal (g(t)) for real data

Page 15: Statistical models of visual neuronside/data/teaching/amsc663/16fall/am… · •Take 120 sec of stimulus/spikes data • Estimate two filters k1 and k2 using STC and STA models

Estimation of nonlinearity F() for real data

Page 16: Statistical models of visual neuronside/data/teaching/amsc663/16fall/am… · •Take 120 sec of stimulus/spikes data • Estimate two filters k1 and k2 using STC and STA models

Cross validation results

0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1time (sec)

0

0.5

1

1.5

2

2.5

spik

e ra

te (s

pike

s/bi

n)

measuredestimated

where - measured data, - estimated data

Page 17: Statistical models of visual neuronside/data/teaching/amsc663/16fall/am… · •Take 120 sec of stimulus/spikes data • Estimate two filters k1 and k2 using STC and STA models

New model: Spike Triggered Covariance

Page 18: Statistical models of visual neuronside/data/teaching/amsc663/16fall/am… · •Take 120 sec of stimulus/spikes data • Estimate two filters k1 and k2 using STC and STA models

STC for synthetic data

0 20 40 60 80 100 120eigenvalue number

-1.5

-1

-0.5

0

0.5

1

1.5Eigenvalues for STC matrix

Page 19: Statistical models of visual neuronside/data/teaching/amsc663/16fall/am… · •Take 120 sec of stimulus/spikes data • Estimate two filters k1 and k2 using STC and STA models

STC for synthetic data

STC

McFarland JM, Cui Y, Butts DA (2013) Inferring nonlinear neuronal computation based on

physiologically plausible inputs. PLoS Computational Biology 9(7): e1003142.

stimuli length is 120 time steps <-> 1 sec

-1 -0.9 -0.8 -0.7 -0.6 -0.5 -0.4 -0.3 -0.2 -0.1 0time (sec)

-0.25

-0.2

-0.15

-0.1

-0.05

0

0.05

0.1

STC

STC

Page 20: Statistical models of visual neuronside/data/teaching/amsc663/16fall/am… · •Take 120 sec of stimulus/spikes data • Estimate two filters k1 and k2 using STC and STA models

• Take 120 sec of stimulus/spikes data • Estimate two filters k1 and k2 using STC and STA models • Estimate 2D non-linear function F • Take repeated stimulus/spikes data (10 sec, repeated 64 times) • Apply k1,k2 & F to repeated stimulus to predict firing rate • Calculate average spike rate by averaging repeated spikes data • Compare predicted/measured spike rates

L-N-P model reconstruction scheme for real data

Page 21: Statistical models of visual neuronside/data/teaching/amsc663/16fall/am… · •Take 120 sec of stimulus/spikes data • Estimate two filters k1 and k2 using STC and STA models

Finding STC filter for real data

0 5 10 15-2

-1.5

-1

-0.5

0

0.5Eigenvalues for STC matrix

stimuli length is 15 time steps <->

0.1251 sec

Page 22: Statistical models of visual neuronside/data/teaching/amsc663/16fall/am… · •Take 120 sec of stimulus/spikes data • Estimate two filters k1 and k2 using STC and STA models

Finding g(t) for real data

4

2

0

Generator signal

-20

500

-45 4 3 2 1 0

1000

-1 -2 -3 -4

1500

2000

Page 23: Statistical models of visual neuronside/data/teaching/amsc663/16fall/am… · •Take 120 sec of stimulus/spikes data • Estimate two filters k1 and k2 using STC and STA models

Estimation of nonlinearity F(*,*) for real data

0

0.2

0.4

5

0.6

0.8

spik

e ra

te

1

1.2

2D nonlinearity

-5

generator signal

0

generator signal

0-5 5

0

0.2

0.4

0.6

0.8

1

Page 24: Statistical models of visual neuronside/data/teaching/amsc663/16fall/am… · •Take 120 sec of stimulus/spikes data • Estimate two filters k1 and k2 using STC and STA models

2D nonlinearity

-10 -3 -4-212

gene

rato

r sig

nal

5

4

34

3

2

1

0

-1

-2

-3

-4

5generator signal

-5

Estimation of nonlinearity F(*,*) real data

Page 25: Statistical models of visual neuronside/data/teaching/amsc663/16fall/am… · •Take 120 sec of stimulus/spikes data • Estimate two filters k1 and k2 using STC and STA models

Cross validation results

0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1time (sec)

0

0.5

1

1.5

2

2.5

spik

e ra

te (s

pike

s/bi

n)

measuredestimated

Page 26: Statistical models of visual neuronside/data/teaching/amsc663/16fall/am… · •Take 120 sec of stimulus/spikes data • Estimate two filters k1 and k2 using STC and STA models

Updated project scheduleOctober - mid November November

✓ Implement STA and STC models

✓ Test models on synthetic data set and validate models on real data set

November - December December - mid February

• Implement Generalized Linear Model (GLM)

• Test model on synthetic data set and validate model on LGN data set

January - March mid February - mid April

• Implement Generalized Quadratic Model (GQM) and Nonlinear Input Model (NIM)

• Test models on synthetic data set and validate models on LGN data set

April - May Mid April - May

• Collect results and prepare final report

Page 27: Statistical models of visual neuronside/data/teaching/amsc663/16fall/am… · •Take 120 sec of stimulus/spikes data • Estimate two filters k1 and k2 using STC and STA models

References

1. McFarland JM, Cui Y, Butts DA (2013) Inferring nonlinear neuronal computation based on physiologically plausible inputs. PLoS Computational Biology 9(7): e1003142.

2. Butts DA, Weng C, Jin JZ, Alonso JM, Paninski L (2011) Temporal precision in the visual pathway through the interplay of excitation and stimulus-driven suppression. J. Neurosci. 31: 11313-27.

3. Simoncelli EP, Pillow J, Paninski L, Schwartz O (2004) Characterization of neural responses with stochastic stimuli. In: The cognitive neurosciences (Gazzaniga M, ed), pp 327–338. Cambridge, MA: MIT.

4. Chichilnisky EJ (2001) A simple white noise analysis of neuronal light responses. Network 12:199 –213.

Page 28: Statistical models of visual neuronside/data/teaching/amsc663/16fall/am… · •Take 120 sec of stimulus/spikes data • Estimate two filters k1 and k2 using STC and STA models

Appendix: define stimuli length (for STA of synthetic data)

0 20 40 60 80 100 120 140-0.25

-0.2

-0.15

-0.1

-0.05

0

0.05

0.1

0.15

0.2

0 5 10 15-0.25

-0.2

-0.15

-0.1

-0.05

0

0.05

0.1

0.15

0.2

dt is unchanged the stimuli length is 121 time points

dt is unchanged the stimuli length is 15 time points

Page 29: Statistical models of visual neuronside/data/teaching/amsc663/16fall/am… · •Take 120 sec of stimulus/spikes data • Estimate two filters k1 and k2 using STC and STA models

Appendix: define dt (for STA of synthetic data)

0 20 40 60 80 100 120-0.3

-0.25

-0.2

-0.15

-0.1

-0.05

0

0.05

0.1

0.15

0.2

0 5 10 15-0.3

-0.25

-0.2

-0.15

-0.1

-0.05

0

dt -> dt/8 the stimuli length is 15 time points

dt -> dt/8 the stimuli length is 15*8 time points