Neuromorphic computing

Similar documents
Lecture 22: A little Neurobiology

Chapter 2: Cellular Mechanisms and Cognition

Neurons: Structure and communication

What is Anatomy and Physiology?

STRUCTURAL ELEMENTS OF THE NERVOUS SYSTEM

CSE 599E Lecture 2: Basic Neuroscience

BIOLOGICAL PROCESSES

Action potential. Definition: an all-or-none change in voltage that propagates itself down the axon

Human Brain and Senses

ANATOMY AND PHYSIOLOGY OF NEURONS. AP Biology Chapter 48

Computational cognitive neuroscience: 2. Neuron. Lubica Beňušková Centre for Cognitive Science, FMFI Comenius University in Bratislava

Neurons, Synapses, and Signaling

Branches of the Nervous System

Nervous System. 2. Receives information from the environment from CNS to organs and glands. 1. Relays messages, processes info, analyzes data

Chapter 11: Nervous System and Nervous Tissue

Welcome to CSE/NEUBEH 528: Computational Neuroscience

Basics of Computational Neuroscience: Neurons and Synapses to Networks

Ameen Alsaras. Ameen Alsaras. Mohd.Khatatbeh

Introduction to Computational Neuroscience

AP Biology Unit 6. The Nervous System

Function of the Nervous System

Chapter 7 Nerve Cells and Electrical Signaling

MOLECULAR AND CELLULAR NEUROSCIENCE

Part 11: Mechanisms of Learning

Welcome to CSE/NEUBEH 528: Computational Neuroscience

Na + K + pump. The beauty of the Na + K + pump. Cotransport. The setup Cotransport the result. Found along the plasma membrane of all cells.

Neurons. Pyramidal neurons in mouse cerebral cortex expressing green fluorescent protein. The red staining indicates GABAergic interneurons.

PSY 215 Lecture 3 (1/19/2011) (Synapses & Neurotransmitters) Dr. Achtman PSY 215

Introduction to Neurobiology

THE HISTORY OF NEUROSCIENCE

Chapter 4 Neuronal Physiology

Sample Lab Report 1 from 1. Measuring and Manipulating Passive Membrane Properties

Electrophysiology. General Neurophysiology. Action Potentials

Portions from Chapter 6 CHAPTER 7. The Nervous System: Neurons and Synapses. Chapter 7 Outline. and Supporting Cells

QUIZ YOURSELF COLOSSAL NEURON ACTIVITY

EE 791 Lecture 2 Jan 19, 2015

Chapter 11 Introduction to the Nervous System and Nervous Tissue Chapter Outline

Outline. Neuron Structure. Week 4 - Nervous System. The Nervous System: Neurons and Synapses

Omar Sami. Muhammad Abid. Muhammad khatatbeh

3) Most of the organelles in a neuron are located in the A) dendritic region. B) axon hillock. C) axon. D) cell body. E) axon terminals.

Bioscience in the 21st century

The Nervous System. Nervous System Functions 1. gather sensory input 2. integration- process and interpret sensory input 3. cause motor output

BIONB/BME/ECE 4910 Neuronal Simulation Assignments 1, Spring 2013

Endocrine System Nervous System

THE HISTORY OF NEUROSCIENCE

Chapter 6 subtitles postsynaptic integration

Chapter 2. The Cellular and Molecular Basis of Cognition Cognitive Neuroscience: The Biology of the Mind, 2 nd Ed.,

Nervous System. Master controlling and communicating system of the body. Secrete chemicals called neurotransmitters

BIOLOGY 2050 LECTURE NOTES ANATOMY & PHYSIOLOGY I (A. IMHOLTZ) FUNDAMENTALS OF THE NERVOUS SYSTEM AND NERVOUS TISSUE P1 OF 5

Concept 48.1 Neuron organization and structure reflect function in information transfer

Questions. Question 1!

Electrical Properties of Neurons. Steven McLoon Department of Neuroscience University of Minnesota

BIOLOGY 12 NERVOUS SYSTEM PRACTICE

Structure of a Neuron:

Applied Neuroscience. Conclusion of Science Honors Program Spring 2017

Chapter 2. The Cellular and Molecular Basis of Cognition

