+ All Categories
Home > Documents > Brief introduction to computational & statistical...

Brief introduction to computational & statistical...

Date post: 30-Sep-2020
Category:
Upload: others
View: 0 times
Download: 0 times
Share this document with a friend
48
Brief introduction to computational & statistical neuroscience Jonathan Pillow Lecture #1 Statistical Modeling and Analysis of Neural Data Spring 2018 1
Transcript
Page 1: Brief introduction to computational & statistical neurosciencepillowlab.princeton.edu/teaching/statneuro2018/... · Statistical Modeling and Analysis of Neural Data Spring 2018 1.

Brief introduction to computational & statistical

neuroscience

Jonathan Pillow

Lecture #1Statistical Modeling and Analysis of Neural Data

Spring 20181

Page 2: Brief introduction to computational & statistical neurosciencepillowlab.princeton.edu/teaching/statneuro2018/... · Statistical Modeling and Analysis of Neural Data Spring 2018 1.

What is computational neuroscience?

2. Study how the brain behaves as a computer• Brain is a machine for processing information &

computing relevant outputs

• Machine for statistical inference

1. Computational/statistical tools to study the brain.• Extract structure from noisy data

• Build models that capture behavior of neurons

2

Page 3: Brief introduction to computational & statistical neurosciencepillowlab.princeton.edu/teaching/statneuro2018/... · Statistical Modeling and Analysis of Neural Data Spring 2018 1.

Mind-Brain Problem

What is the relationship of the mind to the brain?

3

Page 4: Brief introduction to computational & statistical neurosciencepillowlab.princeton.edu/teaching/statneuro2018/... · Statistical Modeling and Analysis of Neural Data Spring 2018 1.

The brain as a computer:

“The brain computes! This is accepted as a truism by the majority of neuroscientists engaged in discovering the principles employed in the design and operation of nervous systems. What is meant here is that any brain takes the incoming sensory data, encodes them into various biophysical variables, such as the membrane potential or neuronal firing rates, and subsequently performs a very large number of ill-specified operations, frequently termed computations, on these variables to extract relevant features from the input. The outcome of some of these computations can be stored for later access and will, ultimately, control the motor output of the animal in appropriate ways.”

- Christof Koch, Biophysics of Computation

4

Page 5: Brief introduction to computational & statistical neurosciencepillowlab.princeton.edu/teaching/statneuro2018/... · Statistical Modeling and Analysis of Neural Data Spring 2018 1.

Short history of brain metaphors:

• hydraulic device (Descartes, 17th C.)• mill (Leibniz, 17th C.)• telegraph (Sherrington, early 20th C.)• telephone switchboard (20th C.)• digital computer (late 20th C.)

• quantum computer? (Penrose, 1989)

• convolutional neural network? (21st C.)

5

Page 6: Brief introduction to computational & statistical neurosciencepillowlab.princeton.edu/teaching/statneuro2018/... · Statistical Modeling and Analysis of Neural Data Spring 2018 1.

BrainSensoryInput

MotorOutput

• The physical parts of the brain are important only insofar as they represent steps in a formal calculation.

• Any physical device implementing the same formal system would have the same “mind properties” as a brain.

What does it mean to claim the brain is a computer?

6

Page 7: Brief introduction to computational & statistical neurosciencepillowlab.princeton.edu/teaching/statneuro2018/... · Statistical Modeling and Analysis of Neural Data Spring 2018 1.

BrainSensoryInput

MotorOutput

Claim: Most neuroscientists take it for granted that the brain is a computer.

They are devoted to finding out which computer (i.e., what formal structure? what algorithms does the brain implement?).

What does it mean to claim the brain is a computer?

7

Page 8: Brief introduction to computational & statistical neurosciencepillowlab.princeton.edu/teaching/statneuro2018/... · Statistical Modeling and Analysis of Neural Data Spring 2018 1.

What is (some of) the evidence that the brain is a computer?

8

Page 9: Brief introduction to computational & statistical neurosciencepillowlab.princeton.edu/teaching/statneuro2018/... · Statistical Modeling and Analysis of Neural Data Spring 2018 1.

Mathematical model of sensory neurons

photoreceptors

bipolar cells

retinal ganglion cells

the retina

detect light

output cells (send all visual information to the brain)

to brain!9

