M ACHINE L EARNING ON N EUROIMAGING D ATA L ECTURE 1: N EUROIMAGING T - - PowerPoint PPT Presentation

m achine l earning on
SMART_READER_LITE
LIVE PREVIEW

M ACHINE L EARNING ON N EUROIMAGING D ATA L ECTURE 1: N EUROIMAGING T - - PowerPoint PPT Presentation

M ACHINE L EARNING ON N EUROIMAGING D ATA L ECTURE 1: N EUROIMAGING T ECHNIQUES Ilya Kuzovkin AACIMP, August 2014 T HE COURSE L1 P1 N EUROIMAGING D ATA T HE COURSE L1 L2 P1 P2 N EUROIMAGING M ACHINE + D ATA L EARNING T HE COURSE L1 L2 P1


slide-1
SLIDE 1

MACHINE LEARNING ON NEUROIMAGING DATA

Ilya Kuzovkin

AACIMP, August 2014

LECTURE 1: NEUROIMAGING TECHNIQUES

slide-2
SLIDE 2

THE COURSE

NEUROIMAGING DATA

L1 P1

slide-3
SLIDE 3

THE COURSE

NEUROIMAGING DATA MACHINE LEARNING

L1 P1 L2 P2

+

slide-4
SLIDE 4

THE COURSE

NEUROIMAGING DATA MACHINE LEARNING BRAIN-COMPUTER INTERFACE

L1 P1 L2 P2 P3

+ =

slide-5
SLIDE 5

PART I INTRACORTICAL

slide-6
SLIDE 6

NEURONS

http://biomedicalengineering.yolasite.com

slide-7
SLIDE 7

NEURONS

http://biomedicalengineering.yolasite.com

slide-8
SLIDE 8

SPIKE

http://faculty.tcc.edu/mmitchell/142/ap-graph1.jpg

slide-9
SLIDE 9

SPIKE

http://faculty.tcc.edu/mmitchell/142/ap-graph1.jpg

How can voltage be negative?

slide-10
SLIDE 10

http://newton.umsl.edu/tsytsarev_files/neuron_electrode.JPG

ELECTRODES

slide-11
SLIDE 11

THE SIGNAL

  • Local Field Potential

http://www.frontiersin.org/files/Articles/414/fnins-02-037/image_m/fnins-02-037-g001.jpg http://lifesciences.ieee.org/images/stories/life-sciences/2012-01-spike-01_l.png

slide-12
SLIDE 12

THE SIGNAL

  • Multi-unit spikes
  • Local Field Potential

http://www.frontiersin.org/files/Articles/414/fnins-02-037/image_m/fnins-02-037-g001.jpg http://lifesciences.ieee.org/images/stories/life-sciences/2012-01-spike-01_l.png

slide-13
SLIDE 13

THE SIGNAL

  • Multi-unit spikes
  • Local Field Potential

Spike sorting

http://www.frontiersin.org/files/Articles/414/fnins-02-037/image_m/fnins-02-037-g001.jpg http://lifesciences.ieee.org/images/stories/life-sciences/2012-01-spike-01_l.png

slide-14
SLIDE 14

THE SIGNAL

http://www.frontiersin.org/files/Articles/414/fnins-02-037/image_m/fnins-02-037-g001.jpg http://lifesciences.ieee.org/images/stories/life-sciences/2012-01-spike-01_l.png

  • Multi-unit spikes
  • Local Field Potential
  • Single-unit spikes

Spike sorting

slide-15
SLIDE 15

For each measured neuron we record the time moments when it spiked

slide-16
SLIDE 16

RASTER PLOT

slide-17
SLIDE 17

RASTER PLOT

What is on the X axis?

slide-18
SLIDE 18

RASTER PLOT

Time

slide-19
SLIDE 19

RASTER PLOT

What is on the Y axis? Time

slide-20
SLIDE 20

RASTER PLOT

Time Neurons

slide-21
SLIDE 21

RASTER PLOT

Time Neurons

rastrum

slide-22
SLIDE 22

PSTH

Post-Stimulus Time Histogram

slide-23
SLIDE 23

PSTH

Post-Stimulus Time Histogram

Neurons \ Trials

slide-24
SLIDE 24

PSTH

Post-Stimulus Time Histogram

Neurons \ Trials 100 ms

slide-25
SLIDE 25

PSTH

Post-Stimulus Time Histogram

Neurons \ Trials 100 ms 100 ms

slide-26
SLIDE 26

PSTH

Post-Stimulus Time Histogram

Neurons \ Trials 100 ms 100 ms 100 ms 100 ms

