Mathematical Foundations of Neuroscience - Lecture 9. Simple Models of Neurons and Synapses.

Similar documents
Mathematical Foundations of Neuroscience - Lecture 3. Electrophysiology of neurons - continued

Dynamical Systems in Neuroscience: The Geometry of Excitability and Bursting

Synaptic dynamics. John D. Murray. Synaptic currents. Simple model of the synaptic gating variable. First-order kinetics

Single neuron models. L. Pezard Aix-Marseille University

Biological Modeling of Neural Networks

Dynamical systems in neuroscience. Pacific Northwest Computational Neuroscience Connection October 1-2, 2010

Neural Modeling and Computational Neuroscience. Claudio Gallicchio

Chapter 24 BIFURCATIONS

Action Potentials and Synaptic Transmission Physics 171/271

Basic elements of neuroelectronics -- membranes -- ion channels -- wiring. Elementary neuron models -- conductance based -- modelers alternatives

How do synapses transform inputs?

An Introductory Course in Computational Neuroscience

Dynamical Systems in Neuroscience: Elementary Bifurcations

Lecture 11 : Simple Neuron Models. Dr Eileen Nugent

3 Detector vs. Computer

3 Action Potentials - Brutal Approximations

9 Generation of Action Potential Hodgkin-Huxley Model

Simple models of neurons!! Lecture 4!

Neuron. Detector Model. Understanding Neural Components in Detector Model. Detector vs. Computer. Detector. Neuron. output. axon

6.3.4 Action potential

Integration of synaptic inputs in dendritic trees

Single-Cell and Mean Field Neural Models

Electrophysiology of the neuron

Neurophysiology. Danil Hammoudi.MD

Consider the following spike trains from two different neurons N1 and N2:

Nerve Signal Conduction. Resting Potential Action Potential Conduction of Action Potentials

Mathematical Foundations of Neuroscience - Lecture 7. Bifurcations II.

Basic elements of neuroelectronics -- membranes -- ion channels -- wiring

1 Hodgkin-Huxley Theory of Nerve Membranes: The FitzHugh-Nagumo model

This document is downloaded from DR-NTU, Nanyang Technological University Library, Singapore.

Computational Neuroscience. Session 4-2

Balance of Electric and Diffusion Forces

Ch. 5. Membrane Potentials and Action Potentials

Chapter 9. Nerve Signals and Homeostasis

9 Generation of Action Potential Hodgkin-Huxley Model

LIMIT CYCLE OSCILLATORS

Structure and Measurement of the brain lecture notes

CSE/NB 528 Final Lecture: All Good Things Must. CSE/NB 528: Final Lecture

Nonlinear Dynamics of Neural Firing

Information processing. Divisions of nervous system. Neuron structure and function Synapse. Neurons, synapses, and signaling 11/3/2017

From neuronal oscillations to complexity

Neurons, Synapses, and Signaling

Introduction and the Hodgkin-Huxley Model

MEMBRANE POTENTIALS AND ACTION POTENTIALS:

This script will produce a series of pulses of amplitude 40 na, duration 1ms, recurring every 50 ms.

Topics in Neurophysics

Voltage-clamp and Hodgkin-Huxley models

We observe the model neuron s response to constant input current, studying the dependence of:

Introduction to Neural Networks U. Minn. Psy 5038 Spring, 1999 Daniel Kersten. Lecture 2a. The Neuron - overview of structure. From Anderson (1995)

Deconstructing Actual Neurons

Bursting Oscillations of Neurons and Synchronization

Membrane Potentials, Action Potentials, and Synaptic Transmission. Membrane Potential

Neurons, Synapses, and Signaling

Phase Response. 1 of of 11. Synaptic input advances (excitatory) or delays (inhibitory) spiking

Localized activity patterns in excitatory neuronal networks

Fast and exact simulation methods applied on a broad range of neuron models

An Efficient Method for Computing Synaptic Conductances Based on a Kinetic Model of Receptor Binding

Chapter 48 Neurons, Synapses, and Signaling

Voltage-clamp and Hodgkin-Huxley models

Modeling Action Potentials in Cell Processes

Mathematical Analysis of Bursting Electrical Activity in Nerve and Endocrine Cells

Single-Compartment Neural Models

The Resonate-and-fire Neuron: Time Dependent and Frequency Selective Neurons in Neural Networks

REBECCA J GAFF (Under the direction of Andrew Sornborger) ABSTRACT. Imaging research of seizures in Zebrafish brains involves tracing calcium levels

Decoding. How well can we learn what the stimulus is by looking at the neural responses?

A Generalized Linear Integrate-And-Fire Neural. Model Produces Diverse Spiking Behaviors

BIOLOGY. 1. Overview of Neurons 11/3/2014. Neurons, Synapses, and Signaling. Communication in Neurons

MATH 3104: THE HODGKIN-HUXLEY EQUATIONS

Neurons, Synapses, and Signaling

Neurons, Synapses, and Signaling

Math 345 Intro to Math Biology Lecture 20: Mathematical model of Neuron conduction

Physiology Unit 2. MEMBRANE POTENTIALS and SYNAPSES

Propagation& Integration: Passive electrical properties

Activity Driven Adaptive Stochastic. Resonance. Gregor Wenning and Klaus Obermayer. Technical University of Berlin.

NE 204 mini-syllabus (weeks 4 8)

Frequency Adaptation and Bursting

Reduction of Conductance Based Models with Slow Synapses to Neural Nets

NIH Public Access Author Manuscript Neural Comput. Author manuscript; available in PMC 2010 October 13.

Biological Modeling of Neural Networks

Bo Deng University of Nebraska-Lincoln UNL Math Biology Seminar

/639 Final Solutions, Part a) Equating the electrochemical potentials of H + and X on outside and inside: = RT ln H in

لجنة الطب البشري رؤية تنير دروب تميزكم

Neurons, Synapses, and Signaling

Nervous Systems: Neuron Structure and Function

Compartmental Modelling

Conductance-Based Integrate-and-Fire Models

1 R.V k V k 1 / I.k/ here; we ll stimulate the action potential another way.) Note that this further simplifies to. m 3 k h k.

Emergence of resonances in neural systems: the interplay between adaptive threshold and short-term synaptic plasticity