Page 10: Brief introduction to computational & statistical neurosciencepillowlab.princeton.edu/teaching/statneuro2018/... · Statistical Modeling and Analysis of Neural Data Spring 2018 1.

Mathematical model of sensory neurons

photoreceptors

bipolar cells

retinal ganglion cells

Difference of light in “center” and light in the “surround”

+ --

the retina

what mathematical operation?

10

Page 11: Brief introduction to computational & statistical neurosciencepillowlab.princeton.edu/teaching/statneuro2018/... · Statistical Modeling and Analysis of Neural Data Spring 2018 1.

Mathematical model of sensory neurons

photoreceptors

bipolar cells

retinal ganglion cells

Difference of light in “center” and light in the “surround”

+ --

stimulus

lots of spikes!

11

Page 12: Brief introduction to computational & statistical neurosciencepillowlab.princeton.edu/teaching/statneuro2018/... · Statistical Modeling and Analysis of Neural Data Spring 2018 1.

Mathematical model of sensory neurons

photoreceptors

bipolar cells

retinal ganglion cells

Difference of light in “center” and light in the “surround”

+ --

stimulus

few spikes

12

Page 13: Brief introduction to computational & statistical neurosciencepillowlab.princeton.edu/teaching/statneuro2018/... · Statistical Modeling and Analysis of Neural Data Spring 2018 1.

Mathematical model of sensory neurons

photoreceptors

bipolar cells

retinal ganglion cells

Difference of light in “center” and light in the “surround”

+ --

stimulus

more spikes

13

Page 14: Brief introduction to computational & statistical neurosciencepillowlab.princeton.edu/teaching/statneuro2018/... · Statistical Modeling and Analysis of Neural Data Spring 2018 1.

Mach Bands

Each stripe has constant luminance

Then why does it look like there’s a gradient?

14

Page 15: Brief introduction to computational & statistical neurosciencepillowlab.princeton.edu/teaching/statneuro2018/... · Statistical Modeling and Analysis of Neural Data Spring 2018 1.

Mach Bands

Each stripe has constant luminance

Then why does it look like there’s a gradient?

- + - Cell on right edge

- + -Cell on left edge

15

Page 16: Brief introduction to computational & statistical neurosciencepillowlab.princeton.edu/teaching/statneuro2018/... · Statistical Modeling and Analysis of Neural Data Spring 2018 1.

The Neural Coding Problem

• How does the brain take stimuli and “code” them with sequences of spikes?

spikesstimulus“encoding function”

16

Page 17: Brief introduction to computational & statistical neurosciencepillowlab.princeton.edu/teaching/statneuro2018/... · Statistical Modeling and Analysis of Neural Data Spring 2018 1.

stimulus spikes

membrane potential

calcium imaging

fMRI

neural activity

• How are stimuli and actions encoded in neural activity?• How are representations transformed between brain areas?

Questions:

The Neural Coding Problem

17

Page 18: Brief introduction to computational & statistical neurosciencepillowlab.princeton.edu/teaching/statneuro2018/... · Statistical Modeling and Analysis of Neural Data Spring 2018 1.

stimulus spikes

membrane potential

fMRI

Approach: • develop flexible statistical models of P(y|x) • quantify information coding strategies and mechanisms

encoding models

calcium imaging

neural activityThe Neural Coding Problem

18

Page 19: Brief introduction to computational & statistical neurosciencepillowlab.princeton.edu/teaching/statneuro2018/... · Statistical Modeling and Analysis of Neural Data Spring 2018 1.

Lightness Illusion

19

Page 20: Brief introduction to computational & statistical neurosciencepillowlab.princeton.edu/teaching/statneuro2018/... · Statistical Modeling and Analysis of Neural Data Spring 2018 1.

Hermann illusion

20

Page 21: Brief introduction to computational & statistical neurosciencepillowlab.princeton.edu/teaching/statneuro2018/... · Statistical Modeling and Analysis of Neural Data Spring 2018 1.

This magical slide can track where you’re looking

21

Page 22: Brief introduction to computational & statistical neurosciencepillowlab.princeton.edu/teaching/statneuro2018/... · Statistical Modeling and Analysis of Neural Data Spring 2018 1.

Color Computations

Beau Lotto22