slide-27
SLIDE 27

PSTH

Post-Stimulus Time Histogram

Neurons \ Trials 100 ms 100 ms 100 ms 100 ms 31 spikes 34 spikes 27 spikes 218 spikes 33 spikes

slide-28
SLIDE 28

PSTH

Time Neurons \ Trials

Post-Stimulus Time Histogram

slide-29
SLIDE 29

PSTH

Time Neurons \ Trials

Post-Stimulus Time Histogram What is on the Y axis?

slide-30
SLIDE 30

PSTH

Time Neurons \ Trials

Post-Stimulus Time Histogram

Spikes per 100 ms

slide-31
SLIDE 31

PSTH

Time Neurons \ Trials

Post-Stimulus Time Histogram

Spikes per 100 ms

slide-32
SLIDE 32

TUNING CURVE

http://www.beatricebiologist.com/2012/11/types-of-cells.html

slide-33
SLIDE 33

TUNING CURVE

http://www.beatricebiologist.com/2012/11/types-of-cells.html

45

slide-34
SLIDE 34

TUNING CURVE

http://www.beatricebiologist.com/2012/11/types-of-cells.html

45

slide-35
SLIDE 35

TUNING CURVE

http://www.beatricebiologist.com/2012/11/types-of-cells.html

40 spikes per second (40 Hz)

45

slide-36
SLIDE 36

TUNING CURVE

http://www.beatricebiologist.com/2012/11/types-of-cells.html

40 spikes per second (40 Hz)

45

slide-37
SLIDE 37

TUNING CURVE

http://www.beatricebiologist.com/2012/11/types-of-cells.html

40 spikes per second (40 Hz) 7 spikes per second (7 Hz)

45

slide-38
SLIDE 38

TUNING CURVE

http://www.beatricebiologist.com/2012/11/types-of-cells.html

40 spikes per second (40 Hz) 7 spikes per second (7 Hz)

45

slide-39
SLIDE 39

TUNING CURVE

http://www.beatricebiologist.com/2012/11/types-of-cells.html

40 spikes per second (40 Hz) 7 spikes per second (7 Hz)

45

slide-40
SLIDE 40

TUNING CURVE

http://www.beatricebiologist.com/2012/11/types-of-cells.html

40 spikes per second (40 Hz) 7 spikes per second (7 Hz) What do you expect to see

  • n this plot?

45

slide-41
SLIDE 41

TUNING CURVE

http://www.beatricebiologist.com/2012/11/types-of-cells.html

40 spikes per second (40 Hz) 7 spikes per second (7 Hz)

45

slide-42
SLIDE 42

TUNING CURVE

http://www.beatricebiologist.com/2012/11/types-of-cells.html

40 spikes per second (40 Hz) 7 spikes per second (7 Hz)

45

slide-43
SLIDE 43

SUMMARY

  • High spatial resolution

(up to single neuron)

  • High temporal resolution
slide-44
SLIDE 44

SUMMARY

  • High spatial resolution

(up to single neuron)

  • High temporal resolution

What does “spatial resolution” mean?

slide-45
SLIDE 45

SUMMARY

  • Requires surgery
  • Localized

What does “temporal resolution” mean?

  • High spatial resolution

(up to single neuron)

  • High temporal resolution
slide-46
SLIDE 46
  • High spatial resolution

(up to single neuron)

  • High temporal resolution

SUMMARY

  • Requires surgery
  • Localized
slide-47
SLIDE 47
  • High spatial resolution

(up to single neuron)

  • High temporal resolution

SUMMARY

  • Requires surgery
  • Localized

Very informative and precise, but not applicable to general audience due to surgery.

slide-48
SLIDE 48

PART II

FMRI

http://www.csulb.edu/~cwallis/482/fmri/fmri.h3.gif http://neuro.mediasauce.com/images/fmri_machine.png

slide-49
SLIDE 49

NUCLEAR MAGNETIC RESONANCE

Physical phenomenon in which nucleus

  • f an atom can absorb or reemit

electromagnetic radiation if placed in a magnetic field

slide-50
SLIDE 50

NUCLEAR MAGNETIC RESONANCE

Physical phenomenon in which nucleus

  • f an atom can absorb or reemit

electromagnetic radiation if placed in a magnetic field

slide-51
SLIDE 51

NUCLEAR MAGNETIC RESONANCE

Physical phenomenon in which nucleus

  • f an atom can absorb or reemit

electromagnetic radiation if placed in a magnetic field

slide-52
SLIDE 52

NUCLEAR MAGNETIC RESONANCE