Neurons, Synapses, and Signaling

Neurons, Synapses, and Signaling

Neurophysiology. Corresponding textbook pages: ,

9/28/2016. Neuron. Multipolar Neuron. Astrocytes Exchange Materials With Neurons. Glia or Glial Cells ( supporting cells of the nervous system)

Neurons, Synapses, and Signaling

CHAPTER 44: Neurons and Nervous Systems

Chapter 11: Functional Organization of Nervous Tissue

FLASH CARDS. Kalat s Book Chapter 2 Alphabetical

The action potential travels down both branches because each branch is a typical axon with voltage dependent Na + and K+ channels.

Summarized by B.-W. Ku, E. S. Lee, and B.-T. Zhang Biointelligence Laboratory, Seoul National University.

Synapses and synaptic plasticity. Lubica Benuskova Lecture 8 How neurons communicate How do we learn and remember

NEURONS Chapter Neurons: specialized cells of the nervous system 2. Nerves: bundles of neuron axons 3. Nervous systems

VS : Systemische Physiologie - Animalische Physiologie für Bioinformatiker. Neuronenmodelle III. Modelle synaptischer Kurz- und Langzeitplastizität

Action potentials propagate down their axon

Synapses. Excitatory synapses

Endocrine System Nervous System

THE BRAIN I. INTRODUCTION. i) mass increase due to growth of axons, dendrites, synapses, myelin sheaths

5-Nervous system II: Physiology of Neurons

10.1: Introduction. Cell types in neural tissue: Neurons Neuroglial cells (also known as neuroglia, glia, and glial cells) Dendrites.

Nervous System Review

Neurobiology: The nerve cell. Principle and task To use a nerve function model to study the following aspects of a nerve cell:

Cell communication. Gated ion channels. Allow specific ions to pass only when gates are open

Cell communication. Gated ion channels. Voltage-Gated Na + Channel. Allow specific ions to pass only when gates are open

Clinical Neurophysiology

Introduction to Computational Neuroscience

Chapter Nervous Systems

How Synapses Integrate Information and Change

All questions below pertain to mandatory material: all slides, and mandatory homework (if any).

Chapter 7. The Nervous System: Structure and Control of Movement

Chapter 7. Objectives

Introduction to the Nervous System

International Journal of Advanced Computer Technology (IJACT)

NEURONS COMMUNICATE WITH OTHER CELLS AT SYNAPSES 34.3

Ion Channels (Part 2)

Synaptic plasticityhippocampus. Neur 8790 Topics in Neuroscience: Neuroplasticity. Outline. Synaptic plasticity hypothesis

Beyond Vanilla LTP. Spike-timing-dependent-plasticity or STDP

Thursday, January 22, Nerve impulse

2Lesson. Outline 3.3. Lesson Plan. The OVERVIEW. Lesson 3.3 Why does applying pressure relieve pain? LESSON. Unit1.2

Period: Date: Module 28: Nervous System, Student Learning Guide

Neurons Chapter 7 2/19/2016. Learning Objectives. Cells of the Nervous System. Cells of the Nervous System. Cells of the Nervous System

NEURAL TISSUE (NEUROPHYSIOLOGY) PART I (A): NEURONS & NEUROGLIA

LESSON 3.3 WORKBOOK. Why does applying pressure relieve pain?

Synaptic Transmission: Ionic and Metabotropic

Problem Set 3 - Answers. -70mV TBOA

Transcription:

Neuromorphic computing Robotics M.Sc. programme in Computer Science lorenzo.vannucci@santannapisa.it April 19th, 2018

Outline 1. Introduction 2. Fundamentals of neuroscience 3. Simulating the brain 4. Software and hardware simulations 5. Robotic applications

Outline 1. Introduction 2. Fundamentals of neuroscience 3. Simulating the brain 4. Software and hardware simulations 5. Robotic applications

What is neuromorphic computing? We can define neuromorphic computing as the act of performing a computation in a manner similar to the brain. Our brain elaborates inputs coming from our sensors and produces outputs in term of generated motions and stored information. Memory