Page 23: Brief introduction to computational & statistical neurosciencepillowlab.princeton.edu/teaching/statneuro2018/... · Statistical Modeling and Analysis of Neural Data Spring 2018 1.

Color Computations

Beau Lotto23

Page 24: Brief introduction to computational & statistical neurosciencepillowlab.princeton.edu/teaching/statneuro2018/... · Statistical Modeling and Analysis of Neural Data Spring 2018 1.

an image can fool 2/3 of the population (and spark hostility across the globe)

24

Page 25: Brief introduction to computational & statistical neurosciencepillowlab.princeton.edu/teaching/statneuro2018/... · Statistical Modeling and Analysis of Neural Data Spring 2018 1.

Turns out: percept depends on statistical inferences brain makes about the light source!

25

Page 26: Brief introduction to computational & statistical neurosciencepillowlab.princeton.edu/teaching/statneuro2018/... · Statistical Modeling and Analysis of Neural Data Spring 2018 1.

26

Page 27: Brief introduction to computational & statistical neurosciencepillowlab.princeton.edu/teaching/statneuro2018/... · Statistical Modeling and Analysis of Neural Data Spring 2018 1.

27

Page 28: Brief introduction to computational & statistical neurosciencepillowlab.princeton.edu/teaching/statneuro2018/... · Statistical Modeling and Analysis of Neural Data Spring 2018 1.

color after-images

• neurons adjust their response properties after prolonged exposure to an image

• we can compute (and predict) these changes!• red —> green after-image • blue —> yellow after-image • black —> white after-image

28

Page 29: Brief introduction to computational & statistical neurosciencepillowlab.princeton.edu/teaching/statneuro2018/... · Statistical Modeling and Analysis of Neural Data Spring 2018 1.

Helmholtz: perception as “optimal inference”

“Perception is our best guess as to what is in the world, given our current sensory evidence

and our prior experience.”

“perception is our best guess as to what is in the world, given our

current sensory evidence and our prior experience.”

perception - alan stocker © 2009

perception as optimal inference

helmholtz 1821-1894

P(world | sense data) ∝ P(sense data | world) P(world)

(given by past experience)

Prior(given by laws of physics;

ambiguous because many world statescould give rise to same sense data)

LikelihoodPosterior(resulting beliefs about

the world)

Bayesian Models for Perception

29

Page 30: Brief introduction to computational & statistical neurosciencepillowlab.princeton.edu/teaching/statneuro2018/... · Statistical Modeling and Analysis of Neural Data Spring 2018 1.

what is perception?

percept

• seeing• hearing• touching• smelling• tasting• orienting

“bottom-up”

“top-down”

statistical knowledge about the structure of the world

prior (“top down”)

likelihood (“bottom up”)

posterior

30

Page 31: Brief introduction to computational & statistical neurosciencepillowlab.princeton.edu/teaching/statneuro2018/... · Statistical Modeling and Analysis of Neural Data Spring 2018 1.

Many different 3D scenes can give rise to the same 2D retinal image

The Ames Room

31

Page 32: Brief introduction to computational & statistical neurosciencepillowlab.princeton.edu/teaching/statneuro2018/... · Statistical Modeling and Analysis of Neural Data Spring 2018 1.

Many different 3D scenes can give rise to the same 2D retinal image

The Ames Room

How does our brain go about deciding which interpretation?

A

B

P(image | A) and P(image | B) are equal! (both A and B could have generated this image)

Let’s use Bayes’ rule:

P(A | image) = P(image | A) P(A) / Z P(B | image) = P(image | B) P(B) / Z

32

Page 33: Brief introduction to computational & statistical neurosciencepillowlab.princeton.edu/teaching/statneuro2018/... · Statistical Modeling and Analysis of Neural Data Spring 2018 1.

Neural prostheses: Neurons can be replaced by other entities (silicon chips) that have different physical structure but carry out the same (or similar) mathematical operations, allowing the organism to produce (“compute”) the same behavior.

33

Page 34: Brief introduction to computational & statistical neurosciencepillowlab.princeton.edu/teaching/statneuro2018/... · Statistical Modeling and Analysis of Neural Data Spring 2018 1.

Cochlear implants(using a “different computer” to encode auditory signals)

microphone

transmitter receiver

cochlea

electrode array

to brain

34