Physical phenomenon in which nucleus

  • f an atom can absorb or reemit

electromagnetic radiation if placed in a magnetic field.

slide-53
SLIDE 53

SPIN

Spin-UP +1/2 Spin-DOWN

  • 1/2

http://www.markusehrenfried.de/science/physics/hermes/whatisspin.html

slide-54
SLIDE 54

SPIN

Spin-UP +1/2 Spin-DOWN

  • 1/2

http://www.markusehrenfried.de/science/physics/hermes/whatisspin.html

Nothing actually spins in there. No analogy in classical mechanics.

slide-55
SLIDE 55

SPIN

Spin-UP +1/2 Spin-DOWN

  • 1/2

Nothing actually spins in there. No analogy in classical mechanics. But why call it spin then?

http://www.markusehrenfried.de/science/physics/hermes/whatisspin.html

slide-56
SLIDE 56

http://www.howequipmentworks.com/physics/medical_imaging/mri/magnetic_resonance_imaging.html

NOT A JOKE

Six known types of quarks and their official names. So spin is not that bad.

slide-57
SLIDE 57

MAGNETIC MOMENT

slide-58
SLIDE 58

MAGNETIC MOMENT

Particle with non-zero nuclear spin is like a small magnet.

slide-59
SLIDE 59

MAGNETIC MOMENT

  • r ?

Particle with non-zero nuclear spin is like a small magnet.

slide-60
SLIDE 60

MAGNETIC MOMENT

  • r ?

Particle with non-zero nuclear spin is like a small magnet.

slide-61
SLIDE 61

MAGNETIC MOMENT

Particle with non-zero nuclear spin is like a small magnet.

slide-62
SLIDE 62

IN A MAGNETIC FIELD

What happens to a magnet if you put it in a magnetic field?

slide-63
SLIDE 63

IN A MAGNETIC FIELD

What happens to a magnet if you put it in a magnetic field?

slide-64
SLIDE 64

IN A MAGNETIC FIELD

slide-65
SLIDE 65

IN A MAGNETIC FIELD

slide-66
SLIDE 66

IN A MAGNETIC FIELD

slide-67
SLIDE 67

IN A MAGNETIC FIELD

Stronger field — larger energy gap

slide-68
SLIDE 68

Nuclear Magnetic Resonance

slide-69
SLIDE 69

Nuclear Magnetic Resonance

slide-70
SLIDE 70

Nuclear Magnetic Resonance

slide-71
SLIDE 71

?

Nuclear Magnetic Resonance

slide-72
SLIDE 72

RADIO FREQUENCY PULSE

slide-73
SLIDE 73

RADIO FREQUENCY PULSE

We can give energy to a particle and move it to a higher energy level

slide-74
SLIDE 74

RADIO FREQUENCY PULSE

We can give energy to a particle and move it to a higher energy level

To do that we send an electromagnetic wave

slide-75
SLIDE 75

RADIO FREQUENCY PULSE

We can give energy to a particle and move it to a higher energy level

Nucleus will absorb energy only if frequency of the wave is correct for

  • the nucleus we work with
  • strength of the magnetic field

To do that we send an electromagnetic wave

slide-76
SLIDE 76

RELAXATION

Now we stop the pulse

slide-77
SLIDE 77

RELAXATION

Now we stop the pulse

slide-78
SLIDE 78

RELAXATION

Nucleus will give out same amount of energy in the form of electromagnetic radiation.

Now we stop the pulse

slide-79
SLIDE 79

Nuclear Magnetic Resonance Imaging

slide-80
SLIDE 80

Nuclear Magnetic Resonance Imaging

slide-81
SLIDE 81

Nuclear Magnetic Resonance Imaging

slide-82
SLIDE 82

HYDROGEN

slide-83
SLIDE 83

HYDROGEN

Possible spin states +1/2 or -1/2

slide-84
SLIDE 84

http://www.howequipmentworks.com/physics/medical_imaging/mri/magnetic_resonance_imaging.html

HYDROGEN IN A MAGNETIC FIELD

slide-85
SLIDE 85

http://www.howequipmentworks.com/physics/medical_imaging/mri/magnetic_resonance_imaging.html

HYDROGEN IN A MAGNETIC FIELD

slide-86
SLIDE 86

http://www.howequipmentworks.com/physics/medical_imaging/mri/magnetic_resonance_imaging.html

RF PULSE

slide-87
SLIDE 87

http://www.howequipmentworks.com/physics/medical_imaging/mri/magnetic_resonance_imaging.html

RF PULSE

What will happen?