Why neuromorphic computing (in robotics)? This kind of computing is very similar to what can be found in a robotic controller. But the sensors and actuators are completely different, compared to the ones of humans and animals, thus the brain is substituted by a computer. Memory

Why neuromorphic computing (in robotics)? Today, bio-inspired sensing and actuation technologies are starting to emerge. As such, neuromorphic computing can be used to control this new kind of robots.

Why neuromorphic computing (in robotics)? Moreover, we found out that classic control techniques fail when applied to complex robotic platforms. Thus, we would like to apply neuromorphic computing to give brains to robots.

Outline 1. Introduction 2. Fundamentals of neuroscience 3. Simulating the brain 4. Software and hardware simulations 5. Robotic applications

Neuronal physiology The neuron is the fundamental structural and functional unit of the brain.

Neuronal physiology Many kind of neurons share the same cellular physiology.

Neuronal physiology Neuronal electrophysiological activity lies on the cell membrane. Lipid bilayer, impermeable to charged ions. Ionic channels allow ions to flow in or out, selectively. The neuron maintains a potential difference across it membrane via the ionic pumps (expelling Na + and allowing K + in). 0 mv -70 mv When no external stimulus is present, we can refer to it as resting potential.

Action potentials The activity of a neuron (its output ) is the action potential (or spike), generated by voltage-gated ionic channels. 1. An external electric stimulus reach the membrane, depolarizing it. 2. Depolarization of the membrane opens Na + channels ( even more depolarization). 3. If membrane potential exceeds the threshold potential, an action potential occurs. 4. Afterwards, the membrane repolarize by expelling K + ions and the neuron enters the refractory period.

Action potentials The action potential is transmitted through the axon towards other neurons. Each non-myelinated section (node of Ranvier) replicates the spike. Propagation speed ranges from 1 to 100 m/s.

Action potentials The activity of a neuron is measured by computing its firing rate, expressed as the mean number of spikes per second. rate = n. spikes time 1s

Action potentials The activity of a neuron is measured by computing its firing rate, expressed as the mean number of spikes per second. rate = n. spikes time 1s It is not always an easy task! The instantaneous firing rate cannot be computed real-time, due to causality. 1s

Action potentials Usually, we are interested in looking at the spike events, instead of the membrane potential, and for a high number of neurons (a population). We can do so with raster plots.

Synapses Axons and dendrites are connected through synapses. Each neuron has roughly 1000-10000 synapses.

Synapses Synapses can be chemical or electrical, excitatory or inhibitory: Spikes a chemical excitatory synapse releases Glutamate opening of ion channels for Na + influx membrane depolarization (membrane potential increases); a chemical inhibitory synapse releases GABA neurotransmitter K+ leaves cell through ion channels membrane hyperpolarization (membrane potential decreases). Every synapse, once reached by an action potential, generates a postsynaptic current (PSC) which turns in a postsynaptic potential (PSP).

Synapses and action potentials Each spike coming for presynaptic neurons and activating excitatory synapses contributes to the generation of an action potential in the postsynaptic neuron. Conversely, inhibitory synapses reduce the activity of postsynaptic neurons. presynaptic neuron excitatory synapse presynaptic neuron presynaptic neuron excitatory synapse excitatory synapse postsynaptic neuron presynaptic neuron inhibitory synapse

Synaptic plasticity Synapses are the basis for memory and learning. If neuron A repeatedly takes part in making neuron B spike, then the synapse from a to B is strengthened and vice versa. This leads to two phenomena: EPSP Before Difference in spike times EPSP After Spike from A Spike from A Long term potentiation (LTP) Long term depression (LTD)

Synaptic plasticity This adaptation mechanism depends on the timing of the EPSP and the action potential. Thus, it is called Spike-Timing-Dependent Plasticity (STDP).

Neural information processing What kind of information can a neuron process?

Neural information processing What kind of information can a neuron process? None! (by himself) Information is processed by means of the network topology and synaptic properties.

Receptive fields A simple way of processing information is the receptive field topology. Each receptive field is made up of several input neurons and one output neuron that modulates the combination of their responses. Receptive fields have been identified in the human brain to encode sensory information (auditory system, somatosensory system, visual system).