Page 35: Brief introduction to computational & statistical neurosciencepillowlab.princeton.edu/teaching/statneuro2018/... · Statistical Modeling and Analysis of Neural Data Spring 2018 1.

Direct neural control of movement Schwartz Lab (Pitt)

35

Page 36: Brief introduction to computational & statistical neurosciencepillowlab.princeton.edu/teaching/statneuro2018/... · Statistical Modeling and Analysis of Neural Data Spring 2018 1.

Direct neural control of movement Schwartz Lab (Pitt)

36

Page 37: Brief introduction to computational & statistical neurosciencepillowlab.princeton.edu/teaching/statneuro2018/... · Statistical Modeling and Analysis of Neural Data Spring 2018 1.

If we understand the mathematical operations carried out by different parts of the brain, we could (in theory) replace them with new parts that perform the same computations!

Interchangeability: replacing neurons with silicon

BrainSensory

InputMotorOutput

37

Page 38: Brief introduction to computational & statistical neurosciencepillowlab.princeton.edu/teaching/statneuro2018/... · Statistical Modeling and Analysis of Neural Data Spring 2018 1.

Our goal: figure out how the brain works.

38

Page 39: Brief introduction to computational & statistical neurosciencepillowlab.princeton.edu/teaching/statneuro2018/... · Statistical Modeling and Analysis of Neural Data Spring 2018 1.

10 microns

There are about 10 billion cubes of this size in your brain!

39

Page 40: Brief introduction to computational & statistical neurosciencepillowlab.princeton.edu/teaching/statneuro2018/... · Statistical Modeling and Analysis of Neural Data Spring 2018 1.

Tungsten Electrode

40

Page 41: Brief introduction to computational & statistical neurosciencepillowlab.princeton.edu/teaching/statneuro2018/... · Statistical Modeling and Analysis of Neural Data Spring 2018 1.

Kelly, Smith, Samonds, Kohn, Bonds & Movshon, 2007

“Utah” array (96 channels)

41

Page 42: Brief introduction to computational & statistical neurosciencepillowlab.princeton.edu/teaching/statneuro2018/... · Statistical Modeling and Analysis of Neural Data Spring 2018 1.

42

Page 43: Brief introduction to computational & statistical neurosciencepillowlab.princeton.edu/teaching/statneuro2018/... · Statistical Modeling and Analysis of Neural Data Spring 2018 1.

Coming soon:

neuropixel probe (1K electrodes)

43

Page 44: Brief introduction to computational & statistical neurosciencepillowlab.princeton.edu/teaching/statneuro2018/... · Statistical Modeling and Analysis of Neural Data Spring 2018 1.

Neurons are noisy

0 0.2 0.4 0.6 0.8 1

5

10

15

20

25

30

Time (s)

44

Page 45: Brief introduction to computational & statistical neurosciencepillowlab.princeton.edu/teaching/statneuro2018/... · Statistical Modeling and Analysis of Neural Data Spring 2018 1.

Retinal responses to white noise stimuli

Shlens, Field, Gauthier, Greschner, Sher , Litke & Chichilnisky (2009).

(ON parasol cells )

45

Page 46: Brief introduction to computational & statistical neurosciencepillowlab.princeton.edu/teaching/statneuro2018/... · Statistical Modeling and Analysis of Neural Data Spring 2018 1.

This is a great time to study computational / statistical neuroscience

• We are about to get incredible data.

• Computers are getting extremely fast.

• Advances in statistical/mathematical techniques are allowing us to gain a deep understanding of neural data and neural information processing capabilities

46

Page 47: Brief introduction to computational & statistical neurosciencepillowlab.princeton.edu/teaching/statneuro2018/... · Statistical Modeling and Analysis of Neural Data Spring 2018 1.

For Next Time

• Install Python (instructions will be posted online)

• Review Linear Algebra basics

47

Page 48: Brief introduction to computational & statistical neurosciencepillowlab.princeton.edu/teaching/statneuro2018/... · Statistical Modeling and Analysis of Neural Data Spring 2018 1.

Quick review of the basics• vectors• vector norm (“L2 norm”)• unit vector• inner product (“dot product”)• linear projection• orthogonality• linear dependence / independence• outer product• matrices• matrix multiplication (matrix-vector,

matrix-matrix)• basis, span, vector space

48


Recommended