slide-88
SLIDE 88

http://www.howequipmentworks.com/physics/medical_imaging/mri/magnetic_resonance_imaging.html

RF PULSE

slide-89
SLIDE 89

http://www.howequipmentworks.com/physics/medical_imaging/mri/magnetic_resonance_imaging.html

RELAXATION

slide-90
SLIDE 90

http://www.howequipmentworks.com/physics/medical_imaging/mri/magnetic_resonance_imaging.html

RELAXATION

slide-91
SLIDE 91

For different tissues the time of relaxation is different

slide-92
SLIDE 92

http://www.howequipmentworks.com/physics/medical_imaging/mri/magnetic_resonance_imaging.html

NUCLEI SEND SIGNALS

One large piece is still missing…

slide-93
SLIDE 93

GRADIENT COILS

http://www.howtolearn.com/HTL/media/Visualisations-in-Medicine-MRI-Hi-Res-Crop1.jpg

slide-94
SLIDE 94

GRADIENT COILS

http://www.howtolearn.com/HTL/media/Visualisations-in-Medicine-MRI-Hi-Res-Crop1.jpg

slide-95
SLIDE 95

GRADIENT COILS

http://www.howtolearn.com/HTL/media/Visualisations-in-Medicine-MRI-Hi-Res-Crop1.jpg

slide-96
SLIDE 96

GRADIENT COILS

http://www.howtolearn.com/HTL/media/Visualisations-in-Medicine-MRI-Hi-Res-Crop1.jpg

slide-97
SLIDE 97

GRADIENT COILS

http://www.howequipmentworks.com/physics/medical_imaging/mri/magnetic_resonance_imaging.html

slide-98
SLIDE 98

GRADIENT COILS

http://www.howequipmentworks.com/physics/medical_imaging/mri/magnetic_resonance_imaging.html

slide-99
SLIDE 99

GRADIENT COILS

http://www.howequipmentworks.com/physics/medical_imaging/mri/magnetic_resonance_imaging.html

slide-100
SLIDE 100

GRADIENT COILS

http://www.howequipmentworks.com/physics/medical_imaging/mri/magnetic_resonance_imaging.html

slide-101
SLIDE 101

GRADIENT COILS

http://www.howequipmentworks.com/physics/medical_imaging/mri/magnetic_resonance_imaging.html

slide-102
SLIDE 102

GRADIENT COILS

http://www.howequipmentworks.com/physics/medical_imaging/mri/magnetic_resonance_imaging.html

slide-103
SLIDE 103

FMRI

F FOR FUNCTIONAL*

slide-104
SLIDE 104

FMRI

F FOR FUNCTIONAL*

*MRI signals associated with functional brain activity

slide-105
SLIDE 105

BOLD

BLOOD-OXYGEN-LEVEL DEPENDENT

Active neuron Passive neuron

I need

  • xygen and

glucose! I need nothing…

slide-106
SLIDE 106

FMRI

Have different magnetic resonance Distinguishable by MRI

slide-107
SLIDE 107

FMRI DATA

slide-108
SLIDE 108
slide-109
SLIDE 109
  • High spatial resolution
  • No surgery!
  • Records whole brain

SUMMARY

  • Low temporal resolution
  • Cost
  • Size

Still pretty informative and precise, does not require a surgery, but is huge and costs a lot.

slide-110
SLIDE 110

https://www.coursera.org/course/fmri

slide-111
SLIDE 111

PART III EEG

http://infantlab.psych.sc.edu/PWREEGDemoBaby

slide-112
SLIDE 112

NEURONS

http://biomedicalengineering.yolasite.com

slide-113
SLIDE 113

NEURONS

http://www.conncad.com/gallery/single_cells.html

slide-114
SLIDE 114

NEURONS

http://en.wikipedia.org/wiki/Neural_oscillation

slide-115
SLIDE 115

NEURONS

http://en.wikipedia.org/wiki/Neural_oscillation

slide-116
SLIDE 116

NEURONS

http://en.wikipedia.org/wiki/Neural_oscillation

slide-117
SLIDE 117

NEURONS

http://en.wikipedia.org/wiki/Neural_oscillation

What is the frequency in this example?

slide-118
SLIDE 118

BRAINWAVES

slide-119
SLIDE 119

BRAINWAVES

Delta

0-4 Hz

Theta

4-7 Hz

Alpha

7-14 Hz

Mu

8-13 Hz

Beta

15-30 Hz

Gamma

30-100 Hz

slide-120
SLIDE 120

BRAINWAVES

Delta

0-4 Hz

Theta