Receptive fields The retinal circuit implements receptive fields to process the image. Preferred stimulus?

Receptive fields The retinal circuit implements receptive fields to process the image. Preferred stimulus Neural response

Receptive fields The retinal circuit implements receptive fields to process the image.

Receptive fields Receptive fields from the retina are in turn used to create oriented receptive fields in the visual cortex. Retina receptive fields V1 receptive field

Receptive fields and neural coding Each sensory input has its own dedicated brain areas, with receptive fields. This is common feature among animals. E.g. cricket cercal cells. r i = Ԧv c i This kind of information processing, where an neural population is used to encode different values of the same information is called population coding.

Receptive fields and neural coding Each sensory input has its own dedicated brain areas, with receptive fields. This is common feature among animals. E.g. cricket cercal cells. r i = Ԧv c i This kind of information processing, where an neural population is used to encode different values of the same information is called population coding. Is the representation efficient? Aren t c 1 and c 2 enough?

Neural coding There are other ways for neurons to encode information, such as rate coding, where all the information is encoded by directly translating it into firing rates. This is common in many sensory afferents, e.g. mammalian muscle spindles.

Neural coding A more complex encoding mechanism is temporal coding, where absolute or relative spike times are used. There are evidence for this kind of encoding in the auditory and gustative systems.

Outline 1. Introduction 2. Fundamentals of neuroscience 3. Simulating the brain 4. Software and hardware simulations 5. Robotic applications

Neuron abstractions In order to simulate the behaviour of neural circuits we have to model the neuron dynamics. Thus, we have to translate neurophysiologic properties into equations that we can implement. Abstract neuron models Rate-based Point neuron Detailed neuron

Detailed neural abstraction In these kind of models every aspect of the cell morphology is taken into account: diameter of the soma, length of the axon, position of synapses on the dendrites, distribution of ionic channels, neurotransmitter types, etc Pros: very accurate can model any aspect of neural activity Cons: much knowledge is needed to model networks simulation times are high Some detailed neural simulators exist, i.e. NEURON (www.neuron.yale.edu/neuron). Too little abstraction!

Rate-based abstractions Each neuron produces spikes with a mean firing rate (in a time interval). We can sample the firing rate by dividing spikes into bags:

Rate-based abstractions Each neuron produces spikes with a mean firing rate (in a time interval). We can sample the firing rate by dividing spikes into bags: 10 20 10 10 20 40 30 30 60 80 70 70 30 10 40 0 30 50 By doing so, we are: discretizing time forgetting about single action potential events

Rate-based abstractions Activity of a postsynaptic neuron can be computed as a function of the rates of presynaptic neurons. r 1 r 2 r o... r n r o = f n r i i=0

Rate-based abstractions What about synapses? We can add weights on the connections. r 1 w 1 r 2 w 2 r o... r n w n r o = f n r i w i i=0 Rosenblatt s perceptron and Artificial Neural Networks. Too much abstraction!

Point neuron abstractions Why are these called point-neuron abstractions? Because we do not take into account the neuron morphology. Each neuron is dimensionless and currents propagate instantaneously from all the receiving synapses.

Point neuron abstractions neuron models The neuron electrical properties can be described through electrical circuits: the lipidic membrane acts as a capacitor (C m ); all PSP can be summed up and represented as an external current generator (I ext ). We are interested in the voltage between the two termination of the capacitor (membrane potential, V m ) and we also add the action potential rule: If V m > V th then V m resets to V reset and a spike is emitted.

Point neuron abstractions neuron models A first circuit representing neural activity is the Integrate and fire model (IAF). Kirchhoff s law: I C (t) = I ext (t)

Point neuron abstractions neuron models A first circuit representing neural activity is the Integrate and fire model (IAF). Kirchhoff s law: I C (t) = I ext (t) Q t = C m V m (t) By deriving the law of capacitance: I C (t) = C m dv m (t) dt

Point neuron abstractions neuron models A first circuit representing neural activity is the Integrate and fire model (IAF). Kirchhoff s law: I C (t) = I ext (t) Q t = C m V m (t) By deriving the law of capacitance: I C (t) = C m dv m (t) dt Thus, we obtain: dv m (t) dt = I ext(t) C m