Bifurcation examples in neuronal models

Computational Explorations in Cognitive Neuroscience Chapter 2

Neurons and Nervous Systems

Reducing neuronal networks to discrete dynamics

MANY scientists believe that pulse-coupled neural networks

CISC 3250 Systems Neuroscience

Supporting Online Material for

NOTES: CH 48 Neurons, Synapses, and Signaling

Fast neural network simulations with population density methods

Outline. Neural dynamics with log-domain integrator circuits. Where it began Biophysics of membrane channels

37 Neurons, Synapses, and Signaling

Synaptic Input. Linear Model of Synaptic Transmission. Professor David Heeger. September 5, 2000

Transcription:

Mathematical Foundations of Neuroscience - Lecture 9. Simple Models of and. Filip Piękniewski Faculty of Mathematics and Computer Science, Nicolaus Copernicus University, Toruń, Poland Winter 2009/2010 Filip Piękniewski, NCU Toruń, Poland Mathematical Foundations of Neuroscience - Lecture 9 1/53

Introduction The source of complexity Example - simplified I Na,p - I K Hodgkin-Huxley model is fairly biologically accurate, but is very slow - gating variables take most of the computing time Persistent instantaneous sodium + potassium ( I Na,p - I K ) is more efficient (there is only one gating variable), but still it requires two computations of exponential functions per step. This model is still far too slow for large simulations. Exponential function requires a lot of computing since: e x = 1 + x + x 2 2! + x 3 3! + x 4 4! +... + x i up to required accuracy i! +... Filip Piękniewski, NCU Toruń, Poland Mathematical Foundations of Neuroscience - Lecture 9 2/53

The source of complexity Example - simplified I Na,p - I K Actually direct summation of the series e x = 1 + x + x 2 2! + x 3 3! + x 4 4! +... + x i i! +... would be numerically unstable, since both the numerator and denominator get very big. Instead it is better to express the i-th term with the previous one: term i = x i The algorithm is then i! = x i x i 1 (i 1)! = x i term i 1 t=1; s=1; for(i=1;i<n;i++) {t=t*x/i; s=s+t;} which in any case requires a lot of processing. Filip Piękniewski, NCU Toruń, Poland Mathematical Foundations of Neuroscience - Lecture 9 3/53

The source of complexity Example - simplified I Na,p - I K Simplified I Na,p - I K Recall the I Na,p - I K model: C m dv dt = I g L(V E L ) g Na m (V )(V E Na ) g K n(v E K ) dn dt = (n (V ) n)/τ n (V ) with C m = 1, E L = 80, g L = 8, E Na = 60, g Na = 20, E K = 90, g K = 10, 1 m (V ) = 1+exp( 20 V 15 ),n 1 (V ) = 1+exp( 25 V 5 ), τ n(v ) = 1, I = 0. Most of the computations performed each step are due to computation of the exponential functions. Filip Piękniewski, NCU Toruń, Poland Mathematical Foundations of Neuroscience - Lecture 9 4/53

The source of complexity Example - simplified I Na,p - I K Simplified I Na,p - I K Recall the I Na,p - I K model: C m dv dt = I g L(V E L ) g Na m (V )(V E Na ) g K n(v E K ) dn dt = (n (V ) n)/τ n (V ) with C m = 1, E L = 80, g L = 8, E Na = 60, g Na = 20, E K = 90, g K = 10, 1 m (V ) = 1+exp( 20 V 15 ),n 1 (V ) = 1+exp( 25 V 5 ), τ n(v ) = 1, I = 0. Most of the computations performed each step are due to computation of the exponential functions. Filip Piękniewski, NCU Toruń, Poland Mathematical Foundations of Neuroscience - Lecture 9 4/53