4-7 Hz

Alpha

7-14 Hz

Mu

8-13 Hz

Beta

15-30 Hz

Gamma

30-100 Hz

slow wave sleep, babies, lesions children, drowsiness, meditation, relaxed closed eyes, relaxed motor neuron in rest, mirror neurons motor activity, anxious thinking, concentration networking between populations of neurons

slide-121
SLIDE 121

EEG

slide-122
SLIDE 122

EEG

slide-123
SLIDE 123

EEG

TIME CHANNELS

slide-124
SLIDE 124

EEG

TIME CHANNELS

slide-125
SLIDE 125

EEG

Alpha

7-14 Hz

Beta

15-30 Hz

Gamma

30-100 Hz

?

TIME CHANNELS

slide-126
SLIDE 126

EEG

Alpha

7-14 Hz

Beta

15-30 Hz

Gamma

30-100 Hz

?

TIME CHANNELS

Jean Baptiste Joseph Fourier 1768 — 1830

slide-127
SLIDE 127

FOURIER TRANSFORM*

slide-128
SLIDE 128

FOURIER TRANSFORM*

*discrete

slide-129
SLIDE 129

FOURIER TRANSFORM*

*discrete

=

slide-130
SLIDE 130

FOURIER TRANSFORM*

*discrete

signal at time t frequency complex number

=

slide-131
SLIDE 131

FOURIER TRANSFORM*

*discrete

signal at time t frequency complex number

=

Amplitude of the component with frequency k

slide-132
SLIDE 132

FOURIER TRANSFORM*

*discrete

signal at time t frequency complex number

=

Amplitude of the component with frequency k

slide-133
SLIDE 133

EEG DATA

slide-134
SLIDE 134

EEG DATA

slide-135
SLIDE 135

EEG DATA

slide-136
SLIDE 136

TIME-FREQUENCY DOMAIN

slide-137
SLIDE 137

Are we done?

EEG DATA

slide-138
SLIDE 138

Are we done? Hint:

EEG DATA

slide-139
SLIDE 139

300 MS

EEG DATA

slide-140
SLIDE 140

300 MS

EEG DATA

slide-141
SLIDE 141

300 MS

EEG DATA

slide-142
SLIDE 142

300 MS

EEG DATA

slide-143
SLIDE 143

300 MS

10 channels 50 frequencies 3 seconds of data 300 ms window

EEG DATA

slide-144
SLIDE 144

300 MS

10 channels 50 frequencies 3 seconds of data 300 ms window

  • How many numbers to describe

1 reading of 300 ms?

EEG DATA

slide-145
SLIDE 145

300 MS

  • How many numbers to describe

1 reading of 300 ms?

  • How many numbers to describe

all 3 seconds of data? 10 channels 50 frequencies 3 seconds of data 300 ms window

EEG DATA

slide-146
SLIDE 146
  • High temporal resolution
  • No surgery!
  • Mobile
  • Cheap

SUMMARY

  • Low spatial resolution

Available to wide audience, but measurements are approximate.

slide-147
SLIDE 147

SUMMARY OF NEUROIMAGING TECHNIQUES

Technology Electrical Magnetic Optical Name EEG ECoG Intracortical MEG fMRI fNIRS Invasive

  • Portable
  • Cost

From $100 to $30,000+ $1000 grid $2000 per array $1 mln $2-3 mln $200,000 Temporal resolution 50 ms 3 ms 3 ms 50ms 1-2 s 1 s Spatial resolution 1+ cm 1 mm 0.5 mm - 0.05 mm 5 mm 1 mm voxels 5 mm Pattern classification VEP ERD/ ERS P300 Performance 2 class 90% 3 class 80% 4 class ? Large number

  • f targets

2 cls 90% Large number

  • f targets

8 cls 90% High* ~ same as EEG based 4 cls 90% 2 cls 90% Technology Electrical Magnetic Optical Name EEG ECoG Intracortical MEG fMRI fNIRS Invasive

  • Portable
  • Cost

From $100 to $30,000+ $1000 grid $2000 per array $1 mln $2-3 mln $200,000 Temporal resolution 50 ms 3 ms 3 ms 50ms 1-2 s 1 s Spatial resolution 1+ cm 1 mm 0.5 mm - 0.05 mm 5 mm 1 mm voxels 5 mm Pattern classification VEP ERD/ ERS P300 Performance 2 class 90% 3 class 80% 4 class ? Large number

  • f targets

2 cls 90% Large number

  • f targets

8 cls 90% High* ~ same as EEG based 4 cls 90% 2 cls 90%