Point neuron abstractions simulation loop (I) We can employ the differential equation to compute the dynamics of the membrane in a simulation loop, by discretizing time in small intervals. T = 2000.0 // total simulation time, ms time = 0.0 V = 0.0 dt = 1.0 // simulation step, ms while (time < T) { Iext = sum_external_currents() dvm = membrane_update(iext) dv m (t) dt = I ext(t) C m V += dvm * dt // discrete integration if (V > Vth) emit_spike(); time += dt } Let s try it out!

Point neuron abstractions neuron models Neurons have the refractory period, that must be taken into account for an accurate simulation. Otherwise, the firing rate will rise indefinitely. without: r I = I C m (V th V reset ) lim I + r(i) = +

Point neuron abstractions neuron models Neurons have the refractory period, that must be taken into account for an accurate simulation. Otherwise, the firing rate will rise indefinitely. without: r I = I C m (V th V reset ) lim I + r(i) = + with: r I = I C m (V th V reset ) + t ref I lim I + r(i) = 1 t ref

Point neuron abstractions neuron models In the IAF model, the membrane continues to keep the gained potential, even if there is no external input current and the spike threshold is not reached. This is not true for the biological neuron.

Point neuron abstractions neuron models The Leaky integrate and fire model (LIAF) adds a resistance in the circuit in order to model the leakage of charge. Moreover, a battery is added to represent the equilibrium potential of the cell membrane. Kirchhoff s law: I C t + I R (t) = I ext (t)

Point neuron abstractions neuron models The Leaky integrate and fire model (LIAF) adds a resistance in the circuit in order to model the leakage of charge. Moreover, a battery is added to represent the equilibrium potential of the cell membrane. Kirchhoff s law: I C t + I R (t) = I ext (t) Ohm s law: I R (t) = (V m(t) V rest ) R

Point neuron abstractions neuron models The Leaky integrate and fire model (LIAF) adds a resistance in the circuit in order to model the leakage of charge. Moreover, a battery is added to represent the equilibrium potential of the cell membrane. Kirchhoff s law: I C t + I R (t) = I ext (t) Ohm s law: I R (t) = (V m(t) V rest ) R Thus, we obtain: dv m (t) dt = I ext(t) (V m(t) V rest ) C m C m R

Point neuron abstractions neuron models There are many others neuron models: Hodgkin Huxley: each ionic channel is modelled as a resistance-battery parallel circuit, with a probabilistic conductance. dv m (t) dt = I ext(t) C m 1 C m i g i (V m t E i )

Point neuron abstractions neuron models There are many others neuron models: Izhikevich: two differential equations can model many different neuron behaviours. www.izhikevich.com

Point neuron abstractions synapses models Each action potential is transmitted as an event to all postsynaptic neurons connected, after a transmission delay (travel time on the axon). When such event is received a proper EPSC or IPSC is generated and added to the total input current. Presynaptic neuron Time Postsynaptic neuron Transport delay Amongst the most common PSC types there is the alpha-shaped one: I t = t τ s e t τ s

Point neuron abstractions synapses models Each synapse has a weight that has two roles: 1. distinguishing between inhibitory and excitatory synapses by being negative or positive; 2. representing the strength of the connection between the two neurons. Synaptic weights can be changed via rules implementing STDP, for example: w ij = f n W(t i f t j n ) W(x) = A +e ( x ) τ + for x > 0 x ( ) A e τ for x < 0

Point neuron abstractions simulation loop (II) Given the previous equations we could in principle create a network simulation loop like the following: while (time < T) { foreach (n : neurons) { Iext = n.sum_external_currents(n.received_spikes) dvm = n.membrane_update(iext, n.v) n.v += dvm * dt if (n.v > n.vth) { Send spike through delayed and weighted connection n.send_spike() n.adjust_weights(n.received_spikes) } } } time += dt

Neuromorphic computing resources Neurology: Principles of Neural Science by Kandel et al. Computational neuroscience: Theoretical Neuroscience: computational and mathematical modeling of neural systems by Peter Dayan and Larry Abbott Computational Neuroscience on Coursera Other info (related): lorenzo.vannucci@santannapisa.it