The source of complexity Example - simplified I Na,p - I K Simplified I Na,p - I K But we can try to approximate the sigmoid 1 1+exp(x) with some simpler smooth function with similar properties. For example function: { f (x) = 1 + 1; 2(0.175 x 1) 5 x < 0 1 ; 2(0.175 x+1) 5 x 0 does a pretty good job and requires one branching instruction, 5 multiplications (why?), one division and one or two additions/subtractions. Filip Piękniewski, NCU Toruń, Poland Mathematical Foundations of Neuroscience - Lecture 9 5/53

The source of complexity Example - simplified I Na,p - I K 1 0.9 0.8 0.7 0.6 0.5 0.4 0.3 0.2 0.1 0 15 10 5 0 5 10 15 Figure: Two plots, function f from previous slide (red) and 1 1+exp(x) sigmoid (black). The approximation is crude, but the function is far easier to compute, is smooth and differentiable. Filip Piękniewski, NCU Toruń, Poland Mathematical Foundations of Neuroscience - Lecture 9 6/53

The source of complexity Example - simplified I Na,p - I K 0.8 0.6 0.4 0.2 0 0.2 1 0.8 0.6 0.4 0.2 0 0.2 Figure: Phase portrait of the simplified I Na,p - I K model with m (V ) = f (( 20 V )/15) and n (V ) = f (( 25 V )/2) and additional term = 9 added to the first equation. Compared with the original model. Filip Piękniewski, NCU Toruń, Poland Mathematical Foundations of Neuroscience - Lecture 9 7/53

The source of complexity Example - simplified I Na,p - I K 0.8 0.6 0.4 0.2 0 0.2 1 0.8 0.6 0.4 0.2 0 0.2 Figure: Phase portrait of the simplified I Na,p - I K model with m (V ) = f (( 20 V )/15) and n (V ) = f (( 25 V )/2) and additional term = 9 added to the first equation. Compared with the original model. Filip Piękniewski, NCU Toruń, Poland Mathematical Foundations of Neuroscience - Lecture 9 7/53

The source of complexity Example - simplified I Na,p - I K 40 20 0 20 40 60 80 100 120 100 200 300 400 500 600 700 800 900 1000 Figure: Comparison of the simplified (dashed line) and the original I Na,p - I K model in a cable equation simulation. The spike propagation velocity and their shape are only slightly different. Filip Piękniewski, NCU Toruń, Poland Mathematical Foundations of Neuroscience - Lecture 9 8/53

The rule is therefore to avoid any exp, sin, log, tan etc. functions, since their evaluation requires costly series expansion Even though we are still left with lots of possibilities, which are not as limited as one might expect We will begin with the simplest possible models, gradually increasing their complexity By the end of the section we will study a model that is quite efficient, though very accurately reproduces known spiking regimes Filip Piękniewski, NCU Toruń, Poland Mathematical Foundations of Neuroscience - Lecture 9 9/53

Introduction The basic idea underlying integrators is that they store incoming current, and spike whenever the accumulated membrane potential exceeds some threshold This idea can be implemented with the so called integrate and fire neuron: dv dt = I g leak(v E leak ) Whenever V reaches certain value V th an artificial spike is being generated (it is up to the programmer on how fancy the spike will be). After the spike V is set to V K (a reset value) and the simulation continues. Even though the model is very simple, it can mimic the more complex integrators (like the I Na,p - I K ) quite well. Filip Piękniewski, NCU Toruń, Poland Mathematical Foundations of Neuroscience - Lecture 9 10/53

20 0 I Na I K integrator Leaky integrate and fire Input current 20 V 40 60 80 100 120 0 50 100 150 200 250 300 Time (ms) Figure: Comparison of the monostable I Na,p - I K integrator with appropriately tuned leaky integrate and fire neuron in response to excitatory and inhibitory input. Filip Piękniewski, NCU Toruń, Poland Mathematical Foundations of Neuroscience - Lecture 9 11/53

20 0 I Na I K integrator Leaky integrate and fire Input current 20 V 40 60 80 100 120 0 50 100 150 200 250 300 Time (ms) Figure: Comparison of the monostable I Na,p - I K integrator with appropriately tuned leaky integrate and fire neuron in response to excitatory and inhibitory input. Filip Piękniewski, NCU Toruń, Poland Mathematical Foundations of Neuroscience - Lecture 9 11/53

40 45 I Na I K integrator Leaky integrate and fire Input current 50 55 V 60 65 70 75 80 120 140 160 180 200 220 240 260 Time (ms) Figure: Comparison of the monostable I Na,p - I K integrator with appropriately tuned leaky integrate and fire neuron in response to excitatory input (closeup). Filip Piękniewski, NCU Toruń, Poland Mathematical Foundations of Neuroscience - Lecture 9 12/53

20 Leaky integrate and fire Input current 0 20 V 40 60 80 100 120 0 100 200 300 400 500 600 Time (ms) Figure: The leaky integrate and fire neuron in response to excitatory ramp current. The spiking frequency may get arbitrarily high. Filip Piękniewski, NCU Toruń, Poland Mathematical Foundations of Neuroscience - Lecture 9 13/53

Introduction The spiking frequency of the leaky integrate and fire neuron can get arbitrarily high, which is not accurate from biological point of view. This weakness was addressed by French & Stein in 1970, by introducing the neuromime In this case the firing threshold is variable and depends on previous activity (which is far more plausible from the biological point of view). An input for neuromime is supplied to the first leaky integrator. Its output is then compared with the dynamical threshold Θ. If it exceeds Θ a spike is generated. The output spike is supplied back to another leaky integrator which is responsible for providing Θ. Therefore Θ gets increased, which causes further spikes less probable. Filip Piękniewski, NCU Toruń, Poland Mathematical Foundations of Neuroscience - Lecture 9 14/53

leaky integrator comparator + Θ 0 leaky integrator Figure: A sketch scheme of the neuromime model Filip Piękniewski, NCU Toruń, Poland Mathematical Foundations of Neuroscience - Lecture 9 15/53

20 0 Neuomime Dynamic threshold Input current 20 V 40 60 80 100 120 0 100 200 300 400 500 600 Time (ms) Figure: A response of neuromime to the ramp current. Filip Piękniewski, NCU Toruń, Poland Mathematical Foundations of Neuroscience - Lecture 9 16/53

20 0 Neuomime Dynamic threshold Input current 20 V 40 60 80 100 120 0 100 200 300 400 500 600 Time (ms) Figure: A response of neuromime to increasing step currents. Note the spike frequency accommodation. Filip Piękniewski, NCU Toruń, Poland Mathematical Foundations of Neuroscience - Lecture 9 17/53

20 0 Neuomime Dynamic threshold Input current 20 V 40 60 80 100 120 0 100 200 300 400 500 600 Time (ms) Figure: A response of neuromime to increasing step currents. Note the spike frequency accommodation. Filip Piękniewski, NCU Toruń, Poland Mathematical Foundations of Neuroscience - Lecture 9 17/53

20 0 Neuomime Dynamic threshold Input current 20 V 40 60 80 100 120 0 100 200 300 400 500 600 Time (ms) Figure: A response of neuromime to increasing step currents. Note the spike frequency accommodation. Filip Piękniewski, NCU Toruń, Poland Mathematical Foundations of Neuroscience - Lecture 9 17/53

Introduction is the basic unit for Pulse Coupled Neural Networks (PCNN), an approach to build neural like circuits for image segmentation and processing. Unlike integrate and fire neurons, neuromime accommodates its firing rate to the magnitude of input, but in contrast to biological neurons it lacks important dynamical features like subthreshold oscillations or excitation block. Lets now focus on a simple model that simulates a resonator. Filip Piękniewski, NCU Toruń, Poland Mathematical Foundations of Neuroscience - Lecture 9 18/53

Introduction The resonate and fire neuron is given by a set of two equations: C dv dt = I g leak(v E leak ) W dw = (V V dt 1/2 )/k W where V 1/2 and k are parameters The model simulates the phase space near a focus node, but can also be equipped with artificial spike generation mechanism, whenever say V crosses certain V th. Filip Piękniewski, NCU Toruń, Poland Mathematical Foundations of Neuroscience - Lecture 9 19/53

20 30 40 I Na I K resonator Input current 50 60 V 70 80 90 100 110 120 0 20 40 60 80 100 120 140 160 180 200 Time (ms) Figure: Comparison of the monostable I Na,p - I K resonator with appropriately tuned leaky resonate and fire neuron in response to excitatory and inhibitory input. Filip Piękniewski, NCU Toruń, Poland Mathematical Foundations of Neuroscience - Lecture 9 20/53

20 30 40 I Na I K resonator Input current 50 60 V 70 80 90 100 110 120 0 20 40 60 80 100 120 140 160 180 200 Time (ms) Figure: Comparison of the monostable I Na,p - I K resonator with appropriately tuned leaky resonate and fire neuron in response to excitatory and inhibitory input. Filip Piękniewski, NCU Toruń, Poland Mathematical Foundations of Neuroscience - Lecture 9 20/53

20 30 40 I Na I K resonator Input current 50 60 V 70 80 90 100 110 120 0 20 40 60 80 100 120 140 160 180 200 Time (ms) Figure: Comparison of the monostable I Na,p - I K resonator with appropriately tuned leaky resonate and fire neuron. Good tuning of threshold allows to fire inhibitory induced (artificially generated) spikes. Filip Piękniewski, NCU Toruń, Poland Mathematical Foundations of Neuroscience - Lecture 9 21/53

20 30 40 I Na I K resonator Input current 50 60 V 70 80 90 100 110 120 0 20 40 60 80 100 120 140 160 180 200 Time (ms) Figure: Comparison of the monostable I Na,p - I K resonator with appropriately tuned leaky resonate and fire neuron. Good tuning of threshold allows to fire inhibitory induced (artificially generated) spikes. Filip Piękniewski, NCU Toruń, Poland Mathematical Foundations of Neuroscience - Lecture 9 21/53

Leaky integrate and fire and resonate and fire models are not very useful for simulating real neurons. can be good for engineering applications, but lacks many biological features. The approach taken by Richard FitzHugh in 1961 was to get rid of all the ionic conductances, and mimic the phase plane with simple polynomial and a linear function (Jin-Ichi Nagumo later created an electrtical device that implemented the model using tunnel diodes). The model is defined: dv dt = V V 3 W I dw = 0.08(V + 0.7 + 0.8W ) dt (in general the V nullcline is a third degree polynomial, while W nullcline is linear). Filip Piękniewski, NCU Toruń, Poland Mathematical Foundations of Neuroscience - Lecture 9 22/53

Introduction tory Absolute refrac 1 d Th De p re s ola ho ld riz e d riz e erp Hy p ï0.5 Regenerative V V W = ola 0 W ory fract ive re Relat 0.5 = V+ 0. 0. 8 7 Activated 3 /3 Resting +I ï1 ï2.5 ï2 ï1.5 ï1 ï0.5 0 0.5 1 1.5 2 Figure: An annotated phase portrait of the FitzHugh-Nagumo model. Filip Piękniewski, NCU Toruń, Poland Mathematical Foundations of Neuroscience - Lecture 9 23/53

Introduction 2 1.5 1 0.5 0 ï0.5 ï1 ï3 ï2 ï1 0 1 2 3 Figure: Phase portraits of the FitzHugh-Nagumo model (as given in previous slide) for I = 0 and I = 0.5 the stable focus looses stability at some point in between. Filip Piękniewski, NCU Toruń, Poland Mathematical Foundations of Neuroscience - Lecture 9 24/53

Introduction 2 1.5 1 0.5 0 ï0.5 ï1 ï3 ï2 ï1 0 1 2 3 Figure: Phase portraits of the FitzHugh-Nagumo model (as given in previous slide) for I = 0 and I = 0.5 the stable focus looses stability at some point in between. Filip Piękniewski, NCU Toruń, Poland Mathematical Foundations of Neuroscience - Lecture 9 24/53

FitzHugh-Nagumo model The more general form for the model is dv = V (a V )(V 1) W I dt dw = bv cw dt by varying dimensionless parameters a, b and c one can obtain a system which has 1,2 or 3 intersections of nullclines exhibiting most of the known dynamical neuronal properties. The system much like the I Na,p - I K model undergoes all of the bifurcations discussed on previous lectures, but evaluation of the right hand side function requires only at most three multiplications (one extra multiplication is required for the time step). Filip Piękniewski, NCU Toruń, Poland Mathematical Foundations of Neuroscience - Lecture 9 25/53

FitzHugh-Nagumo model The model is also a good choice for cable equation and general reaction-diffusion systems dv dt = V α 2 + V (a V )(V 1) W I x 2 dw = bv cw dt The code implementing the FitzHugh-Nagumo cable equation model can fit on a single slide! Check out http://www.scholarpedia.org/wiki/images/ ftp/fitzhugh_movie.mov Filip Piękniewski, NCU Toruń, Poland Mathematical Foundations of Neuroscience - Lecture 9 26/53

function cablefn() ff=figure; N=1024; % Number of spatial compartments (spatial resolution) V=ones(1,N)*(-1); W=ones(1,N)*(-0.5); I=zeros(1,N); i=1; tau = 0.1; tspan = 0:tau:1000; % Second order derivative operator (sparse matrix) S=sparse([1:N 1:N 2:N 1],[1:N 2:N 1 1:N ],[-2*ones(1,N) ones(1,2*n) ]); for t=tspan if (t>0) I(1,N/4+N/2)=30; end; % to ignite any interesting action V = V + tau*((s*v ) -V.ˆ3./3+V-W+I); W = W + tau*0.08*(v+0.7-0.8*w); if (mod(i,25)==0) cla; hold on; plot(1:n,v+1,1:n,w/3-2,1:n,i/40-2.5, Linewidth,2); hold off; axis([1 N -3 4]); legend( V, n, I ); drawnow; end; i=i+1; end; Filip Piękniewski, NCU Toruń, Poland Mathematical Foundations of Neuroscience - Lecture 9 27/53

4 3 V n I 2 1 0 1 2 3 100 200 300 400 500 600 700 800 900 1000 Figure: A screen of the cable equation simulation done by the code on previous slide. Filip Piękniewski, NCU Toruń, Poland Mathematical Foundations of Neuroscience - Lecture 9 28/53

Simple Model of Eugene M. Izhikevich Recall that the quadratic integrate and fire model with reset is a canonical model for the saddle-node homoclinic orbit bifurcation and depending on the reset value can exhibit various phenomena. E. Izhikevich noticed, that the important decision whether to spike or not is performed near the left knee of the cubic nullcline, whereas the exact shape of the action potential is not very important in large scale neural simulations As a result he combined a two parameter model of the left knee of cubic nullcline (approximated with the quadratic parabola) with the reset (which is performed on both variables). The resulting model, depending on parameters, can mimic dynamic behavior near many bifurcations. Filip Piękniewski, NCU Toruń, Poland Mathematical Foundations of Neuroscience - Lecture 9 29/53

saddle node saddle node on invariant circle homoclinic Figure: Saddle-node homoclinic orbit bifurcation diagram and corresponding canonical models with reset value. Filip Piękniewski, NCU Toruń, Poland Mathematical Foundations of Neuroscience - Lecture 9 30/53

v reset v reset saddle node on invariant circle v reset v reset v reset v reset v reset v reset homoclinic saddle node v reset v reset v reset Figure: Saddle-node homoclinic orbit bifurcation diagram and corresponding canonical models with reset value. Filip Piękniewski, NCU Toruń, Poland Mathematical Foundations of Neuroscience - Lecture 9 30/53

Simple Model of Eugene M. Izhikevich The model defined as follows: C dv dt =k(v V r)(v V t ) U + I du dt =a (b(v V r) U) moreover if V > V peak V := c and U := U + d. a, b, c, d, V peak, k, C, V r, V t, I are parameters (there are ten parameters, but in fact there are only four independent parameters) Much like 1d quadratic integrate and fire with reset can mimic 2d system near saddle-node homoclinic orbit bifurcation, the 2d Simple Model with reset can mimic a 3d system near various bifurcations! Filip Piękniewski, NCU Toruń, Poland Mathematical Foundations of Neuroscience - Lecture 9 31/53

Introduction 50 After spike reset ï50 ï100 ï70 ï60 ï50 ï40 U = ï30 b( V Regenerative Vr Peak (cutoff ) Vreset Resting ureset Vt U =k (V Thre Vr )(V shold Vt ) + I Vr 0 ) ï20 ï10 0 10 Figure: An annotated phase portrait of the Izhikevich Simple Model. Filip Piękniewski, NCU Toruń, Poland Mathematical Foundations of Neuroscience - Lecture 9 32/53

The Simple Neuron model can be written in the form dv dt =αv 2 + βv + γ U du =a(bv U) dt for some parameters. Recall the normal form of Bogdanov-Takens bifurcation: dx dt = y dy dt = c 1 + c 2 x + x 2 + σxy The simple model can exhibit Bogdanov-Takens bifurcation (integrator - resonator transition). Filip Piękniewski, NCU Toruń, Poland Mathematical Foundations of Neuroscience - Lecture 9 33/53

(L) integrator Figure: Dynamic regimes exhibited by the simple model by Eugene M. Izhikevich, see http://www.izhikevich.org/publications/whichmod.htm figure1.m for parameters. Filip Piękniewski, NCU Toruń, Poland Mathematical Foundations of Neuroscience - Lecture 9 34/53

(K) resonator Figure: Dynamic regimes exhibited by the simple model by Eugene M. Izhikevich, see http://www.izhikevich.org/publications/whichmod.htm figure1.m for parameters. Filip Piękniewski, NCU Toruń, Poland Mathematical Foundations of Neuroscience - Lecture 9 34/53

(G) Class 1 excitable Figure: Dynamic regimes exhibited by the simple model by Eugene M. Izhikevich, see http://www.izhikevich.org/publications/whichmod.htm figure1.m for parameters. Filip Piękniewski, NCU Toruń, Poland Mathematical Foundations of Neuroscience - Lecture 9 34/53

(H) Class 2 excitable Figure: Dynamic regimes exhibited by the simple model by Eugene M. Izhikevich, see http://www.izhikevich.org/publications/whichmod.htm figure1.m for parameters. Filip Piękniewski, NCU Toruń, Poland Mathematical Foundations of Neuroscience - Lecture 9 34/53

(P) bistability Figure: Dynamic regimes exhibited by the simple model by Eugene M. Izhikevich, see http://www.izhikevich.org/publications/whichmod.htm figure1.m for parameters. Filip Piękniewski, NCU Toruń, Poland Mathematical Foundations of Neuroscience - Lecture 9 34/53

(S) inh. induced sp. Figure: Dynamic regimes exhibited by the simple model by Eugene M. Izhikevich, see http://www.izhikevich.org/publications/whichmod.htm figure1.m for parameters. Filip Piękniewski, NCU Toruń, Poland Mathematical Foundations of Neuroscience - Lecture 9 34/53

(J) subthreshold osc. Figure: Dynamic regimes exhibited by the simple model by Eugene M. Izhikevich, see http://www.izhikevich.org/publications/whichmod.htm figure1.m for parameters. Filip Piękniewski, NCU Toruń, Poland Mathematical Foundations of Neuroscience - Lecture 9 34/53

(O) thresh. variability Figure: Dynamic regimes exhibited by the simple model by Eugene M. Izhikevich, see http://www.izhikevich.org/publications/whichmod.htm figure1.m for parameters. Filip Piękniewski, NCU Toruń, Poland Mathematical Foundations of Neuroscience - Lecture 9 34/53

(A) tonic spiking Figure: Dynamic regimes exhibited by the simple model by Eugene M. Izhikevich, see http://www.izhikevich.org/publications/whichmod.htm figure1.m for parameters. Filip Piękniewski, NCU Toruń, Poland Mathematical Foundations of Neuroscience - Lecture 9 34/53

(B) phasic spiking Figure: Dynamic regimes exhibited by the simple model by Eugene M. Izhikevich, see http://www.izhikevich.org/publications/whichmod.htm figure1.m for parameters. Filip Piękniewski, NCU Toruń, Poland Mathematical Foundations of Neuroscience - Lecture 9 34/53

(R) accomodation Figure: Dynamic regimes exhibited by the simple model by Eugene M. Izhikevich, see http://www.izhikevich.org/publications/whichmod.htm figure1.m for parameters. Filip Piękniewski, NCU Toruń, Poland Mathematical Foundations of Neuroscience - Lecture 9 34/53

(M) rebound spike Figure: Dynamic regimes exhibited by the simple model by Eugene M. Izhikevich, see http://www.izhikevich.org/publications/whichmod.htm figure1.m for parameters. Filip Piękniewski, NCU Toruń, Poland Mathematical Foundations of Neuroscience - Lecture 9 34/53

(I) spike latency Figure: Dynamic regimes exhibited by the simple model by Eugene M. Izhikevich, see http://www.izhikevich.org/publications/whichmod.htm figure1.m for parameters. Filip Piękniewski, NCU Toruń, Poland Mathematical Foundations of Neuroscience - Lecture 9 34/53

(T) inh. induced brst. Figure: Dynamic regimes exhibited by the simple model by Eugene M. Izhikevich, see http://www.izhikevich.org/publications/whichmod.htm figure1.m for parameters. Filip Piękniewski, NCU Toruń, Poland Mathematical Foundations of Neuroscience - Lecture 9 34/53

(E) mixed mode Figure: Dynamic regimes exhibited by the simple model by Eugene M. Izhikevich, see http://www.izhikevich.org/publications/whichmod.htm figure1.m for parameters. Filip Piękniewski, NCU Toruń, Poland Mathematical Foundations of Neuroscience - Lecture 9 34/53

(D) phasic bursting Figure: Dynamic regimes exhibited by the simple model by Eugene M. Izhikevich, see http://www.izhikevich.org/publications/whichmod.htm figure1.m for parameters. Filip Piękniewski, NCU Toruń, Poland Mathematical Foundations of Neuroscience - Lecture 9 34/53

(C) tonic bursting Figure: Dynamic regimes exhibited by the simple model by Eugene M. Izhikevich, see http://www.izhikevich.org/publications/whichmod.htm figure1.m for parameters. Filip Piękniewski, NCU Toruń, Poland Mathematical Foundations of Neuroscience - Lecture 9 34/53

(N) rebound burst Figure: Dynamic regimes exhibited by the simple model by Eugene M. Izhikevich, see http://www.izhikevich.org/publications/whichmod.htm figure1.m for parameters. Filip Piękniewski, NCU Toruń, Poland Mathematical Foundations of Neuroscience - Lecture 9 34/53

(F) spike freq. adapt Figure: Dynamic regimes exhibited by the simple model by Eugene M. Izhikevich, see http://www.izhikevich.org/publications/whichmod.htm figure1.m for parameters. Filip Piękniewski, NCU Toruń, Poland Mathematical Foundations of Neuroscience - Lecture 9 34/53

(Q) DAP Figure: Dynamic regimes exhibited by the simple model by Eugene M. Izhikevich, see http://www.izhikevich.org/publications/whichmod.htm figure1.m for parameters. Filip Piękniewski, NCU Toruń, Poland Mathematical Foundations of Neuroscience - Lecture 9 34/53

v'= 0.04v 2 +5v +140 - u + I u'= a(bv - u) if v = 30 mv, then v c, u u + d v(t) u(t) reset d decay with peak 30 mv reset c sensitivity b rate a parameter b RZ LTS,TC 0.25 RS,IB,CH FS 0.2 0 0.02 0.1 parameter a parameter d 8 4 2 0.05 RS IB FS,LTS,RZ CH TC -65-55 -50 parameter c regular spiking (RS) intrinsically bursting (IB) chattering (CH) fast spiking (FS) v(t) I(t) thalamo-cortical (TC) thalamo-cortical (TC) resonator (RZ) low-threshold spiking (LTS) 20 mv 40 ms -63 mv -87 mv Figure: A summary of possible regimes in the Izhikevich Simple Model with respect to parameters. Reproduced from http://www.izhikevich.org/publications/spikes.htm with permissions. Filip Piękniewski, NCU Toruń, Poland Mathematical Foundations of Neuroscience - Lecture 9 35/53

% Created by Eugene M. Izhikevich, February 25, 2003 % Excitatory neurons Inhibitory neurons Ne=800; Ni=200; re=rand(ne,1); ri=rand(ni,1); a=[0.02*ones(ne,1); 0.02+0.08*ri]; b=[0.2*ones(ne,1); 0.25-0.05*ri]; c=[-65+15*re.ˆ2; -65*ones(Ni,1)]; d=[8-6*re.ˆ2; 2*ones(Ni,1)]; S=[0.5*rand(Ne+Ni,Ne), -rand(ne+ni,ni)]; v=-65*ones(ne+ni,1); firings=[]; % Initial values of v and spike timings u=b.*v; % Initial values of u for t=1:1000 % simulation of 1000 ms I=[5*randn(Ne,1);2*randn(Ni,1)]; % thalamic input fired=find(v>=30); % indices of spikes firings=[firings; t+0*fired,fired]; v(fired)=c(fired); u(fired)=u(fired)+d(fired); I=I+sum(S(:,fired),2); v=v+0.5*(0.04*v.ˆ2+5*v+140-u+i); % step 0.5 ms v=v+0.5*(0.04*v.ˆ2+5*v+140-u+i); % for numerical u=u+a.*(b.*v-u); % stability end; plot(firings(:,1),firings(:,2),. ); Filip Piękniewski, NCU Toruń, Poland Mathematical Foundations of Neuroscience - Lecture 9 36/53

Introduction 1000 900 800 700 600 500 400 300 200 100 0 0 100 200 300 400 500 600 700 800 900 1000 Figure: A spike train computed by the script from previous slide. See http://www.izhikevich.org/publications/spikes.htm Filip Piękniewski, NCU Toruń, Poland Mathematical Foundations of Neuroscience - Lecture 9 37/53

Introduction Types of synapses Short term plasticity Depression-Facilitation How to simulate? Every nerve impulse eventually reaches the axon, and has to be somehow transmitted to another neuron. This is accomplished by the synapses, small spaces where two neuronal membranes come close together. However small, synapses are far from being simple. There are two main types of synapses:electrical (sometimes called gap junctions) and chemical. Chemical synapses work by releasing a chemical messenger substance (neurotransmitter) which binds to the receptors at the postsynaptic neuron. Electrical synapses seem to exchange the membrane excitation directly, via sodium/potassium gradients. Filip Piękniewski, NCU Toruń, Poland Mathematical Foundations of Neuroscience - Lecture 9 38/53

Types of synapses Short term plasticity Depression-Facilitation How to simulate? Figure: A chemical synapse. Modified from http: //en.wikipedia.org/wiki/file:synapse_illustration2_tweaked.svg Filip Piękniewski, NCU Toruń, Poland Mathematical Foundations of Neuroscience - Lecture 9 39/53

Types of synapses Introduction Types of synapses Short term plasticity Depression-Facilitation How to simulate? Chemical synapses can be distinguished by the neurotransmitters and receptors they use for signaling. The most common neurotransmitters are: Glutamate (salts of glutamic acid) - bind to α-amino-3-hydroxy-5-methyl-4-isoxazolepropionic acid receptor (AMPA) and N-methyl-D-aspartic receptor (NMDA). Both excite the postsynaptic neuron. γ-aminobutyric acid (GABA) - binds to GABA receptors which can be divided into two main types GABA A and GABA B. Both Inhibit the postsynaptic neuron. Each binding of neurotransmitter to a receptor opens an ionic channel increases membrane conductance. The postsynaptic excitation/inhibition depends on the synapse strength (size), available amount of neurotransmitter, and the postsynaptic membrane polarization. Filip Piękniewski, NCU Toruń, Poland Mathematical Foundations of Neuroscience - Lecture 9 40/53

Short term plasticity Introduction Types of synapses Short term plasticity Depression-Facilitation How to simulate? The short term plasticity models the available amount of neurotransmitter at a time. Some synapses exhibit facilitation (the amount of neurotransmitter becomes larger as the presynaptic neuron spikes) while other exhibit depression (the amount of neurotransmitter decreases in response to spikes, making the synapse weaker) The simplest formulation is: ds dt = (1 S)/τ s and S := ps whenever an action potential is transferred. The synapse gets depressed for p < 0 and facilitated for p > 0. Filip Piękniewski, NCU Toruń, Poland Mathematical Foundations of Neuroscience - Lecture 9 41/53

Types of synapses Short term plasticity Depression-Facilitation How to simulate? 2 1.8 S 1.6 1.4 1.2 1 0.8 0.6 0.4 0.2 0 0 100 200 300 400 500 600 700 800 900 1000 Figure: Simple synapse exhibiting depression (1) and facilitation (2). Filip Piękniewski, NCU Toruń, Poland Mathematical Foundations of Neuroscience - Lecture 9 42/53

Types of synapses Short term plasticity Depression-Facilitation How to simulate? 2 1.8 S 1.6 1.4 1.2 1 0.8 0.6 0.4 0.2 0 0 100 200 300 400 500 600 700 800 900 1000 Figure: Simple synapse exhibiting depression (1) and facilitation (2). Filip Piękniewski, NCU Toruń, Poland Mathematical Foundations of Neuroscience - Lecture 9 42/53

Depression-Facilitation Introduction Types of synapses Short term plasticity Depression-Facilitation How to simulate? The recordings from real synapses look however rather different than those modeled by the simple synapse above (though the simple model is fairly accurate for very large simulations) Henry Markram and his collaborators introduced in 1998 a more accurate phenomenological model: dr dt = 1 R D dw dt = U w F where U, D, F are parameters. Whenever a spike is propagated through the synapse R := R Rw and w := w + U(1 w). R is the depression variable and w is the facilitation variable. The total synaptic strength at time t is equal S = Rw Filip Piękniewski, NCU Toruń, Poland Mathematical Foundations of Neuroscience - Lecture 9 43/53

Types of synapses Short term plasticity Depression-Facilitation How to simulate? 1.2 1 R w R*w 0.8 0.6 0.4 0.2 0 0.2 0 100 200 300 400 500 600 700 800 900 1000 Figure: A synapse modeled by the phenomenological model of H. Markram exhibiting depression (1) F = 50, D = 100, U = 0.5 and facilitation (2) D = 100, F = 50, U = 0.2. By adjusting the parameters the model can reproduce conductances of various synapses. Filip Piękniewski, NCU Toruń, Poland Mathematical Foundations of Neuroscience - Lecture 9 44/53

Types of synapses Short term plasticity Depression-Facilitation How to simulate? 1.2 1 R w R*w 0.8 0.6 0.4 0.2 0 0.2 0 100 200 300 400 500 600 700 800 900 1000 Figure: A synapse modeled by the phenomenological model of H. Markram exhibiting depression (1) F = 50, D = 100, U = 0.5 and facilitation (2) D = 100, F = 50, U = 0.2. By adjusting the parameters the model can reproduce conductances of various synapses. Filip Piękniewski, NCU Toruń, Poland Mathematical Foundations of Neuroscience - Lecture 9 44/53

Types of synapses Short term plasticity Depression-Facilitation How to simulate? The value of the short term depression-facilitation influences the resulting receptor conductance. In the present scope we assume there are four conductances g AMPA, g NMDA, g GABAA and g GABAB. Each time a spike is propagated the appropriate conductances are increased by c i j S i = c i j R i w i (before depressing or facilitating) where c i j is the strength of the synapse from neuron i to neuron j. The conductances have their own kinetics, that is they diminish exponentially as dg dt = g/τ where τ AMPA = 5ms, τ NMDA = 150ms, τ GABAA = 6ms and τ GABAB = 150ms Filip Piękniewski, NCU Toruń, Poland Mathematical Foundations of Neuroscience - Lecture 9 45/53

Types of synapses Short term plasticity Depression-Facilitation How to simulate? Once we have the synaptic conductances we have to look what currents they may cause through the membrane, depending on voltage V. We generally have that: I syn = g AMPA (E AMPA V )+ ) 2 ( V +80 60 + g NMDA 1 + ( ) V +80 2 (E NMDA V )+ 60 + g GABAA (E GABAA V )+ + g GABAB (E GABAB V ) with E AMPA = 0, E NMDA = 0, E GABAA = 70, E GABAB = 90. NMDA current looks strange but the formula is a fit to empirical data. Filip Piękniewski, NCU Toruń, Poland Mathematical Foundations of Neuroscience - Lecture 9 46/53

Types of synapses Short term plasticity Depression-Facilitation How to simulate? Eventually, using say the Izhikevich Simple Neuron (with reset) we have (for single compartment model): dv i dt du i dt =0.04V 2 i + j i + j i + 5V i + 140 U i + j i g j,nmda ( ) 2 Vi +80 60 ( Vi +80 60 1 + g j,gabab ( 90 V i ) + =a(bv i U i ) ) 2 (0 V i ) + j i j gap(i) g j,ampa (0 V i )+ g j, GABAA ( 70 V i )+ g gapj i (V j V i ) Filip Piękniewski, NCU Toruń, Poland Mathematical Foundations of Neuroscience - Lecture 9 47/53

Types of synapses Short term plasticity Depression-Facilitation How to simulate? Now, since we have the equation, the only thing left would be to discretize and solve it numerically. There is however one catch. Assume the neuron is at rest with V = 65, and g GABAA is large due to previous activity. Then g GABAA ( 70 + 65) = 5g GABAA is a strong inhibitory input. Assume that input manages to hyperpolarize the membrane so that at the next time step V = 76. Now g GABAA ( 70 + 76) = 6g GABAA is a strong excitatory input! The same applies to g GABAA which is even more vulnerable due to slower kinetics. In certain conditions that ping-pong can continue, and V will oscillate each time getting bigger in absolute value. This leads to numerical instability (V reaches spiking cutoff every time step causing indefinite increase of U and the whole simulation collapses). Filip Piękniewski, NCU Toruń, Poland Mathematical Foundations of Neuroscience - Lecture 9 48/53

Types of synapses Short term plasticity Depression-Facilitation How to simulate? In order to avoid instability, one has to modify the numerical scheme (it is not sufficient to use smaller time step). Recall the Euler method is obtained as follows: dx dt = lim x(t + t) x(t) = F (x(t)) x(t+1) x(t)+ tf (x(t)) t 0 t But on the other hand we have : dx dt = lim x(t) x(t t) = F (x(t)) x(t+1) x(t)+ tf (x(t+1)) t 0 t we get the so called closed (or backward) scheme. The closed scheme is far more stable with respect to instabilities related to GABA conductances. Filip Piękniewski, NCU Toruń, Poland Mathematical Foundations of Neuroscience - Lecture 9 49/53

Types of synapses Short term plasticity Depression-Facilitation How to simulate? The closed scheme is stable, but the solution is implicit, therefore it needs to be solved separately for every right hand side function F. Fortunately conductances depend linearly in V, so the implicit scheme is fairly easy to implement for that part of the equation. The rest (including neural dynamics) can be solved by the forward (explicit) scheme. Filip Piękniewski, NCU Toruń, Poland Mathematical Foundations of Neuroscience - Lecture 9 50/53

Types of synapses Short term plasticity Depression-Facilitation How to simulate? We have V i (t + 1) = V i (t)+ + t 0.04V i (t) 2 + 5V i (t) + 140 U i (t) + g j,ampa (0 V i (t + 1))+ j i + j i + j i g j,nmda ( ) 2 Vi (t)+80 60 ( Vi (t)+80 60 1 + g j,gabab ( 90 V i (t + 1)) + ) 2 (0 V i (t + 1)) + j i j gap(i) U i (t + 1) = U i (t) + t (a(bv i (t) U i (t))) g j, GABAA ( 70 V i (t + 1))+ g gapj i (V j V i (t)) note that the coefficient of the NMDA conductance depends on V (t) and is therefore computed explicitly. Filip Piękniewski, NCU Toruń, Poland Mathematical Foundations of Neuroscience - Lecture 9 51/53

Types of synapses Short term plasticity Depression-Facilitation How to simulate? We have V i (t + 1) = V i (t)+ + t 0.04V i (t) 2 + 5V i (t) + 140 U i (t) + g j,ampa (0 V i (t + 1))+ j i + j i + j i g j,nmda ( ) 2 Vi (t)+80 60 ( Vi (t)+80 60 1 + g j,gabab ( 90 V i (t + 1)) + ) 2 (0 V i (t + 1)) + j i j gap(i) U i (t + 1) = U i (t) + t (a(bv i (t) U i (t))) g j, GABAA ( 70 V i (t + 1))+ g gapj i (V j V i (t)) note that the coefficient of the NMDA conductance depends on V (t) and is therefore computed explicitly. Filip Piękniewski, NCU Toruń, Poland Mathematical Foundations of Neuroscience - Lecture 9 51/53

Types of synapses Short term plasticity Depression-Facilitation How to simulate? We have V i (t + 1) = V i (t)+ + t 0.04V i (t) 2 + 5V i (t) + 140 U i (t) + g j,ampa (0 V i (t + 1))+ j i + j i + j i g j,nmda ( ) 2 Vi (t)+80 60 ( Vi (t)+80 60 1 + g j,gabab ( 90 V i (t + 1)) + ) 2 (0 V i (t + 1)) + j i j gap(i) U i (t + 1) = U i (t) + t (a(bv i (t) U i (t))) g j, GABAA ( 70 V i (t + 1))+ g gapj i (V j V i (t)) note that the coefficient of the NMDA conductance depends on V (t) and is therefore computed explicitly. Filip Piękniewski, NCU Toruń, Poland Mathematical Foundations of Neuroscience - Lecture 9 51/53

Types of synapses Short term plasticity Depression-Facilitation How to simulate? Consequently by solving with respect to V i (t + 1) V i (t + 1) = = V i(t) + t ( 0.04V i (t) 2 + 5V i (t) + 140 U i (t)+ 1 + t ( j i g j,ampa + j i g j,nmda ( ) Vi (t)+80 2 60 ( ) Vi (t)+80 2 + 1+ 60 70 j i g j, GABA A 90 j i g j,gaba B + ) j gap(i) g gapj i(v j V i (t)) j i g j, GABA A + ) j i g j, GABA B U i (t + 1) = U i (t) + t (a(bv i (t) U i (t))) The scheme is stable and ready to use for large scale simulations, see foe example: http://www.izhikevich.org/publications/reentry.htm Filip Piękniewski, NCU Toruń, Poland Mathematical Foundations of Neuroscience - Lecture 9 52/53

Computing exponential functions, sines etc. is very demanding! and resonate and fire are simple models, useful for theoretical approach, but not good for simulations FitHugh-Nagumo model is simple (nullclines are polynomial), yet biologically plausible and particularly useful for reaction-diffusion systems Simple Model by E. Izhikevich is an efficient 2d model with a power of 3d model due to the reset can be electrical and chemical. Chemical synapses exhibit short term depression/facilitation Synaptic currents depend on neurotransmitter conductances and postsynaptic membrane voltage Explicit Euler scheme can be unstable for synaptic conductances(!) Filip Piękniewski, NCU Toruń, Poland Mathematical Foundations of Neuroscience - Lecture 9 53/53